-
Notifications
You must be signed in to change notification settings - Fork 3
plat 156
PLAT-156 — review_plan injects a 553 KB plan and a Go-authored semantic summary instead of letting the reviewer inspect authoritative files
| Coordination | Value |
|---|---|
| Assigned agent | Codex |
| Ticket state |
implemented — focused tests pass; live Pulse reverify pending |
| Last synchronized | 2026-08-19 |
- Priority: P1 — the prompt can exceed practical context budgets and the reviewer receives a controller-selected interpretation before it reads the source it is supposed to audit.
-
Owner:
interactive_workshop_manager.go(runReviewPlanAgent,reviewPlanAgentSystem)
The Social Media planning/plan.json observed during the 2026-08-19 run is
553,349 bytes. runReviewPlanAgent read that entire file in Go, generated a
second prose summary of every step configuration in Go, and inserted both into
the static reviewer prompt. The reviewer therefore paid the full context cost
before choosing what it needed, and its view was partly shaped by controller
logic (mode, locks, learning/KB flags) rather than by its own inspection of
the authoritative files.
This also explains why large plans encourage repeated broad searches: the reviewer begins with a huge flattened prompt instead of navigating one route or contract at a time.
The controller now supplies only execution facts it owns: workspace path, optional run folder, focus, and session identity. The reviewer is explicitly required to read:
-
soul/soul.mdfor objective and success criteria; -
workflow.jsonfor selected skills and capability settings; -
planning/plan.jsonwith targetedjqqueries rather than a full dump; -
planning/step_config.jsonfor modes, tools, skills, locks, and store access.
Go still owns deterministic safety boundaries (read-only tool surface, folder guard, workspace identity, lifecycle, and schema parsing). It no longer pre-interprets the workflow design for the semantic reviewer.
- A sentinel passed as
PlanJSONorStepConfigSummarycannot appear in the rendered review prompt. - The prompt directs the agent to inspect all authoritative sources itself.
- The reviewer retains read-only filesystem and managed DB access.
- A live Pulse plan review of Social Media completes without a full-plan prompt injection and still cites exact step/route evidence.
Auto-synced from docs/ on main. Edit there, not here.