โœจ feat: P-40 approvals ask only for what needs the owner

Merged
AT
25d ago
+251-19

Slice: #99

  • A request on GitHub is its own approval. A slice added after its work item's approval passes when its body links โ€ฆ/issues/<work item>#issuecomment-<id> and that comment, as GitHub returns it among the work item's comments, is the owner's, made before the slice was last added, and not edited since (REST does not say who edited a comment, and the agent can edit others').
  • Fixes need no approval, and no new rule. A fix restores what the owner approved and changes nothing they would see beyond it: it is filed as a State under the slice it fixes, and its pull request names that slice, open or closed. That already passes; a test pins it. A fix filed as its own slice keeps the ๐Ÿ‘, since no code rule can tell from an issue's text whether a change goes beyond what was approved.
  • Chat requests keep the ๐Ÿ‘, unchanged.
  • Self-contained proposals. propose writes what changes (the slice's **You will see:**), why (**Why:**), what it costs (**Cost:**, else one more slice to review) and what happens if declined; a dropped State takes its own **Why:**. It refuses, posting nothing, while a body lacks those sections, naming them. The first line and its #N are unchanged, so existing proposals still count.
  • README approvals section and a docs/decisions.md record for P-40. No version bump.

๐Ÿค– Generated with Claude Code


Summary by cubic

Implements P-40 so approvals ask the owner only for what needs them: an owner's request on the work item approves a late-added slice, fixes filed as States need no approval, and propose writes proposals that stand alone.

New Features

  • A slice added after approval passes when its body links the owner's comment (โ€ฆ/issues/<work item>#issuecomment-<id>), written before the slice's latest addition; a comment edited since does not count.
  • A fix filed as a State under the slice it fixes, with a pull request naming that slice, needs no approval; a fix filed as its own slice keeps the ๐Ÿ‘.
  • Chat requests keep the existing ๐Ÿ‘ path.

Refactors

  • propose posts what changes, why, what it costs, and what happens if declined; for a dropped State it relies on the state's own **Why:**, and posts nothing while a body lacks a needed section, naming it.
  • README approvals section and docs/decisions.md record added; no version bump.