Commit Graph
49 Commits
Author SHA1 Message Date
Marius Ciepluch 14036e1ec9 feat(valid-detection-benchmark): 8.3 commit spend before label release with independent V3 case review 2026-11-21 14:11:01 +01:00
Marius Ciepluch 14bf931f01 feat(valid-detection-benchmark): 9.2 remove replacement authority from legacy aggregate scoring 2026-11-21 13:39:38 +01:00
Marius Ciepluch 9ba0a9d4c5 feat(valid-detection-benchmark): 8.2 execute and seal planned observations before spend 2026-11-21 12:41:55 +01:00
Marius Ciepluch a7adc99d31 feat(valid-detection-benchmark): 9.1 route catalog, verification, and assembly through new authorities 2026-11-21 12:41:42 +01:00
Marius Ciepluch 3a9f1d12ab feat(valid-detection-benchmark): 8.1 admission preflight with sealed retry authority 2026-11-21 11:10:05 +01:00
Marius Ciepluch 8b0cf664b3 feat(valid-detection-benchmark): render deterministic transport-neutral operator reports 2026-11-21 10:25:33 +01:00
Marius Ciepluch cf4467aa5e feat(valid-detection-benchmark): implement causal workflow journal with lease-protected head 2026-11-20 22:25:06 +01:00
Marius Ciepluch 0ba6d22d17 feat(valid-detection-benchmark): define closed workflow outcomes and redacted serialization 2026-11-20 21:35:16 +01:00
Marius Ciepluch b1a7ccd231 feat(valid-detection-benchmark): integrate sealed pre-spend diagnostics with reviewed development opening 2026-11-20 20:25:08 +01:00
Marius Ciepluch df50bcfcdc docs(valid-detection-benchmark): anchor retry authority in workflow head 2026-11-18 07:45:49 +01:00
Marius Ciepluch 10a52f6312 docs(valid-detection-benchmark): record retry authority blocker 2026-11-18 01:06:13 +01:00
Marius Ciepluch c122c72da1 feat(valid-detection-benchmark): freeze exact observation checkpoints 2026-11-17 22:42:00 +01:00
Marius Ciepluch 06cee280df feat(valid-detection-benchmark): isolate label blind arm execution 2026-11-17 20:34:11 +01:00
Marius Ciepluch 1c11014a69 docs(valid-detection-benchmark): record isolated executor blocker 2026-11-17 19:35:22 +01:00
Marius Ciepluch 6a71a86ee5 feat(valid-detection-benchmark): combine preserved arm observations 2026-11-17 17:34:49 +01:00
Marius Ciepluch abe3f9ccd9 feat(valid-detection-benchmark): register immutable evaluation arms 2026-11-17 16:47:55 +01:00
Marius Ciepluch 990eda3506 feat(valid-detection-benchmark): enforce monotonic durable custody 2026-11-17 16:11:24 +01:00
Marius Ciepluch 7f1539a7ca feat(valid-detection-benchmark): probe custody store capabilities 2026-11-17 15:52:05 +01:00
Marius Ciepluch b8a7e66cd6 feat(valid-detection-benchmark): recover durable authority projections 2026-11-17 14:37:20 +01:00
Marius Ciepluch ce7bc1842c feat(valid-detection-benchmark): persist content addressed artifacts 2026-11-17 13:59:33 +01:00
Marius Ciepluch 26b6174510 feat(valid-detection-benchmark): integrate reviewed label blind manifest 2026-11-17 13:35:45 +01:00
Marius Ciepluch 67312fc39f feat(valid-detection-benchmark): separate public private and sealed materials 2026-11-17 13:07:06 +01:00
Marius Ciepluch a3dfeeaa9b chore(valid-detection-benchmark): record tokenizer boundary blocker 2026-11-17 11:10:52 +01:00
Marius Ciepluch aba104cbb1 chore(valid-detection-benchmark): refine embedded-path blocker 2026-11-17 08:24:27 +01:00
Marius Ciepluch 194f686c4f chore(valid-detection-benchmark): update task 4.3 path blocker 2026-11-17 08:23:59 +01:00
Marius Ciepluch 2196193d91 chore(valid-detection-benchmark): refine task 4.3 blocker 2026-11-17 07:47:41 +01:00
Marius Ciepluch 86da9fea27 chore(valid-detection-benchmark): update task 4.3 blocker 2026-11-16 20:05:13 +01:00
Marius Ciepluch 340d8a26a1 chore(valid-detection-benchmark): record task 4.3 blocker 2026-11-16 19:35:44 +01:00
Marius Ciepluch 4196effcd0 feat(valid-detection-benchmark): classify and freeze canonical population 2026-11-16 18:41:49 +01:00
Marius Ciepluch 0dd4d35519 feat(valid-detection-benchmark): draw representative ordinary changes 2026-11-16 18:09:48 +01:00
Marius Ciepluch 450c31257b feat(valid-detection-benchmark): validate reviewed ground truth 2026-11-16 17:41:41 +01:00
Marius Ciepluch 819084a93a feat(valid-detection-benchmark): validate canonical ecosystem reviews 2026-11-16 17:31:05 +01:00
Marius Ciepluch 00b584a1ac feat(valid-detection-benchmark): preserve exact fix-site evidence 2026-11-16 17:08:05 +01:00
Marius Ciepluch 731eb8d24a feat(valid-detection-benchmark): enforce permanent reservation guard 2026-11-16 16:55:56 +01:00
Marius Ciepluch c5bffb2835 feat(valid-detection-benchmark): project causal population lifecycle 2026-11-16 16:06:01 +01:00
Marius Ciepluch a64da1f4f4 feat(valid-detection-benchmark): authorize exact historical audit files 2026-11-16 15:51:29 +01:00
Marius Ciepluch 2fb544b20d feat(valid-detection-benchmark): project permanent reservation census 2026-11-16 15:40:18 +01:00
Marius Ciepluch f78fa74abd feat(valid-detection-benchmark): define store capability prerequisites 2026-11-16 15:23:52 +01:00
Marius Ciepluch 67a6f5973c feat(valid-detection-benchmark): build canonical artifact identity boundary 2026-11-16 14:53:01 +01:00
Marius Ciepluch 169a08fa4a feat(valid-detection-benchmark): pin validated v3 predecessor 2026-11-16 14:38:35 +01:00
Marius Ciepluch e1250b2390 spec(valid-detection-benchmark): generate implementation tasks 2026-11-16 14:19:01 +01:00
Marius Ciepluch 501a214b25 docs(specs): approve scoped evaluation admission design 2026-11-06 14:11:42 +01:00
Marius Ciepluch 839d58e3d3 docs(steering): detection-quality rules and stop conditions after admission NO-GO 2026-10-30 14:48:40 +01:00
Marius CiepluchandClaude Fable 5.1 9f7ca132ff feat(benchmark): hunter arm runner and combiner (group 6)
benchmarks/valid/hunter_arm.py runs the shipped deep-mode tool hunter
(tool_hunter.run_tool_hunter via resolve_hunter_client) over each frozen
change off-cluster: detached worktree at head with git hooks disabled,
hotspots scoped to the changed files, instrument rule on every hotspot
(bytes read printed, empty or unreadable fails the change loudly), model id
from the config resolver, family from the taxonomy, never from the label.
Records land in the exact shape score.py reads (push.admission.defects with
locations), resumable per change.

`combine` joins arm (a) replay records with arm (b) hunter records per change
id, dedupes defects by (path, line, family), keeps (a)'s instrument, records
which arms were present, and writes a file score.py loads directly.

9 offline tests (stub hunter, real scorer), 53 green with the benchmark
tests. No network, no key handling, no live run.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-12 20:29:03 +02:00
Marius CiepluchandClaude Fable 5.1 bd7b7db25d docs(benchmark): drop two em-dash headings in the brief
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-12 20:18:05 +02:00
Marius CiepluchandClaude Fable 5.1 98825db94a docs(benchmark): R6 holds the push path to the LLM tier; measure hook as shipped and hook + hunter
The pre-push hook has no LLM detection tier today: push/assistance.py only
selects a witness for already-admitted defects and cannot add a finding. The
hunter lives in scan --mode deep. The maintainer's call is that the LLM tier is
required on pre-push, so R6 now measures two arms over the same changes:
(a) the hook as shipped (quick rules + engine), (b) the hook plus the hunter
arm run off-cluster. (b) is the number the tool is held to; the gap is product
work in pre-push-safety-net, not a benchmark artefact.

Adds group 6 (hunter arm runner + combine + offline test) to tasks, aligns the
brief and design, and labels the overnight replay as arm (a).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-12 20:17:44 +02:00
Marius CiepluchandClaude Opus 4.8 43ef254134 feat(benchmark): valid detection benchmark spec + offline modules (groups 1-4)
Builds the benchmark from .kiro/specs/valid-detection-benchmark/brief.md:
sound labels from the fix (no SZZ), app-shaped verified positives,
ordinary negatives from the same repos, whole tool on unseen repos,
standard metrics.

Spec: requirements.md, design.md, tasks.md. Reuses the existing sourcing,
fix-site labelling, negative drawing, replay, and Wilson scoring; drops
the SZZ layer.

New offline modules under benchmarks/valid/:
- catalog.py  positives labelled at the fix site (never introducing/last_touch)
- verify.py   one LLM call per case (vulnerable? fix addresses it? reachable
              in-repo?) + human spot-check; this is the app-shaped filter.
              Honors the instrument rule: bytes read per function, reject on
              an empty read.
- assemble.py >=20x ordinary negatives + a frozen, deterministic manifest with
              the held-out guard
- metrics.py  precision (PPV), false alarms per 100 pushes, exploit-verified
              rate, and the plain headline, layered on score.py

36 new offline tests, 495 regression tests green. No network, no harvest,
no model calls in tests. Group 5 (the live pilot) is not started.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-10-12 18:55:42 +02:00
Marius CiepluchandClaude Opus 4.8 3855945311 docs: rename benchmark metrics to standard security terms
Lead with the names a security engineer already knows instead of the
coined ones:
- catch rate      -> recall (true-positive rate)
- false-alarm rate -> false-positive rate (still reported as false
  alarms per 100 pushes)
- proved-catch / proof rate -> exploit-verified findings (a working
  proof of concept)
- precision stays precision (positive predictive value)

The plain-English question for each metric stays as the explanation.
Updated the valid-benchmark brief and the roadmap. No numbers changed.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-10-12 18:24:13 +02:00
Marius CiepluchandClaude Opus 4.8 b08f372022 docs: retire the SZZ-pool metric, add the valid-benchmark brief, plain-English pass
The frozen SZZ-labeled pool is not a valid benchmark. SZZ puts the vulnerability in
the wrong place about half the time, and ~76% of entries are library-internal (not
reachable in-repo), so its catch/false-alarm numbers (record 07's "3/92") are noise.
Retired as a metric and a gate across the roadmap and briefs; no pool-scored number
is quoted anywhere.

Added .kiro/specs/valid-detection-benchmark/brief.md: positives labelled from the
fix (not SZZ), kept only when app-shaped and reachable in-repo, each verified;
ordinary negatives from the same repos; unseen repos; the whole tool measured; plain
metrics (catch rate, false-alarms per 100 pushes, precision, proved-catch).

Ran a plain-English pass (the humanizer rules) on the roadmap, README, and the two
active briefs via Codex, then reviewed the diff: only these files changed, every
number/path/hash/command is unchanged, and the retired-metric decision is intact.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-10-12 16:38:18 +02:00