Work packages completed: - WP1: packages/forge — pipeline runner, stage adapter, board tasks, brief classifier, persona loader with project-level overrides. 89 tests, 95.62% coverage. - WP2: packages/macp — credential resolver, gate runner, event emitter, protocol types. 65 tests, 96.24% coverage. Full Python-to-TS port preserving all behavior. - WP3: plugins/mosaic-framework — OC rails injection plugin (before_agent_start + subagent_spawning hooks for Mosaic contract enforcement). - WP4: profiles/ (domains, tech-stacks, workflows), guides/ (17 docs), skills/ (5 universal skills), forge pipeline assets (48 markdown files). Board deliberation: docs/reviews/consolidation-board-memo.md Brief: briefs/monorepo-consolidation.md Consolidates mosaic/stack (forge, MACP, bootstrap framework) into mosaic/mosaic-stack. 154 new tests total. Zero Python — all TypeScript/ESM.
48 lines
1.7 KiB
Markdown
48 lines
1.7 KiB
Markdown
---
|
|
name: macp
|
|
description: Manage MACP tasks — submit, check status, view history, and drain queues. Use when orchestrating coding tasks via the Mosaic Agent Coordination Protocol.
|
|
---
|
|
|
|
# macp
|
|
|
|
MACP task management via the mosaic CLI.
|
|
|
|
## Setup
|
|
|
|
Ensure PATH includes mosaic bin:
|
|
|
|
```bash
|
|
export PATH="$HOME/.config/mosaic/bin:$PATH"
|
|
```
|
|
|
|
## Commands
|
|
|
|
| Command | Purpose |
|
|
| ----------------------------------------------------------------------------- | -------------------------------------------------------------- |
|
|
| `mosaic macp status` | Show queue counts (pending/running/completed/failed/escalated) |
|
|
| `mosaic macp submit --task-id ID --title "..." --type coding --command "..."` | Submit a task |
|
|
| `mosaic macp history --task-id ID` | Show event history for a task |
|
|
| `mosaic macp drain` | Run all pending tasks sequentially |
|
|
| `mosaic macp watch --once` | Poll events once |
|
|
|
|
## Common Workflows
|
|
|
|
**Check what's in the queue:**
|
|
|
|
```bash
|
|
export PATH="$HOME/.config/mosaic/bin:$PATH"
|
|
mosaic macp status
|
|
```
|
|
|
|
**Submit a coding task:**
|
|
|
|
```bash
|
|
mosaic macp submit --task-id TASK-001 --title "Fix auth bug" --type coding --command "echo done"
|
|
```
|
|
|
|
**View task history:**
|
|
|
|
```bash
|
|
mosaic macp history --task-id TASK-001
|
|
```
|