Repository navigation
feat(embeddings): unify embedding freshness into one monotonic key - #3067
Conversation
|
Warning Review limit reached
Next review available in: 53 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (25)
✨ Finishing Touches🧪 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: 4e8f5e5319
ℹ️ 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: CodeRabbit flagged a P1 on PR #3067 at convergence_stages.py:882 -- _reconcile_embedding_config_change() unconditionally set needs_reindex=1 on every embedding_status row whenever recipe_changed was true, instead of only the sessions whose embedding_derivation_state generation actually advanced this pass. For an archive with more pending sessions than one bounded _DAEMON_EMBED_MAX_SESSIONS (25) convergence window, message_embeddings_meta for the not-yet-reembedded remainder still carries the old recipe_hash after batch one, so meta_recipe_changed stays true on every subsequent pass. The unconditional bulk mark then re-flagged the batch-one sessions that had already succeeded under the new generation/key, and because the exact freshness predicate also requires needs_reindex=0, newest-first selection looped on the same first batch forever instead of covering the archive -- undermining this PR's own AC that convergence be monotonic and progress. Independently confirmed by reading _reconcile_embedding_config_change and its three _archive_embed_check* call sites, all invoked on every convergence pass. Also fixed a related false-positive: model_changed compared the raw `model` text column, which the demo-seeded synthetic embedding deliberately sets to "demo-synthetic-embedding" for construct/verify compatibility. Since EmbeddingRecipe.identity() already hashes the model name as one of its declared fields, any genuine model change already flips recipe_hash and is caught by meta_recipe_changed/advanced_generations; model_changed was redundant for real drift and only served to permanently mis-trigger a full-archive reindex on demo archives. It stays for logging only. What changed (polylogue/daemon/convergence_stages.py): - The bounded embedding_derivation_state UPDATE now uses RETURNING session_id (established pattern; see embedding_write.py) to capture exactly which sessions advanced generation this pass. - The embedding_status bulk mark is scoped to those session_ids via `WHERE session_id IN (...)`, except when dimension_changed -- a dimension change invalidates every stored vector archive-wide (the vec0 table itself is dropped/recreated), so that branch legitimately stays full-table. - model_changed no longer participates in the recipe_changed trigger. Second finding (P2, linked comment on materialization.py:455): the demo seed's `_seed_demo_embeddings` wrote vectors/meta/a clean embedding_status row but never created an embedding_derivation_state row. Every production selector uses the shared exact-key freshness predicate (_archive_embedding_freshness_predicate), whose `d.session_id IS NOT NULL` check is always false without that row, so the demo session was classified pending forever -- an embedding-enabled daemon pointed at a demo archive would attempt a paid re-embed of content seeded to be cost-free. Fixed polylogue/demo/seed.py: `_seed_demo_embeddings` now computes the per-message recipe_hash/derivation_key/generation and a matching embedding_derivation_state row (attempt_state='succeeded') keyed against the *currently configured* embedding recipe (load_polylogue_config(), same source the reconciler and freshness predicate use) rather than the "demo-synthetic-embedding" display label. The `model` column keeps its existing display value (still asserted by demo/constructs.py and test_demo_seed_verify.py); only the identity-bearing recipe_hash/ derivation_key/generation fields are corrected. Verification: - New regression test (production route, not toy SQL): tests/unit/storage/ test_embedding_freshness_invariant.py:: test_recipe_change_reconciliation_does_not_restarve_sessions_already_succeeded writes 30 real archive sessions, embeds them, changes the configured model, runs convergence pass 1 (bounded to 25), re-embeds that batch for real, then runs pass 2 and asserts the batch-one sessions stay needs_reindex=0 and the returned pending set advances to the untouched remainder. Confirmed this fails against the pre-fix code (re-flags the batch and returns the same 25 again) and passes against the fix. - New test: tests/unit/demo/test_demo_seed_verify.py:: test_seed_demo_embedding_session_is_classified_fresh_not_pending asserts the demo embedding session is excluded from select_pending_archive_session_window's real production selector. Confirmed this fails against the pre-fix seed.py and passes against the fix. - devtools test tests/unit/daemon/test_embedding_convergence_progress.py tests/unit/storage/test_embedding_freshness_invariant.py tests/unit/storage/test_embedding_contracts.py tests/unit/storage/test_embedding_orphan_reconcile.py tests/unit/cli/test_embed_status_fast.py tests/unit/demo/test_demo_seed_verify.py -> 127 passed - devtools test tests/unit/demo -> 38 passed - devtools verify --quick -> exit 0 (ruff format/check, mypy --strict, render all --check, layering/topology/manifests/docs-coverage lanes) Ref polylogue PR #3067 CodeRabbit review. Co-Authored-By: Claude <[email protected]>
Four production embedding-selection call sites (per-source convergence, daemon bulk backlog, manual `embed` backfill, preflight) previously diverged: only one compared message_embeddings_meta.content_hash against current content, the other three trusted needs_reindex alone via an include_stale_checks=False bypass. Separately, mark_session_embedding_error unconditionally cleared needs_reindex on a non-retryable terminal error, which could clobber a concurrent config-change bulk-mark landing mid-flight (same race class as the already-fixed success-path guard, left open on the error path). Introduces a storage-neutral DerivationKey value/protocol (polylogue/storage/derivation_identity.py) separating subject, exact source identity, computational recipe identity, and output contract from attempt generation, eligibility, and result integrity -- no universal derivation table or lifecycle. Embeddings map onto it via polylogue/storage/embeddings/identity.py (EmbeddingRecipe covers all twelve declared computational fields). _archive_embedding_freshness_predicate() in materialization.py is now the sole freshness classification consumed identically by all four call sites; the include_stale_checks bypass is removed entirely. complete_embedding_attempt_success and record_embedding_failure/mark_session_embedding_error commit inside one transaction guarded by session_id+generation+derivation_key+attempt_state, so a stale attempt's terminal write touches zero rows instead of clobbering a newer generation. EMBEDDINGS_SCHEMA_VERSION moves 2 -> 3 (canonical DDL, no migration chain -- embeddings.db is a rebuildable-but-expensive derived tier per project doctrine). Verified this is not a silent auto-rebuild hazard: initialize_archive_database raises a RuntimeError requiring an explicit operator move-aside before an old v2 file is touched. Fixed several real defects surfaced by independent verification of this externally-authored patch before merge: a genuine runtime bug in status_payload.py (_archive_embedding_session_state_exact_with_timeout returned a 2-tuple on a missing-table path against a 3-tuple return type, unpacked into three variables at its call site -- guaranteed ValueError), 13 mypy --strict errors, 4 ruff-format violations, a layering-manifest entrypoint-list drift, and an unallowlisted degrade-loudly except-handler. Ref polylogue-wmsc. Absorbs/validates supersession of polylogue-iqd3 and polylogue-0k6 (both already closed as superseded by wmsc). Co-Authored-By: Claude <[email protected]>
A broader post-commit regression sweep beyond the originally-scoped test files found two fixtures the EMBEDDINGS_SCHEMA_VERSION 2->3 bump broke: - tests/unit/cli/test_embed_activation.py::_seed_embeddings_meta hand-rolled a 6-column message_embeddings_meta CREATE TABLE IF NOT EXISTS + positional 6-value INSERT. Once the archive workspace fixture initializes embeddings.db to the real v3 (9-column) schema first, the CREATE becomes a no-op and the positional INSERT fails with "table message_embeddings_meta has 9 columns but 6 values were supplied". Fixed to an explicit named-column INSERT so it works against either schema shape. - tests/unit/devtools/test_archive_schema_fast_forward.py:: test_embedding_clone_preserves_vectors_and_installs_failure_lifecycle hardcoded the pre-bump expected clone user_version (2). The production fast-forward helper already targets EMBEDDINGS_SCHEMA_VERSION dynamically (no fix needed there) -- only the test's hardcoded literal was stale. Replaced both hardcoded "2" assertions with the imported constant so a future schema bump can't silently re-break this test the same way. Both confirmed passing after the fix; devtools verify --quick stays clean. Verification: `devtools test tests/unit/cli/test_embed_activation.py tests/unit/devtools/test_archive_schema_fast_forward.py` -> 60 passed. Co-Authored-By: Claude <[email protected]>
Problem: CodeRabbit flagged a P1 on PR #3067 at convergence_stages.py:882 -- _reconcile_embedding_config_change() unconditionally set needs_reindex=1 on every embedding_status row whenever recipe_changed was true, instead of only the sessions whose embedding_derivation_state generation actually advanced this pass. For an archive with more pending sessions than one bounded _DAEMON_EMBED_MAX_SESSIONS (25) convergence window, message_embeddings_meta for the not-yet-reembedded remainder still carries the old recipe_hash after batch one, so meta_recipe_changed stays true on every subsequent pass. The unconditional bulk mark then re-flagged the batch-one sessions that had already succeeded under the new generation/key, and because the exact freshness predicate also requires needs_reindex=0, newest-first selection looped on the same first batch forever instead of covering the archive -- undermining this PR's own AC that convergence be monotonic and progress. Independently confirmed by reading _reconcile_embedding_config_change and its three _archive_embed_check* call sites, all invoked on every convergence pass. Also fixed a related false-positive: model_changed compared the raw `model` text column, which the demo-seeded synthetic embedding deliberately sets to "demo-synthetic-embedding" for construct/verify compatibility. Since EmbeddingRecipe.identity() already hashes the model name as one of its declared fields, any genuine model change already flips recipe_hash and is caught by meta_recipe_changed/advanced_generations; model_changed was redundant for real drift and only served to permanently mis-trigger a full-archive reindex on demo archives. It stays for logging only. What changed (polylogue/daemon/convergence_stages.py): - The bounded embedding_derivation_state UPDATE now uses RETURNING session_id (established pattern; see embedding_write.py) to capture exactly which sessions advanced generation this pass. - The embedding_status bulk mark is scoped to those session_ids via `WHERE session_id IN (...)`, except when dimension_changed -- a dimension change invalidates every stored vector archive-wide (the vec0 table itself is dropped/recreated), so that branch legitimately stays full-table. - model_changed no longer participates in the recipe_changed trigger. Second finding (P2, linked comment on materialization.py:455): the demo seed's `_seed_demo_embeddings` wrote vectors/meta/a clean embedding_status row but never created an embedding_derivation_state row. Every production selector uses the shared exact-key freshness predicate (_archive_embedding_freshness_predicate), whose `d.session_id IS NOT NULL` check is always false without that row, so the demo session was classified pending forever -- an embedding-enabled daemon pointed at a demo archive would attempt a paid re-embed of content seeded to be cost-free. Fixed polylogue/demo/seed.py: `_seed_demo_embeddings` now computes the per-message recipe_hash/derivation_key/generation and a matching embedding_derivation_state row (attempt_state='succeeded') keyed against the *currently configured* embedding recipe (load_polylogue_config(), same source the reconciler and freshness predicate use) rather than the "demo-synthetic-embedding" display label. The `model` column keeps its existing display value (still asserted by demo/constructs.py and test_demo_seed_verify.py); only the identity-bearing recipe_hash/ derivation_key/generation fields are corrected. Verification: - New regression test (production route, not toy SQL): tests/unit/storage/ test_embedding_freshness_invariant.py:: test_recipe_change_reconciliation_does_not_restarve_sessions_already_succeeded writes 30 real archive sessions, embeds them, changes the configured model, runs convergence pass 1 (bounded to 25), re-embeds that batch for real, then runs pass 2 and asserts the batch-one sessions stay needs_reindex=0 and the returned pending set advances to the untouched remainder. Confirmed this fails against the pre-fix code (re-flags the batch and returns the same 25 again) and passes against the fix. - New test: tests/unit/demo/test_demo_seed_verify.py:: test_seed_demo_embedding_session_is_classified_fresh_not_pending asserts the demo embedding session is excluded from select_pending_archive_session_window's real production selector. Confirmed this fails against the pre-fix seed.py and passes against the fix. - devtools test tests/unit/daemon/test_embedding_convergence_progress.py tests/unit/storage/test_embedding_freshness_invariant.py tests/unit/storage/test_embedding_contracts.py tests/unit/storage/test_embedding_orphan_reconcile.py tests/unit/cli/test_embed_status_fast.py tests/unit/demo/test_demo_seed_verify.py -> 127 passed - devtools test tests/unit/demo -> 38 passed - devtools verify --quick -> exit 0 (ruff format/check, mypy --strict, render all --check, layering/topology/manifests/docs-coverage lanes) Ref polylogue PR #3067 CodeRabbit review. Co-Authored-By: Claude <[email protected]>
3106f92 to
7185b8d
Compare
First verification-triage wave over the aged ready set (132 beads checked by read-only lanes so far): polylogue-9x22 and polylogue-cgfy closed as complete-on-master per their own sweep notes, polylogue-wmsc closed as already-satisfied by PR #3067 (2026-07-18, never bookkept), polylogue-3utv annotated misframed pending the dx1 ASGI decision. Co-Authored-By: Claude <[email protected]>
|
Historical Codex triage: evidence checked at 5ebcfe5. 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 5ebcfe5. 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
Replaces four divergent embedding-freshness selectors (per-source convergence, daemon bulk backlog, manual
embedbackfill, and preflight) with one shared exact-key predicate driven by a new storage-neutralDerivationKeyvalue shape, and makes success/error/resolution writes conditionally scoped to the exact generation/key they were issued for — closing the terminal-write race that could clobber a newer config-change mark with an older attempt's outcome.Problem
polylogue-hash-boundarycensus (polylogue-9e5.6) found that only one of four production embedding-selection call sites comparedmessage_embeddings_meta.content_hashagainst current message content; the other three (_drain_archive_embedding_backlog_once,_run_archive_backfill,_select_archive_pending_window) passedinclude_stale_checks=Falseand trusted aneeds_reindexflag alone. Separately,mark_session_embedding_errorunconditionally clearedneeds_reindexon a non-retryable terminal error, which could clobber a concurrent config-change bulk-mark that landed mid-flight (the same race class already fixed for the success path in polylogue-y337, but left open on the error path — polylogue-iqd3). polylogue-0k6's same-ID/same-count changed-text staleness gap is the content-generation instance of the same underlying defect: selection and terminal writes did not consume one monotonic freshness generation.Solution
polylogue/storage/derivation_identity.py: a storage-neutralDerivationKey/DerivationIdentity/DerivationSubjectvalue/protocol type (subject + exact source identity + computational recipe identity + output contract, SHA-256 digested with domain separators). Deliberately excludes attempt generation, producer/resource data, eligibility/privacy, retryability, and result hashes — those remain domain-owned. No universal derivation table or lifecycle was added.polylogue/storage/embeddings/identity.py: maps embeddings onto that shape.EmbeddingRecipedeclares all twelve computational fields from polylogue-303r.7 (canonicalization, record selector, chunking version, provider, model, model revision, dimensions, task, input type, normalization, tool implementation, input/schema version); changing any one produces a differentrecipe_hash._archive_embedding_freshness_predicate()inmaterialization.pyis now the sole v3 freshness classification (fresh / blocked / pending), consumed identically by all four production call sites:polylogue/daemon/convergence_stages.py::_archive_pending_embedding_session_ids(also fixes config reconciliation, which previously ran againstindex.dbeven though embedding state lives in the siblingembeddings.db— now_reconcile_archive_embedding_config_changetargets the correct file)polylogue/daemon/embedding_backlog.py::_drain_archive_embedding_backlog_oncepolylogue/cli/commands/embed.py::_run_archive_backfillpolylogue/storage/embeddings/preflight.py::_select_archive_pending_windowThe
include_stale_checksbypass parameter is removed entirely (zero production references remain).polylogue/storage/sqlite/archive_tiers/embedding_write.py:complete_embedding_attempt_successandrecord_embedding_failure/mark_session_embedding_errornow validate and commit inside one transaction guarded byWHERE session_id = ? AND generation = ? AND derivation_key = ? AND attempt_state = 'pending'; a stale attempt's write touches zero rows and is recorded only assupersededevidence.resolve_embedding_failureapplies the same generation/key scoping so a late acknowledgement of an old failure cannot clear a newer pending mark.EMBEDDINGS_SCHEMA_VERSION2 -> 3 in the canonical DDL (embedding_derivation_state, extendedmessage_embeddings_meta/embedding_failures, new index). No migration chain — per repo doctrineembeddings.dbis a rebuildable-but-expensive tier; the change edits canonical DDL directly, anddocs/schema.mdis updated to document it.Verification
devtools test tests/unit/storage/test_embedding_freshness_invariant.py tests/unit/storage/test_embedding_contracts.py tests/unit/storage/test_embedding_orphan_reconcile.py tests/unit/cli/test_embed_status_fast.py tests/unit/daemon/test_embedding_convergence_progress.py->119 passed.taskfromEmbeddingRecipe.identity()'s field mapping -> the 12-field parametrized mutation test failed exactly[task-changed-task], all 11 others stayed green.generation/derivation_keyWHERE guard fromrecord_embedding_failure's conditional UPDATE ->test_config_change_then_old_terminal_error_cannot_clear_new_generationfailed (assert 'failed_terminal' == 'pending'), proving the guard is load-bearing against the exact race polylogue-iqd3/wmsc target.devtools verify --quick-> clean (ruff format, ruff check, mypy --strict, render-all-check, layering, degrade-loudly, manifests, ci-workflows, doc-commands, docs-coverage, test-infra-currency, test-clock-hygiene, pytest-timeout-overrides allok,exit_code: 0).devtools render topology-projection && devtools render topology-statusregenerated for the two new files (polylogue/storage/derivation_identity.py,polylogue/storage/embeddings/identity.py);devtools render all --checkpasses clean (no "out of sync").test_web_reader.py::...redact_configured_archive_paths, ansqlite3.OperationalError: unable to open database filereproduced identically on unpatchedorigin/master).Defects found and fixed during independent verification (not present in the original external patch)
mypy --strictfound 13 errors across 5 files, including one real bug:_archive_embedding_session_state_exact_with_timeoutreturned a 2-tuple(0, 0)on a missing-tableOperationalErrorfrom a function typed (and unpacked at its call site into three variables) astuple[int, int, int] | None-- a guaranteedValueError: not enough values to unpackat runtime on that path. Fixed to(0, 0, 0). The remaining errors were narrow stub-typing gaps (sqlite3's_AggregateProtocol.stepstub only models single-int-arg aggregates; severalobject/bytesnarrowing sites) and test-only typing, fixed with narrow casts/ignores or properisinstancenarrowing.ruff formatneeded 4 files reformatted.devtools verify layeringfailed: the new public writer entrypointsbegin_embedding_attempt,supersede_embedding_attempt,complete_embedding_attempt_successwere added toembedding_write.pywithout updating its declared entrypoint list indocs/plans/layering.yaml. Fixed.devtools verify degrade-loudlyfailed: the new_qualified_table_columnshelper repeats the existing narrow-schema-probeexcept sqlite3.Errorpattern of its sibling_table_columns/_qualified_table_exists(both already allowlisted) but had no allowlist entry of its own. Added one with the same rationale.Migration notes
BREAKING CHANGE (schema, operator-actionable, not automatic):
EMBEDDINGS_SCHEMA_VERSIONmoves from 2 to 3. Per repo doctrine,embeddings.dbis a rebuildable-but-expensive derived tier with no migration chain -- this is a canonical-DDL edit, not an in-placeALTER/migration script (git diff origin/master -- polylogue/storage/sqlite/migrations/is empty).Verified this is not a silent auto-rebuild hazard:
initialize_archive_database(polylogue/storage/sqlite/archive_tiers/bootstrap.py, unchanged by this PR) raisesRuntimeError("... schema version 2 is not the current embeddings tier version 3; move it aside and rebuild the archive root")for an existing v2 file, becauseArchiveTier.EMBEDDINGSis not inDURABLE_MIGRATION_TIERS. The daemon's periodic embedding-backlog check catches this as a logged warning and retries every 60s rather than deleting/reinitializing anything -- an operator must explicitly moveembeddings.db/-wal/-shmaside before the tier is rebuilt via fresh initialization orpolylogue ops embed backfill.Before deploying: back up (or explicitly discard, if acceptable) the existing
embeddings.dbset, move it aside, then let fresh initialization orpolylogue ops embed backfill --yesrebuild v3. Rebuilding re-embeds the full corpus and costs real Voyage API spend -- do not do this casually on the live archive without confirming budget.Ref polylogue-wmsc. Absorbs/validates supersession of polylogue-iqd3 and polylogue-0k6 (both already closed as superseded by wmsc).
Update: follow-up commit after a fuller background regression sweep
A full
devtools verify --seed-testmon --skip-slow(~16k non-slow tests, ~913s) surfaced two genuine ripple-effect regressions from theEMBEDDINGS_SCHEMA_VERSION2->3 bump that weren't in the original test-file list, both now fixed in a follow-up commit:tests/unit/cli/test_embed_activation.py::_seed_embeddings_metahand-rolled a 6-columnmessage_embeddings_metatable + positional 6-valueINSERT; once the workspace fixture initializesembeddings.dbto the real v3 (9-column) schema first, theCREATE TABLE IF NOT EXISTSbecomes a no-op and the positional insert fails (table message_embeddings_meta has 9 columns but 6 values were supplied). Fixed to a named-column insert.tests/unit/devtools/test_archive_schema_fast_forward.py::test_embedding_clone_preserves_vectors_and_installs_failure_lifecyclehardcoded the pre-bump expected cloneuser_version(2) instead of importingEMBEDDINGS_SCHEMA_VERSION. The production fast-forward helper already targets the constant dynamically -- only the test literal was stale.The same full-suite run also surfaced a long tail of failures in files this PR does not touch (query execution control, MCP tool contracts/declarations, rendering, insights, ChatGPT-normalization parsers, CLI diagnostics, etc.). I classified these before ignoring them, not just dismissed them:
test_index_fast_forward_lifecycle.py,test_index_v37_fast_forward.py,test_plain_cli_snapshots.py::test_json_status_snapshot) share one root cause: a stale hardcoded expectation againstINDEX_SCHEMA_VERSION(currently39in source on both this branch andorigin/master, confirmed viagrep/git show), unrelated toEMBEDDINGS_SCHEMA_VERSIONand pre-existing onorigin/masterindependent of this diff.test_facade_contracts.py,test_tool_usage.py) aresqlite3.OperationalError: database source_debt is locked/unable to open database filein files this PR's diff never touches (confirmed viagit diff origin/master --stat) -- reproduced identically with this PR's commit fully stashed back toHEAD, i.e. independent of these changes; environmental (shared-box contention / stale temp state from a different concurrent run), not a product regression.test_web_reader.py::...redact_configured_archive_pathswas already confirmed pre-existing on unpatchedorigin/masterearlier in this review.None of these are addressed here -- fixing them is unrelated cleanup outside this PR's scope (stale
INDEX_SCHEMA_VERSIONsnapshots and shared-box sqlite contention, not embedding freshness).Updated verification:
devtools test tests/unit/storage/test_embedding_freshness_invariant.py tests/unit/storage/test_embedding_contracts.py tests/unit/storage/test_embedding_orphan_reconcile.py tests/unit/cli/test_embed_status_fast.py tests/unit/daemon/test_embedding_convergence_progress.py tests/unit/cli/test_embed_activation.py tests/unit/devtools/test_archive_schema_fast_forward.py->179 passed.devtools verify --quickstays green after the follow-up commit.