Development record
ultra-v0.6.8 B2: checkAgentTrustContract in internal/core/lint/agentcontract.go returns early when reads_untrusted_input is absent, so the prompt_version check below it never runs — contradicting its own comment that prompt_version is required for EVERY prompt. checkAgentChangelog then skips the page as already reported, which is untrue on this path: a prompt with only name: in its frontmatter yields one finding instead of the declaration finding, the missing prompt_version finding and the changelog finding. Fix: record the declaration finding and fall through.
ultra-v0.6.8 B2: checkAgentTrustContract in internal/core/lint/agentcontract.go returns early when reads_untrusted_input is absent, so the prompt_version check below it never runs — contradicting its own comment that prompt_version is required for EVERY prompt. checkAgentChangelog then skips the page as already reported, which is untrue on this path: a prompt with only name: in its frontmatter yields one finding instead of the declaration finding, the missing prompt_version finding and the changelog finding. Fix: record the declaration finding and fall through.
Frontmatter
| id | iss-2608291814563353 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2608291814563353-agent-contract-skips-prompt-version-when.md
open on GitHub ↗ · commit history ↗