Repository navigation
feat: add read-only atomic diagnostics support report - #304
Merged
Merged
Conversation
Collects the context support otherwise requests over several follow-ups: Atomic version and install source, installed agent integration packages (receipt versions and file drift), installed skills and their versions, which agents have Atomic hooks enabled (with evidence, distinct from installed), and whether the Git shim is enabled. `--json` emits one document. Unknown values are reported with a reason, never inferred. The command writes nothing, needs no network, and works outside a workspace. URL credentials are redacted and home paths shown as `~`. Reuses `atomic update` install detection, integration receipts, agent adapters, `shim_config`, and the git hook dispatcher inspection (now returned as data so `git hooks status` and diagnostics share it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q7Qtv2GmBTRRN3Xy1jzx17
On Windows the remainder after `~` was rendered with the native separator, producing `~/.x\settings.json` and failing the receipt settings test on the Windows runner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q7Qtv2GmBTRRN3Xy1jzx17
Contributor
Author
|
Here's an example of what it looks like when you're not in an Atomic repository. |
Contributor
Author
|
Here is it inside of an Atomic repository. |
geekgonecrazy
approved these changes
Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
atomic diagnostics [--json], a paste-ready support report. It covers the Atomic version and install source, installed agent integrations and their versions, installed skills, which agents are enabled, and whether the Git shim is enabled.~.atomic update, integration receipts, the agent adapters' hook checks,shim_config, and the Git hook dispatcher inspection. The dispatcher inspection now returns data, sogit hooks statusand diagnostics share the same code.docs/diagnostics.md. It also explains how to check whether a specific record came from an agent; that check is not part of this command.Tests: unit tests for detection, missing or corrupt data, and text and JSON output, plus 3 end-to-end tests against the real binary. One of them confirms the command changes nothing in the workspace.
Generated by Claude Code