Skip to content

docs: close delta-audit doc-consistency findings (2 Low + 4 Nit)#47

Merged
lesnik512 merged 1 commit into
mainfrom
docs/audit-doc-consistency-sweep
Jun 13, 2026
Merged

docs: close delta-audit doc-consistency findings (2 Low + 4 Nit)#47
lesnik512 merged 1 commit into
mainfrom
docs/audit-doc-consistency-sweep

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

Batches the doc-staleness tail from the 0.9.0 delta audit (planning/audit/2026-06-12-delta-audit.md) into one sweep. Docs-only, no code.

Finding (severity) File Fix
README pydantic-only decode note (Low) README.md typed decoding works with either the pydantic or msgspec extra (0.9.0 gave msgspec response_model= parity)
dispatch snippet missing imports (Low) docs/index.md snippet now imports PydanticDecoder / MsgspecDecoder (+ AsyncClient) so it runs as copied — no more NameError
MissingDecoderError hint mismatch (Nit) docs/errors.md hint strings now match errors.py verbatim — backticks around the pip install commands + the truncated trailing Pass a custom decoder via decoders=[...].
resolved item still under Open (Nit) planning/deferred-work.md module-global lru_cache item was resolved by PR #42 (per-instance caches); moved Open → new Resolved section
stale RTD URL (Nit) planning/engineering.md §1 docs URL retargeted from readthedocs.io to httpware.modern-python.org (GitHub Pages)
ambiguous exception rule (Nit, 3/3) CLAUDE.md exception-construction rule scoped to StatusError subclasses, mirroring engineering.md §4 (non-status ClientError subclasses do define keyword-only __init__)

Each fix verified against the live code (errors.py message builder, the ResponseDecoder dispatch, the per-instance caches) and the canonical engineering.md.

Test Plan

  • just lint clean (eof-fixer + ruff + ty)
  • No source change — only CLAUDE.md, README.md, docs/*.md, planning/*.md
  • docs/index.md snippet imports resolve against the real module paths
  • docs/errors.md hints match _missing_decoder_summary in errors.py byte-for-byte

🤖 Generated with Claude Code

Batches the doc-staleness tail from planning/audit/2026-06-12-delta-audit.md:

- README.md: typed decoding works with either the pydantic OR msgspec extra
  (was pydantic-only; 0.9.0 added msgspec response_model= parity).
- docs/index.md: decoder-dispatch snippet now imports PydanticDecoder /
  MsgspecDecoder (+ AsyncClient) so it runs as copied.
- docs/errors.md: MissingDecoderError hint strings now match errors.py
  verbatim (backticks around pip commands + the trailing 'Pass a custom
  decoder via decoders=[...].' sentence).
- planning/deferred-work.md: the module-global lru_cache item is resolved by
  PR #42 (per-instance caches); moved from Open to a new Resolved section.
- planning/engineering.md: §1 docs URL retargeted from the stale
  readthedocs.io to httpware.modern-python.org (GitHub Pages).
- CLAUDE.md: exception-construction rule scoped to StatusError subclasses,
  mirroring engineering.md §4 (non-status ClientError subclasses do define
  keyword-only __init__).

Docs-only; no code change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit b1e6533 into main Jun 13, 2026
5 checks passed
@lesnik512 lesnik512 deleted the docs/audit-doc-consistency-sweep branch June 13, 2026 08:33
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