Skip to content

v0.10.0: security + cost + compliance features, availability hardening#11

Closed
codehippie1 wants to merge 3 commits into
release/v0.9.15from
release/v0.10.0
Closed

v0.10.0: security + cost + compliance features, availability hardening#11
codehippie1 wants to merge 3 commits into
release/v0.9.15from
release/v0.10.0

Conversation

@codehippie1

@codehippie1 codehippie1 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

A large release across security, cost, compliance, integration, and availability. Full suite + clippy -D warnings + fmt green; key paths live-verified against the running daemon.

Security

  • burnwall scan + a GitHub Action: scan agent config files (CLAUDE.md, .cursorrules, .mcp.json, .claude/) for committed credentials and invisible-Unicode instruction smuggling, with SARIF output.
  • burnwall skills install: install a guide so Claude Code and Codex can read state and explain blocks without weakening protection themselves.
  • Decode-then-scan + invisible-text scrubbing; canary trap; upload-egress and credential-misdirection checks; per-project MCP allowlist; paranoid mode (opt-in fail-closed); image/link exfil warning (opt-in, warn-only); billing-flip and slow-drip monitors.

Cost

  • Per-repo / per-client CSV export; burnwall wire-check; cache-dead-zone warning; hourly spend brake; cheaper-model fallback; tool-output trim (opt-in).

Compliance

  • SPDX 3.0 AI-profile AIBOM + framework-labelled evidence packs; control crosswalk on blocks.

Integration

  • [upstreams] config + --upstream-* flags to chain Burnwall ahead of an OpenAI- or Anthropic-compatible gateway.

Availability / resilience

  • Graceful drain on stop/upgrade — in-flight requests finish before exit.
  • burnwall recover and burnwall guard so a crashed or quarantined proxy can't strand routed shells.
  • Abnormal-exit detection at start (with antivirus-quarantine guidance); panics in background tasks routed to the log.
  • Status-line block-count fix; README + installer notes for the Windows Defender/SmartScreen false positive.

Diagnostics & docs (finalize)

  • burnwall doctor — a one-glance health check that names the fix, with a redacted, self-scanned doctor --export bundle to attach to bug reports.
  • burnwall explain <id> — plain-language reason for any block: rule, masked preview of what matched, why that class blocks, how to proceed.
  • burnwall export --format csv|json — a portable copy of your local metadata.
  • docs/RULES.md (stable rule ids, mirrored by explain), docs/TROUBLESHOOTING.md (symptom→fix), and a diagnostic-first bug-report template.
  • Status line: the context gauge no longer snaps toward ~100% off a stale plan window — it shows the tool's own headroom (the figure /usage reports), marked stale.
  • status + nudges report blocks and warn-only alerts separately instead of counting an alert as a block.

Fixes

  • Data checks scoped to tool-call arguments so credential-shaped strings in resent history (including a /compact summary), an editor tool writing a key into a local test fixture, a search query mentioning a sensitive path, and a tool's metadata fields no longer 403 — each locked with a full-proxy regression test; a genuine in-flight credential exfil still blocks.
  • MCP watcher description-drift state is now per-watcher (was process-global), fixing cross-instance/ephemeral-port leakage that flaked a test; enforcement unaffected.

…ening

Security: `burnwall scan` + GitHub Action for agent config files; agent skills
for Claude Code/Codex; decode-then-scan + invisible-text scrubbing; canary trap;
upload egress + credential-misdirection checks; per-project MCP allowlist;
paranoid mode (opt-in fail-closed); image/link exfil warning; billing-flip and
slow-drip monitors.

Cost: per-repo/per-client CSV export; `burnwall wire-check`; cache-dead-zone
warning; hourly spend brake; cheaper-model fallback; tool-output trim.

Compliance: SPDX 3.0 AI-profile AIBOM + framework-labelled evidence packs;
control crosswalk on blocks.

Integration: [upstreams] gateway chaining ahead of OpenAI/Anthropic-compatible
gateways.

Resilience: graceful drain on stop/upgrade; `burnwall recover` + `burnwall guard`;
abnormal-exit (antivirus-quarantine) detection at start; panics routed to the log;
status-line block-count fix; Windows Defender/SmartScreen false-positive docs.

Fixes: data checks scoped to tool-call args so credential-shaped strings in
resent history (including a /compact summary), editor-written test fixtures,
search queries, and a tool's metadata fields no longer 403 — locked with
full-proxy regression tests; a genuine in-flight credential exfil still blocks.
… doctor/explain/export, rule docs, per-watcher mcp drift

- statusline/ribbon/plan: context gauge no longer snaps to ~100% off a stale
  plan window; shows the tool's own headroom (matches /usage) marked stale.
- status/nudge: report blocks and warn-only alerts separately instead of
  counting an alert as a block.
- cli: add `doctor` (+ redacted, self-scanned `--export`), `explain <id>`,
  and `export --format csv|json`.
- docs: RULES.md rule reference (stable ids, mirrored by `explain`),
  TROUBLESHOOTING.md symptom->fix, diagnostic-first bug-report template.
- mcp: per-watcher seen_descriptions (was a process-global) — fixes
  cross-instance/ephemeral-port leakage that flaked a test; enforcement
  unaffected.
- security: rule catalog module powering the id->explanation mapping.
…security, history

Unify the human-readable output behind one design language: a "Burnwall ·
<command>" header, bordered stat tiles (value + sub/bar) drawn by new term.rs
helpers, consistent green/yellow/red semantics, and aligned section tables. The
VS Code panel gets the matching theme-aware, script-free card layout.

- term.rs: Card / render_cards / fill_bar / gauge_hue, with width-alignment tests
- status: Spend/Budget/Cache/Blocked tiles; notional-plan + block/alert honesty preserved
- doctor: protection-verdict banner + Proxy/Routing/Security/Pricing tiles
- waste: Avoidable/Per-day/Findings tiles + severity-coloured findings
- security: Blocked/Alerts/Canaries tiles; friendly labels for advisory alert types
- history: window tiles + per-day table + budget-pace burndown bar
- vscode panel_view: native stat cards via --vscode-* theme vars (no scripts)
@codehippie1

Copy link
Copy Markdown
Contributor Author

Superseded: this release branch was reconciled onto main via #12 (merge commit 6b9e53e). Every commit from this branch is contained in main (verified by patch-id), so there is nothing left to merge here. Closing as landed-upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant