원클릭으로
titan-reset
Clean up all Titan Paradigm artifacts and snapshots, restoring the codebase to pre-Titan state
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Clean up all Titan Paradigm artifacts and snapshots, restoring the codebase to pre-Titan state
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Adopt extracted helpers — find dead symbols from forge, wire them into consumers, replace duplicated inline patterns, and gate on dead-symbol delta (Titan Paradigm Phase 4.5)
Adopt extracted helpers — find dead symbols from forge, wire them into consumers, replace duplicated inline patterns, and gate on dead-symbol delta (Titan Paradigm Phase 4.5)
Validate staged changes — codegraph checks + project lint/build/test, auto-rollback on failure, pass/fail commit gate (Titan Paradigm Phase 4)
Audit codebase files against the 4-pillar quality manifesto using RECON work batches, with batch processing and context budget management (Titan Paradigm Phase 2)
Map a codebase's dependency graph, identify hotspots, name logical domains, propose work batches, and produce a ranked priority queue for autonomous cleanup (Titan Paradigm Phase 1)
Local repo maintenance — clean stale worktrees, remove dirt files, sync with main, update codegraph, prune branches, and verify repo health
| name | titan-reset |
| description | Clean up all Titan Paradigm artifacts and snapshots, restoring the codebase to pre-Titan state |
| argument-hint | <--keep-graph to preserve the codegraph database> |
| allowed-tools | Bash, Read, Write, Grep |
You are resetting the Titan Paradigm pipeline, removing all artifacts and restoring the codebase to its pre-Titan state.
codegraph snapshot restore titan-baseline 2>/dev/null && echo "Baseline restored" || echo "No baseline snapshot found"
This restores the graph database to its pre-GAUNTLET state.
codegraph snapshot delete titan-baseline 2>/dev/null
Delete the grind baseline snapshot (if it exists):
codegraph snapshot delete titan-grind-baseline 2>/dev/null
Also delete any batch snapshots dynamically:
for name in $(codegraph snapshot list --json 2>/dev/null | node -e "let d='';process.stdin.on('data',c=>d+=c).on('end',()=>{try{JSON.parse(d).filter(s=>s.name.startsWith('titan-batch-')).forEach(s=>console.log(s.name))}catch(e){}})"); do
codegraph snapshot delete "$name" 2>/dev/null
done
rm -rf .codegraph/titan/
This removes:
titan-state.json — session stateGLOBAL_ARCH.md — architecture documentgauntlet.ndjson — audit resultsgauntlet-summary.json — aggregated resultssync.json — execution plangate-log.ndjson — gate audit trailissues.ndjson — cross-phase issue trackerclose-summary.json — close phase summarydrift-report.json — staleness detection across phasesgrind-targets.ndjson — grind phase adoption targets and outcomesarch-snapshot.json — pre-forge architectural snapshotDelete all local titan working branches. These accumulate across runs and leave orphaned commits that never reach main. The actual PR content lives on focused PR branches created by /titan-close — the working branches are safe to remove.
git branch --list 'refactor/titan-*' | xargs -r -I{} git branch -D {} || true
git branch --list 'docs/titan-*' | xargs -r -I{} git branch -D {} || true
Note:
-I{}ensures each branch is deleted individually so a failure on one (e.g. the currently checked-out worktree branch, which git refuses to delete in-place) is skipped rather than aborting the entire pipeline. The current worktree branch is cleaned up when the worktree itself is torn down.
Delete from remote (best-effort — failures are non-fatal):
git branch --list 'refactor/titan-*' | sed 's/^[* ]*//' | xargs -r git push origin --delete 2>/dev/null || true
git branch --list 'docs/titan-*' | sed 's/^[* ]*//' | xargs -r git push origin --delete 2>/dev/null || true
Print how many branches were removed.
If $ARGUMENTS does NOT contain --keep-graph:
codegraph build
This ensures the graph reflects the current state of the codebase without any Titan-era corruption.
If $ARGUMENTS contains --keep-graph, skip this step.
Titan pipeline reset complete.
- Baseline snapshot: restored and deleted
- Grind snapshot: deleted
- Batch snapshots: deleted
- Artifacts: removed (.codegraph/titan/)
- Titan branches deleted: N local, N remote
- Graph: rebuilt (clean state)
To start a fresh Titan pipeline, run /titan-recon