From 8ff764898c4f8b0d0c5efb0a32068a116f64359a Mon Sep 17 00:00:00 2001 From: carlos-alm Date: Sat, 8 Aug 2026 06:33:01 -0600 Subject: [PATCH] fix(skills): dogfood skill hardcodes wrong GitHub repo slug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #2184 Three gh --repo flags pointed at optave/codegraph instead of the actual repo, optave/ops-codegraph-tool: gh release list (finding the latest dev version), gh issue list (duplicate-bug check), and gh issue create (filing a new bug) in Phase 7. Hardcoded the correct literal slug at each site rather than detecting it dynamically via `gh repo view` (the approach used for /resolve and /sweep, #1966): unlike those skills, /dogfood's own Phase 0 explicitly creates and cds into a separate temp npm project to install and test the published package, so by the time Phase 7 runs, the working directory is very unlikely to be a checkout of this repo at all — `gh repo view` there would fail or resolve to the wrong repo. This also matches the file's own existing pattern (e.g. the release tarball URLs a few lines above already hardcode the correct slug literally). Every other optave/codegraph occurrence in this file is the npm package name (@optave/codegraph, @optave/codegraph--), which is correct and untouched. --- .claude/skills/dogfood/SKILL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.claude/skills/dogfood/SKILL.md b/.claude/skills/dogfood/SKILL.md index 3aa09dfe4..aa23f0212 100644 --- a/.claude/skills/dogfood/SKILL.md +++ b/.claude/skills/dogfood/SKILL.md @@ -45,7 +45,7 @@ Your goal is to install the published package, exercise every feature, compare e > **Tip:** To find the latest dev version, run: > ```bash - > gh release list --repo optave/codegraph --json tagName --jq '.[] | select(.tagName | startswith("dev-v")) | .tagName' | head -1 | sed 's/^dev-v//' + > gh release list --repo optave/ops-codegraph-tool --json tagName --jq '.[] | select(.tagName | startswith("dev-v")) | .tagName' | head -1 | sed 's/^dev-v//' > ``` 3. Verify the install: `npx codegraph --version` should print `$ARGUMENTS`. @@ -292,7 +292,7 @@ For each bug found during testing: ### 7a. Check for duplicates ```bash -gh issue list --repo optave/codegraph --state open --search "" +gh issue list --repo optave/ops-codegraph-tool --state open --search "" ``` If a matching issue already exists, skip creating a new one. Add a comment with your findings if you have new information. @@ -302,7 +302,7 @@ If a matching issue already exists, skip creating a new one. Add a comment with For each **new** bug, create a GitHub issue: ```bash -gh issue create --repo optave/codegraph \ +gh issue create --repo optave/ops-codegraph-tool \ --title "bug: " \ --label "bug,dogfood" \ --body "$(cat <<'ISSUE_EOF'