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

Atlas still reruns direction issue #334 after #15582 landed #16190

Merged opened this in answer to

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

Merged

Atlas is now asked to re-read direction issue #334 only when #334 itself changed. I haven't confirmed that the run rate dropped, because I can't see production runs from here. Today's date is 2026-11-23, so that check is the next hour or two of runs after this lands.

Notes

shipped production is serving it deploy 3fede26

opened this

Atlas is now asked to re-read direction issue #334 only when #334 itself changed. I haven't confirmed that the run rate dropped, because I can't see production runs from here. Today's date is 2026-11-23, so that check is the next hour or two of runs after this lands.

What still triggered atlas. The clock re-asks the planner each minute. plannerNothingNew in src/crew/news.ts already skipped the pass when nobody had commented on the direction. It also counted any other issue opened by someone besides atlas, or closed anywhere in the repo, since the last pass as news. On a busy repo that is true nearly every minute, so atlas got #334 again and re-read an unchanged issue at full price.

What changed. In plannerNothingNew:

  • Other issues opening or closing no longer count as news.
  • An edit of the direction's title or body by anyone but atlas now counts. It is read from the issue.edited event, the same way src/crew/retry.ts does it.
  • A comment from someone other than atlas, or from the crew's park note, still counts as before.
  • Hand-overs the crew owes the planner (an issue parked twice, too large, red three times, or a limb replan) still start a pass. Those are checked in planIfThin before this rule applies, and #334 itself is excluded from them.

Tests.

  • test/crew-guard.test.ts has the guard you asked for. After atlas's pass, an issue opens and another closes, and driveRepo starts no run. Editing #334 then starts one.
  • test/crew-reserve.test.ts and test/crew-direction-cap.test.ts used to treat "the map moved" as a reason to plan. They now use an edit of the direction. I changed these because they pinned the old rule.
  • I lowered test-honesty-allow.json for crew-reserve.test.ts by one, because I removed a fixed wait.
  • tsc and the gate pass. The 14 test files that assert "planned" pass (164 tests).
  • I did not run the full suite. scripts/fast.ts named 416 files, which is too broad for the sandbox.

Trade-off. When the map runs dry and nobody has touched #334, atlas now waits for a person to comment on or edit it. Before, it would replan on its own. That is what you asked for, but the planner no longer wakes on map movement alone.

What I didn't do. I added no schema or migration. Edits are read from the existing event index.

How to try it. bun test test/crew-guard.test.ts test/crew-reserve.test.ts test/crew-direction-cap.test.ts.

🤖 Generated with Claude Code

Closes #16165

commented

Atlas is now asked to re-read direction issue #334 only when #334 itself changed. I haven't confirmed that the run rate dropped, because I can't see production runs from here. Today's date is 2026-11-23, so that check is the next hour or two of runs after this lands.

What still triggered atlas. The clock re-asks the planner each minute. plannerNothingNew in src/crew/news.ts already skipped the pass when nobody had commented on the direction. It also counted any other issue opened by someone besides atlas, or closed anywhere in the repo, since the last pass as news. On a busy repo that is true nearly every minute, so atlas got #334 again and re-read an unchanged issue at full price.

What changed. In plannerNothingNew:

  • Other issues opening or closing no longer count as news.
  • An edit of the direction's title or body by anyone but atlas now counts. It is read from the issue.edited event, the same way src/crew/retry.ts does it.
  • A comment from someone other than atlas, or from the crew's park note, still counts as before.
  • Hand-overs the crew owes the planner (an issue parked twice, too large, red three times, or a limb replan) still start a pass. Those are checked in planIfThin before this rule applies, and #334 itself is excluded from them.

Tests.

  • test/crew-guard.test.ts has the guard you asked for. After atlas's pass, an issue opens and another closes, and driveRepo starts no run. Editing #334 then starts one.
  • test/crew-reserve.test.ts and test/crew-direction-cap.test.ts used to treat "the map moved" as a reason to plan. They now use an edit of the direction. I changed these because they pinned the old rule.
  • I lowered test-honesty-allow.json for crew-reserve.test.ts by one, because I removed a fixed wait.
  • tsc and the gate pass. The 14 test files that assert "planned" pass (164 tests).
  • I did not run the full suite. scripts/fast.ts named 416 files, which is too broad for the sandbox.

Trade-off. When the map runs dry and nobody has touched #334, atlas now waits for a person to comment on or edit it. Before, it would replan on its own. That is what you asked for, but the planner no longer wakes on map movement alone.

What I didn't do. I added no schema or migration. Edits are read from the existing event index.

How to try it. bun test test/crew-guard.test.ts test/crew-reserve.test.ts test/crew-direction-cap.test.ts.

🤖 Generated with Claude Code

Approved

Reads right. plannerNothingNew now asks only whether the direction was commented on or edited by someone other than the planner since its last pass began. Other issues opening and closing no longer wake it. The guard test would fail on the old rule, and the two tests that pinned "map moved" were rightly moved to an edit. No schema, dependency, or web/terminal surface is touched, so the both-doors and README rules do not apply. I did not exercise the preview, since this is crew-internal planning logic with no page. Two things to do next: (1) After landing, check atlas run counts on #334 over the next hours and say what you saw in a follow-up; the pull could not confirm the rate drop. (2) Dry-map case: with the planner now waking only on a person touching #334, a map that runs dry and stays untouched will sit idle. Add a flow vital or a visible note on the direction saying the planner is waiting on a person, so idleness is seen rather than mistaken for a stall.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs