feat: consolidate TraceDecay V2 PR8-PR13 delivery - #707
feat: consolidate TraceDecay V2 PR8-PR13 delivery#707ScriptedAlchemy wants to merge 873 commits into
Conversation
🦋 Changeset detectedLatest commit: f32fe79 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Post-reopen correction pushed in a23f86a: source-neutral background reconcile no longer advances the scheduler epoch and cancel in-flight text activation; mounted hook overflow uses the explicit invalidating path. Evidence: RED reproduced 0/1, GREEN 1/1 for ordinary_background_reconcile_does_not_supersede_in_flight_text_work; cargo check --lib --locked passed. |
💡 Codex Reviewtracedecay/.github/workflows/release.yml Lines 408 to 411 in fc20c4f For Linux targets, this archive now contains tracedecay/release-please-config.json Lines 22 to 25 in fc20c4f The new npm publication job derives its version from the packed tracedecay/dashboard/src/workspaces/delivery/DeliveryPage.tsx Lines 80 to 82 in fc20c4f When the scope bar selects a project other than the active project, this query keeps the same cache key and continues fetching the unprefixed active-project route. The dashboard already provides tracedecay/src/tracedecay/lifecycle/registry.rs Lines 118 to 122 in fc20c4f When AGENTS.md reference: AGENTS.md:L159-L161 tracedecay/plugin/cursor-native-extension/src/extension.ts Lines 187 to 189 in fc20c4f At activation or language-client restart, ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
fix(clippy): clear the workspace clippy failures on #707
Removing the re-export shims left their module doc comments orphaned in `context` and `graph`. The rest are pre-existing lints that only fire under `--all-features`, which compiles the `test-transport` support surface as non-test code: - the registered-test-server constructor gets the file's existing explicit `expect_used` allow, since `lib.rs` denies it only outside `cfg(test)`; - `http_application_registry` is read by the `cfg(test)` capacity journey and only reads as dead under `test-transport` alone, so the allow is gated to `not(test)` rather than renamed to a discard; - the hotpath cadence helpers keep `#[inline(always)]` with an explicit allow, preserving the author's intent instead of silently downgrading it. The `daemon_suite` restart wait is now the original helper recovered from the PR #707 head rather than a reconstruction: it additionally proves the runtime readiness receipt authorizes the exact configuration the SDK selected.
The relocation fix that anchored this test above the package allocated a `PathBuf` only to hand out a reference, which `-D warnings` rejects as `unnecessary_to_owned` and which failed the Clippy gate on #707. `validate_requested_workload` takes `&Path`, and `CARGO_MANIFEST_DIR` is a literal, so `Path::new` yields a `&'static Path` with no allocation and no temporary to borrow from.
|
#733 landed Clippy-red. Helper branch (not merged, shared checkout untouched):
Clears the #733 Clippy denials:
Adopt when you want: I will not land this on #707. |
|
Clippy helper is now on the Codex worktrees (still not landed on this PR head):
Same change as |
|
Isolated post-#721 verification (worktree Green (non-vacuous) on merge
Not green
Clippy helper remains on this tree at |
Ports the missing pieces of commit b1e41b712 ("fix(build): land the
batching commit's missing consumers") onto #707: HookCompletedReadinessDistributions
moved into tracedecay-agent-hosts with pub(crate) fields, so
input_rows_processed, input_rows_dropped_at_cap, and events_considered
are no longer reachable outside the crate. Adds the three public
accessors.
source_event and input_rows_received (also added by the source commit)
are not ported: nothing on this branch reads them through an accessor
today - the root-crate benchmark still compares via
serde_json::to_value(&readiness_distributions)["field"], which does
not need them.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
5d8f2a1 to
c7fcf3f
Compare
…d6ed chore(vendor): stacked vendor-only PR for #707 — generated vendor churn, land first
…rules Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Rename leftover retention.* gauges to maintenance.* and keep in-crate size scanners crate-private.
…plan-reopened' into refactor/root-decomp-slice7
Keep public runtime::{claude,cursor,...} paths via re-export so dependents stay untouched.
Preserve crate::runtime::{snapshot_observation,workflow_*} public paths via re-export.
Move oversized adapter tests beside their modules and name the ingest/host phases that lacked spans.
…plan-reopened' into codex/707-qualification-latest # Conflicts: # crates/tracedecay-cli/src/commands/profile_storage.rs # crates/tracedecay-maintenance/src/retention/orphan_stores/tests.rs # crates/tracedecay-maintenance/src/retention/storage_report.rs # crates/tracedecay/src/config.rs # crates/tracedecay/src/daemon/profile_identity.rs
Move agent-hosts automation and its host-I/O ports into a new crate at the agent-hosts layer so the contracts leaf stays acyclic.
CARGO_MANIFEST_DIR paths are crate-root relative; also unify host hotpath labels and drop the unused cursor wrapper span.
…plan-reopened' into refactor/sessions-runtime-restructure
Move daemon-free catalog, rendering, transport, path_tree, and application_output out of the root crate, and absorb tracedecay-jsonrpc so JSON-RPC types have one owner without a root cycle.
Move the serde-only usage taxonomy into the contracts leaf and fail closed when host I/O is unregistered instead of returning empty success.
…plan-reopened' into refactor/root-decomp-slice6 # Conflicts: # crates/tracedecay-cli/src/automation_cli/config.rs # crates/tracedecay/src/host_admission/session_test_support.rs # crates/tracedecay/src/mcp/tools/handlers/analytics.rs # crates/tracedecay/src/mcp/tools/handlers/hook_runtime/hermes.rs # crates/tracedecay/src/mcp/tools/handlers/hook_runtime/ingest/kernels.rs # crates/tracedecay/src/mcp/tools/handlers/hook_runtime/mod.rs # crates/tracedecay/src/mcp/tools/handlers/hook_runtime/terminal.rs
Bump the five grafeo-* pins to aa1d25eeb982d683dac0324384882dafa416e73f, reintegrating the lineage dropped when the fork branch was rebuilt from upstream 0.5.42: - 5c7b0bc6 stream sections into the container — ported onto the out-of-place checkpoint: the gap below the live generation is streamed optimistically behind a bound that refuses to touch a live byte, with a spill-to-append retry. - bb31ab3c / 654bedd4 CompactStore mmap-on-open and no-write detach skip. - f0e3fc5e / a2c79c88 / e342a26b / 019d353b compact overlay id seeding, lpg property-index deletion, compact hash-index lookups, promoted-node tombstones. - c063bf74 restore persisted HNSW topology on open — catalog section v2 behind the typed version guard, v1 stores still load. - 19907a50 persist index state a close would otherwise skip — ported onto the fork's mark_container_stale close-skip witness. - f3821865 restore-vs-rebuild pricing test. - 1d3526f8 / 8191b732 Bytes round-trip through the compact Dict codec. - b37e8365 (close-skip) deliberately superseded by the fork's container-current close elision; not restored. Reopen contracts flip to the semantics they documented for this bump: vector_index_status is Available after reopen — restored inside the no-rebuild admission bound — and ensure_vector_index is redundant. Gating suites: fork vector_index_reopen, vector_index_restore_cost, torn_vector_checkpoint (new — checkpoint killed at every injection point over a populated HNSW index reopens and serves search), catalog_version_guard, torn_checkpoint, wal_recovery, backward_compatibility, clean_close_skip, section_write_peak; grafeo-core lib (tiered-storage), grafeo-common, grafeo-storage, grafeo-engine full suites; TraceDecay tracedecay-graph-db --all-features 272/272; vector_search bench red before, green after.
…plan-reopened' into perf/pub-reopen
…plan-reopened' into perf/pub-reopen
Give RequestedOutputFormat, context headings, ast-grep resolution, reader-tool names, and relative-time formatting a single home in tracedecay-mcp, and derive root Reader bindings from that catalog.
Give the code-index scheduler a typed seat-gate port over session_registry code_graph, relocate store_maintenance off the path cross-mount, and collect semantic-evaluation shutdown receipts through orchestration.
Keep tracedecay-mcp as the portable JSON-RPC and catalog authority while taking peer slice edits on the shared daemon and handler import sites.
…plan-reopened' into refactor/store-runtime-port-prework
…plan-reopened' into codex/tracedecay-total-redesign-plan-reopened
…plan-reopened' into refactor/mcp-portable-layer
Replacement review for #421 after its accidental merge was reverted from master in 52a9aab. This commit has the exact tree of #421 head d4c67d4. Do not merge until explicitly authorized.