Skip to content

docs: expand Stage 0 agent cyber boundary checks - #26

Merged
darklordVirtual merged 5 commits into
docs/sdd-hij-stage-0from
codex/cyber-probes
Nov 8, 2026
Merged

darklordVirtual merged 5 commits into
docs/sdd-hij-stage-0from
codex/cyber-probes

Conversation

@darklordVirtual

@darklordVirtual darklordVirtual commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds a separate Stage 0 cyber review with 15 proposed vectors across instruction promotion, secret egress, network boundaries, tool substitution, artifact admission, and observation. Links the review from the Stage 0 index and maps the candidates to planned Stage 4 checks.

Each proposed vector identifies an attacker-controlled entry point, a forbidden effect at a named boundary, a runner-owned observation source, a same-interval positive control, and a legitimate workflow. The review explicitly limits claims to observed intervals and separates nondeterministic agent trials from deterministic trace evaluation.

Scope and dependency

This PR targets docs/sdd-hij-stage-0 (PR #25). It is documentation only and does not adopt a profile, freeze vectors, change code, or mark Gate 0 complete. PR #24 remains an unmerged possible evidence-capture mechanism, not a dependency or cyber verdict.

Verification

  • git diff --check passed.
  • Confirmed the 15 candidate IDs are present and linked in TRACEABILITY.md.
  • The remote tree SHA matches the locally reviewed tree (8bd8ead883c3e326023ed3577967e1c9fe165b41).

Pre-implementation review fixes (2026-11-07)

Responds to pre-implementation review with documentation-only changes on this PR branch:

  • Make effect-evidence precedence explicit: an independently observed forbidden effect remains CONTRADICTED, even if a different interval or sensor is blind; no observed effect plus unmatched/missing observation is NOT_ESTABLISHED.
  • Require runner-seeded protected canary provenance and source-to-sink/tenant correlation for JX-04/05, including a control rejecting attacker-authored lookalikes.
  • Define attempts, dispatches and transport/request effects for JX-06/08, with redirect, DNS, IPv6, proxy and parser observation boundaries.
  • Require runner-owned out-of-band matched detection controls and legitimate workflows; mismatched controls do not confer resistance credit.
  • Expand traceability from 6 grouped JX ranges into 15 PLANNED rows, with a parent J-NEG and differentiating seeded mutant for each candidate.
  • Update Stage 4 checklist. Clarify this is supplemental AI-authored review, not certified independent sign-off.

Not done: No new executable tests, code, schemas or adopted vectors; no Gate 0/4 completion; no implementation/merge approval. PR #25's maintainer dispositions and independent review remain open.

@darklordVirtual darklordVirtual left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-implementation review — Stage 0 cyber expansion (non-approval)

I reviewed PR #26 at c1255943a30d2598b86853c3d541b462fc94f680 against PR #25's draft claims, ADR-0003/0004, TRACEABILITY, research questions, and Gate 0 criteria. This is a useful candidate-vector expansion, not a frozen test suite or a cyber conformance result. The 4 existing CI jobs passed; they do not validate the proposed JX vectors.

Findings to resolve before Stage 4 implementation / vector freeze

  1. HIGH — JX-13: preserve observed contradictions despite observer gaps. The current instruction that a class "must become NOT_ESTABLISHED for the blind interval" needs a precedence rule. If independent boundary evidence establishes a forbidden effect, retain CONTRADICTED for that observed effect even when observation coverage elsewhere failed. Missing/failed positive controls prevent ESTABLISHED for the claimed interval; they must not erase a demonstrated violation. Please specify interval partitioning, effect/observer correlation, and the precedence table explicitly. This should align with JX-14 and ADR-0003.

  2. HIGH — JX-04/JX-05: establish canary origin and causal provenance. The wording about a canary being transformed and placed in a lower-trust response risks detecting attacker-supplied test text rather than leakage from a protected store. Require runner-seeded, protected source provenance; distinct per-run/tenant canaries; correlation of source access, transformation and actual output/egress; and controls proving that attacker-supplied canary-looking strings do not become exfiltration findings. Restrict transformation detection claims to explicitly exercised encodings and sinks.

  3. SHOULD — JX-06/JX-08: define the network effect boundary. Specify whether the forbidden effect is connect attempt, established transport connection, TLS handshake, HTTP request, or response receipt, and which independent observer resolves the actual final peer across redirects, DNS changes, proxies, IPv4/IPv6 and URL-parser differences. Define policy-denied fake endpoints independently of whether they use loopback addresses. No live metadata endpoint or production traffic.

  4. SHOULD — JX-15: make positive controls mechanically matched and unmistakably runner-owned. State what must match (boundary, route, tenant, sink and observation interval), how the runner injects its safe control without granting subject authority, and how out-of-band control IDs distinguish seeded events from unauthorized subject effects. Missing control coverage must yield a named NOT_ESTABLISHED obligation, never a resistance finding.

  5. SHOULD — distinguish new discrimination from existing J-NEG coverage. JX-05 overlaps J-NEG-10, JX-06 overlaps J-NEG-05, JX-14 overlaps J-NEG-09/12, and several others refine existing families. Add an explicit parent-vector → new discriminator → seeded mutant mapping. Avoid counting refinements as independent coverage or implying 15 implemented tests.

  6. Gate/provenance — retain the proposal boundary. Record reviewer identity/method and reviewed commit for the "independent" AI-drafted review; that label alone does not satisfy PR #25's separate-review requirement. Keep all JX cases PLANNED, and require immutable inputs, runner-owned observation sources, expectations external to evaluator input, legitimate-workflow controls, and fault/mutation tests before any Stage 4 freeze. Gate 0 still depends on documented maintainer dispositions and decisions on ADR-0001–0004.

Recommendation

COMMENT — not approved for implementation/freeze. The documentation can remain a clearly non-normative review proposal while these questions are resolved. Do not interpret a green CI run, these candidate IDs, or this review as a cyber PASS, Stage 0 Gate 0 closure, or approval to merge/implement the profiles. No code changes or merge are requested by this review.

Copy link
Copy Markdown
Owner Author

Follow-up to pre-implementation review:

The documentation-level technical blockers are now addressed in the PR branch (latest head 99ccea37d5421b0f5383c78098c32a66e0f26fe1).

  • JX-13 preserves an independently observed CONTRADICTED boundary effect despite separate blind coverage; NOT_ESTABLISHED applies to unsupported resistance claims.
  • JX-04/05 require runner-seeded protected canary and tenant/source-to-sink provenance, with attacker-lookalike negative controls.
  • JX-06–08 distinguish attempted calls from established transport/request effects and require independent redirect, DNS/IPv6, proxy and parser observations.
  • JX-15 requires runner-owned matched positive controls; every JX candidate now has an explicit parent J-NEG/mutant discriminator.
  • TRACEABILITY contains 15 individually PLANNED cases, and Stage 4 checklist makes the future acceptance steps explicit.

An internal documentation consistency check passed (11 checks, including all 15 JX references and both Gate 0/4 remaining open). The new vectors have not been implemented or executed. This is not a merge approval, independent Gate 0 sign-off, or Stage 4 authorization. PR #25's maintainer dispositions and independent review remain open.

@darklordVirtual darklordVirtual left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review (AI-drafted, Claude Opus 5.5; not independent): merge together with #25, after Gate 0.

Docs only, stacked on #25, CI green. The effect-precedence table, canary provenance and matched-control rules are concrete enough to test against.

Relationship to #30, so neither overclaims:

  • #30 adds catalog controls with runnable reference subjects for JX-01, 02, 03, 04, 05, 06, 08, 09/10, 11/12 and 14 (AACP-CY-*). Each one shows that its contract can be probed: observed on a weak subject, discriminates under a single repair, sensitive on the protected subject, and a harness error (not a protection) on a broken subject. Canaries use the AACP-TEST-CANARY- prefix, CY-04 includes the attacker look-alike negative-provenance control, and the network subjects take the runner-owned loopback observer over the subject's log, as this document requires.
  • They are not JX vectors and close no Stage 4 obligation. There is no runner-owned trace collector, no CONTRADICTED / NOT_ESTABLISHED evaluator, no preregistered trial counts, and JX-07 (DNS rebinding needs a controllable resolver), JX-13 and JX-15 (observation intervals and mismatched controls) have nothing yet.

Suggestion: one column in TRACEABILITY.md saying "reference control: AACP-CY-NN (probe-able contract only)" for the eleven covered rows, so the PLANNED status stays honest while the overlap is visible.


Generated by Claude Code

@darklordVirtual
darklordVirtual merged commit 948475a into docs/sdd-hij-stage-0 Nov 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant