repo-harness-migrate

Solid

Migrates older Claude/Codex workflow repos to the current tasks-first harness while preserving or archiving user-authored docs and hooks.

AI & Automation 397 stars 27 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
87
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
64
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# repo-harness-migrate Use this command when inspection finds legacy workflow docs or stale harness artifacts. ## Protocol 1. Confirm the target repo path. 2. Run `bun scripts/inspect-project-state.ts --repo <repo> --format text`. 3. Dry-run the canonical transaction with `repo-harness adopt --repo <repo> --dry-run` when legacy docs exist. 4. Apply with `repo-harness adopt --repo <repo>`; it archives legacy docs and removes only ownership-proven generated files. 5. Verify task workflow, transaction manifest, and archived legacy content. ## CHECKPOINTS - CHECKPOINT: before applying migration, confirm the dry-run only removes `known_generated` files and preserves user-authored legacy content. ## Failure Modes - If the inspector reports `mode: initialize`, route to `repo-harness-init`. - If the inspector reports `mode: audit` with no drift, route to `repo-harness-check` or `repo-harness-upgrade`. - If legacy docs contain uncertain user content, archive first and do not delete directly. ## Boundaries - Preserve or archive user-authored content; never delete uncertain legacy docs directly. - Remove only files marked `ownership=known_generated` by the workflow contract. - Do not treat hooks as the only source of truth; the repo contract lives in repo files.

Details

Author
Ancienttwo
Repository
Ancienttwo/repo-harness
Created
4 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category