Commit Graph
626 Commits
Author SHA1 Message Date
Marius Ciepluch 6edae3a585 feat(contributor-scan): a scan writes its run to the user cache, and the ledger only when it learns (3.1, part A)
Where a scan writes. A native scan now creates its run under the user cache,
~/.cache/openultrasast/runs/<scan-id>/ by default ($XDG_CACHE_HOME when it is
set and absolute), prints run_dir=<path> once, and no longer writes anything
under the analysed tree. OPENULTRASAST_RUNS_DIR still wins: an absolute value
is used as given, a relative one resolves against the working directory.
Pre-push storage is unchanged.

The calibration ledger, by maintainer decision: .openultrasast/calibration/
stays the store, and a scan writes the false-positive ledger into the tree
only when its content would change. On a read-only tree the scan records
ledger_not_written, with a sentence in the report, and completes; before, a
read-only target with one rejected finding crashed before report.md existed.

benchmarks/repos/measure.py follows the printed run directory. It read the
run from under the scanned copy, which would have recorded every repository
as failed, and it also read a stale run left in a copy.

Tests: tests/test_scan_output_location.py drives the real CLI and compares
the whole tree before and after; tests/test_repo_measure.py pins the
measurement script; an autouse fixture keeps every test's scan runs out of
the developer's cache; fourteen test files follow the run to its new place.
README, docs/examples.md and the scan skill name the ledger as the one write
a scan makes. _run_scan is touched by one line and stays over the complexity
cap.

Task 3.1 stays open for part B, the readable summary.
2026-11-24 15:33:35 +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 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 8a26d334f8 test(detection-core): verify v3 boundaries and growth 2026-11-12 13:41:30 +01:00
Marius Ciepluch 2a9f94de80 feat(detection-core): authorize fitted replay scope 2026-11-11 22:17:30 +01:00
Marius Ciepluch 0a64c70cf0 feat(detection-core): publish integrated v3 facade 2026-11-11 20:50:46 +01:00
Marius Ciepluch ed57d160b2 feat(detection-core): validate complete evaluation replay 2026-11-11 19:01:06 +01:00
Marius Ciepluch 872dde5932 feat(detection-core): assemble complete evaluation replay 2026-11-11 18:17:30 +01:00
Marius Ciepluch b452333eb4 feat(detection-core): derive non-authorizing aggregates 2026-11-11 17:08:45 +01:00
Marius Ciepluch 101de60e70 feat(detection-core): derive completed scope reports 2026-11-11 16:50:23 +01:00
Marius Ciepluch b481406918 feat(detection-core): derive scoped evaluation metrics 2026-11-11 15:49:36 +01:00
Marius Ciepluch c9f56eafdd feat(detection-core): reconcile ordinary push coverage 2026-11-11 14:59:30 +01:00
Marius Ciepluch 904ba997b5 feat(detection-core): isolate scoped quality evidence 2026-11-11 14:27:15 +01:00
Marius Ciepluch b95da61cd7 feat(detection-core): enforce proof continuity 2026-11-11 13:04:39 +01:00
Marius Ciepluch ccffef5fa3 style(detection-core): format evaluation contracts 2026-11-11 12:18:33 +01:00
Marius Ciepluch 30129bfe5f feat(detection-core): replay per-case combinations 2026-11-11 11:00:12 +01:00
Marius Ciepluch 565b25d604 feat(detection-core): bind case outcome projections 2026-11-11 10:40:48 +01:00
Marius Ciepluch ffea8f615e feat(detection-core): define per-case outcome projection 2026-11-11 10:07:53 +01:00
Marius Ciepluch 311ef658bb feat(detection-core): revalidate released case associations 2026-11-11 08:55:20 +01:00
Marius Ciepluch 6dedd0f769 feat(detection-core): validate V3 case release 2026-11-10 09:27:35 +01:00
Marius Ciepluch 7e0df9ccca feat(detection-core): bind atomic evaluation spend 2026-11-10 09:08:32 +01:00
Marius Ciepluch 57b857387f feat(detection-core): derive reviewed admission authority 2026-11-10 08:47:11 +01:00
Marius Ciepluch 08535a59e0 feat(detection-core): validate exact retry histories 2026-11-10 08:31:33 +01:00
Marius Ciepluch 0fb0fc7601 feat(detection-core): validate exact sealed observations 2026-11-10 08:10:44 +01:00
Marius Ciepluch 8cdd2de692 feat(detection-core): derive exact evaluation feasibility 2026-11-10 07:56:20 +01:00
Marius Ciepluch c810a559ec feat(detection-core): validate reviewed V3 evaluation plans 2026-11-06 18:14:14 +01:00
Marius Ciepluch ed61e05aca feat(detection-core): define non-circular evaluation plans 2026-11-06 17:55:03 +01:00
Marius Ciepluch a916a87091 feat(detection-core): close combined-arm configuration contract 2026-11-06 17:38:55 +01:00
Marius Ciepluch 16c04cf24f feat(detection-core): establish V3 version boundary 2026-11-06 17:27:19 +01:00
Marius Ciepluch a60b5397c6 feat(detection-core): define exact V3 measurement contracts 2026-11-06 16:56:39 +01:00
Marius Ciepluch c74506e38b feat(detection-core): extract version-neutral metric arithmetic 2026-11-06 16:22:08 +01:00
Marius Ciepluch 228f3104b9 style: format release candidate 2026-11-06 14:12:56 +01:00
Marius Ciepluch 7deab25093 chore(release): prepare v2.1.0-alpha.1 checkpoint 2026-11-06 14:12:07 +01:00
Marius Ciepluch 3c2f86bbc0 test(detection-core): verify bounded validation cost 2026-11-04 15:09:42 +01:00
Marius Ciepluch 586543d799 feat(detection-core): complete single-writer v2 cutover 2026-11-04 09:54:47 +01:00
Marius Ciepluch 11059c4cd4 feat(detection-core): migrate benchmark readiness and admission consumers 2026-11-03 18:37:44 +01:00
Marius Ciepluch e98d264f62 feat(detection-core): close production legacy consumers 2026-11-02 13:41:35 +01:00
Marius Ciepluch ff8912a2a2 feat(detection-core): isolate legacy compatibility shims 2026-11-02 12:04:13 +01:00
Marius Ciepluch 856312c36e feat(detection-core): isolate legacy v1 ownership 2026-11-02 11:23:18 +01:00
Marius Ciepluch a6990e25af feat(detection-core): freeze v1 migration foundation 2026-11-02 10:23:58 +01:00
Marius Ciepluch 7c0745247e feat(access-control-prover): integrate reviewed entry facts 2026-11-01 18:48:25 +01:00
Marius Ciepluch 29030b38fc feat(access-control-prover): publish fact conformance handoff 2026-11-01 18:16:07 +01:00
Marius Ciepluch ec6c8f7f3e feat(access-control-prover): match reviewed entry facts 2026-11-01 17:42:05 +01:00
Marius Ciepluch 9b61e492e6 feat(access-control-prover): persist canonical fact matches 2026-11-01 17:24:50 +01:00
Marius Ciepluch f739b39ead feat(access-control-prover): migrate reviewed entry packs 2026-11-01 17:17:05 +01:00
Marius Ciepluch 56fb129b7c feat(access-control-prover): record authority review ceremony 2026-11-01 17:01:44 +01:00
Marius Ciepluch a5ebc69a6e feat(access-control-prover): decode installed fact authority 2026-11-01 16:56:26 +01:00
Marius Ciepluch 18dc25b718 feat(access-control-prover): authenticate fact authority 2026-11-01 15:09:28 +01:00
Marius Ciepluch fd3d8ac1e6 feat(access-control-prover): define production family contract 2026-11-01 15:02:04 +01:00
Marius Ciepluch 5379b8ae39 feat(detection-core): adapt demonstrated proof evidence 2026-11-01 12:38:49 +01:00