feat(forge): mosaic forge CLI surface #412

Merged
jason.woltje merged 2 commits from feat/mosaic-forge-cli-v2 into main 2026-04-05 06:08:53 +00:00
Owner

Mission cli-unification-20260404 task CU-05-01.

Adds registerForgeCommand to @mosaicstack/forge and wires it into the mosaic root CLI.

Subcommands implemented:

  • mosaic forge run: loads a brief, classifies it with classifyBrief, runs the pipeline via runPipeline with a stub executor. Supports --brief, --run-id, --resume, --config, --codebase, --dry-run flags.
  • mosaic forge status [runId]: prints manifest table (stages, completion, timings) or lists recent runs if no runId passed
  • mosaic forge resume runId: resumes a stopped or failed pipeline via resumePipeline
  • mosaic forge personas list: prints configured board personas via getEffectivePersonas

Also adds commander ^13.0.0 as a production dependency of @mosaicstack/forge. Includes a 5-test smoke test in cli.spec.ts asserting command structure without disk access or executor calls.

Mission cli-unification-20260404 task CU-05-01. Adds registerForgeCommand to @mosaicstack/forge and wires it into the mosaic root CLI. Subcommands implemented: - mosaic forge run: loads a brief, classifies it with classifyBrief, runs the pipeline via runPipeline with a stub executor. Supports --brief, --run-id, --resume, --config, --codebase, --dry-run flags. - mosaic forge status [runId]: prints manifest table (stages, completion, timings) or lists recent runs if no runId passed - mosaic forge resume runId: resumes a stopped or failed pipeline via resumePipeline - mosaic forge personas list: prints configured board personas via getEffectivePersonas Also adds commander ^13.0.0 as a production dependency of @mosaicstack/forge. Includes a 5-test smoke test in cli.spec.ts asserting command structure without disk access or executor calls.
jason.woltje added 1 commit 2026-04-05 05:46:26 +00:00
feat(forge): add registerForgeCommand for mosaic forge CLI surface
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
ci/woodpecker/push/ci Pipeline failed
006b7352c7
Adds mosaic forge run|status|resume|personas list subcommands to
@mosaicstack/forge, wires registerForgeCommand into the root mosaic CLI,
and ships a smoke test asserting command structure. Ref CU-05-01
cli-unification-20260404.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jason.woltje force-pushed feat/mosaic-forge-cli-v2 from 006b7352c7 to 8d4cd965e1 2026-04-05 05:50:11 +00:00 Compare
jason.woltje force-pushed feat/mosaic-forge-cli-v2 from 8d4cd965e1 to 9b5ecc0171 2026-04-05 06:01:20 +00:00 Compare
jason.woltje merged commit 641e4604d5 into main 2026-04-05 06:08:53 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#412