blitzstrike 1.0.55 → 1.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,46 @@ All notable changes to Blitz Strike are documented here.
5
5
  The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
+ ## [1.0.58] — 2026-09-13
9
+
10
+ ### Fixed — total-verification pass
11
+
12
+ - **Backward-compat mission load** — `loadMission` now normalizes old persisted
13
+ missions (missing the P14 budget fields: `max_tokens`, `max_cost_usd`,
14
+ `per_task_budget`, `started_at`, `used_tokens`/`used_cost_usd`, and P9
15
+ `failed_approaches`) so `blitzstrike mission resume <old-id>` no longer crashes.
16
+ - **Scope gate** — now rejects ANY non-local target without an authorized scope
17
+ (previously the `https://` regex let a bare host like `example.com` slip past
18
+ the upfront gate). Non-local + no scope → `scope_required`.
19
+ - README CLI section now lists the `mission` and `benchmark` commands.
20
+
21
+ ## [1.0.57] — 2026-09-13
22
+
23
+ ### Added — Autonomous Security Engine (phase 18: documentation & examples)
24
+
25
+ - `docs/AUTONOMY.md` — full reference for the autonomous engine (components,
26
+ mission lifecycle, safety invariants, CLI, MCP mission mode, no-babysitting).
27
+ - `examples/` — runnable scripts: `mission-source.sh`, `mission-web.sh`,
28
+ `benchmark.sh`.
29
+ - README — new "Autonomous engine" section + further-reading link.
30
+
31
+ ## [1.0.56] — 2026-09-13
32
+
33
+ ### Added — Autonomous Security Engine (phase 16: autonomous benchmark)
34
+
35
+ - **Autonomous Benchmark** (`src/mission/benchmark.ts`, §26):
36
+ - `runAutonomousBenchmark()` — runs the FULL autonomous engine (Mission
37
+ Control) against each labelled corpus fixture and reports tp/tn/fp/fn,
38
+ precision, recall, F1, false-positive rate, time-to-completion, and budget.
39
+ - New CLI command: `blitzstrike benchmark` (`--full` for the whole corpus).
40
+
41
+ ### Fixed — multi-language source discovery
42
+
43
+ - `iterSourceFiles` (`TARGET_EXTS`) only indexed PHP extensions, so the
44
+ autonomous engine silently skipped `.py`/`.java`/`.js`/`.ts` sources. Added
45
+ the missing extensions — the autonomous benchmark now scores
46
+ **precision 1.0 / recall 1.0 / F1 1.0** over the full 101-fixture corpus.
47
+
8
48
  ## [1.0.55] — 2026-09-13
9
49
 
10
50
  ### Added — Autonomous Security Engine (phase 15: termination engine)
package/README.md CHANGED
@@ -54,6 +54,25 @@ confirms it.
54
54
 
55
55
  ---
56
56
 
57
+ ## Autonomous engine
58
+
59
+ Beyond single-tool calls, Blitz Strike ships a **self-driving security research
60
+ engine** (Mission Control). Give it a target and a scope — it plans, executes,
61
+ verifies, reviews against false positives, fills coverage gaps, and reports,
62
+ all without babysitting:
63
+
64
+ ```bash
65
+ npx blitzstrike mission ./path/to/source --mode source
66
+ npx blitzstrike mission https://example.com --mode web --scope example.com
67
+ npx blitzstrike benchmark --full
68
+ ```
69
+
70
+ It is deterministic by default (no model calls unless configured), persists
71
+ every mission (resumable), enforces scope + budget + termination policy, and
72
+ keeps long-term memory of findings and failed approaches.
73
+
74
+ → [Autonomous engine](docs/AUTONOMY.md) — full architecture + reference.
75
+
57
76
  ## Why TypeScript / Bun
58
77
 
59
78
  - **Single static binary** via `bun build --compile` — ship one executable per platform.
@@ -117,6 +136,8 @@ blitzstrike serve --mcp # start MCP server over stdio (default)
117
136
  blitzstrike doctor # health check: runtime + 130-tool catalog + creds
118
137
  blitzstrike install # write MCP config to detected clients (Claude/Cursor/OpenCode)
119
138
  blitzstrike install --dry-run # preview the config without writing
139
+ blitzstrike mission <target> # run an autonomous mission (source or web)
140
+ blitzstrike benchmark # run the autonomous benchmark (--full for whole corpus)
120
141
  blitzstrike sync-data # fetch heavy datasets (payloads + templates) on-demand
121
142
  blitzstrike update # check for a newer version + refresh the data cache
122
143
  blitzstrike version # print version
@@ -384,6 +405,7 @@ Do not use against systems without explicit permission from the owner.
384
405
 
385
406
  - [Installation](docs/installation.md) — prerequisites, install, client registration.
386
407
  - [Usage](docs/usage.md) — one-call engagement, granular path, modes, memory.
408
+ - [Autonomous engine](docs/AUTONOMY.md) — Mission Control, agents, security graph, benchmark.
387
409
  - [Manifesto](docs/manifesto.md) — the invariants that drive the methodology.
388
410
  - [Contributing](CONTRIBUTING.md) — how to add chains, tools, and data.
389
411
  - [Changelog](CHANGELOG.md) — version history.