Guided dreams
Enter, wake, audit
Enter: puax_enter_dreamscape
council: trueruns the council route: Zuowang, Hundun, Paoding, Xinhuo. You can omit a single role.boundaryis required:objective,max_turns,kill_criteria. Hypothesis caps default to 8 max and 3 min.- Over budget: the dream is void, not a gentle ending.
- Under the minimum: you may not wake. Two lazy ideas do not count as divergence.
Wake: puax_awaken
You can wake at any time. The tool checks the stamp issued at entry. A [DREAM] tag the agent writes on itself does not count. Unstamped output is discarded.
Audit: puax_convergence_audit
- It kills repetition and emptiness. Strange is not a charge.
- A suspected problem injects an L1 reminder. It does not stop the workflow.
- The audit is a proxy, not ground truth.
- An INSIGHT may suggest the next step. It is not evidence, and it is not proof of done.
Code sample
puax_enter_dreamscape({
council: true,
boundary: {
objective: "这个失败套件,除了重试之外还有哪三条路",
max_turns: 4,
max_hypotheses: 8,
min_hypotheses: 3,
kill_criteria: "出现可直接改代码的具体补丁就停"
}
})
# 醒后:假设进闸门,不进事实层
puax_awaken({ dream_context_ref })
puax_confidence_check(...)
puax_verify_completion(...)
Quiz
What is the default dream-council route?