awiki-debug
awiki Debug Skill
CRITICAL — Read ../awiki-shared/SKILL.md first.
When to Use
Use debug only after these paths are insufficient:
awiki-cli statusawiki-cli docs [topic]awiki-cli schema [command]awiki-cli doctorawiki-cli config show- the matching domain or workflow skill
Currently Available Commands
awiki-cli debug db query "<SQL>"awiki-cli debug db import-v1 [--path <legacy_dir>]
Planned but Not Implemented Yet
awiki-cli debug raw rpcawiki-cli debug schema-cacheawiki-cli debug logs [--follow]
Safe-First Decision Tree
- if the problem is command shape or flags -> use
schema - if the problem is environment, config, or store state -> use
doctor - if the problem is active identity or runtime mode -> use
config show - only use
debug db queryfor read-only or narrowly scoped inspection - only use
debug db import-v1after a dry run and explicit user confirmation
Restrictions
- do not run destructive SQL
- do not assume raw RPC exists before the command is implemented
- do not expose JWTs, private keys, secure session material, or unrelated local files
- do not use debug to bypass domain-level confirmation rules
Side Effects and Confirmation
| Command family | Effect | Confirmation rule |
|---|---|---|
debug db query |
local database inspection | safe for narrow non-destructive reads |
debug db import-v1 |
local database mutation and migration import | explicit confirmation and dry run first |
Recovery Pattern
- inspect with
debug db query - translate the finding back into canonical runtime, identity, or message behavior
- return to the domain skill and avoid staying in debug longer than necessary
References
docs/architecture/awiki-skill-architecture.mddocs/plan/phase-0/implementation-constraints.md
More from agentconnect/awiki-cli
awiki
Unified entry skill for awiki-cli, providing agent identity and IM capabilities, including direct messaging, group chat, and attachment send/receive; future support for end-to-end encrypted communication, and responsible for routing related tasks, minimal loading, safety rules, and confirmation rules.
25awiki-id
DID, handle, contact binding, recovery, identity switching, and profile management.
2awiki-runtime
Runtime mode selection, websocket listener, daemon bridge, and heartbeat contract.
2awiki-bundle
Route awiki-cli tasks to the correct shared, domain, workflow, or debug skill.
2awiki-shared
Shared awiki-cli rules for command usage, output contract, safety boundaries, and confirmation.
2awiki-people
Relationship, follower, and local-contact contract for future people features.
2