Skip to content

v0.2 Progress

Luis edited this page Dec 2, 2026 · 12 revisions

v0.2 Progress

v0.2 is released as v0.2.0 (2026-11-22): a signed tag on f1980d6 with 14 signed assets, SBOMs and build provenance. Every issue in the v0.2 milestone is closed (88 done, 15 closed as not planned). The release pentest over the v0.2 diff ran and its findings are fixed (#307, #308, #311, #319). Next: v0.3 (MCP #32, recipe install #34, bench #35, #36, mirror #277, guides #38). Live status: Roadmap. Merged state in detail: AGENTS.md, Current state.

Done

Each closed v0.2 issue and the PR that closed it (gh issue list --milestone v0.2 --state closed).

Issue PR Title
#21 #252 feat(sandbox): runtime detection and hardened container profile
#22 #264 feat(sandbox): internal network, synthetic database and network canary
#23 #278 feat(sandbox): build the app from the project's compose file or Dockerfile
#24 #295 feat(verify): PoC templates with closed parameters
#25 #297 feat(verify): run PoCs against HEAD with repetitions and reproduction bundle
#26 #299 feat(cli): incremental scans with --diff and --changed
#27 #301 feat(report): baseline and accepted risks with expiry
#28 #300 feat(ci): gate per mode and nightly scan
#29 #302 feat(action): GitHub Action in this repo with SARIF upload and PR comment
#31 #305 docs: sandbox, verification and CI guides
#37 #317 feat(report): discovery stability across model runs
#41 #285 fix(cli): low-severity hardening from PR #40 review
#43 #280 fix(budget): transitive reach check for process starts
#44 #280 fix(budget): check container and service image digest pinning
#45 #280 fix(budget): report versioned remote replace directives
#46 #280 fix(budget): parse tool directives in go.mod
#47 #65 fix(budget): count the final line when there is no trailing newline
#49 #313 chore(repo): require signed commits on main again
#50 #289 chore(repo): store all repo settings as code and detect drift
#51 #289 chore(ci): restrict allowed actions and require up-to-date branches
#52 #282 docs: correct release section in CONTRIBUTING.md
#56 #287 chore(policy): require an ADR when the policy guard or policy files change
#57 #282 chore(policy): enforce the scope of the docs-only auditor shortcut
#62 #245, #271 fix(config): forbid project file from raising budget, choosing model contract or enabling sandbox
#63 #239 fix(config): require absolute CREEP_POLICY and close project-file open TOCTOU
#64 #285 fix(config): clearer errors for policy gate limits and YAML decode
#70 #256, #271 fix(redact): strip zero-width characters, document detection limits and make the rules reader strict
#71 #275 fix(redact): cut false positives on password-handling code and unify merged-span markers
#76 #293 chore(redact): cut the race-detector test time of internal/redact
#101 #287 chore(policy): reject link-reference hidden text and pin full ADR 0002 phrases
#102 #240 fix(redact): bound the cost of chunk overlap from lines near MaxLineBytes
#106 #298 perf(redact): bound sweep cost and memory when the overflow list is full
#110 #238 fix(gateway): bound slow bodies, pin waits and serial dials; refresh pins after failure
#111 #276 fix(gateway): refuse test ranges, document undecoded IPv4 embeddings, look up FQDN
#113 #276 fix(gateway): egress.log Info hardening from PR #112 review
#115 #296 fix(gateway): harden the exported API (go/types guard, no seams in Options, zero-value Consent, headers)
#116 #296 fix(gateway): consent store Windows ACLs and CI detection hardening
#117 #288 docs(architecture): product architecture and maintainability assessment
#129 #205 (closed in triage: already done) fix(gateway): bounded, non-blocking file reads for FileScan
#132 #281 docs(architecture): §8 must not let layers, contracts or invariants be waived with a reason
#133 #289 docs(architecture): clarify "no globals" in §8 and decide on gateway test hooks
#134 #281 docs(adr): ADR 0002 should link to its amendments 0004 and 0005
#135 #304 test(contracts): golden tests for exit codes and CLI flags, and previous-version fixtures for persisted line formats
#136 #292 chore(lint): complexity ratchet with gocognit at today's maximum
#137 #292 ci: weekly govulncheck and time-boxed fuzzing of redaction
#138 #292 docs(architecture): refine fitness functions and evolutionary-architecture adaptation
#140 #280 test(budget): pin that a failing budget step exits 2 (collect fails closed)
#141 #280 test(budget): layer rule ignores external modules sharing the module path prefix
#143 #281 docs(architecture): §9 invariant-6 row names the CI test job for go mod tidy -diff
#145 #283 test(gateway): budget and AIMD test gaps from PR #144 review (mutants, 386 build, reservation contract)
#147 #235 fix(budget): skip nested git worktrees so make budget works with agent worktrees
#149 #244 chore(repo): ignore IDE directories (.idea/, .vscode/) in .gitignore
#157 #291 fix(models): Low/Info findings from PR #154 review (reservation overhead, Validate echo, object arguments)
#158 #288 test(testapps): Low/Info findings from PR #156 review (guard runner gaps, class enum, sandbox exception)
#160 #263 fix(state): replay key for fixtures, inter-process lock and planted-state handling when wiring scan
#161 #283 test(state): kill surviving MAC and key-file mutants; lowercase-only MAC
#162 #279 test(calibrate): safe twins must be clean in every class (Low/Info from PR #159 review)
#169 #218 test(state): flaky TestRunIDCanonicalOnly at internal/state/trust_test.go:174 (all-digit run ID suffix, ~2% of runs)
#174 #279 calibrate: record why the effective-context probe stopped
#176 #286 fix(report): unambiguous Markdown escapes for backslashes and runes above U+FFFF
#177 #236 fix(report): reject non-relative or non-clean finding paths in report.New
#180 #279 fix(calibrate): cache key options, symlinked dir message and alias note (follow-up #178)
#187 #282 docs: align prompt location and invariant 3 wording after #183
#188 #291 test: harden Signal and planner text guards and strictkeys coverage
#190 #293 fix(redact): follow-ups from #184 (header-less literal arrays, compare exemptions, PEM benchmarks)
#194 #294 chore(static): ignore-rule override, separator and docs follow-ups from #189
#196 #289 chore(codeowners): decide security-sensitive coverage for calibrate, report, state, config; annotate placeholder paths
#197 #293 chore(reader): slice follow-ups from #192 (gateway contract text, newline invariant, escape notes)
#202 #234 chore(planner): follow-ups from #199 (architecture §2 wording, Parameterized only on SQL)
#204 #312 chore(reader): Evaluate and replay fixture follow-ups from #200 (user-turn assert, tier check, S/L and live fixtures)
#207 #246, #271 fix(cli): no extracted route or sink must not report classes as covered
#208 #283 test(cli): tier mapping exhaustiveness must fail on a new calibrate.Tier
#209 #290 chore(cli): scan and why .creep handling follow-ups from #205
#210 #241 fix(static): Express sinks dropped silently on non-relative module aliases and .find on in-file receivers
#212 #242 feat(planner,reader): plan and evaluate NoSQL sinks (static.SinkNoSQL)
#213 #267, #271 fix(static,cli): vendor, generated and minified rules let first-party code read as covered
#214 #273 fix(cli): list symlinked directories instead of skipping them silently
#222 #290 chore(cli): estimate and --stats follow-ups from #219 (HTTP error count, token ratio, ADR wording, stats on failure)
#226 #294 chore(scanrun): runner follow-ups from #223 (.gitleaksignore UX, osv ecosystem coverage, Windows tree kill)
#229 #257, #271 chore(presets): follow-ups from #227 (policy lock, host reads, verified reset)
#248 #251 fix(report): no_routes wording, scanner_failed order test and docs precision (#246 follow-ups)
#249 #253 fix(config): project gate floor ignores the operator's user-file gate
#250 #253 chore(config,cli,docs): Low/Info follow-ups from PR #245 review
#254 #281 docs(config): architecture §4 versions the config schema by a version: key that does not exist
#258 #257 feat(presets): antigravity preset for Antigravity CLI (agy), successor to Gemini CLI for Pro/Ultra
#260 #269 feat(cli): run-level scan deadline so crafted slow files end incomplete instead of hanging
#265 #270 feat: language-agnostic analysis (ADR 0017): scan-time inventory, lexical tripwire and model discovery replace per-language static code
#272 #316 chore(presets): verify the codex preset's tool-off flags with the real CLI

Closed as not planned

Issue Title
#30 ci: signed multi-arch container image on GHCR
#58 chore(policy): check PR-body links and close remaining policy-guard gaps
#100 chore(ci): revert security-sensitive label changes by non-maintainers
#164 docs(agents): make Next rank the redaction security fixes first and list #149
#170 fix(static): bound host memory and total parse time against hostile repositories
#171 perf(static): profile and improve WebAssembly parse throughput (~0.1 MB/s)
#173 chore(static): Low/Info findings from PR #168 review (grammar CI rebuild, ADR 0008 gaps)
#181 feat(static): resolve cross-file mounts, add_url_rule/add_api_route and class-based views
#186 chore(static): Low/Info findings from PR #179 review (linearity fitness row, auth-name hint)
#211 chore(static): Express Low/Info findings from PR #201 review (sink table, import shadowing, partial reason)
#217 feat(static): language kits as data (tree-sitter queries + sink tables) instead of per-language Go
#247 fix(static): flag routes of an unrecognised framework next to a recognised one (#207 residual)
#259 fix(static): NFKC-equivalent Python identifiers and JS unicode escapes hide routes and sinks
#261 fix(cli): C, header, Vue and Svelte files in a real venv or node_modules make every such project incomplete
#262 fix(static): a route in an unparseable region of a vendor .d.ts file goes unseen

#30 (GHCR image) and #100 (label revert on fork PRs) were dropped by the maintainer on 2026-11-21; #164 became obsolete at the v0.1 close; #58 was dropped in #282; the static-analysis issues were superseded by language-agnostic analysis (#265).

Release and wrap-up PRs

PR What changed
#303 Post-merge review of the GitHub Action (#302)
#305 README links the v0.2 guides; #27 and #28 marked done (#31)
#306 v0.2 architecture review: §6 matrix refreshed, planner layer row - (ADR 0005)
#307 v0.2 release pentest findings fixed
#308 Fail-closed Dockerfile check for v0.2
#309 Recipes: schema, loader and creep recipe new|lint|test (ADR 0025; closes #33, v0.3)
#311 Minimum engine versions: Docker Engine >= 25.0.2 with runc >= 1.1.12; Podman with Buildah >= 1.35.3 and runc >= 1.1.12 or crun >= 1.4.4; else old_runtime or unknown_version and no build (ADR 0016)
#312 Reader doc says why --record cannot re-record the replay fixtures (closes #204)
#313, #315 Signed commits required on main; ADR 0026 accepted; make rulesets applied 2026-11-22 (12 required checks plus required signatures)
#314 Post-merge review of recipes (#309); ADR 0025 accepted
#316 codex preset checked with codex-cli 0.171.0; stays unverified because apply_patch probes host files (closes #272)
#317 Discovery stability --stability N (ADR 0024, closes #37)
#318 README and current state refreshed for v0.2 complete
#319 Final v0.2 release pentest findings fixed; v0.2.0 tagged on this commit (f1980d6)

Detail of the merges up to 2026-11-20

Rows #241, #246 and #251 describe static-analysis code that #270 later removed; they are kept as history.

Issue PR What changed
#202 #234 The planner treats Parameterized as a mitigation only on SQL sinks; shell, file, HTTP-client and template sinks keep their risk. docs/architecture.md §2 says the planner makes no model call
#147 #235 make budget skips a nested directory only when it has both .git and its own go.mod (agent worktrees). A planted .git alone still gets checked (label security-sensitive)
#177 #236 report.ValidPath: finding paths must be relative, clean and use /. Such files are listed invalid_path, a scanner result naming one fails, and the run exits 4 (threat model R13; label security-sensitive)
#110 #238, #243 The gateway bounds a slow body after the headers (2 min without a byte, 10 min in total; a body that ends after the stall timer reads as stalled), pin waiters honor their context, the first dial tries at most 8 addresses within 30 s, and pins re-resolve after every pinned address fails (same public-address check)
#63 #239 CREEP_POLICY must be an absolute path (exit 2), and ./creep.yaml opens without following links. This was the v0.2 blocker
#102 #240 Redaction chunk overlap is capped at 8 KiB, so long lines cannot multiply the cost of redact.File
#210 #241 (code removed by #270) Express # subpath imports resolve, and unknown non-relative imports mark routes partial. .find with a request-rooted or object filter, or on an in-file model or collection, is a NoSQL sink; any other argument marks the route partial
#212 #242 The planner and reader cover SinkNoSQL (nosql_injection, gated critical). An Express run no longer ends incomplete with unmapped_kind
#149 #244 .gitignore ignores /.idea/ and /.vscode/; AGENTS.md and README record #238–#243
#207 #246 (code removed by #270; no_routes no longer emitted) A run with no extracted route is incomplete: reason no_routes, exit 4, every class not_evaluated, and the planner and reader are skipped (no model call). Text and Markdown name the recognised frameworks (Flask/FastAPI/Express). ADR 0009 amended. Follow-ups: #247 (routes of an unrecognised framework next to a recognised one), #248 (wording and docs)
#62 #245 ./creep.yaml cannot set scanners.enabled (exit 2, even when it restates the inherited list). Budget keys stay lower-only; a starved budget already ends the run incomplete (exit 4), now proven by a CLI protection test. model.contract and sandbox.* stay forbidden. ADR 0013 amended. Follow-ups: #249 (project gate floor ignores the user-file gate), #250 (Low/Info)
#248 #251 (code removed by #270) A no-route run never reads as fully evaluated: the incomplete mark says static found no route, the findings line says no sink to evaluate, and Markdown no longer says Every file was evaluated. Order test for no_routes against scanner_failed; validation helpers moved to internal/report/check.go
#249, #250 #253 Breaking. A project gate must be at least as strict as the built-in gate, the policy limit and the inherited gate (user file, policy defaults); the error names the layer that set the floor. ./creep.yaml can no longer set report.formats, output.format or model.tier (exit 2). A lowered model.timeout_seconds or model.max_output_bytes ends the run incomplete (exit 4). ADR 0013 header amended. Refs #254 (first criterion; the second is the maintainer's)
#21 #252 New internal/sandbox runs the docker or podman CLI through os/exec (ADR 0016, accepted). One hardened run builder (--network=none, --cap-drop=ALL, read-only root, user 65534, limits, --log-driver=none, every proxy variable empty), digest-pinned images without VOLUME, local endpoints only. creep doctor reports the runtime and isolation level; new creep clean. Layers renumbered (sandbox 5; verify, mcp 6; cli 7; cmd 8) (label security-sensitive)
#70 #256 Redaction masks tokens split by zero-width format characters (Unicode Cf) and runs the 7 rules with unbounded reach over the whole file. The TOML rules reader is strict (indented keys, rule keys after an allowlist, unknown or repeated keys refused). Detection limits documented; the new worst case is about 2x the old one. Follow-up: #260 (run-level deadline)
#229, #258 #257 gemini preset: --skip-trust, MCP servers blocked, API key only (Gemini CLI stopped serving Google AI Pro/Ultra on 2026-06-18). No antigravity preset: its CLI has no flags to switch tools off. codex preset: --ignore-user-config, shell and image tools off, project_root_markers=[]; still unverified with the real CLI (#272). Command-model calls run in a private <user cache>/creep/model/run-* directory with ancestor checks and .env, .gemini/.env, .git stop files. TestVerifiedPresetsArePinned. ADR 0014 and 0015 amended
#160 #263 NewRun and Resume hold an exclusive, non-blocking .creep/lock until Run.Close; a second run fails at once with state.ErrLocked (exit 2), and the OS drops the lock when a process dies. A planted lock, .creep file or link stops the scan (exit 2). A planted malformed or non-regular cache entry is a miss in live mode and fails closed in replay (exit 4). Production opens state with state.OpenUser; state.OpenWithSecret (fixture key) works only under go test. internal/state added to CODEOWNERS; threat model R18 (label security-sensitive)
#22 #264 One --internal bridge network per run (Docker inhibit_ipv4, IPv6 off; rootful Podman gets no network, ErrHostReachable); no published port or host network. Synthetic PostgreSQL 17.12, pinned by digest and seeded only from the repository's migrations, data on tmpfs. A BusyBox network canary runs before every PoC batch and before the database; any outside reach (ErrNetworkLeak) or failed control (ErrCanary) aborts the run. creep never pulls images; creep doctor prints the docker pull line. ADR 0016 amendment accepted by the maintainer; threat model X10–X12 (label security-sensitive)
— #266 ADR 0017 accepted: language-agnostic analysis (#265), decisions D1–D5, migration steps A–F. Docs only, auditor only
#214 #273 A directory link or Windows junction is listed not_regular (run exits 4) unless it resolves to a directory the walk already covers, so pnpm and npm workspace links stay unlisted on Unix; Windows junctions are always listed. Root .git/.creep skipped whatever their type. Bounded per link and deadline-aware. ADR 0009 amended
#111, #113 #276 The gateway refuses the documentation and benchmarking ranges (TEST-NET, 198.18/15, 2001:db8::/32) and ISATAP/6to4/NAT64/Teredo embeddings, looks up the FQDN, and opens egress.log through the run-directory handle with swap checks (hard links checked on Windows)
#23 (part) #274 Offline app build from the repository's own compose file or Dockerfile: allowlist Dockerfile check (no directives, ONBUILD, cache/secret/ssh mounts, remote sources), base images must be local and native, --network=none, no pull. ADR 0016 amendment accepted 2026-11-20. Scan wiring and testdata Dockerfiles closed #23 in #278: the offline build is done; registry mirror moved to #277 (v0.3)
#71 #275 Redaction keeps code that is not a secret (numbers under length keys, None/null, types, config/env lookups with a known receiver, calls, $VAR:/path, known git hosts), with a fixed label precedence and one marker per URL password. affects-results
#23 #278 creep scan builds the app offline when the sandbox is enabled (user or policy config only) and a runtime is found; the outcome (app_built or unavailable with a closed reason) is in the text summary, Markdown and SARIF; JSON v1 unchanged (maintainer decision). Never fails the scan or changes the exit code. Every testdata/apps app has a pinned BusyBox Dockerfile
#162, #174, #180 #279 Calibration safe twins are clean in every class (affects-results); the context probe records size, reason and HTTP status; the cache key adds structured output, max tokens and retries (old entries never read); a linked calibrations/ dir or junction fails before any model call
#43–#46, #140, #141 #280 make budget: process-start reach over every release build (cgo off) and Linux CI, non-Go files in dependencies refused, release-matrix drift test; workflow images must be digest-pinned; versioned remote replace and tool directives reported; failing steps exit 2; module-prefix collisions ignored by the layer rule
#254, #143, #132, #134 #281 docs/architecture.md: narrowing what the project file may set is a security fix (PR contract note, breaking label, threat model), not a contract break; §9 names the CI job per invariant-6 check; §8 lets only principles be waived with a reason, while layers, contracts and invariants need an ADR. ADR 0002 links its amendments 0004, 0005 and 0006; the ADR template gets an Amends line
#161, #145, #208 #283 State MAC accepted only as the lowercase hex sign writes; MAC and key-file mutants killed. Gateway budget and AIMD gaps tested; make check runs GOARCH=386 go vet and the gitindex and gateway tests on 386, and 32-bit overflows are fixed (incl. gitindex.Parse refusing an entry count that cannot fit before converting it). The tier mapping test derives from calibrate.Tiers
#52, #57, #187 #282 New required docs-only check (internal/tools/prcheck): a PR that ticks the Documentation-only box fails on any path outside the shortcut. ADR 0018 excludes docs/adr/, docs/adr/dependencies.txt, GOVERNANCE.md and SECURITY.md from it. Invariant 3 now reads "IDs, enums, booleans and bounded numbers" in every copy; AGENTS.md names the per-package prompts/ directories; CONTRIBUTING narrows the release-environment claim to signing credentials
#58 — Closed as not planned by the maintainer: the PR-body verdict-link gate was dropped in #282, which keeps only the docs-only check
#265 (step B) #268 New internal/discover (layer 4): inventory by file name and bytes, cross-language tripwire table, model discovery over whole redacted files with a closed schema of spans and enums, a crypto/rand-seeded canary per batch, per-tier prompts with token budgets, union only with worst-case flags. Not wired into the scan in this PR (label security-sensitive)
#213 (step A) #267 A vendor tree is skipped only when installed: exact-case mark and a root git index that tracks nothing inside or above it, by file identity (new internal/gitindex, fuzzed; NTFS short-name alias test). Go and PHP marks vouch for nothing. Text, Markdown and SARIF count the files left out by design. ADR 0009 amended (label security-sensitive)
#260 #269 budget.max_seconds (default 7200, lower-only from the project file) is the scan deadline after calibration: redaction, reading and scanners stop, everything left is budget, reports are written, exit 4; creep estimate prints PARTIAL ESTIMATE. ADR 0009 amended (label security-sensitive)
#265 (steps C–F) #270 Inventory, tripwire and discovery wired into scan and estimate; internal/static, the tree-sitter grammars, wazero and x/sys deleted; neutral files moved to internal/repofile; go.mod's only direct dependency is yaml/v3. Exit 0 needs a full discovery read (D2); no_routes, unsupported_language and syntax_error no longer emitted. Amended D4 gate (TestTripwireRecall). ADR 0008 and 0012 superseded; threat model R19, R20 (label security-sensitive)
#129 #205 Closed during triage: bounded, non-blocking file reads were already in internal/cli/rootfile.go
#164 — Closed as obsolete: AGENTS.md Next was rewritten at the v0.1 close

Language-agnostic migration (#265)

Maintainer decision of 2026-11-19, done: the per-language static code, the tree-sitter grammars and wazero were replaced by a scan-time inventory, a lexical tripwire and model discovery, combined by union. Under the amended removal gate (D4), steps C–F landed in one PR (#270), so discovery was never unioned with the static graph. Decisions D1–D5: Decisions. Closed as not planned (superseded by #265): #217, #181, #247, #259, #261, #262, #170, #171, #173, #186, #211. Re-scoped in comments: #214, #194, #226, #204, #35, #37, #260, #158. PR #255 was closed without merge; its language-neutral parts became #267.

Step Scope Status
ADR ADR 0017 (supersedes 0008 and 0012); docs only, auditor only Done (#266)
A Language-neutral parts of #255: installed-tree vendor rule, by-design count; closes #213 Done (#267)
B internal/discover: closed schema, per-tier prompts, validation, discovery canary, tripwire table, inventory, replay fixtures Done (#268)
C Move the language-neutral files of internal/static to internal/repofile; update the layers table Done (#270)
D Wire inventory, discovery and the tripwire into creep scan and creep estimate; amend ADR 0009 Done (#270)
E Pass the amended recall gate (D4, TestTripwireRecall), delete the Flask, FastAPI and Express code and goldens Done (#270)
F Drop wazero and the grammars; ADR 0008 superseded Done (#270)

Triage (2026-11-17, historical)

Every open v0.2 issue was checked against main. Since then the blocker and #62, #70, #102, #110, #207, #210, #212, #213 and #260 are fixed (see Done), and #181 was closed as not planned (#265). #214 (directory links) was fixed in #273, and #23 (offline app build) in #274 and #278.

  • Blocker: #63. A relative CREEP_POLICY is still accepted, and consent is now wired into creep scan, so a scanned repository could supply the policy that grants consent.
  • P1: #102 (no cap on redaction chunk count), #70 (zero-width characters, indented TOML), #110 (no per-call HTTP deadline), #207 and #214 (nothing extracted still reads covered), #210, #212, #213, #181 (static coverage gaps), #43, #51 (CI policy).
  • Scope: v0.2 is too large. Suggested: keep sandbox #21, #22 and #24; move #23, #25, #28–#31 to v0.3; keep #26 and #27 only if there is room. The sandbox also needs #62 and #63 first.
  • Ordering (obsolete): the extractor files this note was about were deleted by #270; #217, #181, #186 and #211 were closed as not planned (#265).

Clone this wiki locally