Skip to content

canary: the chat door gets its own wall inside the rig's clock - #600

Merged
santoshkumarradha merged 2 commits into
devfrom
canary/chat-wall
Sep 3, 2026
Merged

santoshkumarradha merged 2 commits into
devfrom
canary/chat-wall

Conversation

@santoshkumarradha

Copy link
Copy Markdown
Member

Bench-only change (bench/canary/lib/chat.sh, README), outside the core queue like #558 and #596.

lib/chat.sh launched aforge chat -yolo -one-model -model … -max-cost <cap> with no -max-hours, so in every --yolo chat cell on every table so far the steward had a money ceiling and no wall: Budget().Wall was 0, the 900 s wall verdict on a chat row was the tmux driver stopping at 900 s while aforge was still going, and any law keyed to the steward's own wall (the "hours ran out" ending, a checker window's wall share, #546's share) never applied in a chat cell. Found by aforge-v2-3f on the #546 share-1/3 arm; do rows are unaffected (cell.sh passes -timeout <wall>). The re-reading of past chat rows is on #407.

The driver now derives -max-hours from its <wall-s> argument, CHAT_WALL_MARGIN (60 s) inside the rig's clock — THE RIG'S CLOCK IS THE BACKSTOP, NOT THE ENDING — so an unattended session ends on its own law and the tmux clock only catches one that ignored it. 900 s → -max-hours 0.2333.

Ordering agreed with the coordinator: the b02bf36 dev table runs on the old rig for comparability with 713945e; the first table after this lands is the wall law's before/after on chat.

Verified: bash -n lib/chat.sh; the hours expression for 900 s (0.2333) and for a wall under the margin (floor 60 s).

🤖 Generated with Claude Code

santoshkumarradha and others added 2 commits September 3, 2026 16:25
lib/chat.sh launched `aforge chat -yolo -one-model -model … -max-cost <cap>` and
nothing else, so every --yolo chat cell ran with a money ceiling and no wall
(Budget().Wall was 0) and every chat `wall` verdict up to the 713945e table was
the tmux clock stopping at 900 s, not an aforge ending; any law keyed to the
steward's own wall never applied in a chat cell. The driver now derives
-max-hours from its wall argument, CHAT_WALL_MARGIN (60 s) inside the rig's
clock, so the rig's clock is the backstop and not the ending.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@santoshkumarradha
santoshkumarradha merged commit 227733d into dev Sep 3, 2026
3 checks passed
@santoshkumarradha
santoshkumarradha deleted the canary/chat-wall branch September 3, 2026 20:30
@santoshkumarradha santoshkumarradha added the area:tests The suite itself — flakes, harnesses, laws, CI reds label Oct 3, 2026
@santoshkumarradha santoshkumarradha added this to the Tests & tooling milestone Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tests The suite itself — flakes, harnesses, laws, CI reds

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant