Repository navigation
Land AACP controls (#28, #29, #30) without the NTI binding - #31
Merged
Merged
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.
Same catalog (v1.2.0) and probes as remora-06c2f8f, which is left unchanged. The subject is REMORA fix/aacp-x01-x02-x04 at b5e4c42. The repairs R-X-01, R-X-02a, R-X-02b and R-X-04 are now part of the code, so each X probe carries a weakening instead (W-X-01, W-X-02a, W-X-02b, W-X-04) that removes the new protection, and its NOT_OBSERVED counts only if that makes it observe. expected.json is written before the run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Stian Skogbrott <36493828+darklordVirtual@users.noreply.github.com>
Run remora-b5e4c42-2026-11-08-author-1 (AUTHOR_RUN, clean AACP tree at 561f74e): EXPECTATIONS_MET, 20 NOT_OBSERVED, every one sensitive. Compared with the 06c2f8f result, exactly P-X-01, P-X-02a, P-X-02b and P-X-04 changed from OBSERVED to NOT_OBSERVED. The 06c2f8f report, result and binding are unchanged; the inspection document gains an after-the-fix section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Stian Skogbrott <36493828+darklordVirtual@users.noreply.github.com>
…ersarial runner tests Catalog v1.3.0: AACP-C-02, AACP-E-01, AACP-F-01..03, AACP-G-01..02 and the AACP-CY family outside A-G (instruction promotion, approval injection, memory taint, secret egress, tenant isolation, network policy, tool substitution, artifact admission, observer precedence), mapped to the Stage 0 JX candidates. tests/controls_reference/: one minimal subject per new control (weak module, single-edit repair, probe with the 0/1/3 exit convention), run through the real runner by tests/test_controls_reference_subjects.py: OBSERVED and DISCRIMINATES on the weak subject, NOT_OBSERVED and SENSITIVE on the repaired one, NON_VERDICT on a broken one, FAIL on exactly the control's property, never PASS. tests/test_controls_adversarial.py: a tampering probe, a probe-breaking repair, relationship downgrades, out-of-A-G controls, an evasive subject or an edited expected.json cannot manufacture a FAIL or a PASS; runs are reproducible apart from the clock; two runner gaps recorded as expected failures. No existing control, binding or result changed.
… tests/controls-reference-subjects
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.
Merges #28, #29 and #30 onto main (after #27 and #24) and leaves out the Neutral Trust Infrastructure binding, report, assessment, inspection and earlier NTI result files until the producer has seen the draft (SPECIFICATION section 8). They remain on branch docs/nti-source-inspection. docs/REMORA-CONTROL-INSPECTION.md drops its NTI comparison column. README links the REMORA report as the example. Catalog 1.2.0 and the REMORA bindings are unchanged because committed results pin their bytes; their mythos:NTI-* origin labels and one trust-assumption sentence name NTI as provenance only. Local checks: conformance.check (8 assessments), mutations 30/30, invariants, vectors verify/check, reference-vector rebuild, 490 tests OK.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lands #28, #29 and #30 on
mainwithout the NTI binding, as decided by the maintainer: the Neutral Trust Infrastructure report (A-D FAIL) is not published onmainuntil NTI has been sent the draft and had the chance to comment (SPECIFICATION §8).Contents
conformance/controls.py(run/report/compare), catalog 1.2.0,docs/CONTROLS.md, binding template,controlsworkflow,tests/test_controls.py, REMORA bindingremora-06c2f8fwith report and fix guide.remora-b5e4c42(after the X-01/X-02/X-04 fix) with report.AACP-CYcontrols, 17 reference subjects, adversarial runner tests.main(Distribute AACP as GitHub Release assets (v0.3.0a1) #27, Lab: answer public verification challenges (bytes inputs, probes, respond) + public-boundary fixes #24): README conflict resolved by keeping both rows.Left out (still on branch
docs/nti-source-inspection)controls/bindings/nti-de08dbd/,reports/nti-de08dbd/,examples/nti-de08dbd.json,docs/NTI-SOURCE-INSPECTION.md,docs/nti-source-inspection/, the NTI CHANGELOG entry, and the NTI column indocs/REMORA-CONTROL-INSPECTION.md.Kept because committed REMORA results pin the bytes: catalog 1.2.0's
originlabelsmythos:NTI-*(provenance of a control, not a finding), and the sentence "same catalog as the NTI binding" in the REMORA bindings' trust assumptions. Changing them would be a new run.Checks
All AGENTS.md checks locally: 8 assessments, mutations 30/30, invariants, vectors verify/check, reference-vector rebuild, 490 tests OK (3 skipped, 2 expected failures, the runner gaps documented in #30). CI on this PR reruns both REMORA bindings as reproductions.
Supersedes #28, #29, #30 (closed with a pointer here). #25 and #26 stay open: Gate 0 has no maintainer dispositions.
AI-drafted.
Generated by Claude Code