Migrate
A Claude Code and Codex plugin that scaffolds AI-native development practices into new projects. jig adds a repeatable spec, implementation, review, and memory workflow to AI-assisted software projects.
npx -y skills add ramboz/jig --skill migrateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Inventory an existing spec-driven project and apply bounded migrations to jig defaults: `report`, `adopt-layout`, `rename-decisions`, `split-slices`, slice-to-spec, `seed-decisions`, and `copy-machinery`. Use when the user says migrate this project to jig, adopt jig here, this repo already has specs — set up jig, scaffold-init refused — what now; introduce jig to an existing codebase; apply ADR-0004 to my project; migrate flat slices into nested specs; seed the lightweight-decisions home; or copy jig's machinery into my project. Reports are read-only; mutations support dry runs where available, refuse conflicts before writing, and preserve originals in the agentic slice-to-spec workflow.
SKILL.md
29.3 KB, as published. Nobody here has run it
Spec 008 created this skill from scratch. The deterministic filesystem walk + verdict logic + report rendering live in
migrate.py; this SKILL.md drives the judgment layer (when to invoke, how to interpret ambiguities, what operations to suggest in what order).
What this skill does
Closes the "already spec-driven" gap that scaffold-init doesn't handle:
projects that organically grew the same workflow jig codifies but landed
on different conventions (folder names, filename prefixes, slice
topology). Direct example: a project with docs/slices/ (flat) and
docs/decisions/ (validator-style) — scaffold-init would not detect
it as scaffolded and would either refuse confusingly or pollute the
tree.
migrate flips that around: detect existing shape first, then propose
a migration plan, then (in later slices) apply the rename / restructure
operations.
migrate.py exposes six subcommands:
report— strictly read-only inventory + plan.adopt-layout— validates an existing custom-root corpus and writes only itsscaffold.jsonsentinel/config; supports--dry-run.rename-decisions— applies ADR-0004's rename. Idempotent; refuses on conflict; has a--dry-runmode;--host claude|codexselects whether cross-reference rewrites scanCLAUDE.md/.claude/orAGENTS.md/.codex/.split-slices— extracts embedded slice sections into sibling slice files.seed-decisions— seedsdocs/decisions/lightweight-decisions.mdfrom jig's template. Idempotent; supports--dry-runand--docs-root; never overwrites an existing file.copy-machinery— copies jig runtime machinery into the target's host-local scaffold runtime;--host claudewrites.claude/, and--host codexwrites.codex/.
How to use
Run the migration report
python3 "${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py" report \
<project-dir> [--docs-root <relative-root>]
<project-dir>— path to the project root (e.g./path/to/repo,.for cwd).--docs-root .— inventory a track-local corpus whosespecs/,decisions/,workflow.md, andarchitecture.mdlive directly under the selected subproject instead of underdocs/.
Adopt an existing custom-root corpus
Preview first, then apply:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py" \
adopt-layout <subproject-dir> --docs-root . --dry-run
python3 "${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py" \
adopt-layout <subproject-dir> --docs-root .
The operation refuses incomplete/ambiguous corpora and existing or malformed
sentinels before mutation. Apply writes only <subproject-dir>/scaffold.json
using scaffold-init's canonical manifest builder; it does not move or rewrite
the existing artifacts. Afterward, workflow.py transition, status-board,
and ADR helpers discover the subproject through that sentinel.
Run the rename-decisions migration
Once report has been reviewed and the verdict is adoptable, the
recommended sequence is:
# 1. Preview the plan (no writes).
python3 "${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py" \
rename-decisions <project-dir> --dry-run
# 2. After reviewing the planned operations, apply them.
python3 "${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py" \
rename-decisions <project-dir>
What it does, in display order:
docs/adrs/→docs/decisions/(directory rename, atomic).- Per-file renames:
NNN-<slug>.md→adr-NNNN-<slug>.md(pad 3-digit to 4-digit; addadr-prefix where missing). - Cross-reference rewrites in text files under
docs/,CLAUDE.md, and.claude/by default. With--host codex, rewrites scandocs/,AGENTS.md, and.codex/instead. The helper itself (migrate.pyand its fixtures) is never rewritten.
Refusal cases (exit 2, no mutations):
- Both
docs/adrs/anddocs/decisions/present (manual merge first). - Two source files normalize to the same target name (collision).
<project-dir>missing, not a directory, or unreadable.
No-op cases (exit 0):
- Neither dir present, OR all files already on the canonical shape — emits "already aligned: nothing to do" and returns.
Run the seed-decisions operation
seed-decisions backfills docs/decisions/lightweight-decisions.md — the
home /jig:memory-sync's decisions.py add-lightweight records into, and
the one the Stop-hook decision nudge points at.
Reach for it when report flags the gap, or when a project's
add-lightweight fails because the file is missing. Every project that
adopted jig before the lightweight-decisions feature landed needs it:
scaffold-init seeds the file only at init and cannot be re-run on an
already-scaffolded project, so there was previously no supported way to
obtain it (bug 012 / #109).
# preview
python3 "${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py" \
seed-decisions <project-dir> --dry-run
# apply
python3 "${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py" \
seed-decisions <project-dir>
Idempotent — a second run reports "already present" and exits 0.
It never overwrites. If the file exists but is not in jig's format (no
## Entries heading — typically a hand-rolled table an agent invented from
the old shapeless nudge), the command refuses with exit 1 and names both
ways out: add an ## Entries heading to the existing file (entries append
at end-of-file, so existing content is undisturbed), or move it aside,
re-run, and port the entries into the seeded template. Deciding which is a
judgment call about the owner's content — make it with the owner, not for
them.
Run the copy-machinery operation
copy-machinery brings a migrated project to scaffold-mode parity —
the same host-local runtime shape /jig:scaffold-init produces by
default for greenfield projects. See the dedicated section
## Copying machinery into your project
below for the full description.
Quick reference:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py" \
copy-machinery <project-dir>
Exit codes
0— verdict isadoptableORnot-yet-spec-driven(the report is the deliverable regardless of verdict).1— verdict ispartial(borderline; report still emits, but/jig:scaffold-initmay be a better fit).2— user error (missing argument, dir doesn't exist, target is a file not a directory).
Verdict logic
migrate counts four migration triggers in <project-dir>:
- Spec-or-slice dir (
docs/specs/ordocs/slices/). - Decision-or-ADR dir (
docs/decisions/ordocs/adrs/). - Workflow doc (
docs/workflow.md). - Architecture doc (
docs/architecture.md).
| Triggers | Verdict | Recommendation |
|---|---|---|
| 3 or 4 | adoptable | Proceed with the suggested operations |
| 2 | partial | Borderline — scaffold-init may be a better fit |
| 0 or 1 | not-yet-spec-driven | Run /jig:scaffold-init instead |
Report structure
Six sections, in fixed order:
- Inventory — table of detected artifacts (paths + counts + shape notes). Inventories everything the helper found, including items that are inventoried-only (spikes, custom skills, custom agents).
- Mapping — table of "current path/name → jig target name". For
ADR files this includes the 3-digit-to-4-digit pad and the
adr-prefix add (per ADR-0004). For flat slices, the row points to the Ambiguities section because no automated topology mapping exists in slice 008-01. - Conflicts — situations that block specific migration operations
(e.g.
docs/adrs/ANDdocs/decisions/both present meansrename-decisionsrefuses on this project). Empty if no conflicts. - Ambiguities — judgment calls the user must make. Common entries:
"flat slices reference M1–M6 milestones — map each to a parent
spec?"; "custom skills overlap jig's stock set — replace or
layer?"; "CLAUDE.md is 59KB with sprint log — port subset or
leave?"; "N ADRs use a status format the
→ DONEgate can't read" (a bare inline**Status:** Acceptedline is neither frontmatterstatus:nor a## Statussection, so the first ADR-dependent→ DONEtransition would refuse — add one of those two encodings). Note thatadoptableattests to directory/filename structure, not deep per-artifact format conformance; this Ambiguities entry is how the report surfaces the ADR-status gap the verdict alone can't. - Contract surfaces detected — (added by spec 022-02) flags
external-interface artifacts already on disk and prose API contracts
that would benefit from standard schemas (OpenAPI / JSON Schema /
AsyncAPI /
.proto/ GraphQL SDL). Four detection types: (a) existing schema artifacts, (b) prose API contracts in canonical doc files, (c) env-contract triple (markdown +.env.example+ checker), (d) hand-typed boundary types (e.g.problem-details.ts). Each detected surface gets a one-line classification + recommendation; "No contract surfaces detected" prose when empty. Companion to the/jig:contractsskill's per-surface recommendation table. - Operations — ordered list of
migrate.py <subcommand>calls the user should run, with--dry-runfirst. For slice 008-01, the only operations mentioned are future subcommands marked(slice 008-NN, not yet implemented)— so the report's main value right now is the first five sections.
When to invoke
Auto-trigger phrases (in this SKILL.md's description):
- "migrate this project to jig"
- "adopt jig here"
- "this repo already has specs — set up jig"
- "scaffold-init refused — what now"
- "introduce jig to an existing codebase"
Typical session flow:
- User invokes the skill against an existing project.
- Helper runs
migrate.py report <dir>. - SKILL.md (this file's body) helps interpret ambiguities: what's a real conflict vs. just an open question? What's safe to defer?
- User makes the judgment calls flagged in Ambiguities.
- Once future slices land (008-02
rename-decisions, 008-04slice-to-spec), the user runs those operations from the report's suggested order, with--dry-runfirst.
End-to-end example
# 1. Inventory the project.
python3 .../migrate.py report /path/to/existing-project
# Expected output (when 3+ triggers are present):
#
# # Migration report — `/path/to/existing-project`
#
# **Verdict:** adoptable
#
# _Three or more migration triggers detected. Proceed with the
# operations below._
#
# ## Inventory
#
# | Path | Count | Note |
# |------|-------|------|
# | `docs/slices/` | 27 | flat slice files (validator-style) |
# | `docs/decisions/` | 22 | decision records (ADR-0004 aligned) |
# | `docs/spikes/` | 4 | spike memos (inventoried only) |
# | `docs/workflow.md` | 1 | workflow doc present |
# | `docs/architecture.md` | 1 | architecture doc present |
# | `CLAUDE.md` | 1 | 59231 bytes (larger than baseline) |
#
# ## Mapping
#
# | Current | jig target | Note |
# |---------|------------|------|
# | `docs/decisions/` | `docs/decisions/` | kept (already aligned) |
# | `docs/decisions/adr-001-foo.md` | `docs/decisions/adr-0001-foo.md` |
# pad to 4-digit + ensure `adr-` prefix |
# | `docs/slices/slice-NN-*.md` (27 files) | topology question |
# no automated mapping in 008-01 |
#
# ## Conflicts
#
# _None detected._
#
# ## Ambiguities
#
# - **Flat slices reference 6 milestone(s) (M1, M2, M3, M4, M5, M6).**
# Under jig's nested model, each could become a parent spec...
#
# ## Operations
#
# Suggested order (each operation is `--dry-run` first):
#
# 1. **`migrate.py rename-decisions <dir>`** (slice 008-02, not yet
# implemented) — apply ADR-0004 rename...
# 2. **`migrate.py slice-to-spec <dir>`** (slice 008-04, not yet
# implemented) — interactively map flat slices...
Copying machinery into your project
copy-machinery brings a migrated project to scaffold-mode parity —
the same host-local runtime shape /jig:scaffold-init produces by
default for greenfield projects. After running it, the project owns its
own copy of jig's skills, agents, hook scripts, templates, and hook
registration.
The dev can edit those files in their own repo, and they ride along
under version control.
When to use it:
- After
rename-decisionshas applied ADR-0004 to existing ADRs. - After
split-sliceshas split any monolithicspec.mdfiles with embedded slices into the file-per-slice layout. - Standalone, when a project already has spec-driven layout but
the dev wants the machinery in their tree (rather than only in the
installed plugin under
${CLAUDE_PLUGIN_ROOT}).
migrate.py report will surface this subcommand in the Operations
section when the verdict is adoptable or partial and the default
host scan does not find pre-existing jig-managed skills. Codex users can
also run the explicit copy-machinery --host codex command when they
want Codex runtime machinery even if the conservative report wording is
not the deciding signal.
Host selection:
--host claudewrites Claude scaffold machinery under.claude/and is the source-checkout default.--host codexwrites Codex scaffold machinery under.codex/.--host autois the CLI default; helpers copied under.codex/skills/infer Codex, and all other invocations infer Claude.
How to run it:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py" \
copy-machinery <project-dir>
What it does:
- Copies skills into the host runtime (
.claude/skills/jig-<name>/or.codex/skills/jig-<name>/), rewriting helper paths in SKILL.md bodies to that runtime. - Copies agents into the host runtime (
.claude/agents/jig-*.mdfor Claude,.codex/agents/jig-*.tomlfor Codex). - Copies hook scripts into the host runtime, pinning each script's mode
to
0o755. - Copies jig's
templates/tree into the host runtime (.claude/templates/or.codex/templates/), rewriting helper paths in*.md.templatebodies to that runtime. This is what lets the copied helpers seed from a template with no plugin root —decisions.py(lightweight-decisions),adr.py new,migrate.py seed-decisions,workflow.py's slice-template render, andmemory.py's people.md bootstrap all resolveparents[2]/templates/. Claude gained this in slice 095-01; Codex has always had it. Re-runcopy-machineryfrom a jig install to refresh a project scaffolded before 095-01 — it is the repair pathdecisions.pynames when a template is unreachable. - Generates or merges host hook registration.
--host claudeuses.claude/settings.json, with per-entrymetadata.managed_by_jig: truemarkers.--host codexuses.codex/hooks.json, with a schema-clean top-levelhooksobject.
Subsequent runs are idempotent: re-running copy-machinery overwrites
the copied files in place and updates jig-managed hook registration. On
--host claude, non-jig hooks in .claude/settings.json survive
untouched. On --host codex, jig-managed .codex/hooks.json is
regenerated as a whole because Codex hook registration is a single file
and jig ownership is detected from generated jig hook command paths.
Refusal: unmanaged hooks
If the host hook configuration already exists and is not jig-managed,
copy-machinery exits non-zero (exit code 3) and emits the
UnmanagedHooksError refuse-message to stderr — no filesystem writes
occur. For --host claude, this means .claude/settings.json has
hooks under hooks.<event> but none carry the managed_by_jig marker.
For --host codex, this means .codex/hooks.json exists and does not look
like a jig-generated hook config. This matches the same safety stance
scaffold-init enforces.
The documented escape is --force:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py" \
copy-machinery <project-dir> --force
With --force, --host claude appends jig's hooks alongside existing
entries, which survive unchanged. With --force, --host codex
replaces an unmanaged .codex/hooks.json with jig's generated hook
registration. Use the Codex force path only when you are sure the
existing hook config should be replaced or has been backed up.
Relationship to scaffold-mode
migrate.py copy-machinery is the migration-path equivalent of
scaffold-init --with-machinery (default since slice 016-03). Both
end up calling the same host-aware copy_machinery(plugin, target, *, force, host) façade in scaffold.py, so the resulting host runtime
shape is equivalent regardless of which adoption path produced it.
Closing this gap for Claude was spec 021's reason for being; spec 059-01
extends the same adoption path to Codex.
Agentic slice-to-spec migration
For projects where migrate.py report returns Verdict: adoptable
AND the inventory shows flat slice files under docs/slices/ rather
than nested docs/specs/NNN-slug/spec.md form, there is no
deterministic helper to do the grouping (slice 008-04 was deferred
deliberately — see Non-goals on spec 020). Instead, the LLM driving
the migration follows the algorithm below. Output is a new
docs/specs/ tree; originals stay where they are until the caller
verifies and chooses to clean up.
When to invoke
After migrate.py rename-decisions (so ADR filenames are jig-shaped),
when the report's Ambiguities section names
"Flat slices reference N milestone(s)" or similar. The follow-up
is this agentic workflow. Do NOT run it if specs already live under
docs/specs/NNN-slug/spec.md — that's already the jig shape.
Algorithm
For each migration, in order:
- Read milestone summaries. Walk
docs/milestones/*.md(or whatever the source's milestone-doc convention is). For each milestone, capture the title, scope, and slice list. These become the basis for spec naming. - Decide milestone → spec mapping. Each milestone becomes one
spec folder. Naming convention:
docs/specs/NNN-mM-<title-slug>/where:NNNis a 3-digit spec number (start at 001, ascend per milestone order — match the project's chronology when possible);mMis the milestone tag lowercased (e.g.m1,m4.5);<title-slug>is a slug of the milestone's headline ("EDS thin E2E" →eds-thin-e2e). Skip milestones that have no slices.
- For each source slice file:
- Read its body. Locate the milestone tag (prose
- **Milestone:** M1, frontmattermilestone: M1, or filename prefix — adapt to what the source uses). - Locate its status. The source's vocabulary is usually 4-state — translate per the table below.
- Locate the heading. Source shape is usually
# Slice NN — Title(H1, single number, no spec prefix). Transform to## Slice NNN-NN — <slug-of-title>(H2, jig spec-slice fragment, slug-form title). Use the target spec'sNNNfrom step 2 and the original slice number for the secondNN. - Prepend a frontmatter block (frontmatter shape per spec 015
- 018):
Leave--- status: <translated-status> dependencies: [] last_verified: ---dependencies: []for now — backfilling structured deps from prose "Depends on" lines is per-slice judgment work, not bulk-migration scope. - Preserve the original slice body verbatim AFTER the new heading (Status / Milestone / Depends on / Estimated size prose lines included — they're harmless trailing context).
- Read its body. Locate the milestone tag (prose
- Write new files under
docs/specs/NNN-mM-<title-slug>/:spec.mdsynthesized from the milestone summary (header + overview +## Decomposition+## Sliceslink list).- One
slice-NN-<original-shortname>.mdper source slice. Keep the original filename's shortname (no re-slugging) so existing cross-references resolve.
- Do NOT delete originals. The source
docs/slices/and milestone summaries stay in place. Caller decides when to clean up after verifying. - Verify with jig helpers. Run the following against the new
spec dir and confirm clean output:
# All slices resolvable python3 -c "import sys; sys.path.insert(0, 'skills/_common'); \ from parsing import iter_slices; \ [print(l.label) for l in iter_slices('docs/specs/NNN-mM-slug/spec.md')]" # Lint walks all slices, no AC contradictions python3 "${CLAUDE_PLUGIN_ROOT}/scripts/spec_lint.py" docs/specs/NNN-mM-slug/spec.md # Status board generates the table python3 skills/spec-workflow/workflow.py status-board <project-dir>land.py prepare --no-deviation-log(slice 019-01) lands without complaining about absent deviation logs on pre-jig DONE slices.
State translation
| Source (4-state) | Jig (7-state) | Notes |
|---|---|---|
Draft | DRAFT | Direct. |
Ready | READY_FOR_IMPLEMENTATION | "Ready" in 4-state means "ready to start work" — NOT "ready for spec review." Map past READY_FOR_REVIEW. |
In Progress | IN_PROGRESS | Direct. |
Done | DONE | Direct. |
Deferred (rare) | DEFERRED (spec 014) | If the source uses a Deferred state with a resolution trigger. |
REVIEWED and RECONCILED are intermediate gates the source never
had. Pre-jig slices that landed under the old lifecycle skip those
gates by definition — the auto-tick on jig's REVIEWED→RECONCILED
transitions doesn't fire for them and shouldn't. Use spec 019's
--no-deviation-log flag when landing these retroactively.
Worked example
The shallow-validator M1 dogfood (2026-05-15) is the canonical
reference. See
worked-example-slice-to-spec.md
for the source → target before/after, status-board output, and
verification report.
Limitations
- No backfill of
dependencies:. Prose "Depends on" lines stay in the slice body; the frontmatterdependencies: []is empty. Future slices can populate them per-slice. - No backfill of
### Deviation log. Pre-jig slices never had one. Useland.py prepare --no-deviation-logto land them retroactively (spec 019-01). - Originals NOT deleted. Caller decides post-verification.
- No status-vocabulary auto-detection. The 4-state vocabulary
above is the most common, but adapt to what the source actually
uses (e.g., "In Review" might map to
IN_PROGRESSorREVIEWEDdepending on context). - CLAUDE.md references to old slice paths are NOT rewritten.
Cross-references like
[slice-01](docs/slices/slice-01.md)in CLAUDE.md / milestone summaries / etc. keep pointing at the original files. After the caller deletes originals, those refs must be updated by hand or via a follow-upmigrate.py rename-decisions-style sweep (out of scope here).
Gotchas
migrate.py reportis read-only; migration operations are bounded mutators. The first mutating region was introduced byrename-decisionsand remains protected by the sentinel comment (# ---------- BEGIN MUTATING CODE PATH (rename-decisions) ----------); later mutators (split-slices,copy-machinery) have their own command-specific preflights and tests. Thereportsubcommand stays pure-read.rename-decisionsis bounded by<project-dir>. It never reads or writes outside the directory passed on the CLI. Within scope it scans shareddocs/plus the selected host primer/runtime:CLAUDE.mdand.claude/for--host claude, orAGENTS.mdand.codex/for--host codex. Well-known skip paths (.git,node_modules,.venv,__pycache__,dist,build, etc.) are excluded from cross-reference scanning.- Always
--dry-runfirst. Even with idempotency and refusal on conflict, the plan output is the canonical preview surface. Two consecutive--dry-runinvocations produce byte-identical output (AC #7), which is also how the test suite verifies stability. - Remote links (GitHub URLs) are NOT rewritten.
docs/adrs/paths insidehttps://github.com/.../docs/adrs/...URLs stay untouched — external surface area the user may have published. Only local paths are rewritten. - No git awareness.
rename-decisionsperforms filesystem renames; if the project is a git repo, the user mustgit add -Ato record the renames as tracked changes. Future slice if it bites. migrate.py's self-protection is path-anchored. The helper refuses to rewrite files under its ownskills/migrate/directory (so the canonical regexes + fixtures never get mangled by the helper running on its own repo). If a user copiesmigrate.pyinto their own project at e.g.<project>/tools/migrate.py, the copy is NOT covered by the self-protection — it would be rewritten like any other text file in scope. Invokemigrate.pyfrom the installed plugin path (${CLAUDE_PLUGIN_ROOT}/skills/migrate/migrate.py), never a copied-in-tree version, to keep the guarantee.- The verdict counts trigger directories, not files. A project with 100 ADR files but no workflow.md or architecture.md still scores only 1 trigger. The four triggers are about kinds of artifact, not volume.
- Flat-slice → nested-spec mapping is deferred. Slice 008-01's Mapping table flags flat slices as a topology question and points to slice 008-04. The helper does NOT propose a concrete parent-spec grouping — that requires user judgment (or the milestone manifest 008-04 will accept). For 008-01, the report just names the question.
- CLAUDE.md size is reported as a tripwire, not migrated. The validator's 59KB CLAUDE.md contains sprint-log content jig's Hot Cache doesn't model. The report's Ambiguity row flags it; the user decides what to port verbatim, summarize, or leave behind. No automation in 008-01 (or any planned 008 slice).
- Custom skills and agents are inventoried but never migrated. Out of 008's scope by explicit non-goal. The Inventory row lists them; the Ambiguity row asks the user how to reconcile.
- The report scans one validated docs root. It defaults to
docs; pass--docs-root .(or another safe project-relative path) for an existing custom-root corpus. Arbitrary per-directory maps remain out of scope. - Spikes are inventoried but not migrated. jig has no
spike-workflow skill yet (separate gap; tracked in inbox/refinement
-todo). The Ambiguity section notes the count and recommends
keeping
docs/spikes/as-is.
Relationship to other skills
scaffold-initis the greenfield counterpart.migrateis for existing projects;scaffold-initis for blank slates. Slice 008-05 (deferred) will teachscaffold-initto detect validator-style layout and suggest/jig:migrateinstead of refusing opaquely.adr-workflowdepends ondocs/decisions/matching ADR-0004's layout.migrate.py rename-decisions(slice 008-02, deferred) will produce that layout from adocs/adrs/source. Until then, projects already on the legacy layout can runadr-workflowagainstdocs/adrs/directly via the helper's path-tolerance (open question in ADR-0004 §"Backwards compatibility window foradr.py").spec-workflowassumes nested specs (docs/specs/NNN-*/spec.md). Projects with flat slices needmigrate.py slice-to-spec(slice 008-04, deferred) beforespec-workflowoperations can target them the way they target jig's own specs.slice-landis orthogonal — it operates on whatever shape the project ends up with after migration. No direct coupling.
Out of scope for slice 008-01
- Any filesystem mutation. The
reportsubcommand is read-only by design; mutating operations land in slices 008-02 (rename-decisions), 008-03 (jig-self-migration via 008-02's helper), 008-04 (slice-to-spec-mapping), 008-05 (scaffold-init suggestion wiring). - Importing CLAUDE.md content into jig's Hot Cache template. Inventoried only; the user ports manually.
- Cross-format ADR template conversion (MADR, Y-statements, etc.). ADR-0004 just covers path/filename rename.
- JIRA / Linear / Asana milestone-to-ticket mapping.
- Custom-skill / custom-agent migration.
- Roundtripping (post-migration rollback). The user keeps the pre-migration commit as their rollback.
- Multi-project batch migration. One project at a time.