aboutsummaryrefslogtreecommitdiff
path: root/scripts/sync-check.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-02 01:38:24 -0400
committerCraig Jennings <c@cjennings.net>2026-07-02 01:38:24 -0400
commitd4f132b716a6cdbc3a6a521a21fd2811c9da3480 (patch)
tree3cfa003d4924866c28792e569a7e6c32d9d2e578 /scripts/sync-check.sh
parent44c8cc2f0657653b2173faaa3518fa74f931d468 (diff)
downloadrulesets-d4f132b716a6cdbc3a6a521a21fd2811c9da3480.tar.gz
rulesets-d4f132b716a6cdbc3a6a521a21fd2811c9da3480.zip
feat(flush): add auto mode with self-injected /clear for unattended runs
Long autonomous sessions bloat or hit auto-compaction because /clear is a prompt keystroke no tool call can execute. Auto mode closes that gap: after the write-verified checkpoint, the agent derives its own tmux pane, arms self-inject.sh through tmux run-shell -b, and ends the turn so /clear and a resume line land at an idle prompt. The server-owned arm is load-bearing: a detached child of a tool call dies at the turn boundary. The pane must be derived before arming because ancestry detection can't work under the tmux server. self-inject.sh joins the synced scripts with a six-test bats suite, tmux stubbed at the boundary. work-the-backlog now auto-flushes between tasks when context grows heavy, and its speedrun preset gained the per-item disposition rule: feature-level work gets a spec, unguessable decisions get a VERIFY, well-defined tasks get implemented. The mechanism was proven live in another project's session and its design note is preserved under docs/design/.
Diffstat (limited to 'scripts/sync-check.sh')
0 files changed, 0 insertions, 0 deletions