795 B
795 B
TASK: Reference study — maki internals (PORTING-NOTES-maki.md)
Objective
Study /home/reachableceo/projects/meta/MOPAC/reference/maki. Produce /home/reachableceo/projects/meta/MOPAC/harness/docs/PORTING-NOTES-maki.md.
Deliverables (notes file, <=180 lines, dense)
- Tree-sitter bash permission parsing: how commands/subshells/pipes are decomposed -> allow/deny rules. Go equivalents (github.com/tree-sitter/tree-sitter-bash).
- Token reduction: index/skeleton reads, MCP tool_search hiding, sandboxed code_execution — what's portable to a headless Go harness, what to skip.
- Subagent model (weak/medium/strong, read-only vs full tools) — map to our TASK/dispatch pattern.
- Headless/--print mode + session parallelism.
- Top 10 files to re-read during build; top 5 gotchas.