From fd6d79da9bb4f05f7c871581f90a3c807aa7206d Mon Sep 17 00:00:00 2001 From: carlos-alm <127798846+carlos-alm@users.noreply.github.com> Date: Sun, 5 Apr 2026 13:55:12 -0600 Subject: [PATCH] chore(skill): add codegraph install step to titan-run pre-flight --- .claude/skills/titan-run/SKILL.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.claude/skills/titan-run/SKILL.md b/.claude/skills/titan-run/SKILL.md index c684afe0..e8be1c75 100644 --- a/.claude/skills/titan-run/SKILL.md +++ b/.claude/skills/titan-run/SKILL.md @@ -58,13 +58,23 @@ You are the **orchestrator** for the full Titan Paradigm pipeline. Your job is t ``` If the check fails, log a warning but do not stop the pipeline — clock skew or immediate completion of short phases can cause this. -4. **Sync with main** (once, before any sub-agent runs): +4. **Install latest codegraph** (once, before any sub-agent runs): + ```bash + npm install -g @optave/codegraph@latest + ``` + Log the installed version (skip if codegraph is not available): + ```bash + codegraph --version || true + ``` + 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. + +5. **Sync with main** (once, before any sub-agent runs): ```bash git fetch origin main && git merge origin/main --no-edit ``` If merge conflict → stop: "Merge conflict after syncing with main. Resolve conflicts and re-run `/titan-run`." -5. **Print plan:** +6. **Print plan:** ``` Titan Pipeline — End-to-End Run Target: