You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lanes produce only episodic docs (receipts, changelog); the thematic spec areas are never updated #75
In a long coordinator run (meinKontext v2), every delegated package delivered episodic documentation only: a receipt under docs/reviews/…, a changelog entry, and the plan row ticked. The semantic documents describing how the system is were left alone, even though they exist in the project: the area files of the technical spec (.ytstack/spec/web.md, REVIEW.md, …) and the topical architecture docs.
Concrete case: the package that introduced a CI guard for component levels (Atomic Design: five levels, an import-direction table, a support category, a documented exception) wrote all of its rules into the receipt. .ytstack/spec/web.md, the owning area file, did not change, and REVIEW.md did not learn that reviewers can rely on the guard. The human asked why ytstack artifacts are always episodic and never embedded in a thematic spec, e.g. "for the UI framework and/or for the reviews and checks".
Why it happens:
ytstack-brief render asks for a receipt, tests and a changelog entry, but says nothing about updating the area spec the change belongs to.
finish-lane and the review checklist verify the receipt and the Done line, not whether the spec still describes the system.
So knowledge accumulates as a growing pile of dated receipts. To learn the current rule, a reader has to replay history.
Proposals
Brief contract: every implement-brief names the owning area file(s) from .ytstack/spec/ (derived from the paths the slice touches, using the area map adopt-brownfield already writes) and requires a "Spec delta" section. Either the edited spec section, or "spec unchanged" with a one-line reason.
Receipt shape: receipts carry evidence (what ran, numbers, commits) and link to the spec section for the rules instead of restating them.
Review check:code-review's concept role (and finish-lane) blocks a change that alters behavior, a contract or a guard while the owning spec area did not change and gives no reason.
Checks inventory:REVIEW.md (or a spec/checks.md) lists the machine checks reviewers can rely on (guards, CI gates). A PR that adds a guard adds its line there.
Drift detector:ytstack-upkeep reports spec areas whose code paths changed in N merged PRs while the area file did not.
Related: #72–#74 (standing instructions). Same root cause, in a sense: durable knowledge ends up in episodic or private places.
Correction after reading ytstack 0.9.2 more closely. Most of this is a usage gap on my side as coordinator, not a missing feature:
plan-task already asks for a ## Spec impact section, and summarize-task checks it with ytstack-spec impact.
ytstack-brief render already adds the spec area files of the planned paths to the worker's context.
In this run the coordinator wrote briefs by hand instead of using ytstack-brief render, which coordinate's HARD-GATE forbids. Lanes also skipped plan-task/summarize-task, so the spec-impact check never ran.
What remains a real gap:
Nothing stops a coordinator from bypassing ytstack-brief. A hook could flag Agent/SendMessage dispatches in coordinate mode that carry no rendered brief marker.
In the brief, the spec areas are only reading context. A "Spec delta" duty in the report shape (checked by ytstack-brief check) would make it explicit.
finish-lane could run ytstack-spec impact itself before merging, so lanes that skip summarize-task are still caught.
Activity
lx-0 commentedon Nov 15, 2026
Correction after reading ytstack 0.9.2 more closely. Most of this is a usage gap on my side as coordinator, not a missing feature:
plan-taskalready asks for a## Spec impactsection, andsummarize-taskchecks it withytstack-spec impact.ytstack-brief renderalready adds the spec area files of the planned paths to the worker's context.In this run the coordinator wrote briefs by hand instead of using
ytstack-brief render, which coordinate's HARD-GATE forbids. Lanes also skippedplan-task/summarize-task, so the spec-impact check never ran.What remains a real gap:
ytstack-brief. A hook could flag Agent/SendMessage dispatches in coordinate mode that carry no rendered brief marker.ytstack-brief check) would make it explicit.finish-lanecould runytstack-spec impactitself before merging, so lanes that skipsummarize-taskare still caught.🤖 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…