Skip to content

refactor: P3 — centralize AI_PATHS, fix cloud eval, fix hooks msg#21

Merged
tlconde merged 1 commit into
mainfrom
refactor/p3-final-cleanup
Mar 17, 2026
Merged

refactor: P3 — centralize AI_PATHS, fix cloud eval, fix hooks msg#21
tlconde merged 1 commit into
mainfrom
refactor/p3-final-cleanup

Conversation

@tlconde
Copy link
Copy Markdown
Owner

@tlconde tlconde commented Mar 17, 2026

Summary

  • Move AI_PATHS to schema-constants.ts (accessible to CLI + evals + MCP)
  • Replace all hardcoded paths across 7 files
  • cloud_readiness eval: check .cursor/mcp.json (was only .mcp.json)
  • Claude Code INSTALL.md: remove duplicate hooks message

Test plan

  • npx tsc passes
  • init + validate + install (cursor, claude-code) all pass
  • cloud_readiness shows 3/3 (was 2/3)
  • Claude Code install shows hooks message once (was twice)

…ks msg

AI_PATHS:
- Move AI_PATHS from shared.ts to schema-constants.ts (accessible to CLI, evals, MCP)
- Replace all hardcoded paths in evals/index.ts, resources.ts, memory.ts,
  governance.ts, p0-parser.ts, cli/index.ts
- shared.ts re-exports AI_PATHS for backward compat

Fixes:
- cloud_readiness eval now checks both .mcp.json and .cursor/mcp.json
- Claude Code INSTALL.md: remove duplicate hooks message (postInstallNote handles it)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tlconde tlconde merged commit 5cc4da8 into main Mar 17, 2026
2 checks passed
@tlconde tlconde deleted the refactor/p3-final-cleanup branch March 17, 2026 13:54
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.

1 participant