feat: implement MACP phase 1 core protocol

This commit is contained in:
Jarvis
2026-03-27 18:39:57 -05:00
parent 24496cea01
commit 7ef49a33d8
19 changed files with 1546 additions and 48 deletions

View File

@@ -15,6 +15,7 @@ set -euo pipefail
# mosaic init [args...] Generate SOUL.md interactively
# mosaic doctor [args...] Health audit
# mosaic sync [args...] Sync skills
# mosaic macp [args...] Manual MACP queue operations
# mosaic seq [subcommand] sequential-thinking MCP management (check/fix/start)
# mosaic bootstrap <path> Bootstrap a repo
# mosaic upgrade release Upgrade installed Mosaic release
@@ -41,6 +42,7 @@ Management:
init [args...] Generate SOUL.md (agent identity contract)
doctor [args...] Audit runtime state and detect drift
sync [args...] Sync skills from canonical source
macp [args...] Manual MACP queue operations
seq [subcommand] sequential-thinking MCP management:
check [--runtime <r>] [--strict]
fix [--runtime <r>]
@@ -487,6 +489,11 @@ run_sync() {
exec "$MOSAIC_HOME/bin/mosaic-sync-skills" "$@"
}
run_macp() {
check_mosaic_home
exec "$MOSAIC_HOME/bin/mosaic-macp" "$@"
}
run_seq() {
check_mosaic_home
local checker="$MOSAIC_HOME/bin/mosaic-ensure-sequential-thinking"
@@ -774,6 +781,7 @@ case "$command" in
init) run_init "$@" ;;
doctor) run_doctor "$@" ;;
sync) run_sync "$@" ;;
macp) run_macp "$@" ;;
seq) run_seq "$@" ;;
bootstrap) run_bootstrap "$@" ;;
prdy) run_prdy "$@" ;;