Skip to content

Commit fd6d79d

Browse files
committed
chore(skill): add codegraph install step to titan-run pre-flight
1 parent dd9880d commit fd6d79d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.claude/skills/titan-run/SKILL.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,23 @@ You are the **orchestrator** for the full Titan Paradigm pipeline. Your job is t
5858
```
5959
If the check fails, log a warning but do not stop the pipeline — clock skew or immediate completion of short phases can cause this.
6060

61-
4. **Sync with main** (once, before any sub-agent runs):
61+
4. **Install latest codegraph** (once, before any sub-agent runs):
62+
```bash
63+
npm install -g @optave/codegraph@latest
64+
```
65+
Log the installed version (skip if codegraph is not available):
66+
```bash
67+
codegraph --version || true
68+
```
69+
If the install fails or `codegraph` is not found, warn the user but continue — the sub-agents may still work if a project-local version is available.
70+
71+
5. **Sync with main** (once, before any sub-agent runs):
6272
```bash
6373
git fetch origin main && git merge origin/main --no-edit
6474
```
6575
If merge conflict → stop: "Merge conflict after syncing with main. Resolve conflicts and re-run `/titan-run`."
6676

67-
5. **Print plan:**
77+
6. **Print plan:**
6878
```
6979
Titan Pipeline — End-to-End Run
7080
Target: <path>

0 commit comments

Comments
 (0)