Skip to main content

Module advise

Module advise 

Source
Expand description

Data and pure logic for the design-deliberation stage.

Gathering the advisor proposals and running the synthesis seat is crate::graph::Runner::advise’s job - a graph node, wired the same way judge and review already are, run once a run has a settled task instruction and before any implementer touches the repository. This module only holds what that node produces (AdvisorRecord, Advice) and the pure, process-free logic for reading it back (Advice::proposals, apply_reflection) - split out so both are unit testable without spawning an agent.

Structs§

Advice
The whole design-deliberation stage: one record per advisor seat, plus the synthesis blended from whichever seats produced a usable proposal.
AdvisorRecord
One advisor seat’s outcome, kept even on failure so a synthesis that only had some of the seats to work with is not a mystery later.

Enums§

Reflection
How much of an advisor’s proposal the synthesis brief appears to carry forward.

Functions§

apply_reflection
Classify every record’s Reflection against advice.synthesis, once the synthesis text (or its absence) is known.