Skip to content

D312 — pr-check says a cycle left proposed is not accepted by its approval - #590

Merged
napkinstack-agent[bot] merged 2 commits into
mainfrom
d312-cycle-approval-said
Nov 29, 2026
Merged

napkinstack-agent[bot] merged 2 commits into
mainfrom
d312-cycle-approval-said

Conversation

@napkinstack-agent

Copy link
Copy Markdown
Contributor

Workstream

D312 — a cycle left proposed was approved as if accepted, and nothing said so (#587). Reported by the consumer project's coordinator. Decided by the decider, framed with the coordinator (a warning, not a failure, with its action), for v0.35.5.

What it changes

flowchart LR
  PR["a pull request changes<br/>docs/project/cycles/X.md"] --> F{"framed project<br/>(charter accepted)?"}
  F -->|no| N["nothing: the framing<br/>accepts charter and cycle"]
  F -->|yes| P{"X stays proposed,<br/>no accepted_on?"}
  P -->|no| N2["nothing"]
  P -->|yes| W["WARNING [C11] + ::warning on the check:<br/>approving does not accept it"]
  W -->|"a cycle runs"| A1["Action: add accepted_on:<br/>the day of the decider's word"]
  W -->|"none runs"| A2["Action: set status: accepted<br/>and its start"]
Loading

Legend: a cycle is accepted by what its file says, never by the approval of the pull request that carries it (framing playbook §3).

  • pull_request.cycle_left_proposed (C11). It runs on every pull request, beside C9. It shows on the check, as R1 and R2 do, and not only in the job's log.
  • Skeleton: RULES.md (C11), project.md (what the pull request check warns of), framing.md §3 (an approval alone accepts nothing).
  • Register row D312.

What a project receives

A decider who approves a pull request that leaves a cycle proposed is told, on the check, that the approval does not accept the cycle, and how to accept it.

Verification

  • Red first: test_c11_a_cycle_left_proposed_is_said_not_accepted_by_the_approval failed on main in its two warned cases.
  • A fresh read-only verifier ran on cae79b8.
    • Blocking, fixed in 9e344bb: C11 was printed only in the log of a job that stays green, so a decider approving from the pull request's page would have missed it. It is now an annotation on the check.
    • Also fixed: a closure with no next cycle is tested and not warned; RULES.md and project.md say where C11 applies; its action cites the framing playbook.
    • Read and found right: a framing PR, a closure that starts the next cycle, a deletion, a rename, _-prefixed files, unreadable front matter, the three-dot diff from the merge-base, CI's merge checkout.
  • Mutants killed: no stage guard, no files filter, accepted_on ignored, status ignored, status == "accepted", actions swapped, C11 not wired, no annotation.
  • uv run bash platform/tests/run.sh at 9e344bb: Platform tests: OK.
  • Not caught (said in the row): a cycle proposed before the charter is accepted. Not changed: two proposed cycles with none running are both told to be set accepted, though C5 then admits only one.

DoD

  • Register row D312
  • Framed with the consumer project before the change
  • Oracle green on the committed tree

🤖 Generated with Claude Code

napkinstack-agent Bot and others added 2 commits November 29, 2026 23:08
…roval (#587)

Downstream, the next cycle, proposed with no accepted_on while one ran, was
approved by the decider as its acceptance; nothing said the approval
accepted nothing, and a second push and approval followed. pr-check now
warns (C11) on a pull request that leaves a cycle proposed with no
accepted_on, in a framed project, with the gesture. A warning: a decider may
approve a proposal still being framed.

Agent-Session: napkinstack-os-1e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The verifier found C11 printed in the job's log only, while the job stays
green: a decider approving from the pull request's page would miss it as
before. It is now an annotation on the check, as R1 and R2 are. A closure
with no next cycle is tested unwarned; RULES.md and project.md say where
C11 applies; its action cites the framing playbook.

Agent-Session: napkinstack-os-1e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@napkinstack-agent
napkinstack-agent Bot requested a review from a team as a code owner November 29, 2026 22:44
@napkinstack-agent
napkinstack-agent Bot merged commit b7969a0 into main Nov 29, 2026
3 checks passed
@napkinstack-agent
napkinstack-agent Bot deleted the d312-cycle-approval-said branch November 29, 2026 22:51
napkinstack-agent Bot added a commit that referenced this pull request Nov 30, 2026
…s formatter at the commit (#597)

D312 (#590), D313 (#591), D314 (#592), D315 (#596), D316 (#594).

Agent-Session: napkinstack-os-1e

Co-authored-by: napkinstack-agent[bot] <330339777+napkinstack-agent[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant