Adapting To Harness Updates
ASecurityAdapts house-rules to a newer Claude Code release or Claude model, so the package complements the harness, improves on it, and adopts what a release offers instead of duplicating or contradicting it. Surveys what moved since the last dated survey, classifies every affected rule and mechanism, verifies each duplicate or conflict adversarially, applies the rewords and adoptions, records a dated survey section, and prepares the release pull request, or logs a release with nothing to adopt on one...
- 2 stars
- 0 votes
- 0 copies
- 3 views
- Added September 29, 2026
Works with
Security analysis
100/100Pro scans all 5 files and shows the line behind each finding
npx -y skills add dubbl-a/house-rules --skill adapting-to-harness-updates --agent claude-codeAre you the author of Adapting To Harness Updates?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dubbl-a-adapting-to-harness-updates)---
name: adapting-to-harness-updates
description: Adapts house-rules to a newer Claude Code release or Claude model, so the package complements the harness, improves on it, and adopts what a release offers instead of duplicating or contradicting it. Surveys what moved since the last dated survey, classifies every affected rule and mechanism, verifies each duplicate or conflict adversarially, applies the rewords and adoptions, records a dated survey section, and prepares the release pull request, or logs a release with nothing to adopt on one rolling issue. Use when the user says "adapt to the latest Claude updates", "a new Claude Code version is out", "a new model shipped", "re-survey the harness", or "is house-rules still current with Claude Code".
disable-model-invocation: true
---
# Adapting to harness updates
The package's standing test: complement, improve, and adopt what the harness offers, and never
duplicate or conflict with it unless that is declared on purpose, with the native floor named. A
release is also a chance to use, teach, or retire something for a native capability, so the package
updates as the harness does and does not only log it. A harness release can break the test three ways. It can ship natively what a rule or mechanism does, so the rule becomes
a duplicate. It can change behavior a rule describes, so the rule becomes a conflict. Or it can add
a floor a rule should cite. A new model can also make a rule's prompting style dated even when
every fact in it still holds. This skill finds all four and fixes them, and finds what is worth adopting.
## Default path
1. **Enter a worktree off `origin/main`** before anything else. The survey workflows read a clean
checkout, so point them at a second worktree nobody edits.
2. **Find the baseline.** The last surveyed version and date are in the final dated section of
`docs/handbook/sources/harness-survey.md`. The latest re-survey section there names the
research bank directory. The model facts of record are in the "ladder" paragraphs of
`docs/handbook/claude-code.md`. `npm run check:harness` prints that baseline and every
changelog version since it. The scheduled `harness-watch` Action runs the same check and,
when the list is not empty and the `HARNESS_ROUTINE_URL` and `HARNESS_ROUTINE_TOKEN` secrets
are set, fires a cloud routine once per new version; it opens no issue. The routine runs
the delta addendum path and opens a PR on `claude/harness-addendum-<version>`; its prompt,
kept on claude.ai, decides whether that PR only proposes the rewords or applies them, reviews
them, and prepares the release. When that PR exists, start from it rather than re-triaging. Compare against `claude --version` too.
3. **Run the gate under the new CLI** before reading anything: `npm run verify` on a clean
checkout. The plugin validator runs with `--strict` on the plugin folder
(`scripts/check-plugin.mjs`), so a warning a release adds fails the gate, and a changelog
triage can read that entry as noise.
4. **Collect the delta** into the scratchpad, one source per agent:
- the Claude Code changelog sections since the baseline
(https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md), the only source
that dates a change;
- the models overview and model-config pages, for new models, defaults, prices, and effort;
- the harness's own prompt audit over this repo (`/doctor prompt-audit` in a session). It
reports stale paths, dead commands, contradicting instructions, and prompting patterns
written for older models. Beside it, run `/claude-api harness-audit` and ask it to cover
`plugins/house/hooks/` and `plugins/house/orchestration/`, the text they inject: it finds
harness code written for older models (injected reminders, session-start code, context
management). Treat its diff like a prompt-audit finding.
- the `/deep-research` fork: run `node scripts/house/check-deep-research-upstream.mjs --json`
and read the verdict by exit code. 0: nothing to do. 1 with a drift verdict: run it again with
`--install`, set `BASELINE` to the new version and sha in the plugin source
(`plugins/house/modules/claude-code/files/`), then `node plugins/house/scripts/house render
--apply --repo .` to refresh the rendered copy and `.house/lock.json` (never hand-edit the
rendered copy, `check:house` flags it as tampered), and note it in the PR. 1 with "binary not
found" or "script not found", or 3: report it in the PR body rather than failing the run.
2: SUNSET, say so in the PR and propose deleting the fork and the `/deep-research` directive in
`plugins/house/orchestration/ORCHESTRATION.md`.
5. **Choose the depth.** Use the judgment below. Say which one you picked and why.
6. **Triage and classify.** Every candidate gets one disposition: DUPLICATE, CONFLICT, COMPLEMENT,
UNIQUE, or OPPORTUNITY (a finding can be COMPLEMENT and OPPORTUNITY at once; list it under both;
definitions in [references/dispositions.md](references/dispositions.md)). Grep the
rule files, `plugins/house/orchestration/ORCHESTRATION.md`, the agents, the hooks, the skills,
and the evals for any text that claims the old behavior. Also list `gh issue list --state open`
and the commits since the previous addendum's commit over `plugins/house/hooks`,
`plugins/house/modules`, and `plugins/house/skills`. A hit that an open issue proposes building
or rests on, or that a newer mechanism overlaps, gets a disposition like any rule; comment on
that issue, never close it.
Beside each release's triage, review `RISKY_AGENT_SETTINGS` in `plugins/house/payload/check.mjs`
against the release notes: a new, renamed, or removed setting that redirects the API endpoint,
approves servers wholesale, or bypasses permissions belongs on that list. Report the proposed
change in the PR body; never edit the checker inside the triage run.
7. **Verify.** A DUPLICATE or CONFLICT counts only after two skeptics fail to refute it. One reads
for doc accuracy and one for enforcement reality, and each defaults to refuted when unsure. The
session then reads the cited line and the rule text itself. Anything you can settle by running
it (`--help`, a hook with a real payload, the checker), run.
8. **Act on the disposition.** Resolve a conflict in the rule or hook. Retire a duplicate, or keep
it as a declared duplicate that names the native floor. Reword a complement only where the rule
claims or implies a floor, and cite the fact. Record a unique and leave it. For an
opportunity, size it. A small adoption (a rule clause, an Anchor or receipt update, a template
or settings line, a constant in the checker's lists) is applied in the same PR, sent to a
refuter, and carries the release prep (version bump per ADR 0011 and 0012 and a CHANGELOG
section) so it reaches adopters. A larger adoption (a new hook or hook event, a change to the
guard, the agents, the workflow fork, or a new checker family) is built in the same PR too, with
its tests, refuted until clean, and named as larger in the PR body; a change to what the guard
denies is the breaking class under ADR 0011. A change that would weaken a guard, loosen a deny,
or edit `.github/workflows/` is written only as a proposal in the PR body, never applied. When a
release offers nothing to change beyond the survey record, open no PR: comment the triage on the
open issue titled `Survey pending: Claude Code updates checked, nothing to adopt yet` (open it
if none exists), and let the next PR record those versions and close it. A prompt-audit
finding changes wording, never a rule's claim, and it has to fit the rule shape the checker
enforces. Before accepting an agent's deviation, a reviewer's "non-blocking" note, or a
"known limit", name the house rule or doc recommendation that governs it and take the
recommended option unless you can say why not.
9. **Run the model path when the delta calls for it.** When the delta adds a model, changes a
default model or effort, or Anthropic's model guidance changed, follow
[references/model-evaluation.md](references/model-evaluation.md) to decide each role's model
and effort, and fold its changes into this run's PR. A local session runs all of it; the cloud
routine runs the part that needs no transcripts and opens a `Re-measure:` issue for the rest.
10. **Record** in the three places described in
[references/recording-and-release.md](references/recording-and-release.md). Then prepare the
release through the flow there; the merge hands the rest to CI.
## Choosing the depth
**Delta addendum** (the default). Triage only the changelog sections and model changes since the
baseline, with one researcher per source. Classify the hits against the rule surface, then write a
dated `## Addendum` section. This fits a release or two of fixes and small features, and a model
change whose effect is on tiers and effort.
**Full re-survey.** Re-research every harness area from the docs, classify every rule heading and
mechanism, verify, synthesize, and run a completeness critic. Then run a gap pass over whatever
the critic names. Run the changelog triage from the delta path beside it: doc pages carry no dates,
so without the changelog a full run cannot tell a current page from a stale one. Its job is the
drift no changelog line records, so only two signals call for it:
- a quarter has passed since the last full re-survey;
- a Claude Code major version ships, since a major can restructure the docs across many areas.
Route every other signal to the narrower tool that answers it:
- a new model family, or a changed default model or effort: the model path in step 9, since a
model moves tiers and effort, not what a harness feature does;
- the prompt audit flags patterns across many files: a wording pass under the prompt-audit rules
in [references/dispositions.md](references/dispositions.md), since the survey's
classifiers do not judge wording;
- an addendum turns up a conflict it cannot resolve in its own PR, conflicts in two or more areas
whose banked facts predate the change, or the last critic named areas nobody has researched
since: a gap run over just those areas and the rule files they touch (a cloud routine run cannot
launch one, so it names the gap run and its areas in the PR body, or in its comment on the
survey-pending issue when it opens no PR);
- a delta that touches several areas needs nothing more, since the addendum classifies every
changelog entry whatever its area.
The scripts are `scripts/house-vs-harness-audit.js` (main) and `scripts/house-vs-harness-gap-audit.js`
(gap). Each takes `args.repo` (an absolute path to the clean worktree) and `args.date`. The gap run
also takes `args.areas` and `args.targets`, from the critic's findings or from the addendum's
conflicts, plus `args.context`, a sentence stating what prompted the run. Pass it every time: without
it the addendum says a main audit and its critic came first, which is false for a run an addendum
prompted. They run through the
Workflow tool, which needs the user's explicit opt-in. Before asking, state the agent count: the
main run is one researcher per area, one Opus classifier per module plus one for mechanisms, two
skeptics per duplicate-or-conflict claim, and two synthesis agents.
## Hazards
- **Most findings are attribution, not substance.** The largest re-survey so far found no
duplicates and no conflicts, but did find 27 rewords where a rule claimed a native floor the docs
do not state. Before any rule says the harness does something, the fact has to exist in the bank
or on a fetched page.
- **Skeptics see only duplicates and conflicts.** A complement's proposed reword reaches the
report without being verified, and it can overstate the harness as easily as the old text did.
Send a refuter to check each reword against the banked facts before it ships.
- **A naive heading count skips a rule.** Every rule file ends in `## Don't`, and some real rules
start with "Don't". Count headings by exact match, not by prefix.
- **Doc pages carry no dates.** Record the fetch date beside every citation. If the changelog and a
page disagree, trust the changelog on when and the page on what.
- **Model settings live outside the repo.** The subagent floor and per-model effort are user
settings. When a model change moves them, tell the user what to set; never edit their settings
from here. A newly released model runs at its own default effort until a per-model level applies.
- **A prompt-audit finding can collide with house shape.** An audit flag on a prohibition list or
a hard number is a style signal. The `## Don't` section and the length ceilings are checked shape
and ratchets, so changing them is a package decision under the ADRs, not a reword.
- **The branch guard reads command text.** Write PR bodies and commit messages that mention git
verbs near branch names with the Write tool, then pass them with `--body-file` or `-F`.
- **An addendum is checked against main as it stood.** A mechanism or plan added afterwards is never
compared with it: 2.1.304's resume warning was marked no impact, then G1 (PR #320) shipped
overlapping it. Before building a hook, rule, or skill, read the addenda since the last full
re-survey for native overlap.
- **Subagents do not commit.** The session commits and pushes whatever an agent prepared.
## When an edit here takes effect
This skill is repo-local. An edit reaches the next session that invokes it by name, and nothing
ships to adopters. What reaches adopters is the rule and mechanism changes it produces, through a
release: once the maintainer merges it, `.github/workflows/release.yml` tags and publishes it and
merges each adopter's `render --apply` pull request. After a failed sync leg, use "Re-run failed
jobs" on that run, not "Re-run all jobs".
Files in this skill
- SKILL.md
- references/dispositions.md
- references/recording-and-release.md
- scripts/house-vs-harness-audit.js
- scripts/house-vs-harness-gap-audit.js
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.