Repository navigation
Add AACP controls, with NTI and REMORA control reports - #28
Conversation
Source inspection of abisheakp197/Neutral-Trust-Infrastructure at de08dbd, covering the Rust engine and the PR #63 witness-provenance claims. Reproduction candidates are written from source and not yet run. No AACP run, no property mapping.
Add examples/nti-de08dbd.json: A-D FAIL on executed evidence, E-G UNTESTED. Each FAIL rests on a test that passes on the pinned NTI revision and fails when that one weakness is repaired. scripts/run_nti_inspection.py runs the baseline and the eleven mutations in docs/nti-source-inspection/mutations.json against expected.json and writes a result record. The nti-inspection workflow reproduces it in CI, with no-op-mutation and wrong-revision self-tests. Adds a C test (token not bound to call).
Run nti-de08dbd-2026-11-08-local from committed procedure 9eaf002: 12/12 baseline tests as expected, 11/11 mutations discriminate.
procedure_committed derived repository paths from the module-level file constants; the CI no-op self-test points MUTATIONS at a temporary file, so relative_to() raised. Use fixed repository paths and report a temporary procedure file as uncommitted. Harness bytes change, so the earlier author run stays as recorded and a new run follows.
Run nti-de08dbd-2026-11-08-local-2 on procedure e3d8c86: expectations met, baseline digest unchanged. Run 1 is kept as recorded and marked superseded.
controls/aacp-controls-v1/catalog.json defines 20 project-neutral controls with probe contracts. conformance/controls.py runs a binding (cargo-test, command and source-check probes, each with an optional single-weakness repair for discrimination), compares with expected.json, and generates a schema-valid A-G assessment and a markdown report. FAIL needs an executed, exact, observed and discriminating probe; nothing yields PASS. The NTI binding carries the Mythos tests and the OpenAI Daybreak source checks, adding an executable probe for Daybreak's policy-after-dispatch finding (AACP-D-03). The controls workflow reruns each binding and requires identical findings and report. Replaces the NTI-specific script and workflow.
Run nti-de08dbd-2026-11-08-author-1 on procedure b22c642: all 22 probes OBSERVED, all 14 declared repairs discriminate, expectations met. examples/nti-de08dbd.json and reports/nti-de08dbd/REPORT.md are generated from it: A-D FAIL, E-G UNTESTED.
Catalog 1.1.0 gives each A-G control the SPECIFICATION §2 text it relies on, the rationale, and a boundary stating when the control does not establish a failure (AACP-A-01 excludes quotas outside the artifact; AACP-C-01 excludes call binding enforced elsewhere on the mandatory path). load_binding rejects an A-G control without one. Reports print the basis of counted controls, put boundaries in the caveat, and state that author runs and reproductions are not independent reviews.
A: MaxExecutions is a signed token caveat, not an external quota. B: no authenticated channel or key registry on the evaluate path, and no declared bearer non-claim. C: P-C-01 is allowed by the token alone; the request signature is optional. Each says which implementer non-claim would make the row OUT_OF_SCOPE.
Run nti-de08dbd-2026-11-08-author-2 on procedure 594f891 (catalog 1.1.0): same findings as author-1. The report now carries the normative basis of each counted control and an evidence-provenance section. The inspection record explains the A-01 and C-01 mappings and keeps author runs and reproductions distinct.
The evidence-provenance paragraph interpolated the run's independence, so a REPRODUCTION in CI rendered different markdown from the committed AUTHOR_RUN report. The classification is already on the stripped Run line; the paragraph is now static. Add a test that renders a simulated reproduction of the committed run and requires an identical report. Run author-2 and its findings are unchanged; only the rendering is.
A NOT_OBSERVED probe now counts only if a declared weakening, the
protection removed, makes it observe (SENSITIVE). Mutations may carry
several edits for protections enforced in more than one layer. Command
probes take not_observed_exit, so a crashed probe or failed setup is a
NON_VERDICT, never a protection that held. Runners may declare setup
commands; {python} names the interpreter.
Catalog 1.2.0 adds AACP-X-04 (persisted audit log fails verification
after reload), found while binding REMORA.
controls/bindings/remora-06c2f8f: 20 probes against REMORA-research
dev 06c2f8f under the same catalog as NTI.
Run remora-06c2f8f-2026-11-08-author-1 on procedure 1d913ef: 20/20 probes as expected. 16 not observed, every one shown sensitive; four observed and discriminating (AACP-X-01 SQLite tail truncation, two AACP-X-02 assurance Merkle defects, AACP-X-04 JSONL reload). A-G UNTESTED. docs/REMORA-CONTROL-INSPECTION.md gives location, effect, fix and regression test for each finding, and lists the protections verified with the layers each weakening had to remove.
The regeneration test simulated a reproduction with the committed run's catalog version, so it missed that a catalog change alters the report; CI caught it. The simulation now uses the committed catalog. NTI gets a probe for AACP-X-04 (save_to_file then load_from_file), with a weakening that persists decisions differing from the hashed ones, so both bindings cover the whole catalog.
Run nti-de08dbd-2026-11-08-author-3 on procedure 7096bc6: the 22 earlier findings unchanged, plus AACP-X-04 not observed and sensitive. CURRENT and the generated report move to it.
Bumping controls/aacp-controls-v1/catalog.json in place changed every
regenerated report ("catalog v1.2.0" -> "v1.3.0") although no finding
changed, so the controls workflow failed for all three bindings.
A catalog file is now frozen once a committed result pins its SHA-256.
1.3.0 lives in controls/aacp-controls-v1.3.0/ and repeats the 1.2.0 controls
unchanged. New tests: every CURRENT result's catalog bytes match the file its
binding names; catalog versions are unique across files; 1.3.0 is a strict
superset of 1.2.0. Both pin tests fail when the in-place bump is reapplied.
The binding template points at 1.3.0. Merges #28's head (author-3 NTI run,
X-04 binding) so the branch carries the current published state.
darklordVirtual
left a comment
There was a problem hiding this comment.
Review (AI-drafted, Claude Opus 5.5; not independent): technically ready, with one decision for you before merging.
CI green, including the real reproduction runs (run (nti-de08dbd) with Rust, both REMORA bindings: same_findings: true, report unchanged). Runner semantics hold up under the adversarial tests added in #30: a probe that rewrites the subject can't discriminate, relationship downgrades and static probes never count, out-of-A-G controls never yield a FAIL row, expected.json is read once before probes run, and runs are identical apart from the clock.
Decision (not code): merging puts reports/nti-de08dbd/REPORT.md (A, B, C, D = FAIL) on main of a public repo, while the PR body says producer review has not been requested. docs/CONTROLS.md step 5 and SPECIFICATION §8 say to send the draft to the implementer first. Options: (a) request NTI's comment and merge after it or after a stated deadline; (b) merge now and say in the report that producer review is pending. Either is defensible; choose one explicitly.
Runner gaps found by #30's tests, recorded as expectedFailure there and fixable in controls.py:
- A
json_*predicate over a file that isn't JSON raisesJSONDecodeErrorout of the whole run, and no result record is written. It should be a probeNON_VERDICT, like a missing file or region. - Predicate
opis validated only at evaluation, after the path lookup, so an unknown op over an absent path reads asNOT_OBSERVED.load_bindingshould reject unknown ops. - A plain-script probe that crashes exits 1, the same code as a refusal. This is documented in #30, not a runner bug, but it is why probes must use exit 3 for harness errors.
Conflict with #24: README.md only, one table row each, keep both.
Generated by Claude Code
|
Superseded by #31, merged to Generated by Claude Code |
Adds AACP controls: repeatable, project-neutral security checks that produce an A-G report. The first binding is Neutral Trust Infrastructure at
de08dbd, built from the Claude Mythos sweep and the OpenAI Daybreak source checks.Report:
reports/nti-de08dbd/REPORT.md. A, B, C and D are FAIL; E, F and G are UNTESTED.What's added
controls/aacp-controls-v1/catalog.json: 20 controls. Each one names a weakness, the property it maps to (A-D, or outside A-G for audit, transport and evidence provenance) and a probe contract, so results for the same control are comparable across projects.conformance/controls.pywithrun,reportandcompare, and three generic probe kinds:cargo-test,command(pytest, go test, npm and so on) andsource-check(regex, ordering and JSON predicates). Each probe can declare a single-weakness repair to check that it discriminates.exactrelationship that is OBSERVED and DISCRIMINATES. Static probes, structural or partial relationships and controls outside A-G are reported but not counted. Nothing yields PASS.controls/bindings/nti-de08dbd/: 22 probes, 13 executable and 9 static. Daybreak's "policy checked after dispatch" finding is reproduced with a real file write (AACP-D-03)..github/workflows/controls.ymlreruns every binding as a REPRODUCTION. It fails if the findings or the regenerated report differ from the committed run.tests/test_controls.py: 22 tests of the runner semantics that need no Rust toolchain (no-op repair, wrong revision, changed byte, ambiguous anchor, never PASS, and so on).docs/CONTROLS.mdandtemplates/controls-binding/for binding a new project.docs/NTI-SOURCE-INSPECTION.mdmaps each sweep finding to its control and probe.REMORA under the same catalog
controls/bindings/remora-06c2f8f/: 20 probes against REMORA-researchdevat06c2f8f(17 executable Python probes through the real HTTP API and components, 3 static).JSONLAuditfailsverify()on every reloaded log.SQLiteTenantChainkeeps no head, so tail truncation goes undetected.remora/assurance/merkle.pyduplicates odd nodes and has no domain separation.docs/REMORA-CONTROL-INSPECTION.md. Report:reports/remora-06c2f8f/REPORT.md.Runs
nti-de08dbd-2026-11-08-author-1, on procedureb22c642: all 22 probes OBSERVED, all 14 repairs discriminate.AACP controlscheck on this PR.docs/nti-source-inspection/results/.NTI code is executed only in disposable environments (the maintainer authorized this). The probes are the assessor's own, so no run is independent. Producer review has not been requested yet. AI-assisted.
Generated by Claude Code