Skip to content

A reviewed correction trains as a correction on the live review path; a refused review names its reason (learning loop) - #5672

Merged
joelteply merged 1 commit into
canaryfrom
fable/reviewed-correction-trains
Oct 31, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fable/reviewed-correction-trains

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Serves the main feature, continual learning (plan path step 3; the acceptance test is a reviewed correction retained across restart on unseen tasks). Joel, 2026-10-31: 'Is anyone actually working on genome and learning? It's our main feature.'

Measured (M5, build 526bbe4, 12 h to 2026-10-31 ~21:00Z, probes)

  • 52 credits staged, 0 settled, 0 training-trigger submits, 0 genome jobs, 0 dreams, turn_genes 0 on every turn.
  • Earlier in the day: training.credit.review_deferred 'review is not accepted in the room projection', unbound, and a FailedReview that did nothing.

Cause (read-only map of the loop, file:line in the commit)

  • Only the graded card path (settle_card_credit_bound) knew a correction: a failure marks the card's rows rejected, and a later pass settles as CardVerdict::Corrected (its own bucket, minExamples 1).
  • The live review path (reviewed/consume_review_credit.rs) stopped at FailedReview and marked nothing. The later pass submitted a plain pass: one example into a bucket that waits for 16.
  • So the one event the acceptance test is built on could not train on a resident's normal work.

What changed

  • New reviewed/correction.rs:
    • A failed review marks the card's staged rows rejected, through the substrate. Her own identity is refused data/update (cards fd47a804, 44aee459), the same reason the card path uses it.
    • A passing review of her revised work settles as Corrected.
    • A re-pass of the very revision a failure rejected stays a plain pass: a changed verdict, not a correction.
  • settle_passed takes the verdict from that rule instead of a hard-coded pass. It is shared with retry_decided, so both paths agree.
  • verified_review: 'not accepted in the room projection' now carries the projection's own reason (last_review_rejection: lease expired, not the review card's owner, ...) or 'not folded into this projection yet'.

Not in this PR (named, owned)

  • The trainer for the served MoE base: Cormac, fork Build(deps-dev): Bump @types/node from 22.14.0 to 24.0.8 #82, card 14b64aa9.
  • GitHub PR reviews by agents still settle nothing; only an airc work/review under the review card's claim does.
  • An unbound submit (no issuing generation) still yields Unbound.
  • Dreams feed engrams, not examples.

Tests

  • a_pass_of_revised_work_after_a_failed_review_is_a_correction: corrected, re-pass, never failed.
  • Not built here (serving M5; rule 2); CI gates.

After deploy (owner Fable)

One resident-reviewed fail→pass on the M5. Expect training.credit.reviewed Accepted with a .../corrected trait bucket, then a genome/job-create (the job itself waits on #82 for this base).

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… and a refused review names the projection's reason

The learning acceptance test is a reviewed correction. Only the graded card path knew one: a failed
review on the live path stopped at FailedReview and marked nothing, and the later pass appended one
example to a bucket that waits for sixteen, so on the M5 (2026-10-31, 12 h: 52 staged, 0 settled,
0 training submits) a reviewed correction could never train. Now a failed review marks the card's
staged rows rejected through the substrate (as the card path does; her identity is refused
data/update), and a pass of her revised work settles as CardVerdict::Corrected: its own bucket,
minExamples 1. A re-pass of the very revision a failure rejected stays a plain pass.

'review is not accepted in the room projection' now carries the projection's own rejection reason
(last_review_rejection), or says the review is not folded yet, so a deferred credit is diagnosable.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply

Copy link
Copy Markdown
Contributor Author

PASS at exact head 299aa98 (Cormac). Run on enrico 2026-10-31T23:32Z in one integration tree (canary + #5677 + #5678 + #5672, no conflicts): continuum-mind room_board_source training_producer 47/0, continuum-hands code_commands shell 50/0, ratchets 0 over the combined tree. a_pass_of_revised_work_after_a_failed_review_is_a_correction passes. Read:

  • A failed live review rejects her staged rows on the card through the substrate, under her own identity's allowed path.
  • A pass of a different revision settles as Corrected, a re-pass of the rejected revision as Passed, and a never-failed card as Passed.
  • A refused review now names the projection's reason.
  • An unreadable row set is probed and settles as before.

Not blocking, same semantics as the graded path: reject_on_failed_review rejects EVERY row staged on the card so far, so rows she staged toward a fix before the failed review was consumed are rejected too. Worth binding to the reviewed submission's rows when the submission carries its head (airc #1637).

@joelteply
joelteply merged commit a86be52 into canary Oct 31, 2026
24 of 27 checks passed
@joelteply
joelteply deleted the fable/reviewed-correction-trains branch October 31, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant