8000 feat: compute the stamp from a review run, CI and mergeable state by dominikwozniak · Pull Request #31 · dominikwozniak/dw-mc · GitHub
[go: up one dir, main page]

Skip to content

feat: compute the stamp from a review run, CI and mergeable state - #31

Merged
dominikwozniak merged 3 commits into
mainfrom
feat/9-computed-stamp
Sep 16, 2026
Merged

dominikwozniak merged 3 commits into
mainfrom
feat/9-computed-stamp

Conversation

@dominikwozniak
Copy link
Copy Markdown
Owner

Closes #9.

The stamp is the one mark that says a tracked PR passed my bar, so it is computed rather than clicked: a review run on the current head that found nothing blocking, CI green as ci.ignore defines green, and a pull request GitHub would merge. Nothing about it rests on a previous stamp, which is what makes a head change clear it — a mark can never vouch for code it did not see.

stamp.blocks_on is the bar, so tightening it to warning withholds the stamp and hands the pull request back to Needs me without a code change. blocking ranks the three severities instead of testing for error.

dw-mc stamp <pr> prints the mark and what it rests on, or the first thing that withholds it. --withdraw is where I overrule the computation: it takes the stamp off the head the facts are about, which is the head the table showed me, and the next head is computed again. In dw-mc status a stamped pull request carries a ✓ beside its reference rather than a column of its own, so a table with nothing stamped is the table it was before.

Neither path reaches past this machine. The stamp is never a GitHub approval, label, comment or status (ADR 0001, ADR 0002), and the command's test asserts an empty spawn list rather than an allowed read.

flowchart LR
  W{withdrawn<br/>at this head?} -->|yes| N[no stamp]
  W -->|no| R{review run<br/>on this head?}
  R -->|no| N
  R -->|yes| B{findings at<br/>stamp.blocks_on?}
  B -->|yes| N
  B -->|no| C{CI green?}
  C -->|no| N
  C -->|yes| M{mergeable?}
  M -->|no| N
  M -->|yes| S[stamped]
Loading

🤖 Generated with Claude Code

dominikwozniak and others added 3 commits September 16, 2026 18:24
Adds improve-codebase-architecture, writing-for-agents and diagnosing-bugs
from mattpocock/skills. The first two cover ground this repo leans on daily:
deepening opportunities read against CONTEXT.md and the ADRs, and the wording
of the agent-facing docs themselves.

The skills CLI keeps the payload under .agents/skills and symlinks it into
.claude/skills, which is what effect-ts already did; the rest of the tree now
follows, so one layout serves every agent.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The stamp is the one mark that says a tracked PR passed my bar, so it is
computed from facts about a single head rather than clicked: a review run
on that head with nothing blocking, CI green, and a PR GitHub would merge.
Nothing about it rests on a previous stamp, which is what makes a head
change clear it, and `stamp.blocks_on` moves the bar without a code change.

A withdrawal is the one part I decide rather than compute, so it is pinned
to the head I read and asks GitHub for that head rather than trusting the
last sweep's. It lives on this machine and reaches no further than it.

Closes #9

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
… head

Every reader compares a withdrawal with the head a sweep wrote down, so
asking GitHub for a newer one pinned the withdrawal where nothing looks,
and a stamp I had just withdrawn stayed marked. The command now takes the
stamp off the head the table showed me, which leaves it reaching nowhere
past this machine.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@dominikwozniak
dominikwozniak merged commit 42d2d7c into main Sep 16, 2026
1 check passed
@dominikwozniak
dominikwozniak deleted the feat/9-computed-stamp branch September 16, 2026 17:03
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.

The computed stamp

1 participant

0