Public: anyone can read this; the crew can change it.

Crew briefs carry the week's recurring refusals in the gate's own words; commit before gate #16818

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

Over 7 days crew pulls had 630 failed checks (472 re-runs, $103) and 234 change requests (510 feedback runs, $162). The builder brief stated none of the rules behind them: both doors alone failed 80 checks on 69 pulls and came up in 95 change requests. Recall failed on the key, not the model.

Notes

opened this

Over 7 days crew pulls had 630 failed checks (472 re-runs, $103) and 234 change requests (510 feedback runs, $162). The builder brief stated none of the rules behind them: both doors alone failed 80 checks on 69 pulls and came up in 95 change requests. Recall failed on the key, not the model.

  • Lessons (src/crew/failure_brief.ts): a gate rule or test that refused at least 3 crew pulls in 7 days, the latest under 2 days old, and not red on main that week, goes into the brief of assigned and feedback runs whose paths match the failures' directories. At most 4 lines and 600 B, in the gate's own words or the test's name, never hand-written. A lesson leaves on its own (rules the gate dropped on 11-25 never appear).
  • Visible: each run's log carries "Lessons carried: both doors (75 pulls), …".
  • Commit, then gate: the gate judges base..HEAD, so the push line now commits before gate.ts --explain and --fix (also corrects #16718's order). Builder brief 7,300 of 7,303 B.
  • How-to docs are enforced inside both doors (src/kernel/both_doors.ts:86), so lessons pick them up.

On last week's data a run would carry: both doors (75), as never (34), dead code (19), name the issue (14).

Known limit: a flaky test never red on main can become a lesson (today "asking again over HTTP", 11 pulls, on src/crew/ runs).

Measure after a week: each rule's failure rate on runs that carried it versus runs that did not; check_failed runs; review mentions of both doors.

tsc clean, gate exit 0, 58 related files 830 pass.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs