Files
mopac-pmo/logs/harness-study-maki.log
T

9 lines
1.1 KiB
Plaintext

Now the subagent/task model and token-reduction pieces:All research complete. Writing the notes file:Over the 180-line cap; condensing:Done — `harness/docs/PORTING-NOTES-maki.md` (exactly 180 lines), covering:
1. **Bash permission parsing**: `plugins/bash/init.lua` scope decomposition (program/list/pipeline/leaf node types, force-prompt on `$(...)`/subshells) + `permissions.rs` rule engine (deny-wins, 4-way scope matcher, allow/deny generalization) with Go tree-sitter-bash port guidance.
2. **Token reduction**: index skeletons (port), MCP `tool_search` deferral (port), code_execution/monty sandbox (skip — violates 100%-Go rule; substitute `batch`).
3. **Subagents**: research/general via audience bitflags, weak/medium/strong tier clamping (`requested.min(parent)`), semaphore=8, structured_output schema — mapped to TASK/dispatch + REPORT contract.
4. **Headless**: `--print` JSON event wire format, spawn-without-channel ⇒ prompt==deny, session-per-turn persistence, N-parallel sessions.
5. Top-10 re-read list + top-5 gotchas (matcher order, no-cached-defs, generalization asymmetry, symlink canonicalization).
No screen session found.