Repository navigation
fix(live): follow active index authority in every route - #3952
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThe change routes archive operations through active-index generations, adds source-only live acquisition, classifies artifacts and decoded evidence, improves hook-spool retries, and updates retention, repair, and validation behavior. ChangesActive index, live acquisition, and evidence handling
Estimated code review effort: 5 (Critical) | ~120 minutes Mergeability Score: 🟠 High · up to The change affects retained-source replay, archive routing, raw cleanup, ZIP identity, and repair batching. Unresolved paths can write to the wrong archive, merge distinct source coordinates, bypass safety handling, or commit partial repair state, so the PR is not merge-ready until these correctness and availability risks are fixed or explicitly accepted. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 79ee92aeec
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
@codex review Please review exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 45bcb3ad1b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
@codex review Please review exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aa9624f452
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dc568e344c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@polylogue/sources/live/watcher.py`:
- Around line 430-463: Bound _retry_hook_spool_directory_until_populated with a
short deadline using a new _HOOK_SPOOL_DIRECTORY_RETRY_MAX_S constant defined
alongside _HOOK_SPOOL_DIRECTORY_RETRY_POLL_S. Stop polling once the deadline
expires, while preserving the existing shutdown, directory-removal, OSError, and
JSON-detected behaviors.
In `@polylogue/storage/raw_retention.py`:
- Around line 1409-1410: Update the logic around the semantic-only check so an
active semantic head is first validated for a corresponding source-tier row in
raw_sessions; raise the broken-head violation when that row is absent. Preserve
the existing byte-chain exemption, but do not let seed_raw_id in
semantic_only_raw_ids bypass the row is None validation or cursor handling.
- Around line 1678-1684: Update _terminal_artifact_raw_ids() to query ordered
terminal_paths in batches of 500, matching _terminal_artifact_paths(), and
aggregate raw_id results across all batches into the returned frozenset.
Preserve the existing empty-input behavior and query semantics while preventing
SQLite bind-variable-limit errors that bypass RawRetentionSafetyError handling.
In `@tests/unit/sources/test_hook_spool.py`:
- Around line 311-365: Mark
test_live_watcher_retries_added_hook_shard_until_atomic_publish with
pytest.mark.uses_real_clock, providing a reason that it relies on real asyncio
timing for the 0.10-second publish delay and 0.01-second polling against the
production retry interval.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 8e2f986d-2825-4ea2-96ed-f6dfc62b0bb1
📒 Files selected for processing (12)
polylogue/sources/live/append_ingest.pypolylogue/sources/live/batch.pypolylogue/sources/live/watcher.pypolylogue/storage/raw_retention.pypolylogue/storage/repair.pypolylogue/storage/sqlite/archive_tiers/archive.pypolylogue/storage/sqlite/archive_tiers/bootstrap.pytests/unit/sources/test_hook_spool.pytests/unit/sources/test_live_watcher.pytests/unit/sources/test_live_watcher_locking.pytests/unit/storage/test_raw_retention.pytests/unit/storage/test_repair.py
dc568e3 to
6a2bed2
Compare
|
@codex review Please review exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6a2bed2bb2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
@codex review Please review exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 01327dee69
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 17435a4e5e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
Problem: large non-JSONL sidecars could reach generic streaming admission before definitive path classification.\n\nWhat changed: expose the existing strong path rules for live admission, preserve weak analysis-path payload and streaming handling, and cover both the full-ingest and preloaded-payload routes.\n\nCompatibility: the public path classifier preserves its output; the fingerprint manifest records the safe internal delegation.\n\nRef #3952
|
@codex review Please review exact pushed head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 694ca99ee4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
Problem: large non-JSONL sidecars could reach generic streaming admission before definitive path classification.\n\nWhat changed: expose the existing strong path rules for live admission, preserve weak analysis-path payload and streaming handling, and cover both the full-ingest and preloaded-payload routes.\n\nCompatibility: the public path classifier preserves its output; the fingerprint manifest records the safe internal delegation.\n\nRef #3952
694ca99 to
62a276a
Compare
|
@codex review Please review exact rebased head |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ 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". |
|
@codex review Please review exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 019f7c88e6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4ffd2d876e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ 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". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 118005dbe1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
@codex review Please review exact pushed head |
|
@codex review Please review exact pushed head |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ 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". |
|
@codex review Please review exact pushed head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4984774bcc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
@codex review Please review exact pushed head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7e58dd94e0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8dbb6352ec
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
Problem: Provider detection stopped at the first 8192 bytes of an oversized JSONL record, so a valid discriminator after a large preceding field was treated as UNKNOWN. What changed: Stream each retained JSONL record through the existing scalar-bounded structural probe in 4096-byte chunks, sharing the hard 64 KiB total scan envelope. Add a Codex late-session_meta regression and malformed huge-input budget coverage. Alternatives rejected: Eager whole-record parsing and unbounded scanning would violate the retained-replay resource contract. Compatibility: Positive evidence remains routed through the existing provider detectors. Evidence outside the envelope remains UNKNOWN.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7412c09f9b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
## Summary Remove self-attesting campaign machinery while retaining executable product behavior, durable authority, operational safety, and independently valuable verification. ## Problem The repository had accumulated generated mirrors, passive ledgers, campaign packets, duplicate tracker projections, source-text scans, one-shot reports, and tests that proved only their declarations. They increased maintenance cost and made process artifacts look like runtime authority. Review of the purge also exposed real defects in destructive deletion, raw-authority proof binding, canary authority, benchmark reporting, and continuity replay isolation. ## Solution - Delete 324 retired files and roughly 79,000 lines of generated reports, campaign wrappers, tracker/dashboard mirrors, prose-pattern gates, stale planning packets, and duplicate authority registries. - Retain runtime-consumed registries and executable evidence: operation/action/query descriptors, origin specifications, SLO benchmarks, durable migrations and audit records, parser fingerprints, continuity replay, schema/layering checks, and behavior-level tests. - Preserve one daemon-owned destructive-delete path with exact preview, authorization, acknowledgement, cancellation, and batch binding. - Bind raw-authority exceptions to the complete exact set of planted terminal/deferred outcomes and seeded component/raw IDs; reject missing, swapped, duplicate, unrelated, or falsely successful receipts. - Keep canary semantic authority package-local and exact: a delta must declare the reviewed operation, columns, table, and targeted session/origin scope. Constraint-only, unscoped, unrelated, tracker, or successor metadata cannot authorize candidate differences. - Require continuity replay to name an exact catalog and run in a completely hermetic environment: no inherited cwd/site config, daemon URL/token, MCP capability, HOME/XDG, temp, or user-data authority. Explicit offline mode suppresses per-call delivery and startup outbox draining. A supplied archive is proven byte-identical before/after and cannot emit an outbound daemon request. - Replace the cancellation swarm/timing race with one deterministic production-route proof per interruptible MCP tool. A disposable server holds its real admission slot, one official MCP request queues, one cancellation is confirmed, and a protocol ping proves healthy ordered teardown. Equivalent scenarios reuse that tool-level proof. - Keep structured Beads graph-cycle failure reporting, canonical canary row identities, real benchmark metrics, and behavior-derived command/document coverage. - Retire the closed claim-vs-evidence campaign’s private-report/calibration/publishing harness; reusable query semantics remain on ordinary production routes. ## Verification - Affected reindex-canary, daemon coordination, continuity, MCP telemetry, CLI, and Beads graph suite: `167 passed in 154.70s`. - Deterministic MCP cancellation regression: three fresh-process passes; deduplicated run `1 passed in 18.92s` (previous redundant path was roughly 26–30 seconds). - Hermetic supplied-archive proof: zero outbound requests, unchanged tier SHA-256 digests, and no archive-local runtime state. - Focused deletion/raw-authority suites from the branch: 14 and 22 passed. - Semantic schema wiring: 30 passed. - Action/completion/workflow behavior: 192 passed. - Documentation discovery/render coverage: 7 passed; `devtools render all --check` passed. - Exact-head review-repair suite: 98 focused tests covering canary authority, raw-authority restart proof, hermetic continuity replay, MCP telemetry, and server runtime. - Exact post-rebase quick gate: all 10 checks passed in 59.29s (`20260814T031542Z-quick-1912950-306d6f9e`). - Final P1 repair restored the published source migration bytes exactly; two durable-train hash/replay tests passed, followed by the 25.4s exact-head quick gate (`20260814T033106Z-quick-2033174-5bd70dec`). ## Scope disposition This is self-contained repository cleanup and correctness repair. It assigns or mutates no Beads. #3952 merged first; this branch is now rebased onto that exact master, with the 98-test production-route suite and quick gate run at parent `e49a320d`, then the published-migration repair verified at final head `13135b37`. The merge train still requires its terminal complete-suite/testmon receipt. <!-- polylogue-pr-scope:v2 { "assigned_beads": [], "dispositions": [], "mutated_beads": [], "scope_digest": "79a7984a9ec80a157c96dc8d28561159c642c15de3793837eff751fa7eac34a1", "scope_kind": "self_contained", "version": 2 } -->
## Summary Make default runtime Config projections follow the selected archive root’s promoted index generation. Preserve explicitly supplied database paths and defensive settings/source projection. ## Problem ResolvedRuntimeConfig.as_config passed its already-resolved default index path as Config(db_path=...). That marks the path explicit, so after generation A promotes to B, current_db_path still returns A. The production materialization_generation_lease and raw frontier attachment consume that path. Historical evidence: PR #3952 thread PRRT_kwDOR7_N4c6ZJigM, #3952 (comment). ## Solution Use the existing Config constructor default during runtime projection. No new flag or parallel path. Add production generation-lease tests reading distinct SQLite A/B contents, source-clone and explicit-pin controls, and selected-root/settings/source projection checks. Document the behavior. Correct an inherited test to assert the typed ConfigError refusal rather than diagnostic wording. ## Verification - devtools test tests/unit/core/test_config.py tests/unit/core/test_config_resolution_regression.py tests/unit/product/test_raw_authority.py: job5576, 115 passed, exit0, exact clean head803f96affc14970a64eb1b0d02830207831707c8. - devtools verify --quick: job5577, Success, exit0 on the same head. - Normal precommit format/lint hooks passed. git diff f9bdf41...HEAD --check passed. - Initial focused job5571 is void because the checkout moved after launch; it exposed the inherited wording assertion subsequently corrected. It supplies no passing evidence. ## Self-review Author review of f9bdf41...803f96a. Two whole-diff passes; final pass clean. Current repository guide contains 15 numbered items; generic worker-contract contains six. All 21 considered below. ✓ 1 Siblings and owners: Config owns implicit/explicit choice. Searched all current_db_path callers (two), with_sources, active_archive_root, archive_file_set_root, runtime projection and runtime resolver. Only as_config manufactured an explicit path; omission reuses existing constructor semantics. ✓ 2 Fix itself: no new state, flag or exception. Constructor already resolves an explicitly supplied root. Projection still copies sources and carries settings. N/A 3 Memory and limits: no input loop/cache/cap added; two tiny synthetic SQLite witness rows exercise behavior. ✓ 4 Cost per unit: existing single pointer resolution per projection and per current_db_path call; no archive scan added. N/A 5 Interruption: no product lifecycle/write transition added. Test leases retain existing context cleanup. ✓ 6 Ordering and races: materialization_generation_lease acquires shared generation exclusion before current_db_path; regression checks exclusive RebuildLease refusal during reads. ✓ 7 Failure classification: existing typed pointer errors propagate through constructor; no catch/fallback added. N/A 8 Silent outcomes: no enumeration/status decision changed. Tests assert actual A/B rows rather than a success flag. ✓ 9 Cleanup on failure: test connections and generation leases use context managers; production cleanup unchanged. N/A 10 Identity and keys: no semantic hashes, durable IDs or receipt keys changed. Derived-closure membership is pending recorded job5574; passing static gate is not a membership claim. ✓ 11 Lossless transforms: core regression checks archive/render roots, sources, Drive/index projections, embedding settings and interval; clearing projected sources leaves runtime tuple intact. ✓ 12 Degenerate inputs: existing constructor/default-path tests retained; core regression covers no initial index, production tests cover empty manual source list and both pin choices. ✓ 13 Consumers: two current_db_path consumers need no interface changes. with_sources already preserves implicit/explicit choice. Documentation states promotion and manual pin contract. ✓ 14 Tests and stubs: actual runtime resolver and actual generation-lease consumer read distinct SQLite A/B values. Reintroducing db_path=self.paths.index_db makes implicit branch read A. Discarding explicit path makes control read B. Ambient-root mutation and source clone exercise same production semantics without monkeypatched product functions. ✓ 15 Trust boundaries: only neutral synthetic witness values and tmp_path roots; no private archives/credentials. Changed config precommit scan spans pre-existing assignments, no new credential field or content. ✓ Generic 1 Criterion coverage: tests cover generation, pin, projection on production path. Focused5576 and quick5577 passed on the clean exact head. Delivery remains open until protected merge. ✓ Generic 2 Defect-class coverage: rg current_db_path yielded exactly two consumers; as_config one producer; with_sources one clone. Constructor manually explicit control retained. ✓ Generic 3 Consumers and predecessor: no interface removed; defective explicit argument deleted, existing implicit route becomes the sole default projection. Documentation updated. ✓ Generic 4 Typed visible failures: no new exception handling, statuses or fallback; existing ArchiveLocationError boundary unchanged. ✓ Generic 5 Anti-vacuity: restoring projection's explicit argument turns promoted implicit A/B assertion red; ignoring explicit pin turns explicit control red; removing list copy makes clear mutate source authority. ✓ Generic 6 Privacy: four-file public diff carries no operator data or private results; all evidence packets remain private scratch. Inherited focused failure was corrected in the same test file: flat daemon keys must raise ConfigError, and prose wording is not its declared contract. Sibling search found exactly one daemon wording matcher. No findings in final pass. Broad suites were not requested; selected checks prove their declared scope only. ## Residuals Focused tests prove runtime resolution, source cloning, and production lease reads on Linux. They replace the pointer text directly and do not exercise the full IndexGenerationStore.promote lifecycle. No broad suite or live operator archive was run. Publication and merge remain subject to protected required statuses. The separate Darwin audit-leaf proof hold is outside this change and remains unverified.
|
Historical Codex triage: evidence checked at 5af38ee. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
|
Historical Codex triage: evidence checked at 5af38ee. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
Make live ingest, replay, repair, and degraded acquisition follow the selected archive and active-index authority while preserving durable raw evidence when parsing or derived writes are unavailable.
Problem
Retained replay and source-only acquisition had authority gaps: weakly classified JSONL could be discarded or scanned without a total bound; oversized records could lose valid provider evidence based on key order; ZIP members could lose acquisition coordinates; cursors could outrun quarantine; repair could consult a stale index generation; and daemon/watcher startup or any exceptional shutdown step could permit source writes without rebuild exclusion.
Solution
Verification
32 passed in 338.32sat parent58a687b26(20260814T023634Z-focused-test-1506517-c5e0bced). It includes the sanitized 804-revision acquisition → crash → resume → inactive-candidate proof; bounded late-discriminator and outside-budget cases; daemon/watch refusal, cancellation, cleanup failure, and undrained retention; ZIP coordinates; raw replay; corpus validation; frozen state; and watcher rediscovery.4 passed in 1.65sat7412c09f9b8516c07a51ce8464e6de3c174a9642(20260814T025306Z-focused-test-1682868-43880690). It reproduces a throwingwatcher.stop()with an undrained coordinator and proves rebuild exclusion remains held.direnv exec . devtools verify --quick: all 25 gates passed in159.45s(20260814T025335Z-quick-1689690-74c1c4e5).devtools workspace pr-scope check --pr 3952:pr-scope OK @ 7412c09f.Review disposition
All earlier inline findings were repaired before their threads were resolved. The final three independent P1 findings—cleanup failure releasing exclusion, key-order-sensitive oversized JSONL detection, and standalone watcher-stop failure skipping drain—are reproduced and repaired. CI and final exact-head review are not represented as complete until returned.
Risks and follow-ups
This changes live-ingest authority but does not mutate the production archive. Authenticated archive-root recovery, source migration, inactive-candidate construction, and the terminal current-master full-suite/testmon receipt remain separate operations.