chore: add AGENTS.md and PLAN.md#8
Conversation
Review: fact-check of AGENTS.md / PLAN.md against the codeSince these docs exist to steer future agents/maintainers, I verified every factual claim against the code on Confirmed inaccuracies (most-severe first)
Minor notes
Given #2 and #6, the Priority-1 row of PLAN.md's "Recommended Priority Order" is built on two non-bugs and probably deserves a re-rank. 🤖 Generated with Claude Code |
- Fix provider interface method name: Fetch → Provide (with error return)
- Fix config loading description: no upward search, no --config flag
- Remove shell injection claim (single quotes protect against $/``/\)
- Remove Windows exit code claim (syscall.WaitStatus works on Windows)
- Fix GCP fetch failure line numbers (48-51, not 37-41)
- Fix: plain.go has no logging, only gcp and gitlab do
- Add new finding: validation.go:40 says 'value takes precedence' but valueFrom wins
- Add new finding: validation.go:44-47 is dead code (Name != '' ⇒ Name == '' never fires)
- Remove PRIVATE-TOKEN deprecation claim (still supported by GitLab)
- Remove Body.Close() claim (already deferred at gitlab.go:81)
- Remove 'undefined behavior' for dual valueFrom (deterministic last-writer-wins)
- Fix defer syntax (os.Stdout = old is not a call; use defer func() { ... }())
- Reweight priority order to remove non-bugs
Summary