cad-executor: the terminal success-criteria check has no report field and no consumer #65
Labels
No labels
already-shipped
bug
documentation
duplicate
enhancement
good first issue
help wanted
in progress
invalid
needs-decision
proposal
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: crenshawdev/cadence#65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happened
agents/cad-executor.mdends its<process>block with an instruction whose output has nowhere to go:The
<report>block that follows defines the return contract, and it has no field for that check. The executor is told to do the work and given no slot to put the answer in, so the result is either dropped or smuggled into a field meant for something else.Nothing downstream asks for it either:
The next orchestrator step,
goal_check, redoes the same assessment inline, and it does so with an articulated purpose the executor's version lacks: producing evidenced claims forcad-verifierto falsify.What you expected
An agent contract that does not require work it cannot report. Either the
<report>block gains a field for the check andexecute.mdconsumes it, or the instruction goes.Reproduction
Read
agents/cad-executor.md: the<process>block's final line asks for the check, the<report>block immediately below defines every field the executor may return, and none of them holds it.Then
grep -c -i 'success criteria' cadence-core/workflows/execute.mdreturns0, confirming no consumer exists.Environment
node --version: v26.4.0fba5879Notes
The fix is a deletion: drop the terminal success-criteria line from
<process>.goal_checkalready owns this assessment, owns it later (with the full phase diff in view rather than one executor's slice), and owns it for a stated reason.Do not touch the per-task predict-then-verify at process step 2. That one has a consumer (the deviation record), a contract, and it is what makes a SUMMARY's claims trustworthy in the first place.
Verification after the fix:
grep -i 'success criteria' agents/cad-executor.mdreturns nothing, and the executor's report contract is unchanged.