Skip to content

📝 docs(spec): AUD2-S02 names resolveRunFacts, not the nonexistent loadProviderHosts - #77

Merged
konih merged 1 commit into
mainfrom
lane/aud2-spec-fix
Aug 18, 2026
Merged

📝 docs(spec): AUD2-S02 names resolveRunFacts, not the nonexistent loadProviderHosts#77
konih merged 1 commit into
mainfrom
lane/aud2-spec-fix

Conversation

@konih

@konih konih commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Spec-only correction, no code.

openspec/specs/p5-aud2-audit-remediation/spec.md (landed in #76) names the fix site loadProviderHosts in five places. That symbol does not exist in the treegrep -rn loadProviderHosts returns zero hits. The name was lifted verbatim from agent-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 continue on providers/<name>.json — is the declPath fetch inside resolveRunFacts (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: main is strict: true, so every merge invalidates other open PRs.

…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.
@konih
konih merged commit 011c604 into main Aug 18, 2026
5 checks passed
@konih
konih deleted the lane/aud2-spec-fix branch August 18, 2026 22:17
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