Skip to content

skills: take tend's own calls out of the shipped instructions, and settle two names - #1284

Merged
max-sixty merged 6 commits into
mainfrom
guidance
Sep 17, 2026
Merged

max-sixty merged 6 commits into
mainfrom
guidance

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A survey of every shipped file after #1265–#1272 — the bundled skills, shared/system-prompt.md, codex/agents-tail.md, the generated-workflow header, and docs/tend.example.yaml — for text that is tend's own call, tend-only, or a citation of a past case. Plus the two naming decisions the survey turned up.

Tend's own calls still shipping

  • review/SKILL.md judged a consumer's PRs by tend's stance: "avoid unnecessary complexity, feature flags, or compatibility layers" and "a rule every run loads". A published library among the consumers needs compatibility layers, so the reviewer was objecting to the code its maintainer wants. The weight question stays, without tend's answer.
  • nightly's review checklist applied CLAUDE.md's placement rules ("belongs in the file its actors read") to a consumer's own instruction files, so the survey would open PRs rearranging their CLAUDE.md to tend's layout. It keeps the mechanical half — an overlay rule that forked a bundled default and drifts — and tend's overlay asks the placement questions here.
  • grounded-analysis.md's transient-incident rule wrote findings to "the run's evidence log" and explained itself with sibling matrix legs; both exist only in review-reviewers, which is tend's. It now says to report the incident wherever the workflow reports findings, which covers the triage, mention and ci-fix sessions that also load the file. Its escalation ladder told the bot to add a Windows CI job to its repo; #788, which the ladder came from, said to offer to, which is what it says now.
  • proposing-tend-instructions.md (was skill-pr-workflow.md) carried three tend-only passages — "Running on tend itself, it means a PR here", the plugins/ scripts directory, and which paths need the read-only-mount workaround. They move to .claude/skills/running-tend/, which the repo-wins rule makes authoritative here.
  • review-runs named review-reviewers as a workflow consumers run; past-case citations left review-gates.md (a fabricated run ID from an old session) and ci-fix (one consumer's create-issue-on-nightly-failure job); triage lost the "AD FONTES" label, which appears nowhere else in shipped text.

One way to cite a reference file

Four spellings were in use: a path from the skill's own directory, the owner before it, the owner after it, and a bare filename between siblings inside a references/ directory. A citation now reads references/<file>.md from the skill's own directory, with the owning skill in front where the file belongs to another skill — so a sentence reads the same wherever it ends up, and survives being moved. A rule inside a skill's own SKILL.md is cited by section and skill (**Reader-facing prose** in /tend-ci-runner:running-in-ci). test_skill_reference_citations_resolve rejects the bare filename rather than resolving it, and the owner-after branch is out of the regex; converting the stragglers turned up one citation that no longer resolved at all, in resolve-conflicts.

Two names

skill-pr-workflow.md becomes proposing-tend-instructions.md: the file is about turning a maintainer's correction into durable instructions — the bar, where the rule lands, what the text carries — of which the PR mechanics are the last section. Its opening now names both destinations, and the upstream sentence names max-sixty/tend outright.

And the prose agents read is instructions throughout, not "guidance". The repo used "guidance" for the whole body while "instruction files" already named the CLAUDE.md/AGENTS.md half; one word now covers both, and it is the ecosystem's (AGENTS.md, Copilot's custom instructions, this repo's own pin-instruction-files.sh).

Also

The generated-workflow header told a consumer to edit a skill for any change, leaving the file that owns triggers, timeouts and setup steps unnamed; it now names .config/tend.yaml (39 regtest snapshots reset). workflows.py's comment pointed at nightly's Step 6, where the rolling survey lives, rather than Step 7's regen.

Testing

uv run pytest (1175) and all 13 pre-commit hooks pass. The instruction changes are unexercised by CI, as instructions always are; an independent pass over the whole diff checked each removal for a rule left with no home and each cross-reference against the files and headings it names.

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

max-sixty and others added 6 commits September 17, 2026 10:30
A survey after #1265–#1272 found tend's stance and tend-only text still in
shipped files:

- review: "feature flags, or compatibility layers" and "a rule every run
  loads" judged consumer PRs by tend's no-compat, guidance-cost stance.
- nightly: the survey applied CLAUDE.md's placement rules to every
  consumer's guidance files. Only the overlay-forks-a-bundled-default check
  ships; tend's overlay now asks the placement questions for tend.
- grounded-analysis: the transient-incident rule wrote to an evidence log
  and cited matrix legs that only review-reviewers has; the escalation
  ladder's rung 2 added CI capability where the rule it came from offered it.
- skill-pr-workflow: the tend-only routing (upstream is a PR, plugins/
  needs no mount workaround, bundled scripts dir) moves to running-tend.
- review-runs: review-reviewers named as a consumer workflow.
- Past-case citations out of review-gates and ci-fix; the AD FONTES label
  out of triage.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The header told a consumer to edit a skill for any change, so the file that
owns the workflow YAML — triggers, timeouts, setup steps — went unnamed.

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

Four spellings were in use: a path from the skill directory, the owner
before it, the owner after it, and a bare filename between siblings inside a
`references/` directory. A citation now reads `references/<file>.md` from the
skill's own directory, with the owning skill in front where the file belongs
to another skill. `test_skill_reference_citations_resolve` rejects the bare
filename rather than resolving it, the owner-after branch is out of the
regex, and CLAUDE.md's Authoring skills states the rule.

`skill-pr-workflow.md` becomes `proposing-tend-guidance.md`: the file covers
whether a correction clears the bar, where the rule lands, and what the text
carries, of which the PR mechanics are the last section. Its opening names
both destinations — the repo's own `running-tend` overlay, or tend's bundled
skills upstream at `max-sixty/tend` — and tend's overlay says that here that
upstream is a PR rather than an issue.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The repo used "guidance" for the whole body of text agents read — skills,
reference files, overlays, CLAUDE.md — while "instruction files" already
named the CLAUDE.md/AGENTS.md half. One word now covers both, and it's the
one the ecosystem uses: AGENTS.md, Copilot's custom instructions, and this
repo's own `pin-instruction-files.sh`.

`proposing-tend-guidance.md` follows to `proposing-tend-instructions.md`.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Review fixes on this branch:

- "an instructions file" collided with `instruction file`, which already
  means `CLAUDE.md`/`AGENTS.md` here, so the two survey questions read as
  scoped to those. Both sites name the class instead.
- `review`'s weight question lost the clause telling the reviewer to raise
  it; restored, with the list read as a list.
- The five reference files that cited `SKILL.md` bare now name the section
  and the skill, the form that resolves from anywhere. `SKILL.md` stays in
  ROOT_FILES for the literal mentions no regex can tell from a citation.
- The bare-filename message names the ROOT_FILES escape hatch.
- `pin-instruction-paths.sh`'s comment no longer reads as a tautology, and
  the header comment points at nightly's Step 7, where the regen lives.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 098d345 into main Sep 17, 2026
12 checks passed
@max-sixty
max-sixty deleted the guidance branch September 17, 2026 19:58
max-sixty added a commit that referenced this pull request Sep 17, 2026
`shared/steps/_prompt.py` renders `shared/system-prompt.md` for each
harness, and its docstring called that text "guidance". #1284 settled on
"instructions" for text that reaches a consumer's repo, and landed just
after the docstring was written.

> _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]>
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