Repository navigation
fix(loop): a grounding read goes stale inside one lease - #333
sydevs-bot wants to merge 10 commits into
Conversation
Thirteen sessions over four days held an item that moved under them: a push after nine commits, a ticket that gained a fourth key after three were built, a record whose head.sha was superseded two minutes before firedAt. The ones that noticed were saved by the lock re-check, which already returns the whole item and so already returns a fresh body. Only the comparison was missing. SahajAtlasWeb#482 did not compare, and shipped a question thread about behaviour the author had already changed, holding the merge, plus a body refresh that dropped the line describing that commit. So the rule costs no extra call: it tells a run to use what it has read. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZGicuGj67qNTqJbGS
Three sessions on three days guessed elapsed time from their own step durations and were each about 35 minutes pessimistic. Nothing in any skill said to read it. SahajCloud#1243 paid most: the review was submitted believing the streamliner had timed out, it returned three minutes later, and one verified finding plus four unread ones went with the lock. The reviewer then raised eight comments on that PR, none of them the critic's — so this defect destroyed the output of #293's streamliner, which last week's reflection named as the remedy for exactly that recall gap. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZGicuGj67qNTqJbGS
SahajAtlasWeb and WeMeditateWeb set previewUrl and fixture to null, so every preview link either repo posts answered OFF_HOST, which review-pr reads as a should-fix against the author. Seven review-pr sessions over three days declined to post that manufactured finding and spent lease time deriving why; seven more did so the week before, in the other repo. Neither can be fixed repo-side: .claude/workflow.json is a protected path. preview-host.mjs answers a third word, NO_PREVIEW, rather than the skill gaining a skip branch — the decision is mechanical and belongs where the other two verdicts are decided, and this way it gets a test. It reads whether the repo DECLARES a preview, never whether both hosts resolved. A declared-but-unusable pattern (http:, a non-digit PR) also plans two nulls, and must stay OFF_HOST: nothing can be checked against it either. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZGicuGj67qNTqJbGS
The profile reviews a user-facing change as product and flags copy quality. Neither covers a refusal the editor only meets by tripping over it. Two PRs in one week, the critic clean on both. SahajCloud#1254 added filterOptions to three config fields and the reviewer answered each with "This requirement need to be listed in the field description" — on a line the critic had already commented on, about what the validation costs. SahajCloud#1243 is the same value from the other end: replace a pair of virtual columns with a notice that signals where the page is available, then structure that notice like the Install tab's status. Written at the level of the value rather than the two incidents, so it reaches a constraint with no field to describe it. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZGicuGj67qNTqJbGS
An installed plugin is keyed by version, so a skill change that leaves it alone is never served to /plugin install workflow@sydevs. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZGicuGj67qNTqJbGS
The self-review caught it: "a relay marker names the head you fetched" reads as the author's sha, where the marker spec 50 lines below says `sha` is the full HEAD the session pushed. dispatcher/decide.mjs compares the two, so a run following the new sentence would have skipped relayPlan and landed nothing. The relay bullet already owns those fields, so the rule says nothing about them and why.md carries the distinction instead. Both bullets tightened to the register: one instruction each, under 20 words, no present perfect. The clock rule now names the wake event's `current-time` as well. why.md already settled which clock to read, under a different anchor, and this one cross-links it rather than pointing at a second. It also widens to any judgement of elapsed time: the failure that paid for it was a belief about a subagent, not a lease. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZGicuGj67qNTqJbGS
… tested Two reviewers found the same gap independently: the three-way chain sat inline in the isMain block, so the only new behaviour in the script had no test on the value it produces — the added test asserted the predicate as a proxy. Four peer scripts (budget, review-scope, new-pieces, test-only) export the decision and leave main to print, and workflow/lib/*.test.mjs is this repo's only gate. hostVerdict() now owns the precedence. The test asserts all three words, pins that a declared-but-unusable pattern still refuses its link, and pins that every word it can answer is in VERDICTS. Watched failing: removing the NO_PREVIEW branch reds it, 13/14. Also: the usage block still promised two words, and declaresPreview's ⚠ did not say that an absent key and an unusable pattern differ, nor that it reads fixture.link rather than fixture.path. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZGicuGj67qNTqJbGS
The self-review's three prose findings, each verified:
- review-pr's NO_PREVIEW sentence said "no finding" twice. One sentence now, and
it says what the old wording implied but never stated: nothing checked the
links, so a clean verdict is not a claim that they are safe.
- why.md restated declaresPreview's docblock clause for clause. The docblock
owns the code's why; why.md keeps the fourteen sessions, which live only here.
- the profile entry's two verbatim quotes cost ~900 characters on every
review-pr dispatch, ~77 a week. One quote is the evidence; the second is
paraphrased.
And the finding worth more than the three: NO_PREVIEW is factually narrower than
its name. SahajAtlasWeb and WeMeditateWeb do ship a preview per branch — they
simply cannot spell a {pr} pattern for a discovered slug — so the off-host check
is now inert in the two repos an outside PR is most likely to target. It bought
nothing there before either, since every link answered OFF_HOST, but the gap is
real and the deeper fix is a host list only an attended run can add. Recorded
beside the section rather than left for a reader to find.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjZGicuGj67qNTqJbGS
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
Four behaviours, each with its own commit and its own recurrence count, and no loop-config.json or ceiling edit, so the hard split holds. Each is the smallest edit its evidence supports, and 907f0db cuts prose rather than adding it. The NO_PREVIEW narrowing is the right shape: finalize-pr/pr-template.md:33 already tells authors in those two repos to post a BRANCH-alias link, so the old rule flagged links the loop itself asked for. Neither finding below is about whether a behaviour belongs.
The ## Change outline understates the diff: its File column names no docs/why.md (+59) or preview-host.test.mjs (+46), and 907f0db is filed under reviewer-profile.md though it also rewrites review-pr/SKILL.md and docs/why.md. That is the table a reviewer reads first.
Findings
should-fix—start-run/SKILL.md:58: the clause asks for a head comparison the read it names cannot answer.should-fix—preview-host.mjs:104: Streamline —declaresPreviewhas one caller; fold it in.
What was checked. preview-host.mjs, its test, both changed skills, the profile and the why.md additions read whole on the branch; .claude/workflow.json from main. The ladder walked 3 new pieces, the streamliner kept 2. All 6 why.md anchors the diff cites resolve to exactly one heading. rule-delta.mjs over both trees: 94 → 94, none disappeared. budget.test.mjs:309 is why NO_PREVIEW must join VERDICTS, and no file outside review-pr/SKILL.md and docs/why.md names a verdict word. Every event handler's allowed-tools carries Bash(*), so the rejected date -u finding is correctly rejected. Profile gate met on two PRs. Not verified: NO_PREVIEW for SahajAtlasWeb and WeMeditateWeb — only claude-workflow is attached here, so the ⚠ judgement call rests on the body's manual table.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
The re-grounding clause said "body or head moved since preflight?" under a bullet that names `issue_read method:get`. That read answers a PR without a `head.sha` — verified against #333 itself — so half the clause asked for a comparison its own named read cannot make. A run following it would either skip the head or reach for `pull_request_read method:get`, an extra call on every push, which the why.md anchor's "costs no extra call" denies. The body half is the half the read carries free. The branch half is a `git fetch`, which is also no API call, so both halves stay free and each now says which read answers it. `fix-ci`'s *Reads* keeps the API head comparison it already owns. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjWN7yZPzatAiiRMgTi
`declaresPreview` had one caller, `hostVerdict`, and the streamliner is right that a named export for it buys nothing: a reader of `hostVerdict` now sees the precedence on its first line instead of following a second export to find it. The two ⚠ paragraphs move above `hostVerdict` unchanged, since they are what stops a broken config waving past links it cannot check. The six direct assertions became three through `hostVerdict`, which is the only caller a skill ever has. Watched failing: flipping the folded `&&` to `||` reds "the verdict takes NO_PREVIEW ahead of the host comparison" at 12 of 13, and restoring it greens 13. Coverage held — `fixture.path` without a `link`, and each block declaring on its own, are now pinned through the verdict rather than through the helper. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjWN7yZPzatAiiRMgTi
|
Two critic threads, both adopted. Pushed
Nothing rebutted, nothing asked. The review body's other point — the Branch was already level with 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
Summary
preview-host.mjsanswers a third word. 7review-prsessions this week, and 7 the week before, each spent lease time declining to post a finding the rule manufactured.CLAUDE.md's hard split holds. Thewriting.budgetsdecision is still yours and is now in its third week — see## 📊 Usage.NO_PREVIEWturns the off-host comparison off in the two repos most likely to receive an outside PR. See Notes for reviewer.Change outline
Four behaviours, one commit each
cb42ec0+a05afd2+19344d3start-run/SKILL.md,docs/why.mdgit fetchc5fbe97+a05afd2start-run/SKILL.md,docs/why.mddate -u, or a wake event'scurrent-time, before any judgement of elapsed timebfeaf8d+4bc728e+9228d12preview-host.mjs,preview-host.test.mjs,review-pr/SKILL.md,docs/why.mdNO_PREVIEW, exported and tested4478a3e+907f0dbreviewer-profile.md,review-pr/SKILL.md,docs/why.mdd0af255plugin.json5.15.0→5.16.0Every row also edits
docs/why.md, which carries the evidence each rule rests on.Why one PR. The first two are one rule family — a fact read at preflight is stale — and they edit adjacent bullets in the same list, so they read as one change to a reviewer and revert independently.
improve-looprequires the profile edit to ride this PR and forbids a second. The last three commits are the self-review's own fixes, kept separate so what the review caught is visible rather than folded away.The two run-loaded clauses
Five lines on the skill every dispatch reads. +71 words in
start-run, and ste-lint is flat at 21 violations, 9 hard — the added prose introduces none. The evidence sits behind the two anchors, not here.The re-grounding clause costs no extra API call, and each half now says which read answers it. The adjacent bullet already reads the whole item before every write and push;
get_labelsrefuses a PR number, so the read returns the body whether a run uses it or not. That read carries nohead.sha, though — verified against this PR — so the branch half is agit fetch, which is no API call either.fix-ci's Reads keeps the API head comparison it already owns. Six sessions this week were saved by the body half, having compared it on their own initiative:sydevs/SahajAtlasWeb#482 is the one that did not compare, and it is the week's only shipped defect: a question thread claiming
HoverLabel"opens leftward only" after the author's own4bd4fd9had changed that, holding the merge, plus a body refresh that deleted the line describing that commit. Its own run journalled the correction: "Neither is repaired: the lock came off before this surfaced."Two sessions said in plain terms that the rule was missing — sydevs/SahajAtlasWeb#469: "
address-reviewnowhere says to re-read the head before the gate"; #304's own review: "A grounding read taken while the author still holds the branch can go stale inside one lease."The third verdict
preview-host.mjsgainedhostVerdict(), and the CLI block now only prints:Against the real configs: SahajAtlasWeb →
NO_PREVIEW, WeMeditateWeb →NO_PREVIEW, SahajCloud →OFF_HOSTfor a foreign link andON_HOSTfor its own. The check still fires where a host is declared.It reads whether the repo declares a preview, never whether both hosts resolved. A declared-but-unusable pattern (
http:, a non-digit PR) also plans two nulls and must stayOFF_HOST, or a broken config would wave past every link it cannot check.hostVerdict's ⚠ owns that, and the test pins it.Grading last week
#304 made exactly two changes, both to
start-run's body-edit rule, and no ceiling or profile change.The attribution clause held, and it is boring. No session this week journalled a 200 as corruption, and none spent a second write on that block. #304's own week had eight PRs over three days doing both.
The body clause did not hold, and the rate halved rather than the shape changing. #304 was built against "three bodies shipped stale, four runs used the
ghPATCH it bars". This week each half recurred once:update_pull_requesttakes no file, and retyping an 11 KB body is the corruptionstart-runwarns about."start-runsays to edit a body on disk, then send it throughupdate_pull_request— but that tool takes the body as a typed parameter, so no byte-exact path from the file exists. I reached forgh api -X PATCH --inputfirst, which the same rule forbids."The model behind #304 was wrong. It read the failure as missing authorisation — runs believed no writer existed for a long body — and added permission. Both survivors show the blocker is mechanics: the tool takes a string parameter, so "send the file's bytes" reads as impossible, and a run that gets that far reaches for the one tool that does take a file and is barred. #304's own
address-reviewsession said so before it merged: "The 30 KB body could not be piped to the write… the bytes came back throughRead --allow_largeand were retyped intoupdate_pull_request— the retype the rule exists to avoid. Readback was byte-identical at 31,296 bytes, so the rule held, but on a retype. No MCP write takes a file path."So I am proposing nothing for it.
improve-loopis explicit that a verdict of did not hold licenses a different model or nothing, never the same fix harder — and the different model needs a mechanism the loop does not have, since no MCP write tool takes a file and a script here may not fetch. Saying "pass the file's contents as the parameter" would be the same fix in more words. The honest next step is a tool, not a sentence, and I am not going to spend a skill paragraph pretending otherwise. 22 sessions this week refreshed a body and read it back identical, so the clause works for most of them; it is the ≥10 KB case that still defeats runs, twice in seven days.One follow-on worth grading, because #304 deferred to it. #304 proposed nothing about the week's 96 never-started sessions, on the grounds that #299 and #300 were the remedy and were waiting on you. Both merged, 11-22 and 11-23. The storm recurred anyway: 116 markers on 11-26 and 11-27. The shape did change, though — #300 reclaims promptly now, and the cost moved from "sessions that never started" to "three attempts spent into a platform outage, then
attempts-exhausted". That is the next thing to look at and I have not proposed it, because one storm under the new mechanism is one occurrence.📊 Usage
313 dispatches, 1 reported failure, 126 anomaly markers, 193 merged PRs of which 26 bot-authored. Volume 611 → 313, halved. Merged bot PRs 102 → 26. The humans shipped most of the week's 193 themselves — SahajAtlasWeb merged 83 PRs and only 7 were the bot's.
Sessions per merged bot PR 4.8 → 10.9, and
address-reviewper merged bot PR 2.2 → 3.7. Read that as the denominator moving, not the machinery degrading: the week's work concentrated on long-lived PRs that did not merge inside it (sydevs/SahajAtlasWeb#466 ≥12 sessions and still open, sydevs/SahajCloud#1243 ≥9 and still open, sydevs/SahajAtlasWeb#318 ≥6).⚠ 116 of the 126 markers are one failure on two days. From 11-26 16:55Z to 11-27 ~12:51Z nothing started: sessions fired, wrote nothing, timed out. Thursday journalled 3 dispatches against 65 markers. The dispatcher itself went quiet too — journal issue #327's first comment is at 12:51:16Z, carrying a batch for sessions fired between 03:21 and 05:21Z.
The cost was 16 items declared
attempts-exhausted: sydevs/SahajAtlasWeb#502, #508, #509, #510, #527, #529, #531, #538, #542, #466, #318, #501, #520 and sydevs/SahajCloud#1285, #1243, #1244, #1261.dispatch.maxAttemptsis 3 with no backoff, so every item burned all three into the same outage and was then abandoned. Named as observed — one occurrence of this shape, and the remedy would be a ceiling or a dispatcher change, neither of which may ride this PR.Friday's audit never ran.
cut-releaseis Friday's slot andaudit-nightlyappears nowhere in #327's tally; the journal issue was created at 12:51Z, nearly five hours after the 08:00Z cron. The outage above is the likely cause.audit-depsran 0 times, against 3 last week — and that is correct. Dependabot opened no PR in the window, so the daily check had nothing to fire on. No finding.The week's arithmetic, per day, per handler, per repo
Counted from the 7 journal titles and
<!-- tally -->blocks, which are the count. Comments read in full for 11-23 through 11-28, and in part for 11-22 (60 of 82, which covers its single reported failure and every session-entry kind).proposals that nightPer handler, against #304's numbers.
address-review220 → 97,review-pr145 → 77,resolve-conflicts90 → 75,fix-ci31 → 35,implement61 → 14,audit-nightly8 → 7,revise20 → 4,revise-roadmap24 → 2,implement-roadmap9 → 2,audit-deps3 → 0.Per repo. SahajAtlasWeb 67 → 116, SahajCloud 191 → 84, WeMeditateWeb 275 → 59, claude-workflow 60 → 42, SahajAtlasWordpress 15 → 12. SahajAtlasWeb and WeMeditateWeb swapped places: last week's 45%-of-the-loop repo is this week's third.
Merged in the window, by
merged_at2026-11-22..11-29, bot-authored in brackets: SahajAtlasWeb 83 (7), SahajCloud 50 (9), WeMeditateWeb 36 (2), claude-workflow 19 (6), SahajAtlasWordpress 5 (2). 193 (26).Anomalies by kind.
timed-outand theattempts-exhaustedthat follows a third one: 116, all on 11-26 and 11-27 bar one.ci-capped: 6, every one of them sydevs/WeMeditateWeb#321, on five distinct days — the contract check.github/actions/contract-check/check.shcompares a touched file in full rather than by hunk, which #304 measured a week ago and nothing has fixed.board-drag: 3 (sydevs/SahajCloud#1244, sydevs/SahajAtlasWeb#466, #490, each reverted).handed-over: 1. Zero429, zeropaused, zeropending-overdue.Items with three or more sessions — floors from the day lines' top fives:
Critic recall — 0 of 12, on a 2-PR sample. The reviewer touched 21 bot PRs (104 last week), and reading each one's reviews and review comments is two calls apiece, so this is a sample: sydevs/SahajCloud#1243 and sydevs/SahajCloud#1254, the two most heavily reviewed. Their 12 substantive inline comments (excluding one bare
Boption pick and one answer inside the bot's own question thread) all sit on files the adversarial review had read, and the critic raised none of them:webUrl/appUrlinstead of two columns)One number sharpens the 5 in row 1: the critic did raise that exact value on sydevs/SahajCloud#1243, on
publicChannels.ts— "Does this need its own file? Twelve lines of code with one caller." It then applied it to one file where the reviewer applied it to five. That is a coverage gap, not a value gap, which is where #293's streamliner was supposed to help — and on that very PR the streamliner's findings were thrown away by the clock defect this PR fixes. Next Sunday measures #293 with that defect gone.Planning quality.
implement-roadmapran 2 times, against 9;revise-roadmap2, against 24, across 5 roadmap tickets updated in the window. Escalations: 0 —<!-- sydevs-request {"escalated":true} -->appears nowhere a search reaches, and the one non-journal free-text hit is sydevs/WeMeditateWeb#160's own body. Post-plan revisions: 0 — the window's fourrevisedispatches landed on sydevs/SahajAtlasWeb#473, #491 and #268, none of them animplement-roadmapchild. Third week at zero for both, now on a fifth of the roadmap volume.What the proposal ceiling refused — carried forward, not closed
15 open
proposaltickets againstmaxOpenProposals10, up from 10. Five of the six audit nights filed no proposal and each named the ceiling. Closing the journals drops the held findings, so they are here:audit-contractsat 12 of 10. SahajAtlasWordpress diagnostics Check 8 fails working pages:sahaj_atlas_check_loader()fails a tag withouttype="module", andasync— both correct since SahajAtlasWeb#409. The volunteer is told to disable JS optimisation. Needs a decision, not a sync. A TODO on that function carries it.audit-code· risk / test quality at 12 of 10.workflow/lib/comment-rule-sync.mjsreads its reference block fromCOPIES[0], SahajCloud, then compares all four copies against it — SahajCloud included — so that row can never readDRIFTED. A body-only edit there printsok SahajCloudandDRIFTED ×3, identical to what three genuinely drifted copies give, so the fix re-cuts three good copies from the bad one. No spec names the script, so the gate never runs it. Fix: reference by majority of four, naming the odd copy.audit-sentryat 14 of 10. Best first: SahajAtlasWebZodError161231076 — the geojson feed servesproperties.region: nullwhereAgnosticFeedEventSchemarequires an object, so one row fails its whole page parse, 33 events on sahajatlas.com. Then SahajCloudSchedule > First Date & Time161208836, refusing real managers onPOST/PATCH /api/events, 9 users since Nov 14: the body sends nofirstDate_tzthough the field setstimezone: true(src/fields/scheduleFields.ts:163). Then SahajCloudEmail dropped: Resend API error145676674 onPOST /admin/login, 150 events since 09-08 — and a sign-in link is the only way in.audit-code· experience / i18n at 15 of 10. Nothing gates the CMS→snapshot direction of the translation contract.pnpm sync:translationsreports it but needs a production key and sits in no CI job, so only memory closes the window — feat(translations): add the inline embed's strings, drop the compact tab SahajCloud#1268 dropped thecompacttab believing feat(widget): open every embed inline; expand the map over the page SahajAtlasWeb#466 had landed, and #466 is still open.audit-code· hygiene / comments at 14 of 10. Filed fix(fields): mediaField declares anorientationoption it never reads SahajCloud#1314 anyway, as an incidental defect over the ceiling.src/lib/brandingexports andusePlaylistAudioPlayer's three play orders, the 11-17ExpireEvents.ts:347ladder gap, SahajCloud'smonthDayvalidator, the Sentry preview-environment quota, WeMeditateWeb's two measured eager-payload defects, the shadow-host atlas fallback, the crawlable/embedduplicates, the 1542-line OpenAPI shim, and fix(loop): a PR the reviewer wrote asks nobody for a review, and a refused finding waits in the usage report #212's seven. They live in those merged bodies.One finding I filed over the ceiling rather than hold, under
run-audit's incidental-finding row: sydevs/SahajAtlasWeb#557. 22 sessions over five days could not launch a browser —@playwright/testis pinned exact at1.65.1, which wants Chromium1255, and the image ships1243. Each burned a build and then derived its own workaround: a symlink,PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH,PLAYWRIGHT_BROWSERS_PATH, a patched copy of the gate script, and oneplaywright installthat pulled ~325 MB. Verified from disk:playwright.config.ts:39honours the variable and nothing sets it;scripts/check-a11y.mjs:687callschromium.launch({ channel: 'chromium' })with noexecutablePathat all, so the hatchdocs/testing.mdoffers does not reach the a11y gate. This is a defect 22 runs tripped over, not a candidate an audit went looking for, andrun-auditsays to file those every time. It is outside SahajAtlasWeb'sprAllowlistGlobs, so it could not be a ticketless PR.Two suggestions, each tied to a number
Judge the five oldest proposals, or raise
maxOpenProposals— fifth consecutive week, and the queue has now gone the wrong way. 10 → 15 open, against a ceiling of 10, and five of six audit nights filed nothing. The same five are eleven and seven weeks old and unchanged for a fourth week: fix(access): the WeMeditate App's hardcoded API key is rejected SahajCloud#789 (2026-09-15), docs(components): write do-and-don't guidance for both web libraries SahajCloud#924, feat(build): move the component library from Ladle to Storybook SahajAtlasWeb#281, feat(stories): rebuild the component library in Storybook, drop Ladle WeMeditateWeb#183 and feat(loop): the Storybook connector, and the three skills that use it #181 (all 2026-10-11). Three of them are one decision three times over — ci(dispatch): grant the dispatcher pull-requests: write #281 and WeMeditateWeb#183 are both "move the component library to Storybook", and feat(loop): the Storybook connector, and the three skills that use it #181 is the connector that serves both. Judging the five puts the queue at 10, and the audit nights start filing again. That this suggestion is unchanged for the fifth week is itself the finding, and the ten held findings above are what it costs.Settle the
writing.budgetsquestion — third week of asking, and this week it cost nine sessions their lease time. Measured rounds of cut-and-remeasure: 12 (feat(nav): Back says where it goes; a place with one class opens it SahajAtlasWeb#476), 9 (#483), 8 (#555, SahajCloud#1244), 7 (WeMeditateWeb#337, claude-workflow#322), 6 (claude-workflow#316), 5 (#479) — across Sun, Tue, Wed and Sat. The arithmetic is now exact: ofcomment's 1,200 characters,identity.commentMarkeris 124, the harness footer ~58, a relay marker ~140, and an inline thread permalink 70–90 — so a six-thread PR spends ~900 of 1,200 on things nobody can cut (fix(cleanup): read ownership from creation stamps, not transcripts #324: "Six thread links, the marker and the footer leave about 440 characters of prose").reviewBodyis 2,000 whatever the finding count: #476 had 13 threads and "the Findings list alone took half of it". The two designs are still fix(loop): a search falls back to gh, and the PR-body tool gets its real name #246's — stop counting mandated boilerplate incheck(), or raisecomment,reviewBodyandreviewReply. I built neither: both are ceiling changes and this PR carries skill changes, whichCLAUDE.mdforbids combining. One more datum for whichever you pick:budget.mjs --fit"cut the📄 Didheading:DROPPABLEis/^-\s/, so an indented1.line is uncuttable" (11-25 audit).Test results
claude plugin validate ./workflow --strictpassed,node --test workflow/lib/*.test.mjs195 tests, 195 pass..claude/worktrees/worktree, asimplement-ticketruns it: validate passed, 195/195. (196 → 195 is the folded helper's own test, re-expressed throughhostVerdict.)rule-delta.mjs --base origin/main workflow/skills: directives 94 → 94, none disappeared. The added clauses are notNever/Alwaysimperatives, so flat is the correct reading rather than a no-op.ste-lint.pyon both changed skills: 21 violations, 9 hard, onmainand on this branch alike. The new prose adds none.NO_PREVIEWbranch fromhostVerdictredsthe verdict takes NO_PREVIEW ahead of the host comparison— 13 of 14 — and restoring it greens 14 of 14. After9228d12folded the helper in, flipping that line's&&to||reds the same test at 12 of 13, and restoring it greens 13 of 13.Manual verification
preview-host.mjs --on-hostagainst each repo's real.claude/workflow.json:/gb/south-east/london/1390NO_PREVIEWhttps://example.invalid/xNO_PREVIEWhttps://evil.example/xOFF_HOSThttps://pr-1243.cloud-preview.sydevelopers.com/admin/collections/pagesON_HOSTThe plan JSON with no
--on-hostis unchanged.Notes for reviewer
⚠ The one thing I want your judgement on.
NO_PREVIEWis narrower than its name, and the self-review caught it: SahajAtlasWeb and WeMeditateWeb do publish a Cloudflare preview per branch. They simply cannot spell apreviewUrl.pattern, because that key models a host built from the PR number and a branch alias is discovered rather than constructed. So this PR turns the off-host comparison off in the two repos an outside PR is most likely to target.My reading is that it bought nothing there to begin with — with no declared host every link answered
OFF_HOST, legitimate ones included, and a check that fires on 100% of inputs carries no information for the reviewer reading it. The rule now also forbids reporting the links as safe. The fix that would actually restore the guard is a host list independent of whether a link can be built (previewUrl.hosts, an origin list), which only an attended run can add because.claude/workflow.jsonis a protected path. I have recorded that beside the why.md section rather than leaving it for a reader to find. If you would rather keep the noisy check until that lands, revertbfeaf8d,4bc728eand9228d12and the other three behaviours stand alone.Reviews run and triaged.
/simplify's four angles and/code-reviewatreview.selfReview.level(medium) produced 14 findings between them. Six were adopted ina05afd2,4bc728eand907f0db, and the first of those was a genuine defect in this branch's own first commit — "a relay marker names the head you fetched" contradicted the marker spec 50 lines below, whereshais the head the session pushed, anddispatcher/decide.mjscompares the two, so a run following my sentence would have skippedrelayPlanand landed nothing.Two findings I rejected, with the evidence:
date -uis outsidestart-run'sallowed-tools: Bash(node:*), so the call will prompt and stall the lease. Not confirmed: three sessions this week randate -uand reported its output (feat(pages): place pages in each service by its configuration SahajCloud#1243, refactor(mocks): name the fake SahajCloud for what it is SahajAtlasWeb#467, #538).allowed-toolsonstart-rundoes not gate the handler that invokes it, and the routine's own allowlist does. The broader point — thatstart-run's frontmatter is narrower than what every handler actually runs — is real, is pre-existing, and is not this PR's to fix.NO_PREVIEW, which the ⚠ says must stayOFF_HOST. A missing or misspelled key is indistinguishable from absence to any reader, includingpreviewHost, so "declares nothing" is the honest answer. The ⚠ now says which case is which: a pattern that exists and fails staysOFF_HOST.Security review: the trigger fired on
workflow/lib/and the three skill.mdfiles, and ran twice — inline on the first eight commits, and as a sub-task over the whole branch after9228d12. No findings either time.preview-host.mjsimports./config.mjsand./payload.mjsand nothing else — nofetch,child_process,fs,evalor dynamicimport(), whichpreview-host.test.mjsalready asserts. The attacker-controlled input is the## PreviewURL, which reaches onlynew URL()in a try/catch and is never opened. The config that decides the verdict is read from the default branch, never the branch under review (review-pr/SKILL.md:100-102), so a PR author cannot reach it. The sub-task also checked the fold for a verdict change across 1,800 crossed inputs and found none, which is what!(a || b)≡!a && !bpredicts.Docs sync: nothing stale.
OFF_HOSTandpreview-host.mjsare named only inreview-pr/SKILL.mdanddocs/why.md, both updated here; no other skill,AGENTS.mdor doc describes the verdicts, the body-write rule or the clock.