Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
version: 2
updates:

# main
# Main branch.
- package-ecosystem: "devcontainers"
target-branch: "main"
directory: "/"
Expand All @@ -25,7 +25,7 @@ updates:
patterns:
- "*"

# develop
# Develop branch.
- package-ecosystem: "devcontainers"
target-branch: "develop"
directory: "/"
Expand Down
20 changes: 13 additions & 7 deletions .github/skills/agent-conduct/SKILL.md

Large diffs are not rendered by default.

22 changes: 17 additions & 5 deletions .github/skills/backlog-burndown/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ inflates the number this run reports as the backlog by one for every lane in use
count this fleet reports wrong is a failure with its own history, so filter the label out of the
ranking and out of every count of the open backlog rather than out of the ranking alone.

An issue carrying the `blocked` label is counted and is not ranked while its blocker stands. It
records real work this repository owes, which is why it stays in the count, and the label says the
work cannot start yet, per `GOVERNANCE.md` "Durable Knowledge and Self-Improvement". So until the
blocker clears it has no group, no worker, and no claim, and spends none of the round's four worker
slots. Whether the blocker still stands is read from what its body names rather than from the label,
since the label comes off by hand and lags the fix, and a fix merged into `develop` leaves the issue
it fixes open, per "Grouping and File Claims" below on closing keywords. Where that read cannot be
made, from a private or deleted repository or a reference nothing can be read from, the blocker
stands rather than being assumed cleared. The round's report names every issue it held back this way
and the blocker each one waits on, since the maintainer reads the report rather than the issue
bodies, and a stuck issue nobody names reads as ordinary backlog that simply never moves.

An issue that asks a question rather than states a defect is not ranked and is never guessed at.
It has no group, no worker, and no claim, so nothing in "Raising a Blocked Question" applies to it
except how the question travels. It goes to the maintainer at the end of ranking, per
Expand Down Expand Up @@ -486,17 +498,17 @@ body when it lands rather than leaving the issue to be closed by hand.
The run ends at either of two points, and they are different endings.

- **The backlog is worked out**, meaning a full re-rank finds no open issue this skill can act on.
That is not the same as zero open issues, since a backlog of nothing but maintainer questions is
a finished run. Report it as finished, with the questions put to the maintainer.
That is not the same as zero open issues, since a backlog of nothing but maintainer questions and
issues whose blockers still stand is a finished run. Report it as finished, with the questions put to the maintainer.
- **The session ends**, for a context limit or because the maintainer stops it. The run ends with
it, since the merge authorization was bounded to that session. What the rounds already landed
stands on its own in GitHub, and the branches, claim comments, and questions left behind are
what a later run reads to pick the work up. That later run is a new run, named again, not this
one continuing.

Report at every round boundary and at either ending: what merged to develop, what the promotion
pull request carries, what was newly filed, what is stopped and on which question, and what the
next round would pick.
Report at every round boundary and at either ending: what merged to develop, what the promotion pull
request carries, what was newly filed, what is stopped and on which question, what was held back and
on which blocker, and what the next round would pick.

## Mechanics Live Elsewhere

Expand Down
63 changes: 63 additions & 0 deletions .github/skills/comment-and-doc-style/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,69 @@ Sub-topics take a `-` after the comment marker, each elaborating a distinct item
# - template-compile-test builds one example device per template.
```

A change that adds a comment line in code or config fails the `comment-added` rule in the prose
gate. It reports a prose comment that opens its own line, in the diff's scope, and a diff counts a
modified line as an added one, so rewording one and re-indenting one each report it. That is the
rule's cost and the label is its answer, since a comment worth keeping takes the same label as a
comment worth writing. A trailing comment is out of scope, since which mid-line marker opens a
comment differs by language in ways a gate cannot settle from the marker alone. A docstring is not
a comment line, an instruction to a tool is not a comment the rule reads, and Markdown is out of
scope.

Deleting the comment is the ordinary answer, since the bullets above already say what one has to
earn. Where a comment is genuinely owed, and a rule requiring one is the clearest case of that, the
pull request carries the `comments` label and the gate stands down for that change. Locally a
`PROSE_ALLOW_COMMENTS` does the same, for as long as it is set to anything but a false spelling,
and `--allow-comments` does it for one run by hand. The label and the variable are separate deliberately, so a variable
left exported reaches the commit and never the merge gate.

Three things about reaching those escapes read as a broken gate until they are known. The label is read off the event that started the run, so a label added after a run fails
applies to the next push rather than to a re-run of that one, and labeling the pull request when it
is opened is what avoids the round trip. The label reaches a repository only when the fleet label
set is applied to it, so a repository that has not had that applied since the label was declared
cannot carry it, and there the finding names a remedy that is not yet available. And the local
escape reaches a commit before any of that, which is where a repository meets this rule first, since
a hook runs on every commit while the label decides a pull request.

## Issue, pull request, and commit references

No comment, no docstring, and no instruction document names an issue, a pull request, or a commit.
The surfaces are code and workflow comments, a docstring, a documentation comment, the Skills
trees, and the fleet's own rule documents: `AGENTS.md`, `AUDIT.md`, `CLAUDE.md`, `CODESTYLE.md`,
`GOVERNANCE.md`, `OPERATIONS.md`, `RESYNC.md`, `STANDUP.md`, `WORKFLOW.md`, and
`.github/copilot-instructions.md`. A tracker, a history, a plan, and a README outside those trees
are the repository's own narrative and keep their references, as do a commit message and a pull
request body, which are the surfaces a reference belongs on.

A record whose subject is the revision itself keeps it. A disproved-claims entry in
`.github/copilot-instructions.md` names the revision its proof was read against, since a proof is
true of one tree at one revision and an entry whose subject has moved is deleted rather than edited
to look current. The revision there is the record's own load-bearing field rather than a citation
beside a claim, which is the distinction this rule turns on.

Three reasons, and the first decides it.

- **A reference is a second lookup, and the reader is already holding the file.** A comment earns
its place by explaining the line under it to whoever reads that line now. A number they have to
go and resolve somewhere else is the opposite of that.
- **The lookup can be impossible.** A repository may be private, so a reference in content carried
into a public one names something its reader cannot open at all.
- **It pollutes the content.** A rationale block that takes one more citation per round is how a
file comes to teach a house style the rules forbid, which is what happened here.

Write the constraint the reference was standing in for, or drop the clause where the reference was
the whole of its value. "A prior version re-scanned from every unmatched open, which was O(N^2)"
carries what the reader needs, and the number of the round that found it does not.

The `issue-ref` rule in the prose gate reads the pattern-detectable half of this, an issue or pull
request reference in a comment, in a Python docstring, and in instruction text. Whatever a gate
does not reach is unlicensed all the same, since the rule binds a reader rather than a scan.

A commit is not a shape a gate can read, since a short SHA carries the same shape as a blob id, a
version fragment, and a fixture hash, so the text above is the whole of what covers that half. A
reference in a string literal is not read either: a test builds the numbers it asserts against, and
reading those would report a fixture rather than a claim about this repository.

## Character set

Agent-authored text is ASCII by default: documentation, code, comments, commit messages, and PR
Expand Down
45 changes: 31 additions & 14 deletions .github/skills/drive-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,14 @@ promotion PR once the fix lands, is the early exit this skill exists to prevent.

1. Isolate into a worktree per repo-worktree, based on the branch that skill's base rule names, develop unless the task is explicitly about main-only content, before the first edit.
2. Commit the work, then run `local-strict-review` and record its pass in the order that skill
gives, its diff receipt following the commit, and its carried-content record instead preceding
the commit where the change moves a carried canonical unit in the repository that authors one,
because that ledger is tracked. Then push the branch and open the feature -> develop PR if it
does not exist yet. A push refused by a `.husky/pre-push` hook, which the hub carries and a
gives, its diff receipt following the commit. Where the change also carries the canonical ledger,
that skill's carried-content records instead precede the commit, because that ledger is tracked.
Then push the branch and open the feature -> develop PR if it does not exist yet. Open it
carrying the `comments` label where the change adds or edits a comment line in code or config,
since the prose gate refuses one otherwise and reads the label off the event that started the
run, so adding it after a failing check applies to the next push rather than to a re-run of
that one.
A push refused by a `.husky/pre-push` hook, which the hub carries and a
repository has only if it adds one, is that gate working rather than an
obstacle to route around, and that
skill's refusal table says what each refusal means and what clears it.
Expand Down Expand Up @@ -141,9 +145,13 @@ maintainer when".

<!-- include: .agents/skills/pr-review-conduct/SKILL.md > Every finding ends in one of five outcomes -->

1. **Real, so fix it.** Take the fix through `local-strict-review` the same way the push that
opened the pull request went, per `pr-review-conduct` "Expected review loop", then reply with
the fixing commit SHA. A branch already reviewed once has not been reviewed for the fix, which
1. **Real, so fix it, and fix the class rather than the instance.** A reviewer samples rather
than enumerates, so sweep for the finding's siblings before replying and fix each one sitting
in a file the diff already touches or that this change itself made wrong, filing the rest, per
`GOVERNANCE.md` "Verification Discipline". That sweep is owed the first time the finding is
raised, not once it recurs. Take the fix through `local-strict-review` the same way the push
that opened the pull request went, per `pr-review-conduct` "Expected review loop", then reply
with the fixing commit SHA. A branch already reviewed once has not been reviewed for the fix, which
is the round the `local-strict-review` pass gets dropped on and the churn `local-strict-review`
exists to stop. For a finding on platform-specific code (PowerShell, a macOS- or WSL-only
path), "fixed" means executed on that platform, per
Expand All @@ -154,8 +162,12 @@ maintainer when".
impossible, or the rule that governs it. A finding that is factually correct but not this
repo's to fix (a verbatim-fidelity manifest entry byte-locking the section, ownership that
sits elsewhere) declines the same way: name the boundary and cite what proves it. Either shape
closes the thread on its own evidence. An assertion ("this is fine") does not close a finding,
a decline needs evidence the reviewer itself could check.
closes the thread on its own evidence, and the agent resolves such a thread itself rather than
leaving it for the maintainer. What makes that safe is the evidence being checkable by anyone,
a command and its output, the code path, the quoted rule, a byte-identical diff, so a decline
resting on anything weaker is not one of these. An assertion ("this is fine") does not close a
finding, and outcome 3's value call is the maintainer's, so that thread stays open until they
answer it.
3. **Real, fixable here, but deliberately left as is, a value call rather than a scope
boundary, so it is the maintainer's, not the agent's.** Reach for this only once outcome 2 is
ruled out, since a scope boundary declines on its own evidence and never needs this outcome at
Expand All @@ -164,11 +176,16 @@ maintainer when".
attention moves elsewhere. If the maintainer is not reachable right now, leave the thread open
and say so, rather than treating the intention to ask as the asking.
4. **Real and worth doing later, so file the issue first, then reply with its link.** A deferral
noted only in a thread is lost the moment the PR merges.
5. **Keeps recurring, so fix the class, not the instance.** A finding raised repeatedly against
correct code means the code is not communicating something: add the comment, sharpen the name,
narrow the interface, or fix the rule if the rule is wrong. Bouncing the same point across
rounds is the signal to escalate the rule itself, not to keep re-arguing it.
noted only in a thread is lost the moment the PR merges. File it in the repository where the
fix has to land, which for a finding against carried content is the repository that authors
that content rather than the one carrying it, since an issue filed where nobody may make the
fix is a deferral nobody can close.
5. **Keeps recurring although the class was swept, so the rule is what needs fixing.** A finding
raised repeatedly against correct code means the code is not communicating something: add the
comment, sharpen the name, narrow the interface, or fix the rule if the rule is wrong.
Bouncing the same point across rounds is the signal to escalate the rule itself, not to keep
re-arguing it. This is not where the class sweep lives, outcome 1 already owing that on the
first instance, and reaching here means the sweep ran and the finding came back anyway.

**A disposition decided on one PR does not carry to the next.** The same finding shape recurring
on a sibling repo or PR, even within one batch or one session, gets its own outcome: its own
Expand Down
Loading
Loading