Skip to content

v0.1.1 — pre-publish review fixes

Choose a tag to compare

@hamr0 hamr0 released this 30 Apr 14:49
· 80 commits to main since this release

Patch release addressing the v0.1.0 pre-publish review.

Added

  • gate.allows(string) shorthand — pass a tool-name string instead of { type: name }.
  • _truncated: true boolean at audit line root when truncation happens.
  • One-time stderr WARN when humanChannel is unset and an ask/halt fires.
  • README "Common gotchas" section (allowlist-doesn't-silence-asks, glob * over-matching /, humanChannel required for safe defaults, soft caps, serial gate calls).

Removed

  • Gate.fromConfig(config)new Gate(config) is the only canonical form.

Docs

  • bareguard.context.md version line bumped to 0.1.1.

Tests

  • 30 → 33 across Linux + macOS + Windows × Node 20 + 22 (CI matrix). All green.

See CHANGELOG for full notes.