DocsHiGantic CLIDiagnostics & Troubleshooting

Diagnostics & Troubleshooting

Run one read-only command to check the installed CLI, environment variables, protected configuration, credentials, API connectivity, secure-storage provider, and optional skill-installer dependency.

Command runbook

Diagnose the current setup

Doctor reads configuration and credentials only to validate them. It never prints an API key or changes local or remote state.

Run

higantic doctor

Expected

PASS  CLI               HiGantic CLI 1.8.2 is running.
[OK] Credentials: A valid scoped key is available from profile 'default'.
[OK] HiGantic API: Authentication and API connectivity are working.
Result: Ready.

If it fails

Follow the first ERROR line and its hint. Use --offline when the network is intentionally unavailable.

Diagnostic modes

higantic doctor --offline
higantic doctor --profile work
higantic doctor --json
StatusMeaningExit behavior
OKThe check passedNo failure
WARNOptional or incomplete setup needs attentionExit 0
SKIPA check was deliberately or safely skippedExit 0
ERRORThe setup cannot perform the checked operationExit 2

Common recovery paths

Message or codeNext action
profile_existsCheck status, revoke the exact profile, then sign in again—or choose another profile name
profile_not_selectedRun higantic auth profiles, then higantic auth use PROFILE
credential_not_foundRun doctor; remove only the exact broken profile with --profile PROFILE --local-only before signing in again
incomplete_environmentSet all three HIGANTIC variables or unset all three
secure_storage_unavailableInstall or unlock the operating-system credential provider, then rerun doctor
connection_errorCheck the network and configured API origin, then rerun doctor
expired_tokenRun higantic auth login to start a new ten-minute browser session

Skill installation failures

The optional skill installer needs Node.js with npx. HiGantic strips credential and custom-origin environment variables before starting it. Failure output is reduced to a bounded, control-free final reason.

higantic skills install
higantic skills install --json