Repository navigation
feat: compute the stamp from a review run, CI and mergeable state - #31
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.ignoredefines 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_onis the bar, so tightening it towarningwithholds the stamp and hands the pull request back to Needs me without a code change.blockingranks the three severities instead of testing forerror.dw-mc stamp <pr>prints the mark and what it rests on, or the first thing that withholds it.--withdrawis 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. Indw-mc statusa 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]🤖 Generated with Claude Code