Repository navigation
feat: settle-roadmap, notes in the body, and infrastructure CI re-runs - #179
Merged
Merged
Conversation
… the right head Two defects in the fix-ci loop. - The cap comment promises "a push from you starts me again", but rec.fixCi was never reset, so a capped PR stayed capped whatever a person pushed. A head a respondTo person pushed since the last fix-ci now resets the count and fires fix-ci. The bot's own pushes never do. gather fetches the head commit's author only once the cap is reached. - fix-ci compared the PR's head.sha with `ci.head_sha` in the record. The record carries `head.sha`, so its stale-failure check read a missing field. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every red required check fired fix-ci, whatever caused it. A Railway
outage, a job limit or a preview that never published spent repair
attempts on nothing (six fires from one outage, claude-workflow#164).
- gather sorts failing required checks: timed out, startup failure, a
lone cancellation, or an error annotation titled `ci.infraLabel`
("infrastructure-failure") is infrastructure; anything else is the
change. It reads annotations only for failed checks.
- When every red check is infrastructure, decide re-runs the failed
Actions jobs, at most `ceilings.ciInfraReruns` (2) per head, then
hands the PR to a person with a plain comment. No session is spent. A
mix still fires fix-ci.
- apply re-runs a job with the calling repo's GITHUB_TOKEN
(ACTIONS_TOKEN), since the bot PAT has no Actions scope. The act job
asks for `actions: write`; every caller grants it, this repo's own in
this commit and the four product repos in their own PRs, merged first.
- fix-ci leaves infrastructure checks alone.
⚠ This adds a ceiling in the same PR as skill changes, which AGENTS.md
forbids. The owner waived it for this bundle: the cap moves CI re-runs
and the skills move ticket writing, so their effects do not overlap.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…answers are marked - format-ticket: a decision moved back to `## Open questions` keeps a `Reopened <date> by <who>. Was: <answer> (<who>, <date>).` line before its options. Nothing recorded the previous answer, so showing it meant inferring it from prose (four reopened on 2026-10-10). - format-ticket: answers given through settle-roadmap are written into the body, then recorded in one comment opening with `roadmap.settledMarker`. revise-roadmap reconciles around those and never re-applies them. - revise-roadmap writes the Reopened line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… body The notes were "one comment, edited in place", which a session cannot do: the MCP surface edits a body, never a comment. So each revise run posted another notes comment; SahajCloud#902 carried five by 2026-10-11, and a reader merged them by hand. - format-ticket: the roadmap template ends with the `roadmap.notesMarker` line and one collapsed `Technical notes` block. The style rules: TL;DR first (3 bullets max), facts in tables, one <details> per topic, replace superseded facts in place, and cite evidence instead of quoting it. - `writing.budgets.notes` (8000) is measured with budget.mjs and never refused; OVER means prune first and say so in the journal. - notesMarker moves to v2. A goal's v1 notes comments are folded into the block once by the next writer. - revise-roadmap, implement-roadmap, write-ticket, file-ticket and adoption.md read and write the block instead of the comment. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…erminal Answering on GitHub costs a fixed-shape reply, a cloud session and a wait, and a verb posted while a session holds the lock can be dropped (SahajCloud#902's answers were, on 2026-10-09). settle-roadmap is the preferred alternative: - finds every open Roadmap goal with unticked questions (or one ticket, or one milestone), skips any a session holds, and orders blockers first; - briefs each goal in five lines, then asks with AskUserQuestion: recommendation first, the earlier answer marked from its Reopened line, conditional questions only when they apply; - researches a question asked back and re-asks it; - drafts one change across every body it touches (decisions, dependent lines, notes, other tickets, relationships), shows it as a diff, and writes it on a yes, re-reading first; - posts one `roadmap.settledMarker` comment with no bot mention, and offers `@sydevs-bot implement` when nothing is left open. parse-questions.mjs reads the Open questions section into JSON, with a test. README gains the row. Co-Authored-By: Claude Opus 5.5 <[email protected]>
An installed plugin is keyed by version, so the skill changes reach a maintainer's session only with a new one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
sydevs-bot
pushed a commit
that referenced
this pull request
Oct 11, 2026
Resolves the one conflict: `version` in `workflow/.claude-plugin/plugin.json`. Both sides advance the plugin cache key for the same reason, so neither side could be taken wholesale. The merge base read `3.1.2`. This branch bumped it to `3.1.3` for its `workflow/lib/**` fix; `main` took it to `3.2.0` for #179's new `settle-roadmap` skill. Taking `3.1.3` would reinstate a stale cache key against the new base, and taking `3.2.0` would ship this branch's lib change with no bump at all — the exact failure `cut-release/SKILL.md:30-32` exists to prevent. `3.2.1` keeps both: `main`'s minor bump for the new skill, plus a patch for the fix that rides on top of it. Everything else merged clean, `docs/why.md` included — #179 touched no `--base` call site, so this branch's `origin/main` invariant still holds across the tree. Gate: `claude plugin validate ./workflow --strict` passes. `node --test dispatcher/test/*.test.mjs` 214/214. `node --test workflow/lib/*.test.mjs` 55/57 — the two failures are `payload.test.mjs`'s worktree-path tests, which pass from the main checkout and fail inside `.claude/worktrees/<slug>` on `main` too. Pre-existing, tracked as #176. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01BeswvK5JHWgfd6hLdnb9Zu
This was referenced Oct 11, 2026
This was referenced Oct 11, 2026
Open
Open
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.
Summary
This bundles four behaviours, one commit each, as the owner asked:
settle-roadmap— a new skill for answering a goal's open questions in the terminal withAskUserQuestioninstead of replying on GitHub. It writes decisions straight into the body (shown as a diff first, re-read before writing), posts oneroadmap.settledMarkercomment with no bot mention, and offers@sydevs-bot implementwhen nothing is left open.Reopened <date> by <who>. Was: <answer>line. revise-roadmap writes it, and settle-roadmap marks "(your previous)" from it.<details>per topic, replace rather than append.writing.budgets.notes.notesMarkermoves to v2.ceilings.ciInfraRerunsper head, and then a person takes over, with nofix-cispent. A failure counts as infrastructure when it timed out, never started, was cancelled with no newer run, or is annotatedinfrastructure-failure.GITHUB_TOKEN, throughactions: write.head.sha.The version goes to 3.2.0.
The failures this prevents
fix-cifires came from one Railway outage (claude-workflow#164).⚠ Rule waived
AGENTS.md says never to ship a skill change and a ceiling change in the same PR. This PR adds
ceilings.ciInfraRerunsbeside the skill changes. The owner waived the rule for this bundle. The ceiling moves CI re-runs and the skills move ticket writing, so a change in the next run's output can still be traced to one or the other.Merge order
The four product repos' callers already grant
actions: write: sydevs/SahajCloud#923, sydevs/SahajAtlasWeb#278, sydevs/WeMeditateWeb#182 and sydevs/SahajAtlasWordpress#67, all merged. This repo's caller is in this PR. Once dispatcher.yml'sactjob asks for the permission, a caller without it would fail.Checks
claude plugin validate ./workflow --strictpasses.node --test dispatcher/test/*.test.mjspasses 214. That includes new tests for infra classification, re-run caps, the re-run action and the count reset.payload.test.mjsfails 2 locally, in a worktree only. Those tests assume the checkout layout, and this change doesn't touch them.rule-delta.mjsreports 82 → 87 directives, 4 added and none removed:labels.lockis on it.🤖 Generated with Claude Code