Skip to content

feat(cli): integrate ctxcn toolkit into cvmi and stabilize test suite#2

Merged
ContextVM-org merged 7 commits intoContextVM:mainfrom
aphrodoe:main
Apr 22, 2026
Merged

feat(cli): integrate ctxcn toolkit into cvmi and stabilize test suite#2
ContextVM-org merged 7 commits intoContextVM:mainfrom
aphrodoe:main

Conversation

@aphrodoe
Copy link
Copy Markdown

@aphrodoe aphrodoe commented Apr 7, 2026

Description

This PR fully integrates ctxcn natively into the core cvmi binary as the cvmi cn sub-command, centralizing the ContextVM ecosystem tooling while systematically patching bugs across test environment.

Major Changes

  • Unified Tooling: Ported the ctxcn ecosystem natively into cvmi under src/cn/ keeping schemas strongly-typed.
  • Sub-commands Scaffolded: Implemented and wired cvmi cn init, cvmi cn add, and cvmi cn update capabilities directly into the root src/cli.ts routing layer.

Testing & Architecture Stability

  • Compatibility Patch: Fixed systemic ERR_UNKNOWN_FILE_EXTENSION bugs across the test suite (remove.test.ts, add.test.ts) by natively executing subprocess spawns structurally via ${process.execPath} ${TSX_PATH}.
  • Timeouts Hardened: Extrapolated a vitest.config.ts enforcing a global 20s test boundary to safely accommodate cross-platform tsx bootup latency.

Documentation

  • Explicitly documented the cvmi cn command ecosystem structure within README.md.
  • Appended modular lifecycle notes detailing cvmi cn hierarchy mapping logic within AGENTS.md.

Testing Verification

  • All 158 tests successfully pass via pnpm test.
  • Confirmed zero regression test-flakes.

Copy link
Copy Markdown

@ContextVM-org ContextVM-org left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. Just add a changeset with this change before we can merge it

@ContextVM-org ContextVM-org merged commit 1ff480d into ContextVM:main Apr 22, 2026
0 of 4 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