Files
mopac-pmo/archive/TASK-20260828-1901-study-maki.md
T

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)

  1. Tree-sitter bash permission parsing: how commands/subshells/pipes are decomposed -> allow/deny rules. Go equivalents (github.com/tree-sitter/tree-sitter-bash).
  2. Token reduction: index/skeleton reads, MCP tool_search hiding, sandboxed code_execution — what's portable to a headless Go harness, what to skip.
  3. Subagent model (weak/medium/strong, read-only vs full tools) — map to our TASK/dispatch pattern.
  4. Headless/--print mode + session parallelism.
  5. Top 10 files to re-read during build; top 5 gotchas.