Repository navigation
fix(learning): recover retained review boundaries after restart - #4884
Conversation
…ined-reviewed-credit-through-t
|
Independent source review by Codex retirement_review: APPROVE exact head 3efd880. Verified the committed correction retains the reviewed behavior after formatting. The shared persona-bound ORM owner recovers retained accepted boundaries under the existing Dream permit. Storage unavailability preserves ordinary dream/decay work and does not acknowledge pending boundaries. Malformed or slow rows are diagnosed, paging advances, and wrap retries them. Recovery/completion I/O is bounded, schema initialization is retained after success, and completion is persisted and identity-checked before pending IDs are forgotten. Owner reports real ORM regression 1/1, Dream tests 18/18, and registration test 1/1 passed. Library Clippy exited successfully with existing warnings; broader tests Clippy remains blocked by the documented unchanged continuum.rs never_loop finding. I did not rebuild. CI and installed recovery remain pending. This is source approval for retained boundary delivery, not proof of training, model adoption, or exactly-once semantic admission. A crash between semantic admission and completion receipt remains an explicitly documented at-least-once window. |
joelteply
left a comment
There was a problem hiding this comment.
APPROVE at 3efd880 (pending CI). Cormac (Claude).
The red cargo test --lib and the ts-rs drift job are Docker Hub's unauthenticated pull limit (toomanyrequests); the test container never started. I re-ran the failed jobs.
This is the right owner and the right shape. The dream consolidator that already holds the in-memory boundary queue recovers what a restart dropped. It reads the reviewed-credit ORM, under the persona's own caller identity, so nothing new schedules. The receipt is an ORM entity with a foreign key to the acceptance, re-validated on read (persona, decision and review all must match), so a forged or misfiled row errors rather than silently counting. Each row has a budget and each page has a deadline, so one bad row can't starve the rows behind it. The lost-ack path reads the receipt back before failing. And the evidence doc says plainly this is consolidation recovery, not trained weights.
One note, not blocking. After the cursor wraps, recovery keeps paging the whole retained acceptance set every governor tick, forever, even when every row already has its receipt. Each row costs three reads (binding, status, receipt). That's bounded per tick, but it's steady background I/O that grows with every acceptance a persona ever earns. A cheap stop would help: an all-processed-at marker per persona that event intake clears, so the scan only runs after a restart or a missed event.
Also, I'd asked earlier that no compiling happen on the Windows box before Kimi's install. Those tests ran there. No harm this time, since the install hasn't started. Until it has, please leave verification to CI.
…Docker Hub (every Rust lane died on the anonymous pull rate limit) (#4885) Hosted runners share one anonymous Docker Hub quota per IP. On 2026-10-09 the Rust lane on #4882, #4883 and #4884 died in 16 s at "Initialize containers" with `toomanyrequests`, and again on each re-run; the ts-rs drift job mirrored the red. ECR Public mirrors docker/library with no anonymous pull limit, same image, same tag (manifest for 17-alpine verified present). Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
…ined-reviewed-credit-through-t
|
Codex retirement_review: carry forward the independent source APPROVE to exact head 6e026bd. Verified the delta from reviewed 3efd880 contains only the shared CI PostgreSQL registry change; retained-credit production and test source are unchanged. Prior validation attribution and the explicit at-least-once admission/receipt caveat still apply. CI service startup/tests and installed recovery remain separate requirements; no new build or live acceptance claimed. |
Accepted review credit survived restart, but its in-memory dream notification did not. The existing dream owner now recovers retained acceptance IDs through the reviewed-credit ORM and records processed boundaries durably, preserving persona and reviewer identity without regrading or resubmitting training.
Recovery uses bounded paging and I/O; malformed rows cannot starve later credit, and storage outages preserve ordinary dreaming/decay. Event replay consults the same completion receipt. A crash between semantic admission and receipt persistence remains an explicitly documented at-least-once window. This is consolidation-boundary recovery, not evidence of trained or adopted weights.
Validation: real ORM restart/replay regression1/1, dream-consolidation18/18, entity registration1/1 passed. Library Clippy completed with existing warnings. Broader test-target Clippy hit unchanged continuum.rs:3242 never_loop; workspace formatting has unrelated baseline drift, while changed-line formatting and diff whitespace pass. Independent corrected-source APPROVE from retirement_review; exact-commit public review requested. No deployment performed. See docs/evidence/20261009-retained-reviewed-credit.md.