Skip to content

v0.8.0

Choose a tag to compare

@garagon garagon released this 25 Apr 17:03
· 117 commits to main since this release
c203ba4

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.md defines an L0-L3 capability vocabulary (Guided / Checked / Guarded / Blocked when unsafe) with explicit rules for "observation overrides declaration".
  • adapters/{claude,codex,cursor,opencode,gemini}.json declare each host's real protection level today, plus last_verified and verification.method so anyone can tell which guarantees are CI-asserted and which are manual.
  • New CI job host-adapter-schema validates required fields, capability values, host/filename match, and verification evidence on every PR. The contract is enforced, not aspirational.
  • nano-doctor reads the adapter for each detected host CLI and reports protection per host, with drift warnings when the declaration and the observed install disagree.
  • setup prints a tight protection-level summary by default. --verbose unlocks 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/config no 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 existing cat / head / tail family. New G-031 blocks bare env / printenv while leaving env VAR=value cmd allowed.
  • nano-doctor --fix wires hooks for legacy installs. Detects missing PreToolUse matchers, makes a timestamped backup of .claude/settings.json, merges the matchers in via jq. Idempotent; existing permissions stay untouched.
  • Doctor JSON output preserves pipes and quotes. Internal separator switched from | to tab; envelope built with jq -R -s. Write|Edit|MultiEdit no longer truncates at the first pipe.
  • /feature autopilot 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-nanostack

After install, run /nano-doctor to see the honest state of your permissions and hook wiring on the agents you have installed.

Full diff

v0.7.0...v0.8.0