Commit Graph
1287 Commits
Author SHA1 Message Date
Marius Ciepluch c97564343e bench(independent): freeze population v4 (11 cases)
freeze.py verified every case with git and file reads only (exit 0). A hand
review in two independent sessions then read each sink at the vulnerable pin
and each benign diff. Eleven cases stand; irrd-host-header-reset-poisoning
was dropped (its declared sink file holds no link construction and the fix
touches none of the link files, so the sink rule cannot be met).

4 PHP with JavaScript, 4 TypeScript, 3 Python; injection 6, untrusted
destination 3, configuration 2. Nothing in it has been scanned, traced,
probed or censused. protocol-v4.md must be committed before the first scan.

freeze-v4.json is pinned in reservation_guard_sources.py beside the
research record, so the guard fails loudly if either file changes.
2026-11-23 17:41:29 +01:00
Marius Ciepluch 624816f36c bench(independent): reserve population v4 (12 cases) by maintainer selection
Reserve a fourth independent population for milestone M4: twelve
repositories (four PHP, four TypeScript, four Python) chosen by the
maintainer from a sixteen-candidate research record built without a
clone or a scan. None of the twelve is named anywhere else in the
development tree.

The research record is pinned by SHA-256 in the reservation guard so the
production guard accepts the one file allowed to name the reserved
repositories. The population is reserved, not frozen: pins, sink
presence and benign changes are verified by the freeze step. Nothing in
it has been scanned, traced, probed or censused.
2026-11-23 16:03:59 +01:00
Marius Ciepluch 078692e903 docs(pre-push-safety-net): record the provisional advisory scope for 15.2
Task 15.2 is implemented as a provisional record (commits b82b52f, d9b7aaa): one packaged scope record, one bounded Scope line per run, the artifact key and the wheel membership. Notes the dangling Requirement 5.6 citation (implemented against 3.1, 5.1, 7.1, 7.3), what must be decided before the scope takes effect, the registry that has been stale since 2026-09-13, and the reviewer suggestions left open.
2026-11-23 15:02:59 +01:00
Marius Ciepluch d9b7aaa6ac feat(pre-push-safety-net): exclude the memory family explicitly and document the scope line
- advisory-scope.json names the taxonomy family memory as excluded, with
  the registry-grounded reason and what a run does not tell
- docs/scanning.md shows the Scope line exactly as the hook prints it
- the loaded-scope guard moves into a helper, so __post_init__ keeps its
  complexity of 14
2026-11-23 13:45:27 +01:00
Marius Ciepluch 364b4c0777 test(valid-detection-benchmark): pin each fix-site key element and non-integer closure totals
- one sourcing-queue pair per fix-site key element (path-only,
  function-only), each proven red by dropping that key line alone
- the closure decode test covers a self-consistent bool total next to
  the float total
- the _request_order docstring names the two ties that remain open
  (fix revisions; shared candidate digest with another family or CWE)
2026-11-23 13:31:01 +01:00
Marius Ciepluch b82b52f976 feat(pre-push-safety-net): declare the provisional advisory scope and print it on every run
One packaged record (advisory-scope.json, shipped in the wheel beside eligibility.json) states the provisional scope, every exclusion with its reason, and what each exclusion leaves untold. The hook renders exactly one bounded Scope line per run in every state (provisional, with defects, record unavailable) and the artifact carries the record under advisory_scope. The record is provisional if and only if the shipped registry is NO-GO with no enabled declaration.

Task 15.2. The task text cites a requirement 5.6 that does not exist, so this is implemented against 3.1, 5.1, 7.1 and 7.3.
2026-11-23 13:01:01 +01:00
Marius Ciepluch bacbe53a0b style(valid-detection-benchmark): apply ruff format to 15 benchmark modules
CI runs ruff format --check over the whole repository, and these modules under benchmarks/valid were the last unformatted files. Formatting only: the AST dump of every file is identical to the previous revision and the logical line count is unchanged (admission_execution.py and admission_projection.py stay at 400).
2026-11-23 11:42:55 +01:00
Marius Ciepluch 0d5aaeecca test(valid-detection-benchmark): cover a non-permissive license class behind an allowlisted expression
The license_class conjunct of the public-material partition had no mismatch fixture. NON_PERMISSIVE and UNCERTAIN sources with an allowlisted expression and an approval are now pinned to the private partition.
2026-11-23 11:40:09 +01:00
Marius Ciepluch 67bc37cac6 fix(valid-detection-benchmark): break sourcing-queue ties on fix-site path and function
Candidates that differed only in fix-site path or function were selected by input order under the queue cap. Both scalars are now part of the request order, so cap selection no longer depends on input order for them.
2026-11-23 11:40:09 +01:00
Marius Ciepluch 9e884e8342 fix(valid-detection-benchmark): require a strict integer for the accepted positive total
total_accepted_positives accepted floats and booleans on both the direct and the decode path. Both now fail closed with STATE_MISMATCH through one sibling helper that keeps _validate_closure within the complexity cap.
2026-11-23 11:40:09 +01:00
Marius Ciepluch 60bb7f0bdd fix(valid-detection-benchmark): fail cohort selection closed on a malformed pending ledger
_ledger_facts accepted any pending_entries value and turned it into a set; a ledger outside the durable shape is now a STATE_MISMATCH on both selection rounds. The _pending_by_ecosystem docstring now states the conflicting-accepted-review corner accurately.
2026-11-23 11:40:09 +01:00
Marius Ciepluch 7e6da2efae fix(valid-detection-benchmark): normalize mixed-case .git suffixes in reservation identity
A reference such as OWNER/REPO.GIT escaped the reserved-identity check at both reservation sites because the suffix was stripped case-sensitively. One shared strip now handles the suffix case-insensitively; identities without a mixed-case suffix are byte-identical.
2026-11-23 11:40:09 +01:00
Marius Ciepluch f2093a5380 fix(valid-detection-benchmark): floor scale runtimes at one millisecond
The 11.5 review noted that the scale validator accepted runtime_ms >= 0,
so a sub-millisecond or frozen-clock reading could be recorded as 0 ms.
Clamp every recorded runtime (per-arm, streaming, lane) to at least 1 ms
and tighten the validator to > 0. A frozen-clock test proves all three
floors; it fails against the previous source (0 ms receipts).
2026-11-23 11:05:20 +01:00
Marius Ciepluch f30a5d2cb2 style(valid-detection-benchmark): apply ruff format to 10.x/11.x test files
`ruff format --check src tests` failed on the 17 test files and helpers added by tasks 10.x and 11.x. Formatting only: the AST of every file is unchanged.
2026-11-23 09:27:41 +01:00
Marius Ciepluch a68796610a feat(valid-detection-benchmark): 11.5 streaming scale bounded validation and back-pressure 2026-11-23 06:21:43 +01:00
Marius Ciepluch 66ec3e1a31 feat(valid-detection-benchmark): 11.4 spend-ordering crash and failure-visibility matrix 2026-11-23 03:51:56 +01:00
Marius Ciepluch da5323002e feat(valid-detection-benchmark): 11.3 end-to-end lifecycle with case adapter and hostile-decode retrofit 2026-11-23 02:50:12 +01:00
Marius Ciepluch 73c8a9d6b3 feat(valid-detection-benchmark): 11.2 persistence custody and scratch-loss suites 2026-11-22 23:28:46 +01:00
Marius Ciepluch 936835477a feat(valid-detection-benchmark): 11.1 governance and confidentiality adversarial suites 2026-11-22 23:01:01 +01:00
Marius Ciepluch c587f25bb3 feat(valid-detection-benchmark): 10.7 freeze and causally bind replacement baseline 2026-11-22 22:27:09 +01:00
Marius Ciepluch 93ebea7b93 feat(valid-detection-benchmark): 10.6 draw and validate ordinary-change population 2026-11-22 21:38:26 +01:00
Marius Ciepluch c867f24f7d docs(valid-detection-benchmark): persist 10.4/10.5 review advisories 2026-11-22 20:12:21 +01:00
Marius Ciepluch c2b5f5bc92 feat(valid-detection-benchmark): 10.5 ingest fourth cohort and close positive set 2026-11-22 20:12:03 +01:00
Marius Ciepluch 6d66501192 feat(valid-detection-benchmark): 10.4 select and ingest third reviewed cohort 2026-11-22 19:16:54 +01:00
Marius Ciepluch 408a562c41 feat(valid-detection-benchmark): 10.3 ingest bounded reviewed JavaScript/TypeScript cohort 2026-11-22 18:42:51 +01:00
Marius Ciepluch 825e680804 feat(valid-detection-benchmark): 10.2 ingest bounded reviewed Python cohort 2026-11-22 10:25:59 +01:00
Marius Ciepluch 34344234d5 feat(valid-detection-benchmark): 10.1 create bounded sourcing and review queues for both initial ecosystems 2026-11-21 21:29:52 +01:00
Marius Ciepluch a961a8080c chore(deps): refresh uv lockfile to revision 5 2026-11-21 21:09:49 +01:00
Marius Ciepluch e4ae37958e docs(valid-detection-benchmark): record R1 final-validation follow-up owners 2026-11-21 19:41:35 +01:00
Marius Ciepluch d81255e256 style(valid-detection-benchmark): apply repo formatter to R1 test files 2026-11-21 19:28:10 +01:00
Marius Ciepluch 38e12282da feat(valid-detection-benchmark): 9.3 publish benchmark-only run, resume, and status commands 2026-11-21 19:27:27 +01:00
Marius Ciepluch 4085f236f3 feat(valid-detection-benchmark): 8.6 resume exact pre-spend and post-spend workflows without changing authority 2026-11-21 17:39:10 +01:00
Marius Ciepluch 6fad162962 feat(valid-detection-benchmark): 8.5 produce every scoped report and one complete evaluation replay 2026-11-21 16:34:30 +01:00
Marius Ciepluch 475ff3a5fe feat(valid-detection-benchmark): 8.4 project exact-scope cases and promote only matching differential proof 2026-11-21 15:23:51 +01:00
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 b1bbc8c3bc docs(steering): add milestone ladder roadmap to a shippable safety net
New binding top section: R0 closure, R1 benchmark machinery, R2 frozen
real population, R3 first governed admission number, R4 shippable scope
(M4), R5 engine depth and hardening, R6 narrow advisory rollout (M5).
Sequences every verified open stream; bars unchanged.
2026-11-20 20:08:21 +01:00
Marius Ciepluch 37d98a846b docs(access-control-prover): reconcile amendment group headers
All 62 numbered subtasks are complete; tick groups 7-14 to match.
2026-11-20 20:08:21 +01:00
Marius Ciepluch 5610e7be33 fix(valid-detection-benchmark): collapse nested precondition guard ifs
Ruff SIM102: combine the IfMatch precondition check into one condition;
behavior unchanged.
2026-11-20 20:08:21 +01:00
Marius Ciepluch e6984b2f46 feat(detection-core): resolve 11.4 governance blocker and pass final gate
The owning spec valid-detection-benchmark landed the authoritative
reservation/withdrawal/replacement lifecycle (tasks 2.1-2.4), resolving
the reservation-guard conflict that blocked the full-suite gate. The
final gate instrument now declares the V3 evaluation layer in its core
authority and passes; test_independent_population is green 12/12.
Full-tree 6425 passed with one documented load-induced timing flake
(budget-contract tests pass standalone 52/52).
2026-11-20 20:08:16 +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