upgrade-harness

Solid

Drift detection + apply for a scaffolded harness. Re-renders the template with the same vars, computes added/removed/changed file plan, and applies with Git-style conflict markers or .rej files. Default is dry-run.

AI & Automation 647 stars 78 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
94
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
86
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# upgrade-harness > Codex skill: drift detection + apply for a scaffolded harness. ## What it does Re-renders the template that produced the harness against the current generator version, using the same `vars` the original scaffold used. Computes a 3-bucket plan: | Bucket | Meaning | |---|---| | **added** | upstream template now has files the harness doesn't | | **removed** | upstream template no longer has files the harness does | | **changed** | upstream and harness differ; sub-classified `clean` vs `conflict` | A **clean** change means the harness's version equals the original generation — apply safely. A **conflict** means the user edited the file post-scaffold; the apply step writes either Git-style inline markers or a `.rej` sidecar for manual merge. ## Usage from Codex ``` /upgrade-harness # dry-run on cwd /upgrade-harness path=./my-harness /upgrade-harness path=./my-harness apply=true /upgrade-harness path=./my-harness apply=true conflict=rej ``` ## Equivalent CLI ```bash harness upgrade ./my-harness # dry-run harness upgrade ./my-harness --apply # apply, inline conflicts harness upgrade ./my-harness --apply --conflict=rej # apply, .rej sidecars ``` ## Lifecycle position ``` scaffold (create-agent-harness) ↓ edit (you) ↓ upgrade (this skill) <- catches up to the latest template ↓ sign / verify / publish ``` ## Exit codes | Code | Meaning | |---|---| | 0 |...

Details

Author
ruvnet
Repository
ruvnet/metaharness
Created
2 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

implementation-harness-upgrade

Use when a project already has an installed `.harness/` and the user wants to pull in newer harness changes shipped by this plugin — phrases like "upgrade the harness", "update my harness", "pull in the latest harness changes", "is my harness up to date", "/upgrade-harness". Reconciles the installed `.harness/` against the plugin's bundled reference: refreshes plugin-owned mechanism files and adds new `harness.env` knobs, REPORTING first and asking before every change, and NEVER touching the backlog, worklog, ledgers, or the user's config values. Commits AND PUSHES the result by default once applied — unless told otherwise this conversation or by the project's own CLAUDE.md, in which case it leaves the change uncommitted as before. Also ADOPTS legacy or hand-forked installs (no version marker, hand-maintained since install, or a pre-plugin hand-ported harness) — classifying each difference as plugin-newer vs local-bespoke vs conflict before anything is overwritten. Requires a harness already scaffolded (use i

0 Updated 1 months ago
RyanMKrol
AI & Automation Listed

harness-update

Use when asked to update the harness, pull the latest template/guardrail changes, or sync a project with the agent-harness repo. Works in any project previously scaffolded from an agent-harness template.

2 Updated 1 weeks ago
ryan75195
AI & Automation Featured

repo-harness-upgrade

Refreshes an already-installed repo-harness harness using manifest-owned upgrade actions from assets/workflow-contract.v1.json.

431 Updated today
Ancienttwo