Skip to content

fix(#22): add structured output instructions to code agent#23

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/22-add-structured-output-instructions
Open

fix(#22): add structured output instructions to code agent#23
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/22-add-structured-output-instructions

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

The code agent was missing structured output guidance that the fix and review agents already have. Every code agent run failed harness validation with "output/code-result.json not found" because the agent never knew it needed to produce the file.

Changes:

  • agents/code.md: Add "Structured output" section (modeled on
    agents/fix.md) between "Constraints" and "Failure handling",
    documenting the MUST requirement to write the output JSON and
    validate it with fullsend-check-output.
  • skills/code-implementation/SKILL.md: Add MANDATORY language and
    fullsend-check-output validation to the existing output-writing
    block in step 3. Add new step 11 ("Verify structured output")
    as a final check before exit with a recovery path if the file
    is missing.

Note: No test suite or lint command exists in this markdown-only repo. Changes were verified by manual review of the diff.


Closes #22

Post-script verification

  • Branch is not main/master (agent/22-add-structured-output-instructions)
  • Secret scan passed (gitleaks — aa64fc8785e98e66331514124afa7203542c31b8..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

The code agent was missing structured output guidance that the fix
and review agents already have. Every code agent run failed harness
validation with "output/code-result.json not found" because the
agent never knew it needed to produce the file.

Changes:
- agents/code.md: Add "Structured output" section (modeled on
  agents/fix.md) between "Constraints" and "Failure handling",
  documenting the MUST requirement to write the output JSON and
  validate it with fullsend-check-output.
- skills/code-implementation/SKILL.md: Add MANDATORY language and
  fullsend-check-output validation to the existing output-writing
  block in step 3. Add new step 11 ("Verify structured output")
  as a final check before exit with a recovery path if the file
  is missing.

Note: No test suite or lint command exists in this markdown-only
repo. Changes were verified by manual review of the diff.

Closes #22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: code agent missing structured output instructions and self-validation

0 participants