Repository navigation
Closed
Description
Experience
A coordinator session ran ytstack:coordinate for about 12 hours on a large plan (3 milestones, 280 rows, 20+ lanes). It used ytstack only nominally. The human had to point out each gap separately, and each one was a usage error, not a missing feature:
| What ytstack provides | What the coordinator did instead |
|---|---|
ytstack-brief render for every dispatch (coordinate's HARD-GATE: "never write a brief by hand") |
wrote every brief by hand, all day |
plan-task: a task plan with Files, Verification and ## Spec impact; summarize-task checks spec impact |
lanes never planned tasks, so ytstack-brief said "T01 not planned yet"; no spec area got updated, only receipts were written |
ytstack-frontier claim/set and LANES.md |
LANES.md was stale for a day, despite a standing order to keep it current |
.ytstack/standing/ for standing instructions |
instructions went into agent-private memory |
ytstack-watch release for every release |
not used |
| STATE.md pointer | current_milestone was two milestones behind (M044 while M046 was active); the lint warned at every SessionStart and was ignored |
The coordinator only found the gaps by reading bin/ and the skills after the human asked "ist das ein gap in ytstack oder verwendest du ytstack immernoch nicht richtig?". Earlier reports: #72, #73, #74 and #75 (with a correcting comment).
Root causes on the ytstack side
- The rules are in the skill text, not in the path. coordinate has 13 loop items. Under a high event rate (agent reports, PR-watch nudges, stop-hook nags), the procedural items (render the brief, set the frontier, record the standing entry) are dropped first, because nothing fails when they are skipped.
- The happy path does not require the artifacts. Dispatching an
Agentwith a hand-written prompt works just as well, and nothing marks it as off-path. - No single "how to use ytstack correctly" page exists for a coordinator that is resuming after compaction.
using-ytstackcovers skill selection, not the operating discipline (which commands, in which order, which files must move with every lane). - Lints are advisory. The STATE lint said "current_milestone M034 is behind the newest milestone" on every session start, and nothing escalated.
Proposals
- An explicit operating checklist injected at SessionStart and after compaction when
coordinateis active. Short, imperative and ordered: per dispatch runfrontier claim→brief render→ Agent; per report runbrief check→frontier set; per human instruction add a standing entry; per merge watch the release. - Enforcement hooks in coordinate mode:
PreToolUseon Agent/SendMessage dispatches warns when the prompt carries no rendered-brief marker.- The Stop hook warns when a lane changed state and LANES.md did not, or when the STATE pointer is behind.
- Brief readiness:
ytstack-brief renderon an unplanned task should offer to runplan-taskinline, or produce a "plan first" brief whose first deliverable is the task plan. It should not hand the worker the instruction "plan it yourself". - Escalating lints: a STATE-pointer or LANES staleness warning that repeats N sessions in a row becomes a stop-hook block.
- Migration helper:
ytstack:reconcile(or a newytstack-adopt-plan) that, for a project with slice plans but no task plans, generates the task-plan skeletons (Files from the plan's "Own" lines, Verification, Spec impact) and fixes the STATE pointer.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity
lx-0 commentedon Nov 15, 2026
Two more findings from migrating the project's artifacts so that
ytstack-brief renderworks:paths.ytstack-briefderives the area files from a plan's Files viaytstack-spec areas, which matches the areas'pathsfrontmatter. Areas whose impact runs through a source document (an area'ssources) never reach the reading list. Examples:v2-services.mdfor a load-test task, andidentity-and-auth.mdfor a credential task whose files sit in the SDK. Proposal:areasalso matchessources, or the plan's## Spec impactnames feed the reading list directly.ytstack-spec lintwas already red on the project's main, with 15 stalepathsentries, and nothing surfaced it. Proposal: runytstack-spec lintin the SessionStart STATE lint, or inytstack-frontier check, so drift is visible where the coordinator looks.A smaller point:
--slicestill lists a ticked task as "not planned" when it has no plan file. Ticked tasks should drop out.🤖 Generated with Claude Code
feat: coordinate mode: standing instructions and enforced operating p…
feat: spec delta in briefs and finish-lane, plan-first briefs, reconc…
chore: release 0.12.0 (#96)