Skip to content

v1.3.0 — Fail-Closed Drift Policy, Multi-Agent Lockfiles & Interactive MCP-Diet Generator

Choose a tag to compare

@FramY2 FramY2 released this 14 Nov 10:13
· 19 commits to main since this release

What's New in v1.3.0

Fail-Closed Drift Policy (ctxwise drift --policy) — Fixes #4

  • Versioned YAML drift policy (version: 1; see examples/ctxwise.drift.yaml and docs/adr/0001-fail-closed-drift-policy.md) with deterministic rule precedence (deny > warn > allow > unmatched), symmetric numeric bounds (maxAdded, maxRemoved, maxChanged, maxBytesDelta), and ReDoS-free POSIX glob matching (matchDriftGlob).
  • Unmatched changes fail closed in CI (ctxwise drift --policy <file> --fail-on-drift exits with status 2), while omitting --policy preserves full v1.2.0 backward compatibility.
  • Added drift-lockfile and drift-policy inputs to action.yml plus job summary drift reporting.

Multi-Agent Lockfile Protection (ctxwise lock --all-agents)

  • Opt-in --all-agents flag on ctxwise lock and ctxwise drift (persisted via CapabilityLock.includeMultiAgent) deterministically discovers and canonicalizes .claude/settings.json, .claude/settings.local.json, .mcp.json, .cursor/mcp.json, .vscode/mcp.json, CLAUDE.md, .claude/CLAUDE.md, .claude/rules/**/*.md, and .cursorrules.
  • Secret-safe JSON canonicalization redacts env values, credential keys, and Bearer/Basic headers before hashing while preserving hooks, disableAllHooks, permissions, and MCP server definitions.

Interactive MCP-Diet Wrapper Generator & Browser Shield

  • Exported generateMcpDietWrapperSnippet(declarations, options?) from @framy2/ctxwise to wrap stdio MCP servers with npx -y @framy2/mcp-diet@0.2.0.
  • Updated the browser calculator (docs/index.html) to v1.3.0 with unpinned npx/bunx/pnpx and inline auth-header secret detection, plus a 1-click Auto-Fix panel for @framy2/mcp-diet@0.2.0 and @framy2/agent-wire-tap@0.3.0 CI commands.

Artifacts

  • npm: npm install -g @framy2/ctxwise@1.3.0
  • VS Code Extension VSIX: ctxwise-vscode-1.3.0.vsix attached below.