Skip to content

docs: cover doctor on the human-facing surfaces (README, README.ja, llms.txt) - #661

Open
fujibee wants to merge 2 commits into
mainfrom
docs-doctor
Open

docs: cover doctor on the human-facing surfaces (README, README.ja, llms.txt)#661
fujibee wants to merge 2 commits into
mainfrom
docs-doctor

Conversation

@fujibee

@fujibee fujibee commented Aug 7, 2026

Copy link
Copy Markdown
Owner

doctor shipped in #640/#654, and the agent-facing surfaces (type templates, dispatch, SKILL.md) are being covered in #660 — but the three human-facing files that describe the other subcommands never mention it: README.md and README.ja.md have a per-subcommand section for spawn/despawn/actas and none for doctor (the string does not appear in either file), and llms.txt enumerates scripts/*.sh under "Key source files" without scripts/doctor.sh.

Changes

  • README.md: new ### See who holds what (doctor) section, placed with the other subcommand sections (after session resume, before Delivery modes). It keeps bare doctor as the normal form — whole-installation default, like claude doctor / brew doctor — with --project / --type / --team presented as freely combinable narrowing filters rather than required scoping, --redacted as the paste-into-an-issue form (consistent pseudonyms for paths and names), the read-only stance (stale state is reported, never cleaned up), and the 0/1/2 exit codes.
  • README.ja.md: the same section as a translation of the English text, placed at the matching position.
  • llms.txt: one scripts/doctor.sh line added to the "Key source files" list in the existing format.

Descriptions were verified against scripts/doctor.sh --help, the script itself, and tests/test_doctor.bats (default scope, filter combination, redaction shape, exit codes) rather than restated from other summaries.

Docs-only; no scripts or tests are touched.

fujibee added 2 commits August 7, 2026 14:54
…lms.txt)

scripts/doctor.sh shipped (#640/#654) with the agent-facing surfaces
handled separately, but the three human-facing files that describe the
other subcommands never mention it: README.md and README.ja.md have
per-subcommand sections (spawn, despawn, actas) and no doctor section,
and llms.txt enumerates scripts/*.sh under "Key source files" without
scripts/doctor.sh.

Add a doctor section to README.md matching the granularity of the
surrounding subcommand sections: bare doctor as the normal form
(whole-installation default), --project/--type/--team as freely
combinable narrowing filters, --redacted as the paste-into-an-issue
form, read-only stance, and the 0/1/2 exit codes. README.ja.md gets
the same section as a translation of the English text. llms.txt gets
one doctor.sh line in the existing list format.

Descriptions were checked against doctor.sh --help, the script, and
tests/test_doctor.bats rather than restated from memory.
…g no leaks

_redact_project collapses a $HOME-prefixed path to ~ and pseudonymizes
only paths outside $HOME (doctor.sh line 261; fixed by
tests/test_doctor.bats lines 317/346). The username disappears, but the
directory structure below $HOME stays visible -- and most projects
live under $HOME. "Without leaking your machine's layout" promised
more than the majority case delivers, and the sentence sits exactly on
the paste-into-a-public-issue path.

Say what is hidden ($HOME prefix, outside-$HOME paths, team/agent
names) and what remains (path segments below $HOME), and tell the
reader to skim the output before posting. Same change in README.ja.md,
translated from the corrected English.
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