Repository navigation
feat(loop): intake asks with options, docs fixes go to PRs, CI is required checks, mentions only, Dependabot-gated deps - #171
Merged
Conversation
…R answers a mention The loop's CI verdict counted every check run and status except its own, so a Railway outage, a stalled Cloudflare Pages build, or a cancelled duplicate CI run read as red. 19 of 53 fix-ci runs between Aug 28 and Oct 9 chased a red GitHub did not require (SahajCloud#879/#880/#885 on Railway, WeMeditateWeb#144 on a cancelled duplicate). gather now reads the base branch's ruleset and keeps only its required contexts, newest run per name. A red check outside them is said once on the PR and fires nothing. An unreadable or empty ruleset falls back to counting everything. On a bot PR, a plain comment no longer dispatches address-review: only a mention does, or a review or thread reply. The state check carries the rule too, so the 30-minute sweep agrees with the event. Co-Authored-By: Claude Opus 5.5 <[email protected]>
SahajAtlasWeb's required Dependency Audit audited the whole lockfile, so a new advisory against a dependency already on main failed every PR, and fix-ci rewrote overrides on unrelated ones (#233, #237, #243, #248). dependency-review-action compares only the dependencies a PR changes. It lives here as a reusable workflow each product repo calls from its own CI, outside dispatcher.yml, so pausing the loop never leaves a required check unreported. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…on, and Mondays alternate audit-deps ran every Monday across every repo, whatever there was to do, and an alert opened on a Tuesday waited six days. A new `deps` job reads each product repo's open Dependabot alerts once a day and fires audit-deps in that repo only when a high or critical runtime alert opened in the last day, or on Monday when one with a fix is still open, and no dependency PR is already open there. It is a repo-scope fire: no item and no lock, so payload.mjs and buildRecord accept kind "repo" for a handler configured with scope "repo". The calendar can now rotate a weekday through a list. Mondays alternate audit-deps (routine updates) and audit-contracts, and the first-Saturday override goes, so hygiene keeps every Saturday. The dispatcher's skipped deps and contracts jobs join ignoreCheckNames. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…y, and spare a non-technical filer file-ticket asked in prose and waited for a typed reply. Every question now goes through AskUserQuestion with a recommendation, and each open question can be left on the ticket for the review on GitHub. An answer given before filing is written into the section it shapes, not listed under Decisions: before filing, it is the request itself. A filer whose gh login is not assignment.reviewer is treated as non-technical: technical questions go to the ticket unasked, the preview is a plain summary, and the hand-over is never offered. A docs-only request is offered as a PR instead of a ticket. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…follow the new CI and deps rules Sixteen docs-only fixes became tickets since Aug 15; the six since the PR routes existed were routed exactly as the rules said. The handlers that find most drift could not push, comment fixes fell outside **/*.md, and write-ticket widened doc fixes into guard tests. Now a docs-only fix (Markdown, or comments comment-fingerprint.mjs proves comment-only) goes first to the ticket or PR it belongs to, and otherwise to its own ticketless PR, whatever its size and whichever handler found it. When one must be a ticket, it is a Bug. Also: start-run and finish-run gain repo mode for the dispatcher's repo-scope audit-deps fire; audit-deps splits into the dispatched vulnerability job and alternate-Monday routine updates; audit-contracts moves to alternate Mondays; fix-ci fixes only the required checks the record names; write-ticket's local create path asks through file-ticket. README, AGENTS.md and why.md carry the stories. Plugin 3.1.0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 10, 2026
Merged
This was referenced Oct 10, 2026
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.
Six behaviours, agreed one by one with the maintainer, shipped together at their request. Each commit names one or two; the PR is the revert unit.
What changes, and the failure each prevents
file-ticketasks with options (553b71a). Every question goes throughAskUserQuestionwith a recommendation; each open question can be left on the ticket. An intake answer is folded into the body, not listed under## Decisions— before filing it is the request itself. A filer whoseghlogin is notassignment.revieweris treated as non-technical: technical questions go to the ticket unasked, the preview is plain, no hand-over. Prevents: open-ended prose questions, and fresh tickets that read as if argued over.comment-fingerprint.mjsproves comment-only, where the code is plainly right: first into the ticket/PR it belongs to, else its own ticketless PR from any handler, any size. Must it be a ticket →Bug.write-ticketnever widens a docs fix into a guard. Prevents: 6 of the last 16 docs tickets (e.g. SahajCloud#901, SahajAtlasWeb#261, feat(dispatcher): note a skipped critic on a small member PR #264) — each a ticket, a verb and a session for a one-file doc change.gatherreads the base branch's rules; newest run per name; a missing required check counts as queued; a red non-required check is noted once and fires nothing; unreadable/empty ruleset → old behaviour.fix-cifixes only whatci.reasonnames. Prevents: 19 of 53fix-ciruns (Aug 28–Oct 9) that chased a red GitHub didn't require — Railway on SahajCloud#879/#880/#885 (claude-workflow#164), the cancelled duplicate on WeMeditateWeb#144.address-review; the derivation carries the rule so the sweep agrees. Prevents: an Opus session per "thanks" or "will look tomorrow"..github/workflows/dependency-review.yml, called from each product repo's CI (follow-up PRs), fails only on a high/critical runtime advisory a PR adds. Outsidedispatcher.yml, soBOT_DISPATCHcan't strand a required check. Prevents: SahajAtlasWeb#233/Tue — 10 dispatches · 0 failed · 0 anomalies #237/Fri — 14 dispatches · 1 failed · 1 anomaly #243/Sun — 0 dispatches · 0 failed · 0 anomalies #248 failing on main's advisories, andfix-cirewriting overrides on unrelated PRs.depsjob firesaudit-depsin a repo only when a high/critical runtime alert opened in the last day, or on Monday one with a fix is open, and noclaude/chore-deps-*PR is open. New repo-scope record (kind: "repo", no lock) for handlers withscope: "repo". Mondays alternateaudit-deps(routine updates) andaudit-contracts; the 1st-Saturday override is gone. Prevents: a session every Monday whatever there is, and alerts waiting up to six days (SahajCloud's nodemailer alerts, open since Sep 30).Checks
claude plugin validate ./workflow --strict— passed.node --test dispatcher/test/*.test.mjs— 200 pass (new: required-only gather, mention rule, advisory note, deps due/in-flight/tick, Monday alternation).node --test workflow/lib/*.test.mjs— 37 pass, 2 fail:defaultAttachedDirtests assume a checkout at<workspace>/claude-workflow; this ran in a worktree. Pre-existing and environmental.rule-delta.mjs --base origin/main workflow/skills— no directive disappeared; 4 added. "Never weaken or extend an audit baseline" became "never silence an advisory to make a run pass", because the SahajAtlasWeb baseline is deleted in its follow-up PR.Follow-ups (same session)
Product-repo PRs adding the
Dependency Reviewcaller (SahajAtlasWeb also drops its full-lockfile audit), then ruleset edits: remove SahajAtlasWeb'sDependency Audit, requireDependency Review / reviewin all four.🤖 Generated with Claude Code