ac-framework 1.9.4 → 1.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +21 -1
  3. package/bin/postinstall.js +2 -0
  4. package/framework/mobile_development/.agent/workflows/ac-lite.md +70 -179
  5. package/framework/mobile_development/.agent/workflows/ac.md +273 -404
  6. package/framework/mobile_development/.amazonq/prompts/ac-lite.md +70 -179
  7. package/framework/mobile_development/.amazonq/prompts/ac.md +273 -404
  8. package/framework/mobile_development/.antigravity/workflows/ac-lite.md +70 -179
  9. package/framework/mobile_development/.antigravity/workflows/ac.md +273 -404
  10. package/framework/mobile_development/.augment/commands/ac-lite.md +70 -179
  11. package/framework/mobile_development/.augment/commands/ac.md +273 -404
  12. package/framework/mobile_development/.claude/commands/opsx/ac-lite.md +70 -179
  13. package/framework/mobile_development/.claude/commands/opsx/ac.md +273 -404
  14. package/framework/mobile_development/.cline/commands/opsx/ac-lite.md +70 -179
  15. package/framework/mobile_development/.cline/commands/opsx/ac.md +273 -404
  16. package/framework/mobile_development/.clinerules/workflows/ac-lite.md +70 -179
  17. package/framework/mobile_development/.clinerules/workflows/ac.md +273 -404
  18. package/framework/mobile_development/.codebuddy/commands/opsx/ac-lite.md +70 -179
  19. package/framework/mobile_development/.codebuddy/commands/opsx/ac.md +273 -404
  20. package/framework/mobile_development/.continue/prompts/ac-lite.md +70 -179
  21. package/framework/mobile_development/.continue/prompts/ac.md +273 -404
  22. package/framework/mobile_development/.cospec/openspec/commands/ac-lite.md +70 -179
  23. package/framework/mobile_development/.cospec/openspec/commands/ac.md +273 -404
  24. package/framework/mobile_development/.crush/commands/opsx/ac-lite.md +70 -179
  25. package/framework/mobile_development/.crush/commands/opsx/ac.md +273 -404
  26. package/framework/mobile_development/.cursor/commands/ac-lite.md +70 -179
  27. package/framework/mobile_development/.cursor/commands/ac.md +273 -404
  28. package/framework/mobile_development/.factory/commands/ac-lite.md +70 -179
  29. package/framework/mobile_development/.factory/commands/ac.md +273 -404
  30. package/framework/mobile_development/.gemini/commands/opsx/ac-lite.md +70 -179
  31. package/framework/mobile_development/.gemini/commands/opsx/ac.md +273 -404
  32. package/framework/mobile_development/.github/prompts/ac-lite.md +70 -179
  33. package/framework/mobile_development/.github/prompts/ac.md +273 -404
  34. package/framework/mobile_development/.github/prompts/ac.prompt.md +282 -177
  35. package/framework/mobile_development/.iflow/commands/ac-lite.md +70 -179
  36. package/framework/mobile_development/.iflow/commands/ac.md +273 -404
  37. package/framework/mobile_development/.kilocode/workflows/ac-lite.md +70 -179
  38. package/framework/mobile_development/.kilocode/workflows/ac.md +273 -404
  39. package/framework/mobile_development/.kimi/workflows/ac-lite.md +70 -179
  40. package/framework/mobile_development/.kimi/workflows/ac.md +273 -404
  41. package/framework/mobile_development/.opencode/command/ac-lite.md +70 -179
  42. package/framework/mobile_development/.opencode/command/ac.md +273 -404
  43. package/framework/mobile_development/.qoder/commands/opsx/ac-lite.md +70 -179
  44. package/framework/mobile_development/.qoder/commands/opsx/ac.md +273 -404
  45. package/framework/mobile_development/.qwen/commands/ac-lite.md +70 -179
  46. package/framework/mobile_development/.qwen/commands/ac.md +273 -404
  47. package/framework/mobile_development/.roo/commands/ac-lite.md +70 -179
  48. package/framework/mobile_development/.roo/commands/ac.md +273 -404
  49. package/framework/mobile_development/.windsurf/workflows/ac-lite.md +70 -179
  50. package/framework/mobile_development/.windsurf/workflows/ac.md +273 -404
  51. package/framework/mobile_development/AGENTS.md +205 -416
  52. package/framework/mobile_development/CLAUDE.md +205 -416
  53. package/framework/mobile_development/GEMINI.md +205 -416
  54. package/framework/mobile_development/copilot-instructions.md +205 -416
  55. package/framework/new_project/.agent/workflows/ac.md +39 -0
  56. package/framework/new_project/.amazonq/prompts/ac.md +39 -0
  57. package/framework/new_project/.antigravity/workflows/ac.md +39 -0
  58. package/framework/new_project/.augment/commands/ac.md +39 -0
  59. package/framework/new_project/.claude/commands/opsx/ac.md +39 -0
  60. package/framework/new_project/.cline/commands/opsx/ac.md +39 -0
  61. package/framework/new_project/.clinerules/workflows/ac.md +39 -0
  62. package/framework/new_project/.codebuddy/commands/opsx/ac.md +39 -0
  63. package/framework/new_project/.continue/prompts/ac.md +39 -0
  64. package/framework/new_project/.cospec/openspec/commands/ac.md +39 -0
  65. package/framework/new_project/.crush/commands/opsx/ac.md +39 -0
  66. package/framework/new_project/.cursor/commands/ac.md +39 -0
  67. package/framework/new_project/.factory/commands/ac.md +39 -0
  68. package/framework/new_project/.gemini/commands/opsx/ac.md +39 -0
  69. package/framework/new_project/.github/prompts/ac.md +39 -0
  70. package/framework/new_project/.iflow/commands/ac.md +39 -0
  71. package/framework/new_project/.kilocode/workflows/ac.md +39 -0
  72. package/framework/new_project/.kimi/workflows/ac.md +39 -0
  73. package/framework/new_project/.opencode/command/ac.md +39 -0
  74. package/framework/new_project/.qoder/commands/opsx/ac.md +39 -0
  75. package/framework/new_project/.qwen/commands/ac.md +39 -0
  76. package/framework/new_project/.roo/commands/ac.md +39 -0
  77. package/framework/new_project/.windsurf/workflows/ac.md +39 -0
  78. package/framework/new_project/AGENTS.md +27 -0
  79. package/framework/web_development/.agent/workflows/ac.md +39 -0
  80. package/framework/web_development/.amazonq/prompts/ac.md +39 -0
  81. package/framework/web_development/.antigravity/workflows/ac.md +39 -0
  82. package/framework/web_development/.augment/commands/ac.md +39 -0
  83. package/framework/web_development/.claude/commands/opsx/ac.md +39 -0
  84. package/framework/web_development/.cline/commands/opsx/ac.md +39 -0
  85. package/framework/web_development/.clinerules/workflows/ac.md +39 -0
  86. package/framework/web_development/.codebuddy/commands/opsx/ac.md +39 -0
  87. package/framework/web_development/.continue/prompts/ac.md +39 -0
  88. package/framework/web_development/.cospec/openspec/commands/ac.md +39 -0
  89. package/framework/web_development/.crush/commands/opsx/ac.md +39 -0
  90. package/framework/web_development/.cursor/commands/ac.md +39 -0
  91. package/framework/web_development/.factory/commands/ac.md +39 -0
  92. package/framework/web_development/.gemini/commands/opsx/ac.md +39 -0
  93. package/framework/web_development/.github/prompts/ac.md +39 -0
  94. package/framework/web_development/.iflow/commands/ac.md +39 -0
  95. package/framework/web_development/.kilocode/workflows/ac.md +39 -0
  96. package/framework/web_development/.kimi/workflows/ac.md +39 -0
  97. package/framework/web_development/.opencode/command/ac.md +39 -0
  98. package/framework/web_development/.qoder/commands/opsx/ac.md +39 -0
  99. package/framework/web_development/.qwen/commands/ac.md +39 -0
  100. package/framework/web_development/.roo/commands/ac.md +39 -0
  101. package/framework/web_development/.windsurf/workflows/ac.md +39 -0
  102. package/framework/web_development/AGENTS.md +27 -0
  103. package/package.json +1 -1
  104. package/src/agents/config-store.js +48 -0
  105. package/src/agents/model-selection.js +38 -0
  106. package/src/agents/opencode-client.js +3 -2
  107. package/src/agents/orchestrator.js +10 -3
  108. package/src/agents/runtime.js +80 -0
  109. package/src/agents/state-store.js +3 -0
  110. package/src/commands/agents.js +301 -85
  111. package/src/commands/init.js +33 -0
  112. package/src/mcp/collab-server.js +299 -0
  113. package/src/services/dependency-installer.js +20 -1
  114. package/src/services/mcp-installer.js +82 -54
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142
 
@@ -98,6 +98,45 @@ acfm memory stats
98
98
 
99
99
  **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
100
100
 
101
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
102
+
103
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
104
+
105
+ **Session-start requirement when collaboration is enabled:**
106
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
107
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
108
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
109
+
110
+ **How to use SynapseGrid collaboration:**
111
+ ```text
112
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
113
+ Fallback: use AC Framework agents CLI commands directly.
114
+ ```
115
+ ```bash
116
+ # Install/update collaborative MCP server integrations
117
+ acfm agents install-mcps
118
+
119
+ # Start collaborative runtime with visible 4-pane tmux war-room
120
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
121
+
122
+ # If already running in background, attach to panes and inspect logs
123
+ acfm agents live
124
+ acfm agents logs --role all --lines 120
125
+
126
+ # Resume/list/export operations
127
+ acfm agents resume
128
+ acfm agents list
129
+ acfm agents export --format md --out synapse-session.md
130
+
131
+ # Fast diagnostics for OpenCode resolution errors
132
+ acfm agents setup
133
+ ```
134
+
135
+ **Troubleshooting notes:**
136
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
137
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
138
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
139
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
101
140
 
102
141
  ### OpenSpec Skills (The heart of the framework)
103
142