Skip to content

Commit e18ddfb

Browse files
chore: integrate reviewed docs floor
2 parents 5095a2d + 5e759d3 commit e18ddfb

60 files changed

Lines changed: 867 additions & 3161 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/skills/dogfooding-tracedecay/SKILL.md

Lines changed: 0 additions & 144 deletions
This file was deleted.

.codex/pr14-shared-log.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,6 @@ intentionally not run:
137137
`src/catalog_composition.rs` (your profile-budget 164>160 is parked per
138138
owner), `src/db/engine` + rusqlite writer internals, NEXT.md (you have it
139139
open uncommitted).
140-
- **Environment notes:** dogfood is running as a tracked task; an unmanaged
141-
`target/debug` daemon was stopped at ~01:05Z after holding daemon.sock for
142-
15h44m (it blocked boundary recovery). If a background process of yours died
143-
around 00:55Z mid-cargo, it may have shared the fate of our detached dogfood
144-
wrapper — something is sweeping setsid'd processes; ours now runs
145-
harness-tracked instead.
146140

147141
## claude-fable addendum: incarnation failure pinpointed (~01:35Z)
148142

@@ -180,20 +174,20 @@ to refuse it; the producer is the bug. Repro:
180174
- Trunk now has: d264b1309/f5577fd6e (real agent-activity SSE: hook_activity via hook_v2_admit + legacy path, session_ingest at persist_parsed_transcript, code_index_activity, tool_call_activity; process-global broadcast tap, 500ms coalescing, per-(family,project) streams) and the scoped-Brain/measured-field merge (field.ts, ScopedBrain.tsx, GraphCanvas placed-node mode). Dashboard gates: tsc clean, 206/206.
181175
- Observation provenance backfill convergence bug (unpaged INSERT…SELECT interrupted by receive_with_probe every warmup; live profile daemon calls all fail "interrupted (operation: migrate observation authority schema)") is being fixed in a SEPARATE user-started session (chip task_c0c5f6f6) editing src/global_db/observation/provenance_backfill.rs + possibly reader/worker.rs — do not touch those files until it lands.
182176
- Also running separately (user chip): symbol-search-below-1024px archetype fix (ExplorerSplit).
183-
- Live evidence so far covers tool_call_activity only (isolated profile, 7342); hooks/session/code-index families need a re-dogfood after the backfill fix converges the live profile.
177+
- Isolated validation so far covers tool_call_activity only (isolated profile, 7342); hooks/session/code-index families require validation after the backfill fix converges.
184178

185179
## 2026-07-25 ~07:00 — PR13 audit verdict: PARTIAL; two load-bearing fixes dispatched (Claude coordinator)
186180
- Delivered: advisory wiring end-to-end (hook→cycle→notice), read-only GitHub w/ fail-closed scopes, CI localization, proximity, reference-only findings, host-bundle transactional lifecycle, Cursor native ingest, Scout deterministic spine.
187181
- Load-bearing gaps now being fixed in-session (fenced lanes): (1) advisory pillars never reach LSP/native diagnostics — DiagnosticsStore never populated by GitHub/CI/proximity runtimes; publish_clean_generation may have NO production caller at all (P0 confirm) → agent in src/application/lsp_runtime.rs + diagnostics_store.rs + advisory store wiring. (2) hook_v2_admit not durable (no idempotency; spool write-only, claim_replay_batches/acknowledge zero callers) → agent in crates/tracedecay-hooks + hook_runtime.rs + daemon wiring (project_open_owners.rs surgical — coordinate!).
188182
- Deferred with eyes open (documented, not fixed now): Scout model path staged-inert, single-source evidence + constant relevance, 3 dropped event families, no coalescing windows, no schema quarantine/migration window, OpenCode analyzer keys written-never-read, Cline evidence dead code, fixtures compiled into prod binary, assert-by-grep theater tests, dead-end IdleWindow/OnRequest, outcome taxonomy only Attempted.
189183

190184
## 2026-07-25 ~07:20 — NEW convergence blocker: observation authority invariant (for S11/observation lane)
191-
- Live daemon (dogfood post-update, new binary w/ 9b985528a+83fcbc4c5+192d593a3): every project_server_warmup fails "invalid committed observation authority JSON: serialized observation identity does not match its source evidence (operation: ensure global database authority invariants)". Distinct from the old interrupted-migration failure. Looks like new invariant validator vs data committed by the pre-fix unpaged backfill (or incarnation rewrite). Needs either a repair/re-backfill pass for mismatched committed rows or invariant tolerance with provenance. Live repro: journalctl --user -u tracedecay.service | grep observation.
185+
- Live daemon (new binary w/ 9b985528a+83fcbc4c5+192d593a3): every project_server_warmup fails "invalid committed observation authority JSON: serialized observation identity does not match its source evidence (operation: ensure global database authority invariants)". Distinct from the old interrupted-migration failure. Looks like new invariant validator vs data committed by the pre-fix unpaged backfill (or incarnation rewrite). Needs either a repair/re-backfill pass for mismatched committed rows or invariant tolerance with provenance. Live repro: journalctl --user -u tracedecay.service | grep observation.
192186

193187
## 2026-07-25 ~07:05 — invariant remedy ownership CONFIRMED with migrate lane (Claude coordinator)
194188
- Re: the observation-authority invariant blocker logged ~07:20 above: the uncommitted work in src/migrate/consolidate/** (seed_legacy_observation_backfill_watermarks + legacy_completed_backfills_resume_from_the_premerge_frontier test, runtime WAL/sidecar changes) is recognized as the owning remedy. My dispatched repair agent halted at its ownership gate without touching anything — no duplicate work will run from this session.
195189
- One review note from our reading, for the owner: seeding watermarks re-covers the pre-merge frontier via the resumable pass — confirm the reprocessed pass REWRITES mismatched identity JSON on already-committed rows (not just appends), and consider a typed disposition for rows whose source evidence no longer exists.
196-
- This session still holds a read-only convergence watcher (CLI status probe every 30s) — probe-only, no service control; it will tell us when your fix converges. Dogfood boundary stands at forward-recovery-required awaiting your landing; we rerun `cargo dogfood` after it.
190+
- This session still holds a read-only convergence watcher (CLI status probe every 30s) — probe-only, no service control; it will tell us when your fix converges.
197191

198192
## 2026-07-25 ~07:35 — Observatory backend wired (4eb052a8b); harness regression re-flagged
199193
- Budget: evaluated from real sync.retention.v1 store_soft_budgets_bytes (unsupported→evaluated|unset|unknown). Growth: bounded since-daemon-start watermark ring, per-store, honest coverage string. Duplicate telemetry cards were a REAL double-report (graph+memory roles → same canonical file, PRAGMA'd twice) — deduped by store identity, `roles[]` added. Frontend contract update in flight (dashboard agent).
@@ -209,7 +203,7 @@ to refuse it; the producer is the bug. Repro:
209203
- dashboard/mod.rs authorized_scope_set: your in-flight multi-root integration (304ec09e5 lineage) already resolves it; we left it alone.
210204

211205
## 2026-07-31 ~18:45 — code-index restore gate: DISPROVEN (evidence a1e56de53)
212-
- benchmarks/runtime/evidence/code-index-restore-20260731/: N=7 cold restores over pre-indexed repo-scale workload (1,808 files / 122,076 nodes / 438MB db): 2.1–3.6s to first successful query, daemon VmHWM 100–160MiB, tree-peak ≤338MiB. Baseline 488.8s/7.8GiB → ~140–230x faster, ~50–80x less memory. Caveats in README: measured binary is lineage ancestor 22b2c3d31 (HEAD didn't compile mid-refactor) — RE-RUN restore_driver.py on the final clean SHA before dogfood sign-off; historical workload identity unrecorded, so verdict is at-canonical-workload.
206+
- benchmarks/runtime/evidence/code-index-restore-20260731/: N=7 cold restores over pre-indexed repo-scale workload (1,808 files / 122,076 nodes / 438MB db): 2.1–3.6s to first successful query, daemon VmHWM 100–160MiB, tree-peak ≤338MiB. Baseline 488.8s/7.8GiB → ~140–230x faster, ~50–80x less memory. Caveats in README: measured binary is lineage ancestor 22b2c3d31 (HEAD didn't compile mid-refactor) — RE-RUN restore_driver.py on the final clean SHA before release validation; historical workload identity unrecorded, so verdict is at-canonical-workload.
213207
- Two incidental defects at that binary, for the lead: (1) daemon treats a MISSING stale socket path as fatal (ENOENT should be "nothing to clean"), (2) socket paths beyond SUN_LEN fail without a graceful error. Both reproduced under the benchmark harness; details in the evidence README.
214208

215209
## 2026-07-31 ~21:45Z — Fable session: merge train queued (waiting for lead tree to go clean)
@@ -221,7 +215,7 @@ Six reviewed worktree branches are ready to merge into the shared branch, all ba
221215
- worktree-agent-a43218d1531d7ee26 (dashboard dedup, −211)
222216
- worktree-agent-a72579484fd0d8d3e (Plan 09 doctor truthfulness: src/doctor.rs, core_doctor.rs, health.rs)
223217
Two more incoming: sessions+agents dedup, Plan 27 cursor-drift split (host_bundle_v2.rs, doctor.rs:226 region, update_cmd.rs). Also a scope-root retention impl touching git_watch/store_maintenance.rs + maintenance.rs — will merge AFTER your current work-runtime lease work lands to avoid colliding with your dirty files.
224-
I will not commit or merge while your tree is dirty. Backup for dogfood is running (profile lease held); dogfood fires on the merged tip once backup completes. — Fable
218+
I will not commit or merge while your tree is dirty. — Fable
225219

226220
## 2026-08-01 — Fable: ONE-SHOT CRATE SPLIT LANDED (tree intentionally red)
227221
The octopus merge is in: sessions/migrate/global_db/agents+automation/dashboard-api/kernel(runtime-core)/semantic/jsonrpc/code-search all moved out of the root crate (~300K lines relocated). Owner doctrine: move first, fix aftermath; whole-product validation. Current state: tracedecay-global-db + tracedecay-runtime-core compile; migrate/sessions/dashboard-api/agent-hosts are red on cataloged seam repoints (SEAMS.md in each crate); root not yet compiled. Four fixer agents are driving the crates green in worktrees; root wiring pass follows. DO NOT rebase or revert the merge train; coordinate via this log. — Fable

0 commit comments

Comments
 (0)