Skip to content

chore: capture Agno golden system messages for migration ground truth#86

Open
Nelson Spence (Fieldnote-Echo) wants to merge 1 commit into
mainfrom
chore/agno-golden-messages
Open

chore: capture Agno golden system messages for migration ground truth#86
Nelson Spence (Fieldnote-Echo) wants to merge 1 commit into
mainfrom
chore/agno-golden-messages

Conversation

@Fieldnote-Echo

Copy link
Copy Markdown
Member

Summary

Captures exact system messages Agno produces for all 6 review modes, both cloud (no schema injection) and local (with JSON schema prompt). These golden files are the Phase 3 verification ground truth for the Agno-to-LiteLLM migration and cannot be reconstructed after Agno is removed.

Split from #83 because the ~24K lines of fixture text triggered a 406 from GitHub's diff API, preventing Grippy from self-reviewing.

Key findings documented in metadata.txt

  • Single system message per mode (not multiple)
  • Agno prefixes each instruction with "- " (use_instruction_tags=False)
  • No model-injected instructions (get_instructions_for_model returns None)
  • Local transport adds +7837 chars JSON schema via get_json_output_prompt()
  • 12 instructions per mode across all 6 modes

Scope limitation (per Grumpy audit)

These capture Agno's OpenAILike/local message construction path. They do NOT capture provider-specific request bodies or provider-class behavior. Provider-level capture is a Phase 3 prerequisite.

Test plan

  • Golden files contain no secrets (verified by detect-secrets hook)
  • Capture script is reproducible: uv run python scripts/capture_agno_golden.py

Captures exact system messages Agno produces for all 6 review modes,
both cloud (no schema injection) and local (with JSON schema prompt).
These golden files are the Phase 3 verification ground truth.

Key findings:
- Single system message per mode
- Agno prefixes each instruction with "- " (use_instruction_tags=False)
- No model-injected instructions (get_instructions_for_model returns None)
- Local transport adds +7837 chars JSON schema via get_json_output_prompt()
- 12 instructions per mode across all 6 modes
@codecov

codecov Bot commented Apr 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

❌ Grippy Review — DIFF ERROR

Review failed. Check the Actions log for details.

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.

1 participant