📝 docs(spec): AUD2-S02 names resolveRunFacts, not the nonexistent loadProviderHosts - #77
Merged
Conversation
…dProviderHosts The spec lifted 'loadProviderHosts' from PROJECT-AUDIT-2026-08-18.md's REL-03 prose. grep -rn loadProviderHosts returns zero hits — the symbol has never existed. The site the spec describes (same file, same line range, the bare continue on providers/<name>.json) is the declPath fetch inside resolveRunFacts at cmd/assent/provider_host.go:82. Corrected in all five REQ/prose occurrences and recorded inline so a later lane does not re-derive it. An audit's prose is evidence, not authority: grep-confirm every symbol a spec asserts before the spec lands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spec-only correction, no code.
openspec/specs/p5-aud2-audit-remediation/spec.md(landed in #76) names the fix siteloadProviderHostsin five places. That symbol does not exist in the tree —grep -rn loadProviderHostsreturns zero hits. The name was lifted verbatim fromagent-context/PROJECT-AUDIT-2026-08-18.md's REL-03 prose when the spec was written, and never checked against the code.The site the spec describes — same file, same line range, the bare
continueonproviders/<name>.json— is thedeclPathfetch insideresolveRunFacts(cmd/assent/provider_host.go:82). The AUD2-S02 implementer and the coordinator found this independently.Corrected in all five occurrences, with an inline provenance note so a later lane doesn't re-derive it.
Lesson recorded in the note: an audit's prose is evidence, not authority —
grep-confirm every symbol a spec asserts before the spec lands. Same class of defect as a gate that cannot fail, one level up.Landing now while the PR queue is empty:
mainisstrict: true, so every merge invalidates other open PRs.