feat(agent): add Grok Build TUI adapter, runtime dispatch, and skill support

This commit is contained in:
2026-08-26 10:49:34 +09:00
parent 926ca5452b
commit ad8201d706
27 changed files with 414 additions and 40 deletions
@@ -0,0 +1,27 @@
# Review Report — Job 890f24bb
- **Reviewer**: planner-reviewer-claude-01
- **Job ID**: 890f24bb
- **Role**: Reviewer
- **Target**: Grok Build TUI Agent (`grok`) Integration
## 1. Code Review Findings
### 1.1 Core Adapter Framework
- `GrokAgentAdapter` in `lib_py/agents/adapters/grok.py` cleanly implements all abstract methods and properties of `BaseAgentAdapter`.
- `registry.py` registers `_ADAPTERS['grok'] = GrokAgentAdapter()`.
- Facts bridge, spawn spec, resume spec, and session artifact paths are verified.
### 1.2 Shell Runtime & Lifecycle
- `lib.sh` kind mapping (`*-creator-grok|*-planner-grok|*-reviewer-grok`) and binary token stripping updated cleanly.
- `create_session.sh`, `resume_session.sh`, `stop_session.sh`, `reconcile.sh`, `orc_onboard.sh` updated to support `grok`.
- `verify_session.py`, `atomic_yaml.py`, `workspace_uuid.py` updated with `grok_session_id_own` key.
### 1.3 Documentation & Skills
- All 8 `SKILL.md` files updated with `grok` agent options and guidance.
- `.mam.env.example` updated with `MAM_AGENT_GROK_CMD`.
### 1.4 Tests Verification
- `tests/test_a4_adapter_contract.py` and `tests/test_tier1_unit.py` pass with 74/74 green tests.
[VERDICT: PASS]