Evidence
During promptdriven/pdd_cloud#1585 decomposition, child #1600's workflow state expanded beyond the child issue's narrow Cloud Build YAML task into manifest/docs/test files. Some follow-on files may be valid, but the run shows pdd change relies on prompt instructions instead of a deterministic write-scope guard.
Step 9 already says direct edits are limited, but there is no hard post-step revert/check equivalent to the agentic_update out-of-scope guard.
Current bad behavior
A decomposed child can drift outside its intended write contract. In a parallel parent run, this increases conflict risk and can make sibling subissues overlap.
Owning paths:
prompts/agentic_change_step9_implement_LLM.prompt
pdd/agentic_change_orchestrator.py
Fix
Add an orchestrator-enforced allowlist after Step 9.
Suggested behavior:
- Build allowed files from Step 6 dev units, confirmed Direct Edit Candidates, prompt/doc associated-document contract, and required PDD metadata.
- Revert or fail on changed files outside that allowlist before Step 10/13.
- Surface a clear workflow failure when the agent attempted out-of-scope edits.
Related run
- Parent: promptdriven/pdd_cloud#1585
- Child showing drift: promptdriven/pdd_cloud#1600
Evidence
During promptdriven/pdd_cloud#1585 decomposition, child #1600's workflow state expanded beyond the child issue's narrow Cloud Build YAML task into manifest/docs/test files. Some follow-on files may be valid, but the run shows
pdd changerelies on prompt instructions instead of a deterministic write-scope guard.Step 9 already says direct edits are limited, but there is no hard post-step revert/check equivalent to the
agentic_updateout-of-scope guard.Current bad behavior
A decomposed child can drift outside its intended write contract. In a parallel parent run, this increases conflict risk and can make sibling subissues overlap.
Owning paths:
prompts/agentic_change_step9_implement_LLM.promptpdd/agentic_change_orchestrator.pyFix
Add an orchestrator-enforced allowlist after Step 9.
Suggested behavior:
Related run