Repository navigation
fix: Keep a terminal service state from being demoted to stopped - #5026
Conversation
Problem: halt() sets HALTED and cancels the task; one loop turn later the child's CancelledError handler settled STOPPED over it, so a terminally refused service published a measured 'stopped' on the status board. A long 'polylogued run' could hide a terminal refusal behind a clean state. Solution: HALTED, FAILED and ORPHANED are declared as one terminal set that _settle never overwrites. All three share the hazard: cancellation is how a halt, a crash and an expired shutdown deadline all end, so all three are followed by the same STOPPED settle. Special-casing HALTED alone would have left the other two demoting silently. The orphan test's child suppressed cancellation unconditionally, so asyncio.run's loop teardown could never reap it and the test timed out rather than failing on the assertion. It now releases the child after the assertions, and asserts that reaping it leaves ORPHANED intact. Anti-vacuity: dropping the TERMINAL_SERVICE_STATES check makes the halt test red (STOPPED is not HALTED) and the orphan test red at its final assertion. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
af6fad6 (#4913) deleted raw_materialization_convergence and 9238939 (#5005) reintroduced the identical spec as raw_observation_convergence; only the service token changed, the production function kept its name. supervisor.start() on an undeclared name raises UnknownServiceError rather than reporting SKIPPED, which is the right contract -- unknown is not deselected -- so the stale token was the defect. The two sibling assertions in test_service_registry.py asserted 'not in' and so kept passing against a name no registry declares. They now name a service that actually exists and is PRODUCTION-only, which is what their intent (a focused profile schedules no archive-writing work) requires. Anti-vacuity: adding RESIDENT_CORE to the raw_observation_convergence spec in services.py makes all three assertions red; before this change the registry ones could not go red at all. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
1d901ec (#4867) tightened embedding_status_settings_from_config from duck typing to nominal dispatch over PolylogueConfig/Config, which now refuses anything else by TypeError. The local _FakeCfg double stopped satisfying it and took seven cases with it. No production caller is affected; they all pass load_polylogue_config(). The double is replaced by a _config() helper returning a real PolylogueConfig, so these cases exercise the same type production passes rather than one that could only ever match itself. Anti-vacuity: reintroducing an attribute-only stand-in makes all seven red at the same TypeError; a PolylogueConfig whose embedding properties changed shape now fails here instead of passing against a frozen imitation. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
The _seed_wal helper closed its connection in a finally block, and SQLite deletes the -wal file when the last connection closes. Every case then ran against an absent WAL, so checkpoint_wal returned at its size gate with mode='none' before opening anything -- reporting 'none' where 'passive' and 'truncate' were asserted. Production is correct: an absent WAL needs no checkpoint. Red since 30aa5b1 (#4794), never a regression. Seeding is now a fixture that holds its connection open until teardown and asserts a non-empty -wal file exists before returning, so a seeding route that stops producing a WAL fails loudly instead of silently converting every escalation assertion into a test of the size gate. The busy-reader case closes the seeding writer once the reader holds its snapshot, making the reader the only thing keeping the WAL on disk. A second idle connection would have kept that case green with the reader removed. Anti-vacuity: WAL escalation was effectively untested. Now adding TRUNCATE to CHECKPOINT_ESCALATION_MODES['recurring'] makes the passive case red; removing TRUNCATE from 'exclusive' makes the truncate case red; letting the helper retry past a busy result makes the busy-reader case red. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
… emits e38f8a9 (#4694) deliberately added per-stage batch-check timings at convergence.py:1130 and :1178, so stage_timings carries '<stage>.check' beside each stage. The exact-set assertion memorialised the old contract. It now asserts the new one. The consumer, _per_stage_timings_from_attempts, keys per stage name and summarises each independently -- it never sums across keys -- so the check rows cannot inflate a stage's own measured time; confirmed at operations/daemon_workload_probe.py:2150-2161. Anti-vacuity: dropping either _record_stage_times call for a stage check makes the assertion red, as does adding a stage without measuring its check. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
1d901ec (#4867) added migrations/audit/003_machine_requests.sql, taking audit from user_version 2 to 3. This case stamps a "later" schema to prove receipt validation tolerates one, but stamped the literal 2 -- which against a live v3 tier is a downgrade, correctly refused by durable_change_train.py:1146-1148. The refusal read as this test failing. The version is now ARCHIVE_VERSION_BY_TIER[AUDIT] + 1, so it stays a genuine upgrade when audit 004 lands rather than breaking again. Anti-vacuity: making validate_audit_adoption_receipt reject any version above the recorded one makes this red; the previous literal made it red on every audit migration instead. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
Relocation requires a released manifest for every target in range(adoption_floor + 1, live_user_version + 1) (archive_root_relocation.py:1194). The audit clone fixture emitted only audit-002.json, so when 1d901ec (#4867) took audit to user_version 3 the expected set became {2, 3} and relocation raised at :1205-1206. The fixture now loops over that same derived range -- floor declared once and read back, head read from the tier database's own PRAGMA user_version -- retargeting every version-bearing field the manifest validator binds: current_version/target_version/slot, migration, fresh-DDL parity, backup_authorization.live_user_version, pre- and post-apply evidence, the migration result, and proof.restart_convergence.observed_user_version. No literal version remains, so audit 004 will not break it again. This repairs test coverage only. The production refusal it was failing to exercise is real and remains open: an archive whose audit tier reached v2 without a v2 train manifest (adopted or pre-marker archives) has only audit-003.json after migrating, and relocation refuses it, because :1194 uses the raw adoption floor where every other chain check uses _chain_floor() (durable_change_train.py:3179-3182). Anti-vacuity: restoring the single hardcoded audit-002.json makes this red at the unexpected-train-target refusal, which is exactly how it failed. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedNext included review available in 54 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (8)
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 |
… train (#5028) Closes `polylogue-04yt4` (P0). Blocks the final archive build and `polylogue-sjdk4` (rollback readiness). ## Summary Let an adoption receipt raise the durable chain floor, and tolerate released train history below that floor, so an archive whose durable tier reached a version without walking the migration train can still be relocated. ## Problem Archive-root relocation refuses the operator's actual live archive, and the rollback aside packet `polylogue-sjdk4` needs cannot be produced any other way — the archive root is a symlink farm with absolute generation links, so a plain `cp -r` resolves back into the live archive and `ArchiveLocation` rejects it. Verified read-only against `/realm/state/polylogue` (mtimes confirm the live files were untouched): ``` audit.db PRAGMA user_version 2 audit-0*.json train manifests none durable-change-trains/ audit-adoption.json, source-027..031.json .bootstrap absent ``` It reached audit v2 by **adoption**, not by walking the train. A durable tier below the runtime version is refused at open (`bootstrap.py:593-596`) and master declares `AUDIT_SCHEMA_VERSION` 3, so `migrate-tier audit` is forced first — and that writes only `audit-003.json`, never backfilling `audit-002.json`. Relocation then compares manifests `{3}` against `expected_targets {2,3}` at `archive_root_relocation.py:1194` and raises. The `validate_audit_adoption_receipt` bypass cannot fire: it is gated on `not manifests`, and `audit-003.json` exists by then. **The originally proposed one-line fix does not work.** `_chain_floor` (`storage/sqlite/durable_change_train.py:3179`) consults only `_fresh_durable_bootstrap_versions`, i.e. the `.bootstrap` marker — absent here, and relocation refuses bootstrap archives outright at `:1142` anyway. Swapping it in would still return floor 1. The adoption receipt was never a floor input anywhere. **The SOURCE tier is broken too, and not merely latently.** The live archive holds *released* `source-027..030` **below** floor 37, and the check was a set *equality*, so after migrating source to v44 the manifests `{27..44}` could never equal `{38..44}`. ## Solution Make the receipt's `audit_user_version` a chain-floor evidence source (new `audit_adoption_receipt_version` and `_durable_chain_floor_versions`), then use `_chain_floor` at relocation for both `expected_targets` and the `_require_released_train_chain` call. The same code path also fixes startup's post-migration audit chain check. For SOURCE, relocation now requires every target *above* the floor and rejects any target above the live version, while tolerating history at or below the floor. The floor lookup deliberately does **not** revalidate the receipt against the live tier — an earlier version did and broke `test_adopted_audit_startup_runs_one_receipt_integrity_check` by running two integrity checks. Relocation validates the receipt explicitly before reading a floor from it. Rejected: widening the `not manifests` bypass. It would skip chain validation of the real v3 train entirely, and would fix only relocation while startup and forward admission kept the raw floor. ## Verification ``` devtools test tests/unit/storage/test_archive_root_relocation.py \ tests/unit/storage/test_durable_change_train.py PASSED exit=0 receipt 20260913T195302Z-focused-test-1324118-90ce6c01 devtools verify --quick all 14 gates ok, exit 0 ``` Four regression tests, built on synthetic archives through the **real** routes — a real `adopt_missing_audit_tier` receipt plus real `execute_durable_change_train` audit trains above it, with no fabricated manifests: - adopted at v3 with only `audit-004.json` → accepted (the live audit shape) - the same archive with the receipt removed → still refused - released train below a raised floor → accepted (the live source shape) - train above the live version → still refused Anti-vacuity **verified by reverting, not asserted**: restoring the raw adoption floor turns `test_relocation_accepts_an_audit_tier_adopted_below_its_only_train` red with the exact live error (`archive-root relocation found an unexpected audit train target`); restoring set equality turns `test_relocation_accepts_durable_trains_below_the_chain_floor` red with the same message. Both restored afterwards. Earlier failures reported against the pre-`#5026` base are gone on this base: the run above is fully green. ## Residuals - All three changed product files report **IN** the derived schema-identity closure, so this must land **before** a fresh rebuild starts, never during one. - The live-archive source chain `{27..44}` was not built end to end as a single archive; the live shape is reproduced as two properties on separate synthetic archives (adoption-below-train, and released manifests below the floor). Both pass. - **Separate blocker, not this bug:** live `source-031.json` is in state `reserved`, not `released`. Relocation independently refuses a non-released train, so the aside packet is still blocked on that until the operator's source migration to v44 completes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
…dget The archive status path replaced `pending_messages_exact = include_detail` with `authoritative_state is not None`, attaching the flag to the wrong question. `pending_messages_exact` tells a caller an exact count from an estimate — it answers "did you pay for detail?", not "could the embedded-state inspection certify itself". Conflating them inverted the contract in both directions: a cheap status read of an archive index published an exact backlog nobody asked it to compute, while a detail read of an archive whose refs/meta/vectors cannot be inspected together withheld the backlog entirely — the case whose own test is titled "even disabled config still exposes the backlog instead of hiding it". The authoritative_state gate stays where it belongs, on embedded_sessions, embedded_messages and coverage. When it is unavailable nothing is provably embedded, so the detail pass counts every embeddable message as pending: a conservative backlog that is exact, and consistent with the pending_sessions = total_sessions set in that same branch. These two tests were inert on this branch until PR #5026 replaced a duck-typed config double with a real PolylogueConfig; every test in the file had been dying at the same TypeError, so the regression shipped unobserved. Verification: devtools test tests/unit/daemon/test_embedding_readiness.py tests/unit/daemon/test_derivation_kernel_laws.py — 43 passed. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
…nfig (#5032) Advances `polylogue-7lhl5`. Resolves 47 of the 108 failures reproduced at `14e1d821f`. ## Summary Replace embedding-status config doubles with a real `PolylogueConfig` behind one shared helper, and retarget four leftover insight rebuilds onto the shared materializer. ## Problem The full corpus could not collect as one unit until #5031, so most of these tests had never run. The measured red surface at `14e1d821f` is 108 failures. Two clusters account for 47. ## Production is right — deliberately unchanged Before editing test files, the question was whether the production nominal dispatch in `embedding_status_settings_from_config` is itself wrong. It is not, for two reasons worth recording: 1. **It is a lossy projection where identical attribute names mean different things.** A legacy `Config` has no `embedding_enabled` and no `embedding_max_cost_usd`, and reaches its Voyage key via `index_config`; `PolylogueConfig` has all of them directly. `EmbeddingStatusSettings`'s own docstring makes `None` mean *"the supplied configuration did not observe that fact — not disabled, not unbounded."* A Protocol can express which attributes an object has, never **which vocabulary it speaks**, so the two branches would collapse and emit `None`s that read as observed-absent rather than unobservable. 2. **No production caller can reach the refusal.** `status_payload.py:1297` uses `load_polylogue_config()`; `status_payload.py:1179` and `operations/daemon_status.py:77` are typed `Config | PolylogueConfig | None` and their production callers (`daemon/cli.py:3052,3057`, `daemon/status_snapshot.py:420`, `cli/shared/check_workflow.py:134`) pass no config at all. So it is a fail-loud partition guard: a third config type must be a deliberate edit there, not a silent structural match. Fixing the tests was correct. ## Solution **`24d060ebf`** — the `_Cfg` cluster (29, and confined to a single file rather than spread across the suite as first assumed). #5026's pattern is factored into `tests/infra/embedding_config.py` and used from both call sites instead of per-file copies — that duplication is exactly what the consolidation census (#5029) is trying to reduce. `test_embed_status_fast.py` 32 failed → 15; zero `_Cfg` TypeErrors. **`96e79d095`** — cluster B (18). Four callers that `f494b276f` missed, retargeted onto `materialize_session_insights`. Readiness 4→0, taxonomy 6→0, snapshots 15→7. ### Anti-vacuity - `_Cfg`: tests still drive the real `load_polylogue_config → embedding_status_settings_from_config → EmbeddingStatusSettings` route. The helper was verified behavior-identical (same five values; `config.py:411-429` are plain pass-throughs), so nothing was relaxed. Reverting to a double makes them red with the same `TypeError`, and a production field rename now breaks these tests instead of being absorbed by a double that matches only itself. - Cluster B: the tests assert what the materializer *produces*, and `materialize_session_insights` calls `rebuild_session_insights_sync` — the same function both sanctioned owners reach — so deleting it leaves every assertion red. Authorization-route coverage stays separate in `test_operation_executor_routes.py`. ## Verification ``` devtools test <5 selections> receipts 20260913T213830Z-...-1607196-b7978ae1, ...-1617758-93b10ec5, ...-1633508-61a11e02, ...-1635467, ...-1640057 devtools verify --quick 14/14 gates ok ``` No full-corpus run (a host reaper kills long background tasks; the corpus gate runs through the declared `verify_all` operation instead). ## A measurement that refuted a confident inference Cluster C was triaged as "small and clear: widen the lambdas to `**_kwargs`." It was implemented and **measured to be wrong** — it peeled three layers (`index_path` → `operation_vector_connection` → `index_db_path`) with 7 failures surviving each round. `test_query_exec_laws.py` holds **38 hand-written `FakeArchiveStore` copies** that have drifted from a production class that moved. Re-synchronizing them is the duplication problem itself, not a one-liner. It was **reverted rather than chased attribute by attribute**, and needs its own owner. ## Deliberately left, with owners - **Cluster A residual, 15** — `test_embed_status_fast.py`. Pre-existing and previously masked by the `TypeError` (confirmed three ways). Cause: `EMBEDDINGS_SCHEMA_VERSION` 5→6 added `message_content_hash`, so the v5-shaped fixture's metadata alone no longer certifies a vector. Needs a v6 fixture with real physical vectors under sqlite-vec, not a pragma bump. - **Cluster C, 7** — the `FakeArchiveStore` drift above. - **D1–4, 34** — reset / excise / archive-maintenance / json-output, all stale against daemon sole-write authority. Mechanical but needs a judgment call about what each should now assert; one owner for all four. - **D5, 3 — a genuine PRODUCT BUG**, filed separately: `cli/commands/status.py` rejects any non-builtin `daemon_url` and then renders the refusal as **"Daemon: running"** with `daemon_reachable = True` when no daemon exists. - **D6** — mostly environment/timing, but `test_daemon_resilience.py:362` (`(None,'signal') != ('SIGTERM','signal')`) is a real shape mismatch. - **D7** — `.archive-ownership.lock` PermissionError, carrying a real question about whether a pure read should need write access. The `no running event loop` traceback there is **not** a defect — caught by design at `core/async_bridge.py:50-53`. Attribution is more spread than expected: only cluster A traces to the convergence rewrite; B to `f494b276f`; C and D5 to `1d901ec73`; D1–3 to `6be5d2fd7`; D4 to `cfc4c73ec`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK --------- Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Summary
Stop the daemon supervisor demoting a terminal service state to
stopped, andrepair six test scopes that were red on clean master — three memorializing
deliberately changed behaviour, three broken fixtures.
Problem
Clean master
3faacef23fails these files. Splitting real defects from staletests was the point of the exercise; the split came out 1 product bug, 3
stale tests, 3 broken fixtures.
The product bug.
halt()setsServiceState.HALTED, then cancels. One loopturn later the cancellation handler calls
_settle(spec, STOPPED, ...), and_settlehad no terminal-state guard, so it overwroteHALTEDand republisheda measured
STOPPED. Halt durability itself was never at risk —HaltRegistrystill refuses the unit on restart — but a terminally refused service appeared on
the status board as a clean
stopped, which is the one thing an operator readsto decide nothing is wrong. Introduced whole in
b2ad5ef1b; never green on thispath.
Solution
TERMINAL_SERVICE_STATES = {HALTED, FAILED, ORPHANED}as a general set_settlenever demotes, rather than aHALTEDspecial case. Cancellation isthe common ending for all three — a halt, a crash under
FAIL_DAEMON, and anexpired shutdown deadline each leave a child whose
CancelledErrorhandlersettles
STOPPEDone turn later. No priority ordering is needed because none ofthe three is reachable from another, so first-writer-wins is the whole rule.
SKIPPED/UNAVAILABLEare set through_resolveand have no task, so they haveno demotion path.
Test repairs, each with its anti-vacuity condition:
raw_materialization_convergence→raw_observation_convergence(
services.py:321-330, wired atcli.py:2752). The service was renamed by#4913/#5005, not removed. The two sibling registry assertions previouslyasserted
not inagainst a nonexistent name and so could not go red at all;now adding
RESIDENT_COREto the spec makes all three red._FakeCfgreplaced with a realPolylogueConfigafter
embedding_status_settings_from_configmoved to nominal dispatch.Reintroducing an attribute-only double makes all seven red.
finally:,and SQLite deletes the
-walon last close, socheckpoint_walreturned atits size gate with
mode='none'before opening anything — every mode read'none'regardless of policy, so escalation was entirely unbound. Seeding nowholds the connection open and asserts a non-empty
-walexists. Thebusy-reader case closes the seeding writer once the reader holds its snapshot,
so the reader is the sole WAL holder. Proved empirically rather than
asserted: temporarily dropping
TRUNCATEfromCHECKPOINT_ESCALATION_MODES["exclusive"]turns the suite red withassert 'restart' == 'truncate', then reverted.uncancellablechild suppressed cancellation unconditionally, soasyncio.run's_cancel_all_taskscould never reap it and the test died onpytest-timeout at 120s. It now releases the child after the assertions and
additionally asserts that reaping it leaves
ORPHANEDintact, exercising thenew guard.
#4694deliberately addedparse.check/fts.check/derived.checksub-timings; the assertion now expects the six-key set.Verified the consumer does not double-count:
_per_stage_timings_from_attempts(
daemon_workload_probe.py:2150-2161) keys per stage and summarises eachindependently, never summing across keys.
ARCHIVE_VERSION_BY_TIER[AUDIT] + 1instead of a literal, so audit 004 willnot break it again; the relocation clone fixture loops over the derived chain
with no literal versions. Beyond the documented fields, the validator also
binds
proof.restart_convergence.observed_user_version(
migration_runner.py:3610).Verification
Residuals
Archive-root relocation is genuinely broken for one real class of archives,
and this PR does not fix it — the fixture repair here makes the test green
without closing the product gap, so it is called out rather than hidden.
A durable tier below the runtime version is refused at open
(
bootstrap.py:593-596), so an operator must runmigrate-tierfirst, andsnapshot.user_versionis therefore always 3 at relocation time. Migratingwrites only
audit-003.json; it does not backfillaudit-002.json. The brokenclass is any archive whose audit tier reached v2 without a v2 train manifest —
pre-marker archives,
--adopt-established-audit,--initialize-missing. Thoseend with manifests
{3}againstexpected_targets {2,3}and hit the raise. Thevalidate_audit_adoption_receiptbypass does not cover them: it is gated onnot manifests, andaudit-003.jsonexists by then. Archives that walked 1→2through the train route are fine, and the
.bootstrapguard intercepts fresharchives first — into a hard refusal, not success.
Root cause:
archive_root_relocation.py:1194uses the rawDURABLE_MIGRATION_ADOPTION_FLOORS[tier]where every other chain check uses_chain_floor()(durable_change_train.py:3179-3182). Relocation's own.bootstraprefusal made the two equal until a tier gained a migration above aversion some archives reached without a train — which is exactly what
003did.The same shape latently exists for SOURCE (floor 37, live 44), masked because
real source archives carry the intermediate manifests.
Needs a separate owner, a
_chain_floor-based fix, and a regression test builton a v2-era audit archive carrying only
audit-003.json. Recorded in the6c7513327commit body so it is not lost.embedding_readiness.py:62-68needs no fix. The seam is unreachable:embedding_readiness_infopasses onlySimpleNamespace(config=SimpleNamespace(db_path=...)),and
embedding_status_payloadcallsload_polylogue_config()itself(
status_payload.py:1307) and passes that to the nominal dispatch (:1320).Broadening to
except Exceptionwould be actively wrong — it would convert awrong-type programming error into
embedding_status="empty" / retrieval_ready=False,indistinguishable from a fresh archive, which is the precise failure the
existing
polylogue-cpf.4comment exists to prevent.🤖 Generated with Claude Code
https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK