Repository navigation
v0.8.0
The honest-capabilities release. After three audit rounds today, this version stops claiming uniform enforcement across agents and starts reading from a single source of truth. Setup, nano-doctor, README, and README.es all consume adapters/<host>.json so the difference between Claude Code's enforced hooks and the guided workflow on Cursor / Codex / OpenCode / Gemini is named consistently across every surface.
Adapter contract
reference/host-adapter-schema.mddefines an L0-L3 capability vocabulary (Guided / Checked / Guarded / Blocked when unsafe) with explicit rules for "observation overrides declaration".adapters/{claude,codex,cursor,opencode,gemini}.jsondeclare each host's real protection level today, pluslast_verifiedandverification.methodso anyone can tell which guarantees are CI-asserted and which are manual.- New CI job
host-adapter-schemavalidates required fields, capability values, host/filename match, and verification evidence on every PR. The contract is enforced, not aspirational. nano-doctorreads the adapter for each detected host CLI and reports protection per host, with drift warnings when the declaration and the observed install disagree.setupprints a tight protection-level summary by default.--verboseunlocks the legacy skill listing.- README and README.es replaced "every step is enforced" with a per-host capability matrix grounded in the adapter files.
Internal audit round 4
- Write/Edit guard resolves symlinks. A
mylink/config -> ~/.ssh/configno longer slips past the prefix denylist; both the original and resolved path are evaluated. - Broader secret-read rules. G-030 now covers
grep,rg,jq,awk,sed,strings,od,xxd,hexdump,wc,file,stat,tr, plus the existingcat/head/tailfamily. New G-031 blocks bareenv/printenvwhile leavingenv VAR=value cmdallowed. nano-doctor --fixwires hooks for legacy installs. Detects missingPreToolUsematchers, makes a timestamped backup of.claude/settings.json, merges the matchers in viajq. Idempotent; existing permissions stay untouched.- Doctor JSON output preserves pipes and quotes. Internal separator switched from
|to tab; envelope built withjq -R -s.Write|Edit|MultiEditno longer truncates at the first pipe. /featureautopilot contract fixed. Session init now passes--autopilot, so the orchestrator no longer collides with/nano's default approval pause.- Guard tier docs refreshed. README now describes block-before-allowlist (matching the code), and the cross-agent gap is named explicitly.
Compatibility
No wire-schema breaking changes. init-project.sh continues to leave existing .claude/settings.json untouched on merge. /nano-doctor --fix is the opt-in migration path for legacy installs that want to add the Write/Edit guard hook.
Install
npx create-nanostackAfter install, run /nano-doctor to see the honest state of your permissions and hook wiring on the agents you have installed.