Troubleshooting
Prioritize rapid recovery with stable error code mapping.
Fast recovery loop
- Capture the returned error code.
- Identify retryability.
- Execute documented recovery command.
- Re-run the original command.
High-frequency issues
invalid_arguments
- Fix command flags or payload shape.
- Run:
ae <subcommand> --help
registry_fetch_failed
- Validate network and source availability.
- Re-run same command after transient failure clears.
check_mode_changes_detected
- Indicates drift was found with
--check. - Re-run without
--checkto apply writes.
write_conflict_no_overwrite
--no-overwriteblocked writes.- Re-run with
--backupor remove--no-overwrite.
doctor_checks_failed
- Review failed checks and run
fix_commandfrom diagnostic output.
hub_not_found
- No hub exists at project or user level.
- Run:
ae hub init
invalid_name
- Knowledge pack name doesn't match
[a-z][a-z0-9_]*. - Use lowercase letters, numbers, and underscores only.
already_exists
- Knowledge pack with that name already exists.
- Use
ae know update --name <name>to refresh, or choose a different name.
know_not_found
- Referenced knowledge pack doesn't exist in the hub.
- Run:
ae know listto see available packs.
hub_pull_failed
- Failed to pull from remote registry.
- Check network and remote config in
hub.yaml.
Source-of-truth error contract
Use the canonical playbook: