Repository navigation
Description
📚 Package Specification Audit Report
Date: 2026-11-18
Total Packages: 156 production packages under pkg/
Packages with Specs: 156 (counting packages documented by a parent spec)
Coverage: 100%
Coverage Summary
| Scope | Count | Documented by |
|---|---|---|
| Packages with their own README | 51 | <pkg>/README.md |
| Linter analyzers | 98 | Subpackages table in pkg/linters/README.md (every directory matched) |
| Internal linter helpers | 7 | pkg/linters/internal/README.md |
| Missing README | 0 | n/a |
⚠️ Accuracy Issue (1)
typeutil: ParseIntValue spec omits rejection cases
pkg/typeutil/README.md lists float64 as a supported input and says (0, false) is returned only for "unrecognized or non-numeric" types. pkg/typeutil/convert.go (lines 49-74) also returns (0, false) for:
float64NaN, +Inf, -Inf, and values outside theintrangeuint64values greater than the maximumint
convert_test.go covers these cases, so the spec is out of date, not the code.
Quality: Completeness 90%, Accuracy 70%, Consistency 95%, Freshness 40% (62 days behind), overall
⚠️ Freshness (5 packages more than 30 days behind source)
Dates come from full git history: latest commit touching the README versus latest commit touching non-test .go files.
| Package | Spec updated | Source updated | Days behind | Exported API drift | Assessment |
|---|---|---|---|---|---|
agentdrain |
2026-09-11 | 2026-11-08 | 57 | None | Freshness flag only |
importinpututil |
2026-07-10 | 2026-10-25 | 107 | None | Internal normalization fix; spec text matches |
intent |
2026-08-18 | 2026-11-13 | 87 | ResolveRisk moved from governance.go to resolver.go; signature unchanged |
Spec section matches |
stringutil |
2026-08-22 | 2026-11-03 | 72 | None | Freshness flag only (whitespace.go) |
typeutil |
2026-09-15 | 2026-11-17 | 62 | Behavior change in ParseIntValue |
See accuracy issue |
✅ Checks That Passed
- No undocumented exported symbols in the 51 packages with their own README
- No dangling
.gofile references and no brokengithub.com/github/gh-aw/pkg/...import paths in top-level package READMEs - Dependency claims match actual imports; every README has an H1
- Identifier-level phantom candidates all exist in source
- No cross-package terminology conflicts ("structured output" in
pkg/cliandpkg/loggerrefers to different things)
Action Items
- Document NaN, infinity, out-of-range float, and
uint64overflow rejection in theParseIntValuesection ofpkg/typeutil/README.md - Re-verify and refresh the
agentdrain,importinpututil,intent,stringutil, andtypeutilspecs against current source - When opening a fix PR for this issue, include
Closes #<this issue number>in the PR description
📚 Next review scheduled for tomorrow. Close this issue once all items are resolved.
📚 Specification review by Package Specification Librarian · copilot · routed: haiku55 xhigh · ~6 AIC · ⌖ ~2 AIC · ⊞ 6.5K · ◷
- expires on Nov 21, 2026, 5:27 AM UTC-08:00
Activity
github-actions commentedon Nov 21, 2026
This issue was automatically closed because it expired on 2026-11-21T13:27:14.489Z.