Repository navigation
feat(loop): build big tickets in phases, fix contract drift in PRs, and name only what a routine has - #132
Conversation
worktreeSetup was named only in implement-issue step 6, beside `git worktree add`. Every other handler works the checkout directly, so the install never ran for them and a fresh clone ships no node_modules — 37 sessions across five days in the week to 2026-09-27, after 30-odd the week before. The cost is not only the install time. One adversarial review left the two files its central claims rested on unread; four revise runs cited repo-side lines where they wanted framework source; others reached the published tarball through npm pack, curl and jsdelivr instead. `/security-review` is the same shape with a different missing thing: its prompt runs `git diff origin/HEAD...`, and a routine clone sets no origin/HEAD, so it aborts before reading a line — 11 sessions across four days. Both belong to the checkout rather than the worktree, so the rule moves to handler-preflight, the one file every dispatch reads, and implement-issue step 6 points at it instead of restating it. The worktreeSetup key keeps its name: it lives in each repo's .claude/workflow.json, a protected path an unattended run cannot rewrite. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01F5AAg1yvQGfnza8Du4W4GD
Step 2 was `/pr-review-toolkit:review-pr all` and nothing else. No routine has that plugin — `ListPlugins` returns nothing, `~/.claude/plugins/cache` does not exist — so the step has never run as written in the cloud: 14 sessions across four days this week, 17 across four last week, third week running. Every one of those runs substituted the same pass unaided: /simplify's lenses plus /code-review and /security-review. The step now names the toolkit where it is installed and that substitution where it is not, and asks the report to say which ran. comment-cleanup pointed at the toolkit's comment-analyzer as the thing it is not a substitute for. It now names the step rather than the agent, so the contrast holds either way. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01F5AAg1yvQGfnza8Du4W4GD
The skill named create_pending_pull_request_review, add_comment_to_pending_pull_request_review and submit_pending_pull_request_review. None exists. Six sessions spent a friction line finding the working calls this week, after six across four days last week, and every one of them landed on the same three: pull_request_review_write with method create and submit_pending, and add_comment_to_pending_review. Two sessions also hit the comment call refusing a line the diff does not change, and both re-anchored the finding onto an unrelated line rather than moving it to the holistic assessment. The anchoring rule now says which of those to do. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01F5AAg1yvQGfnza8Du4W4GD
… missing Value 1 asks whether a layer should exist, and the review asks it file by file. Every file on SahajCloud#847 and #849 passed, because each one did need to exist. The reviewer asked whether it needed to exist separately from its neighbour, or outside the plugin the same diff created — fourteen threads across four PRs in the window, and this review passed clean on all of it. Written at the level of the value, not the incident: read the diff whole before reading it file by file, and treat a sibling left outside a newly introduced shared owner as a finding until you can say why it stayed out. #826 and #846 were both rebutted first and adopted after the reviewer repeated themselves, so the entry also says what a rebuttal here has to carry. Gated on recurrence across four distinct PRs, as the survey requires. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01F5AAg1yvQGfnza8Du4W4GD
version is the installed plugin's cache key. Four skills and the reviewer profile moved in this PR, so an unchanged string would keep the old cache. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01F5AAg1yvQGfnza8Du4W4GD
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
Four behaviours, 86 lines, each separately revertable. No ceiling change rides it. I re-ran the gate rather than trust it — 21 tests pass, rule-delta 63 → 63, and --strict fails identically on main, hooks.json untouched. It reports four warnings, not three. No blockers.
should-fix
README.md:143still scopesworktreeSetuptoEnterWorktree→handler-preflight/SKILL.md:45- Commit 3's anchoring claim is false — disproved by this review's own first comment →
adversarial-review/SKILL.md:83
consider
- A start action sits among invariants →
handler-preflight/SKILL.md:42 - One
why.mdheading carries two rules →docs/why.md:1301 - No tie-breaker against the 2026-09-12 bullet →
reviewer-profile.md:150
Checked. All 8 files whole, plus README.md, .claude/workflow.json, and finalize-pr steps 2–3 — /security-review is step 3, so step 2 naming two passes drops nothing. Not checked: the other four repos' worktreeSetup, which this rule now runs everywhere. Only this checkout was attached.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
| ## Rules that hold in every handler | ||
|
|
||
| - **Set a checkout up before your first command in it.** Run its `.claude/workflow.json` | ||
| `worktreeSetup`, then `git remote set-head origin <default-branch>`. A routine clone ships |
There was a problem hiding this comment.
should-fix — README.md:143 still reads | worktreeSetup| Commands run afterEnterWorktree. |
With step 6 no longer restating the rule, that table row is the only place left that says what the key is, and it still scopes it to the worktree — the exact reading this commit exists to widen. docs/why.md:1298 explains that the key keeps its name because it lives in a protected path; the README is where a reader learns the name no longer means what it says.
One cell: Commands run to set a checkout up, worktree or not.
Same question for the other four repos' .claude/workflow.json, which I could not read from here — if any of their worktreeSetup arrays were written assuming a worktree (a cd into one, a path relative to it), this rule now runs them in the clone. Worth one check before merge, since the rule reaches all five repos on the next run.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
There was a problem hiding this comment.
Adopted in cc17b7a. The cell now reads Commands run to set a checkout up, worktree or not.
On the other four repos: I cannot read them. This session's GitHub access is scoped to claude-workflow, and no other checkout is attached. claude-workflow's own array is []. Flagging it for a human check before merge, as you asked.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
…iant Review thread: the bullet landed first under "Rules that hold in every handler", ahead of the two lock rules a reader most needs early, and a run following ## Start top to bottom reached its first command before reading it. Setting a checkout up is done once, at a defined moment, so it belongs with the ordered start sequence. Same four lines, and the hottest file's two halves stay distinct: what you do at the start, and what holds throughout. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NTSyZNH9oHQP9dHQovE38B
Review thread: with implement-issue step 6 no longer restating the rule, this table row was the only place left saying what the key is, and it still scoped it to EnterWorktree — the exact reading commit 343707d exists to widen. docs/why.md explains why the key keeps its name; the README is where a reader learns the name no longer means what it says. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NTSyZNH9oHQP9dHQovE38B
Review thread, with its own evidence: the review on this PR anchored a comment to handler-preflight/SKILL.md:42, an unchanged context line inside a hunk, and add_comment_to_pending_review accepted it. So "a line this diff changed" is false, and as written it sent to the holistic assessment by rule the anchor a finding most often wants — the unchanged line the new code is wrong about. "Inside a hunk" still prevents the counted failure, which was narrower: two runs re-anchored onto an unrelated changed line. This lands as its own commit so the anchoring rule reverts without taking the tool-name fix in f314b07 with it. Splitting that commit itself would need a rebase, which address-review forbids. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NTSyZNH9oHQP9dHQovE38B
Review thread: handler-preflight and finalize-pr both cited #a-routine-clone-is-not-a-developers-checkout, but a plugin that was never installed is not a clone missing node_modules. A reader arriving from finalize-pr landed on 20 lines about worktreeSetup before reaching theirs. CLAUDE.md asks for one heading per rule, so the paragraph is now its own heading and finalize-pr cites that. A one-line cross-link keeps the shared class visible. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NTSyZNH9oHQP9dHQovE38B
Review thread: extracting a sibling into a shared owner is itself a new layer, so on a diff that introduces a plugin and leaves two callers outside, the two bullets pointed opposite ways and a review had no rule for which wins. The scope was already written, but only implied. Stating it keeps a later review from reading this bullet as licence to propose the extraction the 2026-09-12 bullet was written about. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NTSyZNH9oHQP9dHQovE38B
|
Adopted all five review threads, one commit each, pushed to
Left open: the README thread's second half. I cannot read the other four repos' Gate, on the pushed tree: 21 tests pass, 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
… not findings Two corrections from the maintainer's read of this PR. The anchoring sentence read "the call refuses any other, unchanged context lines included", which says the opposite of a36defa: a context line inside a hunk takes a comment. It now says so plainly. The 2026-09-27 profile bullet cited #847's and #849's "what is the difference between X and Y" questions, and the renames after them, as design overlap this review missed. The reviewer says those were them learning new code. Training the critic on them would teach it to flag well-separated code as duplication. The bullet keeps its other half — a sibling left outside the shared owner the diff creates — which #826, #846 and #847's login-plugin thread back with adopted changes. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
implement-issue met an `Effort: Hard` ticket it could not finish in one run by calling split-ticket. Each child then cost a revise session, a human verb, its own PR, critic and address-review rounds, and a human review. The children went stale as soon as a sibling merged — three of SahajCloud#664's five did in the week to 2026-09-27 — and the reviewer judged each PR against half a feature. Now one ticket is one branch and one PR. The PR body carries a `## Phases` checklist. Each phase closes in-session with the gate plus a scoped /code-review and /simplify pass, then its box is ticked. The dispatcher reads the checklist: while a box is unticked, a green draft emits `phase-continue` to the ticket, which fires implement on the ticket's lock instead of the critic. The critic and the human each review the whole PR once. The bound is progress. A continuation fires only when the last implement that ended ticked a box, or when a respondTo human has spoken on the PR since it started. Otherwise the PR stalls: `awaiting`, one comment, one anomaly. No new ceiling. Removed: the split-ticket skill, the `split` handler, verb and timeout, and every "split" instruction in revise-ticket, triage-issue, reflect, handler-journal, README and routine-setup. `ceilings.maxChildrenPerSplit` is left for its own PR, since a ceiling never ships with a skill change. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Thursday's survey filed a Task for a consumer whose generated types were behind SahajCloud main, and cross-repo-issue filed a child in every consumer of a schema change. Each waited for a proposal review, a human verb and a session, to run one command whose output nobody could choose differently. - survey-contracts fixes what it finds in a PR: a stale copy, a document that misdescribes the code, a missing changelog entry, a dead command. It files a ticket only when the code may be the wrong side. It gains Edit and Write, which survey-deps already has, since it now edits. - The type check no longer curls raw.githubusercontent, which preflight forbids. It runs the consumer's own sync command from `contractSync`. - cross-repo-issue files no child for a consumer whose only work is a re-sync. - `contractSync` in loop-config.json names each copied contract: the producer's sources, each consumer's command and paths, and the branch. The dispatcher's sync job, in its own PR, reads the same values. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Two behaviours join this PR's four, and one of them removes a skill, so the installed plugin needs a new cache key. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ow (#136) #132 replaced split-ticket with phased implementation on one PR, and removed the `split` handler and verb. This ceiling bounded how many children a split could file, so it has no reader left. It ships alone because a ceiling change never rides a skill change. Merge it after #132: until then, split-ticket still reads it. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
…the dispatcher takes (#147) * fix(preflight): fetch the default branch before trusting its ref A routine clone's `origin/<default-branch>` ref is whatever the image shipped, not what main holds. Step 6 named `worktreeSetup` and `git remote set-head`, neither of which fetches, so every diff and every `git worktree add` taken against that ref was wrong until the run noticed. 11 sessions across four days paid for it. SahajCloud#859's critic read 83 files and 32,953 insertions for a 3-file diff; SahajAtlasWordpress#47's read a 0.2.0 version bump that was not in the PR and nearly filed a phantom release-cutting blocker; SahajCloud#860 and #864 branched a worktree off a stale base and needed a hard reset; SahajAtlasWordpress#50's clone was 9 commits behind. This reflect run reproduced it on its own checkout: `git fetch origin main` moved `origin/main` de6440e -> de7c0bd. The order matters. `set-head` is what `/security-review` reads, and `worktreeSetup` runs last because it is the slow step and the two git commands are what make its output meaningful. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U7n4cu5djzGwFZ9i5gFTne * fix(review): diff against origin/<branch>, never FETCH_HEAD Step 3 said `git diff origin/main...FETCH_HEAD`. Preflight step 6 now fetches the default branch, and any run that fetches it overwrites `FETCH_HEAD`, so the recipe returns an empty diffstat with nothing wrong on screen. 3 sessions across two days hit it and each landed on the same answer: SahajCloud#856 ("returned an empty diffstat"), SahajCloud#859 ("the next diff came back empty"), SahajAtlasWordpress#47 ("overwrote the branch's FETCH_HEAD"). A named remote ref cannot be clobbered by a later fetch. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U7n4cu5djzGwFZ9i5gFTne * feat(preflight): worktreeSetup is owed when a node command is Step 6 asked every run for `worktreeSetup` before its first command. A read-only handler runs no lane, so `pnpm install` buys it nothing, and 11 sessions across four days skipped it and spent a friction line saying why: "a read-only review needs no install, and `pnpm install` would have spent much of a 45-minute lease" (SahajCloud#857), "pure lease spend" (SahajCloud#874), "the install would have spent the lease" (#882). Blessing the skip alone would keep the half that costs something. Three of those sessions then could not settle a framework claim the finding rested on — SahajCloud#857's `jobs.queue` `overrideAccess` default went unverified and was "the crux of finding 1"; SahajCloud#875's critic curled unpkg for `[email protected]` instead; WeMeditateWeb#156's appended spec could not be run. So the install is deferred, not waived, and an unverifiable assertion is refused rather than shipped. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U7n4cu5djzGwFZ9i5gFTne * fix(revise): name the reviewProposals fire, which carries no instruction Reads said the instruction is the comment `trigger.id` points at. On a `dispatch.reviewProposals` auto-revision there is no such comment and `trigger.id` is null, so the skill named no grounding for the path that fires on every bot-filed ticket. 3 sessions across two days reported it: SahajCloud#871 ("the run had no instruction to read"), WeMeditateWeb#154, SahajAtlasWeb#244 ("only `loop-config.json` `dispatch.reviewProposals` states that path"). Each worked from the code, which is the right answer — now it is written where the handler reads it rather than inferred from a config comment. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U7n4cu5djzGwFZ9i5gFTne * fix(address-review): refresh the PR body when the push falsified it Step 4 asked for a body refresh after every push. `update_pull_request` replaces the whole body and no MCP read writes it to a file, so the only way to add two filenames is to retype 8,000 to 15,000 characters out of a tool result — and #142's mandatory `## Change outline` makes those bodies longer, not shorter. 6 sessions across four days declined, and most applied this exact test unaided: "the body had become false nowhere" (SahajCloud#874), "retyping 8000 characters to correct two test counts risked corrupting an accurate body" (SahajCloud#853), "a 15k-char retype bought nothing" (SahajAtlasWeb#243). Two got it wrong in the other direction and left a false body up — SahajAtlasWeb#243's "one decision is yours" block outlived the branch that took both decisions, and SahajCloud#873's lockfile table reported moves the lockfile does not have. So the trigger is falsification, not the push. That keeps the refresh where it is load-bearing and stops it competing for a lease where it is not. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U7n4cu5djzGwFZ9i5gFTne * docs(review): value 1, asked of the total rather than the layer Profile refinement, gated on two PRs in the window where the reviewer drew the same question six times and this review passed clean on all of it: SahajAtlasWeb#243 and #247. The existing bimodal rule is applied per layer, and on both PRs every layer passed it — each piece of shadow-DOM or Tailwind-v4 machinery was forced by a constraint the author had measured and stated. The reviewer asked instead whether an approach that forces that many pieces is the right approach, and asked it of files, helpers, a polling loop and a comment block alike. Written at the level of the value, not the incident: count the bespoke pieces a diff adds against one boundary, and where there are several the finding is the approach. Scoped so it does not fire on a one-piece diff, and separated from the 2026-09-27 membership bullet it would otherwise read as a restatement of. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U7n4cu5djzGwFZ9i5gFTne * chore(plugin): 2.5.0 `version` is the installed plugin's cache key. Four skills and the reviewer profile moved, so this is a minor bump. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U7n4cu5djzGwFZ9i5gFTne * fix(hooks): quote CLAUDE_PLUGIN_ROOT, so the lean gate can pass again `claude plugin validate ./workflow --strict` is this repo's entire automated gate, and on Claude Code 2.1.289 it fails on `origin/main`: four `hooks.json` commands interpolate `${CLAUDE_PLUGIN_ROOT}` unquoted, which the validator warns about and `--strict` turns into an error. #132 reported these four as no longer raised by the CLI it ran on, so this is a CLI change, not a regression here. Verified both sides: `--strict` exits 1 identically on `origin/main` and on this branch before the fix, and 0 after. Without the fix no PR in this repo can show a green gate, including this one. The hooks run in a maintainer's own session, so the change is the smallest that clears the warning: the placeholder is quoted, the path is otherwise byte-identical, the JSON parses, and `block-wrong-bash.mjs` was invoked through the new quoted form and exited 0. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U7n4cu5djzGwFZ9i5gFTne * docs(why): the third thing a routine clone is missing The section named `node_modules` and `origin/HEAD`, which read as a complete list and hid the stale `origin/<default-branch>` ref behind it. Records the count and the three worst outcomes, why a stale ref is worse than a missing one, and why the install is deferred rather than waived. Also disambiguates the `FETCH_HEAD` note in `adversarial-review` step 3: it is preflight's fetch that overwrites the ref, not a step 6 in that skill's own list. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U7n4cu5djzGwFZ9i5gFTne * docs(review): fold value 1's three scopes into the value The three dated bullets each declared themselves value 1 at a different scope -- 09-12 of guards, 09-27 of membership, 10-04 of the aggregate. Line 124 says to fold bullets into the owning value when that happens, and this PR's own bullet is what made them three. Value 1 now states the layer question, then the three wider readings in order, widest first. Every PR link and quote survives; what goes is the cross-referencing the ladder makes structural -- 09-27's "tie-breaker against the 2026-09-12 bullet below" and 10-04's "it is not the 2026-09-27 bullet", each of which existed only because the rules sat apart. Value-1 material drops 83 lines to 69, and `Recent refinements` drops 98 lines to 28. rule-delta reports 62 -> 62, no directive dropped. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ej2qbnRfj5zexAGFdTJ8ci * fix(address-review): name the mechanism the refresh uses The step gave "no read writes it to a file" as the reason a refresh is conditional. That understates what the run holds: preflight step 4 already read the body as the run's grounding, so the choice is not retyping 15k characters from nothing, it is re-sending the body you hold with the delta applied. The step now says that. The trigger stays falsification, and now names the case that drifts. A `## Change outline` view the new commits contradict is false, not merely incomplete, so it forces the refresh -- `change-outline.md` already forbids a contradicted view and `adversarial-review` step 2 makes one a `should-fix`. SahajAtlasWeb#243 took 8 address-review rounds last week, which is 8 chances for the outline to drift. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ej2qbnRfj5zexAGFdTJ8ci --------- Co-authored-by: Claude <[email protected]> Co-authored-by: sydevs-bot <[email protected]>
Sunday's
reflect, over 2026-09-21 18:02Z → 2026-09-27 08:00Z — the window since #118 merged. Seven journals, 164 dispatches, 1 reported failure, 8 anomaly comments, 25 merged bot PRs.Grading last week
#118 shipped four behaviours. Commits 6–10 adopted review threads and added none, so they are not graded.
CLAUDE_PLUGIN_ROOTCLAUDE_PLUGIN_ROOTor--attached. The one Monday mention is the address-review run on #118 itself at 17:52Z, ten minutes before the merge, fixing it on the branch. This is the boring case the table wants--fitstops eating the📄 Didline that carries the PR📄 Didsection with the PR link first. No entry reports a cut, and no survey ordered its Did section least-important-first to work around onereviseruns that each set or re-affirmed both fields — "PriorityLow, EffortEasy", "Effort Easy → Moderate. Priority Low confirmed", "Priority High and Effort Moderate re-affirmed". No ticket went out without oneChange 4's model was right about the value and wrong about the trigger. The reviewer drew naming comments on three more PRs this week — #847 (three separate threads), #848, #849 — and this review passed clean on naming on all three, exactly as it did on the three that prompted the entry.
But re-reading their text, naming was never the thing. It is the surface of a question the entry did not name: "This feels like a reimplementation of
requestMagicLink", "What is the difference betweenredeemMagicLinkandconfirmMagicLink? These seem like overlapping endpoints", "Do we have two overlapping systems here?" The rename is what they ask for once they have decided the two things should stay two. So a sharper naming rule would not have caught any of them, and commit 4 below proposes the different model instead — not a harder version of the same one. The 2026-09-20 bullet stays: it is not wrong, it is narrow.📊 Usage
From the seven titles and
<!-- tally -->blocks, with no comment reads.Per handler: address-review 58 · revise 32 · implement 30 · adversarial-review 23 · fix-ci 7 · survey-nightly 6 · resolve-conflicts 5 · answer 3. Last week: address-review 74 · implement 36 · adversarial-review 32 · revise 31 · answer 14 · resolve-conflicts 10 · survey-nightly 7 · fix-ci 6.
Per repo: SahajCloud 83 · WeMeditateWeb 37 · SahajAtlasWeb 30 · claude-workflow 11 · SahajAtlasWordpress 2. Last week: SahajCloud 87 · WeMeditateWeb 59 · SahajAtlasWeb 38 · claude-workflow 16 · SahajAtlasWordpress 9. SahajCloud is 51% of everything, against 42% last week. Wednesday's repo line totals 24 against a 25-dispatch day, so that column is one short.
164 dispatches → 25 merged bot PRs = 6.6 per merged PR, against 5.4 last week. address-review is 2.3 per merged PR, against 1.9. Volume fell 22% and cost per PR rose 22%.
Items with three or more sessions, from the days' top-five lists — a floor, not a census: sydevs/SahajCloud#847 ×9 (all Wednesday) · sydevs/SahajAtlasWeb#219 ×7 · sydevs/SahajCloud#826 ×6 · sydevs/WeMeditateWeb#129 ×6 · sydevs/SahajCloud#848 ×6 (Wed–Fri) · sydevs/SahajCloud#845 ×5 · sydevs/SahajAtlasWeb#224 ×5 · sydevs/SahajCloud#849 ×5 · then ×4 each: sydevs/WeMeditateWeb#125, sydevs/SahajAtlasWeb#221, sydevs/SahajCloud#846, sydevs/SahajCloud#841 · and sydevs/SahajCloud#835 ×3.
The draft's two suggestions were dropped at review. The first asked the reviewer to settle a rename before requesting it, from #847's three renames in three
address-reviewsessions. The reviewer says those renames tracked them learning new code, so no suggestion would have saved them. The one piece a session could have caught is the third: the file rename left/request-linkand/consume-linkbehind, and the reply could have said so. That happened once, so it is not a rule. The second suggestion — re-revise a child ticket after each blocker merges — treated a symptom of splitting. §5 removes the split instead.The changes
Six behaviours, plus a correction to two of them and the version bump. Each reverts alone. No ceiling change rides this PR, so
CLAUDE.md's hard split holds: the split ceiling this PR orphans goes in #136, and thewriting.budgetsfinding below waits for next week.§5 and §6 ride here because they came out of the maintainer's review of this PR, and because every skill PR bumps
version: three separate PRs would each conflict on that one line. The first four belong together because three of them are one class: a skill that names an environment the routine does not have. A plugin that is not installed, three MCP tools that do not exist, and a checkout that ships neither dependencies nororigin/HEAD. The fourth is the profile editreflectis required to carry. None depends on another.1.
fix(loop): a routine checkout is set up before the first command in itThe failure.
worktreeSetupwas named in exactly one place —implement-issuestep 6, besidegit worktree add. Every other handler works the checkout directly and never reads it, so the install never runs for them. Sessions said so outright: ".claude/workflow.jsonnames it underworktreeSetup, which a non-worktree run does not read", "Nothing runsworktreeSetupoutside a worktree."The count. 37 sessions across five days — Mon 17, Tue 11, Wed 4, Thu 2, Fri 3 — after 30-odd across five days last week, where this was named next week's strongest candidate, on volume. This is that week.
The cost is not the install time, which is 8 to 60 seconds. It is what the runs that could not afford it did instead. sydevs/SahajCloud#826's adversarial review left
mergeBaseFieldsandrefreshOperation— "both underpin the PR's central claims" — unread, and said so in the review. sydevs/SahajCloud#835's revise shipped the question the fix turns on as an open question. Fourreviseruns on the #664 children rested every framework citation on a repo-side line. Others paid the toll another way:npm pack [email protected]into the scratchpad,curlof the registry tarball, reads offunpkgandjsdelivr. One run spent 4 of its 7 minutes on the install, another 7 of 60./security-reviewis the same shape with a different missing thing. Its own prompt runsgit diff origin/HEAD..., and a routine clone sets noorigin/HEAD, so it aborts before reading a line — 11 sessions across four days (Mon 6, Tue 2, Wed 2, Fri 1), after 9 across five days last week. Every one fixed it with the samegit remote set-head origin main, and one wrote "Worth doing inworktreeSetup", which is this commit.The fix is one bullet in
handler-preflight, the one file every dispatch reads, andimplement-issuestep 6 now points at it instead of restating it. TheworktreeSetupkey keeps its name on purpose: it lives in each repo's.claude/workflow.json, a protected path an unattended run cannot rewrite.2.
fix(finalize-pr): name a review pass a routine can actually runThe failure. Step 2 was
/pr-review-toolkit:review-pr alland nothing else. No routine has that plugin —ListPluginsreturns nothing,ls ~/.claude/plugins/cachesays no such directory — so step 2 has never once run as written in the cloud.The count. 14 sessions across four days (Mon 7, Tue 1, Wed 5, Fri 1), after 17 across four days last week, and this is the third week running. Last week called it a decision and left it. Three weeks of evidence make it decidable: every single run substituted the same pass unaided —
/simplify's lenses plus/code-reviewand/security-review— and the substitution kept finding real defects (sydevs/SahajCloud#832's found three, sydevs/SahajCloud#839's found "three latent ways an invitation reached the wrong account").So the step names the toolkit where it is installed and that substitution where it is not, and asks the report to say which ran.
comment-cleanuppointed at the toolkit'scomment-analyzeras the thing it is not a substitute for; it now names the step rather than the agent, so the contrast holds either way.3.
fix(review): the pending-review tools this MCP server actually exposesadversarial-reviewnamedcreate_pending_pull_request_review,add_comment_to_pending_pull_request_reviewandsubmit_pending_pull_request_review. None exists. Six sessions across Monday and Tuesday spent a friction line rediscovering the working calls, after six across four days last week, and every one landed on the same three:pull_request_review_writewithmethod: createandmethod: submit_pending, plusadd_comment_to_pending_review.Two sessions also hit
add_comment_to_pending_reviewrefusing a line outside the diff, and both re-anchored the finding onto an unrelated changed line — sydevs/WeMeditateWeb#126's went fromatlas-client.ts:89to:154, sydevs/SahajCloud#834's from:26to:72. The anchoring rule now says to move such a finding to the holistic assessment instead, where it reads better anyway. A review correction (52a7c91) fixed its wording: a hunk's unchanged context lines can take a comment, and the first draft read as if they could not.4.
docs(review): a sibling left outside the shared owner the diff createsProfile edit, gated on four PRs in the window, and this review passed clean on all of them.
Value 1 asks does this layer need to exist, and the review applies it file by file. Every file on sydevs/SahajCloud#847 and #849 passes that question, because each one did need to exist. The reviewer asked about membership instead: "Shouldn't this endpoint and also the
requestLinkendpoint be part of theloginplugin and then attached to any auth collection that the plugin manages?", "Couldn't this be done generically within the plugin for any consumer?" (#847); "Change CardShell to something a bit more generic… Make it a layout which can be used by all public frontend pages" (#849); a genericcreateSession(slug, id)(#846); and the strip hook they moved out ofClientsintoaccessPlugin(#826).Written at the level of the value: read the diff whole before reading it file by file, and treat a sibling left outside a newly introduced plugin, layout or helper module as a finding until you can say why it stayed out. #826 and #846 were each rebutted first and adopted only after the reviewer repeated themselves, so the entry also says what a rebuttal has to carry: a reason the shared owner cannot hold the thing, not a reason the caller may.
Corrected at review (
52a7c91). The draft also cited #847's and #849's "what is the difference between X and Y" questions as overlap this review missed. The reviewer says those were them learning new code. The bullet now names them as not evidence, so the critic does not learn to flag well-separated code as duplication.5.
feat(loop): build a big ticket in phases on one PR, never split itThe failure.
implement-issuemet anEffort: Hardticket it could not finish in one run by callingsplit-ticket. Each child then cost arevisesession on filing, a humanimplementverb, its own PR, critic andaddress-reviewrounds, and a human review. The children went stale as soon as a sibling merged: three of #664's five did this week (above, and suggestion 2 in the draft). And each child PR was reviewed against half a feature, so the reviewer flagged gaps that later children were meant to fill.The change. One ticket is one branch and one PR. The PR body carries a
## Phaseschecklist, a newpr-template.mdsection. Each phase closes in-session with the lean gate and a scoped/code-review highplus/simplify, and then its box is ticked. The dispatcher reads the checklist. While a box is unticked, a green draft emitsphase-continueto the ticket, which firesimplementon the ticket's lock instead of the critic.implement-issuestep 2 already resumed an existing branch and PR, so the next session picks up at the first unticked box. The critic reads the whole PR once, and so does the human.The bound is progress, not a new ceiling. A continuation fires only when the last
implementthat ended ticked a box, or when arespondTohuman has spoken on the PR since it started. Otherwise the PR stalls:awaiting, one comment, one anomaly. A phase too big for one session is split into smaller boxes, so an honest session always ticks one.Removed: the
split-ticketskill, thesplithandler, verb and timeout inloop-config.json, and every instruction to split inrevise-ticket,triage-issue,reflect,handler-journal, the README androutine-setup.md. A@sydevs-bot splitcomment now falls through toanswer. Stacked sub-PRs were considered and rejected: each costs its own critic,address-reviewand CI sessions, nothing in the dispatcher or the rulesets knows a base other thanmain, and the human still reviews the whole diff at the end.docs/why.mdcarries the full story, and retires the split under Retired.6.
feat(survey): contract drift is fixed in a PR, never filed as a ticketThe failure. A stale copy of SahajCloud's types became a Thursday
Task, andcross-repo-issuefiled a child in every consumer of a schema change. Each waited for a proposal review, a human verb and a session, to run one command whose output nobody could choose differently.The change.
survey-contractsnow fixes what it finds in a PR — a stale copy, a document that misdescribes the code, a missing changelog entry, a dead command — and files a ticket only when the code may be the wrong side. Its type check no longer curls raw.githubusercontent (last week's "observed" list: preflight forbids it), and runs the consumer's own sync command instead. It gainsEditandWrite, whichsurvey-depsalready has, because it now edits.cross-repo-issuefiles no child for a consumer whose only work is a re-sync. The newcontractSyncblock inloop-config.jsonnames each copied contract; #135's dispatcher job reads the same values and opens the sync PR the moment the producer merges.7.
chore(plugin): 2.3.0versionis the installed plugin's cache key. Eleven skills and the reviewer profile moved, and one skill was deleted, so this is a minor bump.Gate, on
c362b49.node --test dispatcher/test/*.test.mjs→ 97 pass, including 17 new phase cases.node --test workflow/lib/*.test.mjs→ 19 pass. The 2defaultAttachedDircases inpayload.test.mjsfail only because a git worktree does not sit beside the other checkouts. No file underworkflow/libchanged, and the bot's run of the same files passed all 21.rule-delta.mjs --base origin/main workflow/skills→ 58 → 59, none dropped over the skills still present. The one added is "Never split a ticket".split-ticket's own five rules left with the skill, on purpose.claude plugin validate ./workflow --strict→ passed on Claude Code 2.1.261. The draft reported four pre-existinghooks.jsonwarnings at--strict, which this CLI no longer raises.Observed, named with its count, and deliberately not acted on
Each is real, and several want a decision rather than a patch.
issue_read method:get_labelsrefuses a PR number — 15 sessions across five days, up from 13 across four. Last week graded this "Did not hold" and wrote: "Re-stating it a third time is the same fix harder." That still holds, and nothing is proposed for it. Both files already namemethod:get, and most entries now say so themselves while recording the refusal. The attractor is a tool name on a surface this repo does not own.writing.budgetsnames no kind for a submitted review body, so runs measure it ascomment(1200) and cut evidence to reach it; one logged four rounds at 1913 → 1659 → 1426 → 1318.reviewReply's 600 loses ~185 to the marker and the required footer. Second week. This is aloop-config.jsonedit, andCLAUDE.mdforbids it riding a skill change. Next week's first candidate.create_pull_request— 10 sessions across three days, third week running. Every run refused correctly, unsubscribed and stopped, so nothing is broken. But the wake carries drive-to-green instructions and lands after the lease is released, and the subscription is created by the platform, not by asubscribe_pr_activitycall, so "never subscribe" cannot prevent it. A rule here would only tell runs to keep doing what they already do.cat >> file,git diff … | grep, a$(cat …)argument; one run lost ~6 commands to it. It is the platform's guard, notblock-wrong-bash, so this repo cannot fix it — every run worked around it with Write plus a script file.address-reviewstill misses two real thread shapes — 4 sessions across two days, second week. ACHANGES_REQUESTEDreview body with zero inline comments (refactor(server): one helper for the custom-endpoint SahajCloud reads WeMeditateWeb#129, twice), and a reviewer comment on an already-resolved thread (feat(auth): the login plugin, with magic-link request and redeem endpoints SahajCloud#847, twice — "the resolved flag alone would have skipped it"). Every run acted anyway and said the list is what is wrong. A two-line fix, and the only reason it is not here is the four-behaviour limit. Next week's strongest candidate./var/run/docker.sock. One run brought upinitdbby hand under/var/lib/pgtestand noted the scratchpad refuses it; two pushed spec changes whose first run was CI. Environment, not skill.mcp__github__search_issuesis natural-language semantic now, and returns 0 for the qualifier queries the skills prescribe — 3 sessions across three days. Wednesday's survey: "returned 0 for every natural-language duplicate query… Listed all 56 issues instead. The qualifier-only ceiling query worked." Two more fell back tolist_issues. Several skills prescribesearch_issuesfor duplicate checks; the ceiling query insurvey-routineis fine.pnpm test:int -- <filter>ignores the filter and runs all 83 files — 3 sessions across two days, 348s each.pnpm exec vitest run --project int --config ./vitest.config.mts <path>filters. This belongs in SahajCloud's own docs, so it follows the evidence there rather than riding this PR.Blocked by:marker cannot name a PR — 4 sessions across two days. Runs carry the ordering as prose instead, correctly, sinceparseBlockedByignores a PR URL by design. refactor: use SahajCloud, not CMS, as the backend's name in code WeMeditateWeb#130 worked around it by naming the issue the PR closes. Whether the reader should learn PR URLs is a decision.git add <list> 2>/dev/nullnamed a deleted path, staged nothing, andfe78e7ccarried agit mvwith none of its call-site edits;tscfailed three times on the pushed tree and cost afix-cisession. The run caught and journalled it itself: "A gate run before push proves nothing about what was pushed." One occurrence, so it is named and waits for a second.sydevs-dispatch-donemarker, so Wednesday reads "0 failed" while a session had shipped a broken push. The tally counts markers, which is right; a self-correction has nowhere to land. One occurrence.address-reviewrun unlocked before journalling — 1 day, reversinghandler-journal's stated order. It said so itself. One occurrence.fix-cifired three times in six minutes on one stalled Cloudflare deploy — 1 day. refactor(list): move sortEvents into src/lib/shape/sort.ts SahajAtlasWeb#224 at 15:40, 15:43 and 15:46, all reading the samepreview_status=pending; the second had already commented it. The third noted CI's own remedy is to re-run Smoke, whichfix-ciforbids, "so no handler can clear this red". Recurs from last week in a different shape.git checkout -- <files>after deliberately reintroducing a defect — 2 days, refactor(preview): keep the preview credential out of the embed graph SahajAtlasWeb#218 and fix(events): verify must refuse invalid data, bookkeeping must not SahajCloud#842. The second wrote the rule itself: "Commit before sabotaging next time."EnterWorktree/ExitWorktreedo not matchimplement-issuesteps 6 and 12 — 2 days.git worktree addalready moves cwd there, soEnterWorktree path:is a no-op that refuses, and step 12'sExitWorktreethen answers "no active EnterWorktree session". Both runs usedgit worktree removeand carried on.comment-rule-sync.mjscannot resolve its canonical path — 1 day, second week: it assumes sibling checkouts, and the cloud layout is flat under/home/user.survey-contracts§2 prescribes acurlof raw.githubusercontent thathandler-preflightforbids — 1 day, and §4'sgrep -oE 'pnpm [a-z:]+'returns only false positives. Thursday's survey used the local checkouts instead.date -uis unreliable."outcome":"done"before that run had written anything — 3 sessions across two days.payload-types.tswas stale on SahajCloudmain— 2 sessions, 1 day, so booting Payload for the int lane rewrote it and two runs had to separate real drift from their own diff.mcp__payloadcms-docs__*tool exists in a routine — 3 sessions across two days, though SahajCloud'sCLAUDE.mdroutes Payload research there.Closing the week's journals
Closed after this PR opens: #119, #120, #122, #124, #125, #127, #131. Today's stays open — tonight's entry goes on it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01F5AAg1yvQGfnza8Du4W4GD
Generated by Claude Code