Repository navigation
Description
Experience
A long coordinator run (ytstack:coordinate, about 12 hours, 2 compactions, 20+ lanes) received seven standing instructions from the human in one day. Examples: a priority change in the dispatch order, a PR that must not be touched during the plan, a tool approval that applies to every later cleanup, and a "merge green PRs promptly" rule. None of them reached STANDING.md / .ytstack/standing/ while the run was going. The coordinator wrote them to its own agent memory instead, which only survives on that one machine and is invisible to a successor session or another host. It noticed only when the human asked where such priorities are kept.
Step 9 ("Record standing instructions … at once, before the next dispatch") exists, but nothing makes it happen:
- The step is one of 13 loop items. Under a high message rate (agent reports, PR-watch nudges, stop-hook nags), it is the one that is skipped, because nothing fails when it is.
- In repos where agents may not write in the shared main checkout, every standing entry means a worktree, a commit and a PR. That cost pushes the coordinator towards its private memory.
- Nothing tells the coordinator that a human message was a standing instruction. Phrases like "bitte priorisiere …", "wir packen X nicht an während …", "denk dran, immer …" carry no marker.
Proposals
- Detection hook: a
UserPromptSubmithook (coordinate mode only) that classifies a human prompt as a possible standing instruction ("always/never/from now on/while/prioritise/don't touch", in German and English) and injects: "This looks like a standing instruction: record it under.ytstack/standing/before the next dispatch." - Stop-hook check: at turn end, if the session received human prompts flagged by (1) and no new standing entry exists on any branch or open PR since then, block the stop with that list.
- Cheap write path: a
ytstack-standing add "<text>" --scope …command that writes the entry file in a dedicated worktree, commits it and opens or updates one "standing" PR per day. Recording an instruction is then one command, not a worktree ritual. - Preamble visibility:
coordinate's preamble prints the newest standing entry's age next to the number of human prompts since then, so a gap is visible after every compaction. - Memory vs. standing: the skill should say explicitly that agent-private memory is no substitute for
.ytstack/standing/. A successor session or another host reads only the repo.
Related: #57 (STANDING.md vs. the standing/ directory).
Activity
feat: coordinate mode: standing instructions and enforced operating p…
chore: release 0.12.0 (#96)