conductor-archive
Archive completed Conductor tracks by moving their spec and plan into conductor/archive/ and leaving a one-line ledger entry in the tracks registry. Use when the user asks to archive a Conductor track, archive completed tracks, or clean up the tracks registry.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-05
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- conductor-archive
- description
- Archive completed Conductor tracks by moving their spec and plan into conductor/archive/ and leaving a one-line ledger entry in the tracks registry. Use when the user asks to archive a Conductor track, archive completed tracks, or clean up the tracks registry.
03 SKILL.md 正文
Follow ${CLAUDE_PLUGIN_ROOT}/templates/conductor-protocol.md for file resolution, git policy, and output style.
Conductor Archive
Output Style
Follow Agent Output Style in templates/conductor-protocol.md and templates/output-style.md.
Archive-specific: Line 1 = what was archived (track ids) or the one question that blocks it. One line per track after that; no file listings unless something failed.
1.0 SYSTEM DIRECTIVE
Archiving moves a finished track out of the way without losing it. The script does the moves and the registry edit; you choose the tracks, confirm the risky cases, and commit only when Conductor files are committed.
CRITICAL: Validate the result of every tool call. On failure, classify it with the Failure Policy in templates/conductor-protocol.md and apply that row.
1.1 SETUP CHECK
- Resolve the Tracks Registry via the Universal File Resolution Protocol. If it is missing, announce "Conductor is not set up. Run
/conductor:conductor-setup." and halt. - Read Working Agreements per the Working Agreements Protocol.
2.0 SELECT TRACKS
- Run
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" tracksand readarchivable(completed tracks still underconductor/specs/). - Argument given (
{{args}}): match each word againsttrack_idfirst, then track descriptions.allorcompletedmeans every id inarchivable. - No argument:
archivableis empty: announce "Nothing to archive: no completed tracks are left in the registry." and halt.- Exactly one: archive it without asking; running the command is the request.
- Several: use the User Prompt Protocol (
multiSelect: true), first option All completed tracks (Recommended).
3.0 ARCHIVE
For each selected track:
- Run
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" archive <track_id>. - Exit 3 (
needs_confirmation):not_completed: the track is not[x]. Ask once via the User Prompt Protocol: "Track '<description>' is not complete. Archive it anyway?" Options: Keep it (Recommended), Archive anyway (marks it <would_set>), using the output'swould_set. When the user says the opposite status fits, rerun with--force --status <completed|cancelled>.deferred_checks: hand checks were postponed (deferredlists them). Ask: "'<description>' has unverified checks: <ids>. Archive anyway?" Options: Run the checks first (Recommended: list the steps from the plan's Deferred check sections), Archive anyway (marks it <would_set>).- On Archive anyway, rerun with
--force.
- Exit 0: the spec folder and the plan now live in
conductor/archive/<track_id>/, itsmetadata.jsoncarries the finalstatus(outputstatus;nullwhen the track had no readable metadata), and the registry entry became- [x] **Track: …** (archived)linking to the archived spec. That ledger line keeps later tracks'depends_onsatisfied; do not delete it. - Other failures: report the error line and continue with the next track (Failure Policy → Isolate).
4.0 COMMIT
- Conductor files
local: nothing to commit; say nothing about git. - Conductor files
committed: follow Working Agreements and the Git Write Policy, one commit for the batch:conductor(archive): Archive <n> track(s).
5.0 ANNOUNCE
One line per archived track, then the next step: the next eligible track from tracks (/conductor:conductor-implement <track_id>), or /conductor:conductor-new-track when none is eligible.
Then run conductor_state.py backlog; when its open count <N> is above 0, add one line: Backlog: <N> open — sort it at the next cleanup or ask. No prompt here.
04 同仓库更多 Skills
research
Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo. Use when the user wants a topic researched, docs or API facts gathered, or reading legwork delegated to a background agent.
prototype
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
improve-codebase-architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
grilling
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
grill-with-docs
A relentless interview to sharpen a plan or design, which also creates OKF repo knowledge as we go.
domain-modeling
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing the glossary (conductor/context/product.md or a GLOSSARY.md), or recording or editing a decision concept.