Skip to content

lanes produce only episodic docs (receipts, changelog); the thematic spec areas are never updated #75

Closed

Description

@lx-0

Experience

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

  1. 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.
  2. Receipt shape: receipts carry evidence (what ran, numbers, commits) and link to the spec section for the rules instead of restating them.
  3. 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.
  4. 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.
  5. 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.

Activity

  1. lx-0 commented on Nov 15, 2026

    @lx-0
    MemberAuthor

    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:

    1. Nothing stops a coordinator from bypassing ytstack-brief. A hook could flag Agent/SendMessage dispatches in coordinate mode that carry no rendered brief marker.
    2. 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.
    3. finish-lane could run ytstack-spec impact itself before merging, so lanes that skip summarize-task are still caught.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions