You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3ed0abc
Browse filesBrowse the repository at this point in the historyBrowse files
* feat(cli): simplify identity diagnostics
Make status and doctor concise, with --verbose for full diagnostic detail.
Keep actual push destinations, distinct warnings and one actionable next step.
Preserve short/JSON contracts, exits and offline behavior; add no prompts or dependencies.
Verified build, docs, 358 unit, 54 E2E and 138 release-workflow tests;
252 captured observations cover machine compatibility and effect boundaries.
Two Fish tests and one optional installation test skipped. Live authentication
and native screen-reader qualification were not performed.
* test(auth): wait for descendant termination before heartbeat checks
Use a bounded, identity-checked observation helper before sampling the
heartbeat. Keep the overall cleanup deadline and first-signal exits.
Add deterministic ordering and survivor controls, plus synthetic TAP
diagnostics for termination, timing and heartbeat observations.
No production runtime, public UX/schema, version or release changes.
Validation: build, unit (360 pass, 2 environment skips), E2E (54 pass,
1 optional install skip), release (138 pass), docs, auth (27 pass),
help/version and diff checks passed. Independent mutation controls
rejected missing observation and exceeded cleanup bounds.
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,14 @@ Use your actual username. `add` replaces the profile; include any other fields y
70
70
71
71
For SSH prerequisites and a full walkthrough, read [Use the right Git identity for this repo](https://docs.gitrole.dev/guides/use-the-right-git-identity-for-this-repo/).
72
72
73
+
Human `status` and `doctor` output is concise. Each diagnostic warning appears
74
+
once; doctor lists every push destination, counts ok checks and keeps warn/info.
75
+
Its `next` action is the same in both modes and never runs automatically. Use
76
+
`gitrole status --verbose` or `gitrole doctor --verbose` for full explanations.
77
+
Add `--offline` to keep diagnosis local. Verbosity does not add checks or change
78
+
verdicts. `status --short` and `doctor --json` retain their exact machine output
79
+
and exit behavior, including when combined with `--verbose`.
Copy file name to clipboardExpand all lines: docs/guides/troubleshoot-identity-warnings.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,3 +74,20 @@ Check `gitrole --version` and `command -v gitrole`, then read <a href="{{ '/guid
74
74
<h2id="limits">An aligned result still cannot establish push success</h2>
75
75
76
76
A check does not prove refspec readiness or repository authorization. It observes current identity and default destinations. A later explicit `git push` target, `git commit --author`, or changed environment/configuration falls outside that snapshot.
77
+
78
+
## Read concise output and expand details
79
+
80
+
Start with `gitrole status` for check outcomes, or `gitrole doctor` for the
81
+
warnings and every push destination. Default doctor counts ok checks; verbose
82
+
lists them. Warn/info checks remain visible in both modes. Each warning is shown once. The `next` line is advice, not an
83
+
automatic repair. Use `gitrole doctor --verbose` for complete reasons and context;
84
+
use `gitrole doctor --offline --verbose` when SSH execution is not appropriate.
85
+
86
+
With no default push destination, choose and configure the intended destination
87
+
before retrying; gitrole won't guess the URL. Next-action priority is destination,
88
+
then history, identity/policy, then auth, and does not change with verbosity.
89
+
Resolve identity/policy warnings before making the first commit. A matching local identity can
90
+
coexist with unverified authentication. Do not change SSH settings merely to clear
91
+
a warning. An explicit `gitrole auth test` remains a separate deliberate action;
92
+
it may prompt, run configured commands or change SSH state, and its connection
93
+
observation does not clear doctor's verdict or prove a future push.
0 commit comments