Skip to content

fix(core): remove canonical layer and simplify CLI output#59

Merged
gpolanco merged 4 commits intomainfrom
fix/v2-simplify
Apr 12, 2026
Merged

fix(core): remove canonical layer and simplify CLI output#59
gpolanco merged 4 commits intomainfrom
fix/v2-simplify

Conversation

@gpolanco
Copy link
Copy Markdown
Owner

Summary

  • Remove redundant .agents/rules/devw/ canonical output layer — was write-only, never read
  • Simplify init output: remove duplicated summary and "What's next" noise
  • Add migration cleanup for existing .agents/rules/devw/ dirs
  • Fix HOME isolation in missing-config tests

Changes

  • Delete core/canonical.ts and its tests
  • Strip canonical references from compile, doctor, init
  • Add detectCanonicalDir() / removeCanonicalDir() to cleanup.ts for migration
  • Simplify init to: success line + hint (no duplicate notePrompt/outroPrompt)
  • Isolate HOME in 2 tests that failed with global ~/.dwf/ present

Test plan

  • pnpm build && pnpm test — all tests pass
  • devw init — verify cleaner output
  • devw compile — verify no canonical files generated in .agents/
  • devw doctor — verify no canonical checks

🤖 Generated with Claude Code

Remove the .agents/rules/devw/ canonical output layer that duplicated
bridge outputs. Add migration cleanup to detect and remove existing
canonical directories on first compile. Simplify init output to a
single success line plus hint.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 12, 2026

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

Project Deployment Actions Updated (UTC)
landing Ready Ready Preview, Comment Apr 12, 2026 7:17pm

@gpolanco gpolanco merged commit af8fc2f into main Apr 12, 2026
3 of 4 checks passed
@gpolanco gpolanco deleted the fix/v2-simplify branch April 12, 2026 19:32
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