Context
CASM's architecture, Codex configuration (.codex/config.toml), agent instructions (AGENTS.md), skill definitions (skills/), and build plan (PLANS.md) are in place. The next step is to scaffold the actual monorepo runtime so Codex can begin generating implementation PRs.
Objective
Implement PR-0 from PLANS.md: bootstrap the Node/TypeScript monorepo with working tooling and a CLI entry point.
Requirements
Acceptance Criteria
pnpm install
pnpm -r build # compiles all packages
pnpm -r test # all tests pass
pnpm -r lint # no lint errors
pnpm -C packages/cli start -- --help # prints available commands
References
PLANS.md — PR sequence and rollback strategy
-
AGENTS.md — repo conventions and validation commands
-
-
.codex/config.toml — Codex behavior and command allowlist
Labels
enhancement, PR-0, bootstrap
Context
CASM's architecture, Codex configuration (
.codex/config.toml), agent instructions (AGENTS.md), skill definitions (skills/), and build plan (PLANS.md) are in place. The next step is to scaffold the actual monorepo runtime so Codex can begin generating implementation PRs.Objective
Implement PR-0 from
PLANS.md: bootstrap the Node/TypeScript monorepo with working tooling and a CLI entry point.Requirements
pnpm-workspace.yamlat root defining workspace packagestsconfig.base.jsonwith strict TypeScript configuration@casm/corewithRunEvent,RunState, andTemplateManifestschemas (Zod)@casm/cliusingcommander— stubbed commands:run,sentinel,cost,explainpackage.jsonscripts wired for the commands in.codex/config.toml:pnpm -r buildpnpm -r testpnpm -r lint.github/workflows/ci.yml) running lint + test + build on pushAcceptance Criteria
References
PLANS.md— PR sequence and rollback strategyAGENTS.md— repo conventions and validation commands.codex/config.toml— Codex behavior and command allowlistLabels
enhancement,PR-0,bootstrap