Skip to content

docs: fix documentation drift found in a full audit pass - #30

Merged
NikitaMikhailov merged 1 commit into
mainfrom
docs/update-adr-006-post-distribution
Sep 10, 2026
Merged

NikitaMikhailov merged 1 commit into
mainfrom
docs/update-adr-006-post-distribution

Conversation

@NikitaMikhailov

Copy link
Copy Markdown
Owner

Summary

A full audit of README/CLAUDE.md/all ADRs against actual current behavior, requested after a long stretch of feature work this session (--check, file locking, ssh:// discovery, Docker image, Homebrew tap). Everything below was verified empirically (actual --help output, actual config.go code, actual git history) rather than assumed:

  • CLAUDE.md's "Core packages" list was missing internal/discovery and internal/config (genuinely load-bearing — SSH transport, multi-host schema) and internal/diff (comparable size/testedness to internal/buildinfo, already listed).
  • ADR 004 still said ssh:// is rejected outright — true when written, false since ADR 009. Struck through with a pointer to what actually happens now, not deleted. Its TLS-priority list also only documented 3 rules; the real code has 4 (ADR 009 added the ssh:// case but never updated this ADR's mirrored list).
  • ADR 005 predicted dockerConnector's unused ctx would eventually be needed by a future connection method "like an SSH tunnel dial." SSH shipped, but through a different mechanism than predicted — dockerConnector's own ctx remains exactly as unused today as when this was written. Annotated so nobody assumes SSH support made that seam load-bearing.
  • ADR 006 had two now-false claims (Homebrew/Docker "deferred," "no Docker image exists yet") and a release command (git push --tags) that never actually matched real practice or CLAUDE.md's own correct version (git push origin vX.Y.Z).

Test plan

  • Reviewer subagent pass found the first round's strikethrough had accidentally struck the word "Update" instead of the actual stale claim — fixed to match ADR 002's established precedent (strike the claim itself).
  • Cross-checked README's install snippets (binary download, go install, checksums.txt verification) against the real latest release — all work as documented.
  • go build/go test ./... -race/golangci-lint run all clean (no Go source touched).

A systematic check of README/CLAUDE.md/all ADRs against actual current
behavior, after a long stretch of feature work (--check, locking, ssh://,
Docker image, Homebrew tap). Found and fixed, all verified empirically
against the real CLI/config rather than assumed:

- CLAUDE.md's Core packages list was missing internal/discovery and
  internal/config -- both genuinely load-bearing (SSH transport, Docker
  API, multi-host schema validation), not helpers. Added internal/diff
  too for consistency (comparable size/testedness to buildinfo, already
  listed).
- ADR 004 still described ssh:// as rejected outright -- true when
  written, false since ADR 009. Struck through, not deleted, with a
  pointer to what actually happens now. Its TLS-priority list was also
  missing the ssh:// rejection rule ADR 009 added to the real code
  (config.go has 4 cases now, the ADR only ever documented 3).
- ADR 005 predicted dockerConnector's unused ctx parameter would
  eventually be needed by a future connection method "like an SSH tunnel
  dial" -- SSH shipped, but through a different mechanism than predicted
  (the ordinary per-request context already threaded through
  client.WithDialContext, not dockerConnector's own ctx, which remains
  exactly as unused today as when this was written). Annotated so nobody
  assumes SSH support finally made that seam load-bearing.
- ADR 006 had two now-false claims (Homebrew/Docker "deferred," "no
  Docker image exists yet") and a release command that never actually
  matched real practice or CLAUDE.md's own correct version -- fixed the
  first review round's strikethrough that accidentally struck the word
  "Update" instead of the actual stale claim it was meant to mark.
@NikitaMikhailov
NikitaMikhailov merged commit ad5b019 into main Sep 10, 2026
10 checks passed
@NikitaMikhailov
NikitaMikhailov deleted the docs/update-adr-006-post-distribution branch September 10, 2026 05:29
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