Commit b46b157
committed
fix(#22): enforce structured output in code agent
The code agent was missing structured output enforcement, causing
validation_loop failures. The review and fix agents both have explicit
structured output sections and mandatory final validation steps, but
the code agent had neither.
Changes:
- agents/code.md: add "Structured output" section documenting the
requirement to produce code-result.json and validate it with
fullsend-check-output before exiting. Update failure handling to
reference structured output in the handoff contract.
- skills/code-implementation/SKILL.md: add step 11 as a mandatory
final step to validate structured output against the schema. Add
forward reference from step 3 (where the file is first written)
to step 11. Update progress markers list. Require structured
output even for partial work exits.
Closes #22
Assisted-by: Claude
Signed-off-by: Wayne Sun <gsun@redhat.com>1 parent aa64fc8 commit b46b157
2 files changed
Lines changed: 69 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
95 | 114 | | |
96 | 115 | | |
97 | 116 | | |
98 | 117 | | |
99 | 118 | | |
100 | 119 | | |
101 | 120 | | |
102 | | - | |
103 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
104 | 124 | | |
105 | | - | |
| 125 | + | |
| 126 | + | |
106 | 127 | | |
107 | 128 | | |
108 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
190 | | - | |
| 189 | + | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
203 | 201 | | |
| 202 | + | |
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
| |||
739 | 738 | | |
740 | 739 | | |
741 | 740 | | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
742 | 778 | | |
743 | 779 | | |
744 | 780 | | |
| |||
748 | 784 | | |
749 | 785 | | |
750 | 786 | | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
751 | 791 | | |
752 | 792 | | |
753 | 793 | | |
| |||
0 commit comments