Skip to content

Keep tend's own calls out of the skills consumers load - #1268

Merged
max-sixty merged 31 commits into
mainfrom
misplaced-guidance-survey
Sep 17, 2026
Merged

max-sixty merged 31 commits into
mainfrom
misplaced-guidance-survey

Conversation

@max-sixty

@max-sixty max-sixty commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

A survey of the bundled skills for text that governs tend rather than the repo the bot is running in, plus the repairs it turned up. It follows #1263 and #1265, and applies the ontology #1265 landed: shipped guidance has to hold in a repo whose maintainer disagrees with us, so tend's own calls belong in tend's own files.

Tend's compute economics leave the bundled skills

Gate 3 of shared/review-gates.md priced a failure's cost and sized the fix it justified — waste costs cents, machinery is maintained forever, one knob in one place. That is tend's CLAUDE.md, shipped into every consumer's daily review-runs and applied to their repo. It's gone, and the framework is two gates: Gate 1's Critical row already carried the part that isn't taste, so it gains the rule that a wrong outward action has to have occurred rather than been imagined. review-reviewers loses its "Cost discipline" section — running log parsing in a subagent is about what the judging context holds, not what tokens cost — and review's code-quality bullet asks whether a change carries its weight without supplying tend's answer. The rule itself stays in CLAUDE.md, where a bot session in this repo reads it and a session elsewhere reads that repo's.

The Non-issues block, which this branch moved up from review-reviewers into the shared file, keeps only what a consumer's session meets: tend-mention's gate skipping a job, /tend-ci-runner:review posting nothing on a draft, tend-review re-reviewing after a fix commit. Four citations from tend's own incident log are out, and so is a paragraph addressed to a session filing upstream, now stated in each skill in its own scope.

review-reviewers moves to tend's overlay

No generator list carries it: only the hand-maintained review-reviewers.yaml dispatches it, over a matrix of consumer repos, to file findings back onto tend. Inside the bundled plugin it installed into all eight consumers, was invoked by none, and collected tend's internal text beside review-gates.md — which every consumer's review-runs does load. That is how the compute stance got into the gates. It now lives at .claude/skills/review-reviewers/, invoked as /review-reviewers and reaching the plugin's scripts through $SCRIPTS the way the running-tend overlay already does.

running-in-ci sheds what most sessions never use

171 lines to 107. Reading a thread, fetching a review's inline comments, the closed-target check, and whether to respond at all are acted on by the sessions that answer an issue or PR thread; they sat in the file every session loads because tend-mention has no skill of its own. They move to references/trigger-context.md, indexed on the action rather than on the trigger, so triage (issues.opened), notifications (a cron tick) and review (pull_request_target) all reach them. Reproduction and fix conditions move to /tend-ci-runner:triage's references/fixing.md, and the system prompt keeps the self-loop guard and a pointer instead of restating what running-in-ci owns.

Lints for what moving guidance breaks

In generator/tests/test_repo_pins.py, where the repo keeps invariants no single suite owns:

  • test_skill_reference_citations_resolve now resolves each citation to its owner. It already walked every skill's citations but only checked that the filename existed in some skill. It now resolves the owner named before the path, after it, or implied by the citing skill; reports an owner that isn't on disk; checks bare siblings inside references/ directories; and walks symlinks, so shared/review-gates.md is covered. Moving trigger-context.md broke a pointer in posting.md that the old check would have passed.
  • The References table indexes exactly the bundled references/ files — one no row names loads in no session.
  • Every workflow prompt's first token resolves to a skill on disk: /<plugin>:<name> under plugins/, /<name> under .claude/skills/, or Codex's $<name>. tend-mention is the one agent-invoking workflow whose prompt opens with an expression instead, because it names no skill at all — the gap TODO.md tracks.

Testing

uv run pytest (1159) and all 13 pre-commit hooks pass. Each new check was probed by breaking what it guards. The guidance changes themselves are unexercised by CI, as guidance always is; they were reviewed against the pre-change text for lost instructions and broken cross-references.

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 29 commits September 16, 2026 17:30
Nothing reads a comment, review, or PR/issue body against **Reader-facing
prose** before it posts. The pre-post pass is the link checker and the
duplicate re-fetch, both mechanical, so a body goes out as first drafted.
posting.md now opens with a draft review: a short reply gets a read-through,
and a body that carries an analysis gets a subagent reader where the session
permits one.

Reader-facing prose also gains the shape the visible text should take: the
outcome in a short opening paragraph, parallel items as a list, and a single
line of reasoning as prose. Since 0.2.0 dropped "keep comments concise" and
the <details> default, long bot comments on worktrunk with no list or heading
went from 39% (0.1.13-0.1.24) to 61% (0.2.x), and those with <details> from
80% to 25%. posting.md's "preserve evidence another run would need" line
moves into that paragraph, next to the <details> rule it motivates.

A replay of the posting moment (5 cases, 2 arms, 3 runs) couldn't isolate
the review step: with the guidance pasted beside the draft, both arms
revised it. With the new shape sentence, long drafts came out with a list
in more runs, and evidence moved into <details>. A long reply that was
already structured kept its structure in both arms. One of three runs on
a short reply turned it into bullets.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…a tool

Replace the prescribed shape with the goal: concise, helpful, easy to
digest, standing on its own, with a way deeper for the reader who needs
more. Lists, headings, and <details> are offered as tools that often help,
with <details> as the deeper layer a later run relies on.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
… subagent mechanics

Tend's CLAUDE.md filed the bot's agent sessions under "compute" that
"costs cents", beside slow CI jobs, while the same file gates agent boots
because they cost tokens. It now separates the two: wasted runner time
still needs a simple knob to be worth fixing, and model tokens are a cost
that skill and workflow design keeps to what the work needs.

**Weighing a Fix** in `running-in-ci`, which every consuming repo loads,
now scopes its bar to CI runner time and drops the bot's own sessions as
an example of cheap compute; tend's stance on its sessions' token cost
lives in CLAUDE.md. `review` and `ci-fix` refer to the runner-time bar by
that name.

review-reviewers' **Cost discipline** keeps its token goal (bulk log
reading stays out of the context that judges, on a cheaper model where
the harness allows) and drops the five-step subagent pattern. Steps 2
and 3 no longer prescribe spawning a subagent on a named model tier.
resolve-conflicts says to consider one subagent per conflicted PR; the
isolated worktree per PR stays a requirement.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ting.md as a post is made

`running-in-ci/SKILL.md` loads in every session of every consuming repo,
but several of its sections apply only to a few:

- **Weighing a Fix** is for proposing or reviewing efficiency changes.
  Its only users already state the rule where they apply it: `ci-fix`
  (knob-sized mitigation), `review` (challenge machinery that only saves
  runner time), and `review-gates.md` Gate 3, which now carries the
  whole-change remedy test inline. Tend's own value order is in its
  CLAUDE.md. The section is removed.
- **Scripts over prose recipes** applies when writing skill text, so it
  moves to `references/skill-pr-workflow.md`.
- **Other Repos** and **Learning from Feedback** only repeated their
  index rows. `references/other-repos.md` and skill-pr-workflow's
  open-and-exit step carry the content, and citations now point there.
- **Multi-way Conversations**, **Self-conversation Guard**, and **PR
  Review Comments** decide whether and where to reply, so they move to
  `references/posting.md`.

`posting.md` now follows the order a post is made in: whether to respond,
composing the body, then the steps before posting (review the draft,
check links, recheck the thread last), and where the reply goes. The
link rules and their examples now sit together. The inline-reply dedup
check joins the recheck as its third duplication path. Moved text is
verbatim apart from linking sentences. SKILL.md goes from 205 lines to
154.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
… Weighing a Fix's evidence and knob tests where they apply

Whether to respond (self-conversation, other participants) and the rule
for finding the line an inline review comment targets decide work
before it starts, so they sit in running-in-ci's Read Context rather
than in posting.md, which is read only before writing. posting.md now
runs composing, where the reply goes, then the steps before posting.

review asks for waste that recurred across days and names a knob as one
setting in one place; ci-fix and review-gates Gate 3 carry the same
tests. Reader-facing prose again tells a session to keep the <details>
record a later run would otherwise re-derive, and the skill-PR row
fires on a maintainer's correction.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…g it governs

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
TODO.md asked for this check once a release had accumulated a sample
comparable to its baselines. Reproducing them across the eight consumer
repos, comparing the 0.1.24 windows with 2026-09-07..09-16 on 0.2.x:

- PR descriptions: median visible words 192 → 360; at least 300 visible
  words in 27% → 64%; a visible paragraph of 100+ words in 43% → 53%.
- Review bodies: median 1936 → 1684 characters.
- General PR comments: 1692 → 1449. Issue, triage and mention comments:
  2249 → 1993.

So comments came down about an eighth while PR descriptions nearly
doubled, and the longest recent ones replay the investigation under the
`## Problem` / `## Solution` / `## Testing` headings the triage example
offers — the de facto template the TODO named as its own failure signal.
Per the TODO's remedy (sharpen the goal or drop an example, never a hard
length limit): `pr-creation.md` gives the opening paragraph the merge
decision, and triage's example keeps its contrast without handing over
an outline.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The system prompt restated five rules `running-in-ci` states more fully:
repo precedence, conduct, the maintainer gate on directives, and scope in
other repos. The scope bullet had also drifted — it forbade acting outside
this repository outright, while `running-in-ci`'s Scope restriction and
`references/other-repos.md` permit an explicitly invited contribution.

The self-loop guard stays here: it has to hold before any skill loads, and
this copy carries the clause about the bot's own review workflow.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
… tend's stance

Follow-ups to the survey of misplaced guidance:

- The fix gates every session needs move out of `triage`'s steps into
  `triage/references/fixing.md`, with a References row keyed on writing a
  code fix. `running-in-ci` no longer tells a session to load all 240 lines
  of `triage` to reach them.
- `review`'s compute-cost criterion stops reaching the adopter's own CI
  config: in the bot's automation it decides, elsewhere it reports the cost
  and leaves the call to the maintainers. `ci-fix` states the preference for
  the smallest mitigation without tend's ranking behind it, and
  `pr-creation.md`'s PR budget no longer assumes a single maintainer — the
  cap stays as a default an overlay can set.
- The non-issues list and the dormant-until-release rule move to
  `shared/review-gates.md`, which both `review-runs` and `review-reviewers`
  embed; each had one copy, and `review-runs` was missing the list.
  `review-reviewers` stops restating the repo-over-bundled precedence rule.
- The review-inline-comment fetch, the "pre-existing" check, and the
  self-loop guard each keep one copy, cited from the other site. Tone joins
  Comment Formatting, since both govern outward text.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Review findings on the previous commits:

- `running-in-ci`'s precedence rule names the repo's `CLAUDE.md`/`AGENTS.md`
  and `.config/tend.yaml` again, not the `running-tend` overlay alone; the
  system prompt's copy had been the only place that listed them.
- The open-PR budget keeps its closed exception — a wrong outward action
  still standing — rather than the wider "keeps doing damage".
- `posting.md` tells a session to fetch a review's inline comments rather
  than asserting it already did, and `ci-monitoring.md` says when to run the
  main-branch check. The References row names that second trigger.
- triage's `If fixing` list is renumbered, and stops restating the
  root-cause rule the reference carries.
- ci-fix's mitigation sentence follows from the rerun-green clause again,
  and review's carve-out names tend's workflows as the boundary.
- The `fixing.md` row sits with the other skills' references, and
  review-reviewers' precedence pointer sits in First steps beside the load.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
… restating it

The Non-issues list re-enumerated when a review posts nothing — self-authored,
draft, closed mid-queue — which `/tend-ci-runner:review` and its
`references/draft-mode.md` already decide. The auditor needs the two states a
listing hides (a draft reports `state: OPEN`; the literal author decides
whether an approval was available), not a second copy of the rules.

The waste-class clause goes too: Gate 3, two paragraphs up, already refuses a
skip-gate or occurrence threshold that only saves a boot.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…akes

The paragraph carried four claims and a mid-sentence qualification: the two
conditions a waste-class fix needs, the whole-change test, the refusal of new
machinery at any occurrence count, and what to do instead. Each is now its own
sentence or paragraph, with the "otherwise" branch stated as one.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Gate 3 shipped tend's view of how much complexity is worth spending to save
compute into every consumer's daily review-runs. What a repo will carry is its
maintainer's call: keep the classification and the default bar, and defer to a
stance in the repo's own CLAUDE.md, AGENTS.md, or running-tend overlay.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ssion

Reading a thread, fetching a review's inline comments, the closed-target
check, and whether to respond at all are acted on by the sessions that answer
an issue or PR thread — mention, triage, notifications, review. They sat in the
file every session loads because mention has no skill of its own. A references/
file gives them one home at the level that reads them, and SKILL.md drops from
171 lines to 107.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Two lints over the plugin tree. The References table in running-in-ci is the
plugin's one index of references/ files, so a file no row names loads in no
session; and every pointer to a reference — in the table, in another skill, or
from a sibling inside a references/ directory — has to resolve, since a session
told to read what isn't there takes the action without what the file holds.
Moving trigger-context.md out of SKILL.md broke a pointer in posting.md that
nothing would have caught.

The one citation written in a form the lint can't resolve is rewritten to the
possessive form the rest of the repo uses.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
… session

Keying the new References row on the trigger ("a comment, an issue update, or
a review") hid the file from the sessions that need it most: triage fires on
issues.opened, notifications on a cron tick, review on pull_request_target, and
each of them answers threads. The row now names the action — responding on an
issue or PR thread, whatever woke you.

The one rule in there that was triage's alone, that an issue the bot filed is a
report rather than a self-conversation, moves to triage's own Step 2, where the
session that acts on it reads it.

Gate 3 keeps the consequence the rewrite had left implicit — machinery fails
the gate however often the waste recurs — and names the repo whose runs are
being judged, since review-reviewers runs in tend and judges other repos.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Gate 3 priced a failure's cost and sized the fix it justified — waste costs
cents, machinery is maintained forever, one knob in one place. That is tend's
CLAUDE.md, shipped into every consumer's daily review-runs and applied to their
repo. Delete it: Gate 1's Critical row already carries the part that isn't
taste, so it gains the rule that a wrong outward action has to have occurred
rather than been imagined, and the framework is two gates.

review-reviewers loses "Cost discipline"; running log parsing in a subagent is
about what the judging context holds, not what tokens cost. review's
code-quality bullet asks whether a change carries its weight, without tend's
answer about compute. tend's own rule stays in CLAUDE.md, where a bot session
in this repo reads it and a session elsewhere reads that repo's.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…sumer rename)

Keeps this branch's deletions where main only renamed inside text that is gone
here: the system prompt's restated bullets, and review-reviewers' duplicate
precedence and Non-issues sections, which now point at running-in-ci and
review-gates.md.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Only this repo invokes it: no generator list carries it, and the
hand-maintained review-reviewers.yaml dispatches it over a matrix of consumer
repos to file findings back onto tend. Inside the bundled plugin it installed
into all eight consumers, was invoked by none, and collected tend's internal
text beside review-gates.md — which every consumer's daily review-runs does
load. That is how the compute stance got into the gates.

It now lives in .claude/skills/review-reviewers/, named unprefixed in the
workflow prompt, reaching the plugin's scripts through $SCRIPTS the way the
running-tend overlay already does. review-gates.md keeps one shipped reader,
so every rule left in it has to hold in a consumer's repo.

A new lint resolves each workflow prompt's first token to a skill on disk —
bundled for /tend-ci-runner:<name>, this repo's .claude/skills/ for a bare
name — so a move like this one can't leave a prompt pointing nowhere.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Both branches trimmed the same bundled text, this one further: review's
code-quality bullet keeps no compute criterion, and ci-fix's lead-in drops
"buys back runner time" while taking main's "smallest mitigation that holds".
main's deletion of the open-PR budget supersedes this branch's reworded cap.
In CLAUDE.md the two additions to "What waste is worth fixing" are kept in
sequence: judge the saving by its share of spend, then judge the fix by what
it leaves behind.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
A repo-local skill drops the plugin prefix, not the slash: `/review-reviewers`.
The prompt lint now requires every prompt to open with one, and running-in-ci's
sentence about unprefixed names writes both examples with their slashes, since
omitting them is what suggested a bare word would do.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…cidents

Moving this block up from review-reviewers put tend-only text in the file
every consumer's daily review-runs loads. The merged-fix paragraph went with
it, aimed at a session filing upstream onto max-sixty/tend — which review-runs
never does; it edits its own repo's overlay, and already states the pinned-ref
rule itself where it searches tend's PRs. That paragraph is gone from here,
stated in full in each of the two skills in its own voice.

The designed-no-ops bullet listed four incidents from tend's own history — an
abandoned fork's notification, a monthly tracking issue, a specific edit
retrigger — as if they were the rule. A consumer meets none of them. It now
says the shape: a workflow fires on an event class, most of a class needs no
response, and either a pre-boot gate or a silent exit is the design.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…eleted gate

The near-timeout signal still routed through Gate 3's cost classes. Same
judgment, stated against Gate 1: a killed cron run leaves nothing, but a
review job killed mid-poll leaves its approval standing over red CI, which is
Critical.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two things in the new lints.

test_every_workflow_prompt_names_a_skill_that_exists asserts the prompt's first token starts with /, but Config.default_prompt renders $NAME for Codex — the codex regtest for review carries $review ${{ github.event.pull_request.number }}. So the first per-workflow harness: codex override in .config/tend.yaml plus a regeneration turns this repo-invariant red, and its message (tend-review.yaml's prompt opens with $review, not a slash command) reads as a broken workflow rather than a test that only knows one harness. Suggestion inline.

test_every_reference_a_skill_names_exists overlaps test_skill_reference_citations_resolve in the same file, which already resolves every references/<file> citation a skill makes — and over a wider set, since its skill_dirs walks .claude/skills/* as well as plugins/*/skills/*. The new test is stronger on two axes the old one misses (the cited owner must match, and a bare sibling name resolves) and narrower in coverage, so neither subsumes the other and the repo now carries two citation linters with two regexes and two definitions of what gets checked. Folding the owner check and the sibling check into the existing test would keep one home for the rule; happy to push that if you want it.

Comment thread generator/tests/test_repo_pins.py Resolved
Comment thread generator/tests/test_repo_pins.py Resolved
`test_skill_reference_citations_resolve` already walked every skill's citations
across both roots; it just checked that the name existed in *some* skill. It now
resolves each citation to the skill that owns it — named before the path, after
it, or the citing skill's own — and checks the bare siblings a `references/`
file names. The second linter this branch added is gone, with its regex.

The prompt lint also accepts Codex's `$NAME` mention, which `default_prompt`
renders under `harness: codex`; a codex override on any workflow would have
turned a repo invariant red with a message about slash commands.

Both found by tend-review on #1268.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both earlier points are handled — the Codex branch matches default_prompt's two forms exactly. Two checks the merged test lost against the linter it replaces.

An owner name that doesn't resolve now passes silently. by_name.get(named, skill) falls back to the citing skill when the named skill isn't on disk, so appending a citation that names /tend-ci-runner:nosuchskill and the path references/approving.md to review/SKILL.md passes: the fallback lands on review, which owns approving.md. The deleted linter built the path from plugin plus skill and reported it. That's the case the lint exists for — a skill renamed or moved leaves its citations behind, and this branch moves one. Suggestion inline; with it the suite still passes and that probe goes red.

The symlink skip takes the shared files out of the lint entirely. skill_dirs spans plugins/*/skills/* and .claude/skills/*, so plugins/tend-ci-runner/shared/ is reached only through the two symlinks pointing into it — and those are now skipped. Drop the skip and the test reports the one live citation there: references/draft-mode.md in the Designed silence bullet, owned by review but named without an owner, so it resolves against review-runs and review-reviewers and fails. Before this branch the weaker name-in-some-skill check did cover it through the symlink; now nothing does, on a file every consumer's review-runs loads. Naming the owner in that bullet makes it resolve and the skip can go.

uv run pytest generator/tests/test_repo_pins.py is 43 passed with all three suggestions applied, and ruff is clean. Happy to push them if you'd rather not apply by hand.

Comment thread generator/tests/test_repo_pins.py Resolved
Comment thread generator/tests/test_repo_pins.py Resolved
…gain

Two gaps the fold-in opened, found by tend-review on #1268. A citation naming a
skill that isn't on disk fell back to the citing skill, so a stale owner passed
whenever the citing skill held a file of the same name. And skipping symlinks
took plugins/tend-ci-runner/shared/ out of the walk, since those files are
reachable only through the links — including review-gates.md, which every
consumer's review-runs loads. The one citation there now names its owner, so
it resolves from whichever skill links the file.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 60ba6d3 into main Sep 17, 2026
20 checks passed
@max-sixty
max-sixty deleted the misplaced-guidance-survey branch September 17, 2026 06:40
max-sixty added a commit that referenced this pull request Sep 17, 2026
… lacks

#1268 landed the same survey work this branch carried, with better calls on
Gate 3 and the non-issues list, plus the trigger-context move and the reference
lints. This merge takes main's tree whole and adds only what #1268 left open:

- running-in-ci's Scope now bars dispatching workflow runs in other repos. The
  system prompt's deleted "or initiate cross-repo workflows" had no other home;
  filing a new issue elsewhere stays governed by other-repos.md.
- The bang-backtick pre-commit guard scans `.claude/skills/` as well as
  `plugins/`. The moved review-reviewers skill is the one file a workflow
  invokes directly as a slash command, the exact crash path the guard exists for.
- skill-pr-workflow.md keyed the read-only-mount workaround on which repo a
  session is in ("since bundled skills live under `plugins/`"), which the move
  made false for review-reviewers on tend. It now keys on where the file sits.
- ci-monitoring.md's pre-existing check hardcoded `branch=main`; it resolves the
  repo's default branch, as pr-creation.md and skill-pr-workflow.md already do.
- review-reviewers cited a heading, "Recording below-threshold findings", that
  never existed; it points at Evidence accumulation.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Sep 17, 2026
…le guard, and three stale references (#1269)

Five fixes #1268 left open. That PR landed the misplaced-guidance survey
this branch also carried; this one now holds only what it didn't cover,
on top of main.

**Nothing barred dispatching workflows in other repos.** #1268 cut the
system prompt's "Act within this repository… or initiate cross-repo
workflows" in favor of `running-in-ci`, but **Scope** there lists only
PRs, pushes, and comments on existing threads. The bot's PAT carries
`workflow` scope and cross-repo reach by design, so `gh workflow run -R
other/repo` was unaddressed by any text. Scope's enumeration now
includes workflow runs you dispatch; filing a new issue elsewhere stays
governed by **Filing issues** in `other-repos.md`.

**The moved `review-reviewers` skill had left the bang-backtick guard.**
The pre-commit hook scanned `plugins/` only. A backticked token starting
with `!` crashes the Claude Code slash-command preprocessor before any
turn runs, and `.claude/skills/review-reviewers/SKILL.md` is now the one
file a workflow invokes directly as a slash command. The hook scans
`.claude/skills/` too; its own comment records four earlier regressions.

**`skill-pr-workflow.md` told a session on tend it needed no
read-only-mount workaround** "since bundled skills live under
`plugins/`". That stopped holding for `review-reviewers` when it moved.
The workaround turns on where the edited file sits, not which repo you
are in, and the text now says so.

**The pre-existing-failure check couldn't answer its own question.** It
hardcoded `branch=main`, and it listed the last three runs of *any*
workflow with no name attached — run against this repo, that returned
three `tend-notifications` runs from a month earlier and no `ci` run at
all. It now resolves `defaultBranchRef` and filters by the workflow the
failure belongs to (`gh run list --workflow`), which returns that
workflow's latest default-branch runs with links; verified against this
repo.

**`review-reviewers` cited a heading that never existed** ("Recording
below-threshold findings"); it points at **Evidence accumulation**.

Tests (1159) and all 13 pre-commit hooks pass.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Sep 17, 2026
…tion's TODO premise (#1272)

Two follow-ups to #1268 and #1269.

**The fix gate's failing-test rule read as absolute for every
workflow.** `triage/references/fixing.md` is where the References table
sends any session about to write a fix, and it said "You MUST have a
failing test before writing any fix". `ci-fix`'s escalated-fault path
asks for a mitigation PR — pin the runner image, skip a leg — for a
fault that still reruns green, which has no test to write, so a ci-fix
session following both was told to open that PR and forbidden to write
it. The rule now reads "Generally, have a failing test before writing a
fix", the fix-attempt bar's reproduction condition says "usually" rather
than presuming the test, and `triage`'s Step 6 pointer names "the
reproduction gate" instead of restating "the failing test you must
already have".

**`TODO.md`'s `tend-mention` entry claimed a problem #1268 solved.** It
said rules with mention's shape had nowhere to live but the file every
session loads; #1268 moved them to `running-in-ci`'s
`references/trigger-context.md`. The entry now says what remains:
mention's prompt is the one exception `test_repo_pins.py` allows to the
invariant that every agent-invoking workflow names a skill, and a
`mention` skill earns its cost only if mention-only rules start
accumulating in `running-in-ci` again. The entry stays because that lint
cites it.

> _This was written by Claude Code on behalf of max-sixty_

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@max-sixty max-sixty mentioned this pull request Sep 17, 2026
max-sixty added a commit that referenced this pull request Sep 17, 2026
Ships #1277. bubblewrap's CVE-2026-87766 fix reached the Ubuntu archive
this afternoon, and every consumer's sessions have died at sandbox
launch since — consumers pin an immutable tag, so the fix reaches them
only through a release.

Also carried: the `tend-notifications` conflict-gate and subject-owner
fixes (#1276, #1264), the outage-enrichment skip (#1248), the sandbox
Git identity seed (#1252), and the split of tend's own maintainer calls
out of the shipped skills (#1265, #1267, #1268, #1269, #1272).

`review` will fail on this PR for the same reason the release exists:
the reviewer runs `max-sixty/tend/[email protected]`, which is the broken
pin.

> _This was written by Claude Code on behalf of max-sixty_

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
tend-agent added a commit that referenced this pull request Sep 18, 2026
The exception's trailing clause banned proposing a workflow-level skip
for the boot the tracker costs. That is tend's own answer to what compute
is worth, shipped into every consumer's triage session — #1268 removed
the same stance from `review-gates.md` on the ground that the bundled
skills carry no view on it.

It also sat where the proposals never came from: #800 was a `review-runs`
sweep, and a triage session that obeys the preceding sentence ends at
Step 2 before any cost judgment. The sentence that identifies the tracker
and ends the run is the whole fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants