order_risk circuit.
1. Start With A Bounded Requirement
Do not start from implementation. Start from behavior:2. Declare Inputs And Output
3. Declare Fail-Closed Behavior
4. Write The PCD
- every branch returns a defined value;
- negative or zero inputs block;
- the approval path is the final path;
- no external state is required.
5. Generate The Starter Candidate
brik64 pcd generate order-risk is available only in generation-capable builds.
For the current public CLI beta, create or review a .pcd file manually unless
brik64 help lists the generation command.
Review generated output before composing it into a Polymer. Generation is not a substitute for reviewing the declared inputs, outputs and fail-closed behavior.
6. Use Monomers When The Operation Is Atomic
For string or arithmetic operations, prefer named monomers from the catalog.7. Agent Checklist
- The requirement is restated in bounded form.
- Inputs and output are named.
- Fail-closed behavior is explicit.
- Every branch returns a value.
- Monomers are selected from the catalog.
- Extended or external behavior is identified before composition.
- The PCD can be reviewed without hidden source context.

