Skip to content

fix: replace hardcoded E:\Dev2 dev paths across all harness skills#41

Merged
cgallic merged 1 commit into
mainfrom
claude/kai-repurpose-path-fix-h4jil7
Jul 7, 2026
Merged

fix: replace hardcoded E:\Dev2 dev paths across all harness skills#41
cgallic merged 1 commit into
mainfrom
claude/kai-repurpose-path-fix-h4jil7

Conversation

@cgallic

@cgallic cgallic commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • 31 harness/skills/*/SKILL.md files loaded knowledge/harness references via one author's absolute Windows dev path (E:\Dev2\kai-cmo-harness-work\...), unresolvable for anyone else who clones the repo. kai-repurpose also had the un-suffixed E:\Dev2\kai-cmo-harness\... variant that a prior partial fix missed — that's what this branch was originally scoped to, but the same bug turned out to be repo-wide.
  • Stripped the E:\Dev2\kai-cmo-harness(-work)?\ prefix everywhere, converting to project-root-relative forward-slash paths (145 references across 31 files, 2 intro-sentence mentions with no trailing path, and one shell command example in kai-daily-ad-review).
  • Fixed six playbook filenames referenced as -MARKETING.md (uppercase) that actually exist on disk as -marketing.md — invisible on Windows' case-insensitive filesystem, broken on Linux/Mac.

kai-product-maker's separate E:\Dev2\DigitalProduct\... example paths are untouched — those point to external example products outside this repo (a different problem needing a product decision, not a path fix).

Test plan

  • grep -rn 'Dev2' harness/skills/*/SKILL.md — only the unrelated kai-product-maker DigitalProduct examples remain
  • Every path touched by the diff verified to resolve to a real file on disk
  • python scripts/doctor.py — instruction chain intact (190 doc-referenced paths checked), golden corpus passes

Generated by Claude Code

31 SKILL.md files loaded knowledge/harness references via one author's
absolute Windows dev path (E:\Dev2\kai-cmo-harness-work\...), which is
unresolvable for anyone else who clones the repo. kai-repurpose also had
the un-suffixed E:\Dev2\kai-cmo-harness\... variant that a prior partial
fix missed.

- Strip the E:\Dev2\kai-cmo-harness(-work)?\ prefix everywhere, converting
  to project-root-relative paths with forward slashes (145 references
  across 31 files, plus 2 intro-sentence mentions with no trailing path
  and one shell command example in kai-daily-ad-review).
- Fix six playbook filenames that were referenced as `-MARKETING.md`
  (uppercase) but exist on disk as `-marketing.md` — invisible on
  Windows' case-insensitive filesystem, broken on Linux/Mac.
- Verified every touched reference now resolves to a real file and
  scripts/doctor.py still reports all instruction-chain paths intact.

kai-product-maker's separate E:\Dev2\DigitalProduct\... example paths are
untouched — those point to external example products outside this repo,
a different problem needing a product decision, not a path fix.
@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app-meetkai Ready Ready Preview, Comment Jul 6, 2026 2:02pm

Request Review

@cgallic cgallic marked this pull request as ready for review July 7, 2026 02:24
@cgallic cgallic merged commit 40eb9b3 into main Jul 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants