feat: establish a private graph-native protection runtime - #253
Draft
binaryaaron wants to merge 52 commits into
Draft
feat: establish a private graph-native protection runtime#253binaryaaron wants to merge 52 commits into
binaryaaron wants to merge 52 commits into
Conversation
Preserve the hardened closed-mapping structured-item harness and exercise complete OCSF 1.7.0 Process Activity JSONL records with local redaction. This remains test-only and adds no production or public streaming surface. Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Add an opt-in protected-only Intake dogfood for format fidelity, withholding, delivery failure, and exact-byte retry behavior. Require stable chat timestamps and agent-name metadata, and document public result atomicity plus adapter/Intake ownership. Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
binaryaaron
force-pushed
the
codex/anonymizer-openshell-intake
branch
from
August 20, 2026 17:36
e20eb93 to
fbe2aea
Compare
binaryaaron
marked this pull request as ready for review
August 20, 2026 17:36
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Route the reachable private flow through the sealed Phase 6 plan and runtime with stage-specific NDD effects. Keep detector work target-only, localize attributable context-peer faults, and materialize only verified released datums. Freeze executable lifecycle schedules, compare the semantic corpus with production execution/accounting, and add the required public DataFrame compatibility evidence. Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
7 tasks
Collaborator
Author
|
Phase 7 P0 governance is not yet complete.
Implementation remains blocked. The semantic and execution owners must approve the frozen v1 contract, including all-pairs exact distinctness and the owned semantic/execution decisions. A separate operator checkpoint must then explicitly authorize Phase 7 before any contract-loader, fixture, compiler, planner, or runtime implementation begins. If governance moves to Linear, update the governing reference and approval record before owner review. |
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
binaryaaron
force-pushed
the
codex/anonymizer-openshell-intake
branch
from
September 1, 2026 16:40
833561f to
b1e9805
Compare
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Validate complete scope bundles against the frozen contract, then bind replacements to authoritative mention spans and reconstruct source text without fallback or cascading edits. Add direct P4 oracle conformance and harden the reference mutation harness while preserving the public Substitute path. Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Generate one bounded NDD proposal per nonempty scope and reconcile it through exact opaque identities and fail-closed failure evidence. Keep candidate validity with the existing Phase 7 validator and leave the public Substitute path unchanged. Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
binaryaaron
force-pushed
the
codex/anonymizer-openshell-intake
branch
from
September 3, 2026 04:08
4b656cf to
2de3f0f
Compare
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
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.
Related issue
Resolves #257
Summary
Completes the private graph-native protection runtime through Phase 7 P8. The new private
stable-substitute-v1profile compiles the frozen owner contract, carries accepted Phase 6mentions into bounded scope planning, validates and applies one immutable replacement bundle,
and releases protected text only through Phase 4 terminal accounting.
The public DataFrame API remains compatible. Public
Substitutestill uses the legacyreplacement workflow; Redact, Annotate, Hash, Rewrite, run, preview, evaluate, display, trace,
validation, and CLI behavior are unchanged. No public graph API or production Intake/OpenShell
integration is added.
Phase status
roles, private Redact, and the accepted Substitute handoff.
application, the NDD candidate backend, planner ledger, and release-gated runtime.
_ProtectionFlowselection andcompletes privacy/release convergence.
Grouped Rewrite/P9 and the broader public SDK Phase 8 proposal have not started.
P8 material changes
Substitute()only through the private_compile_protection_plan()and_ProtectionFlowpath, using the frozenstable-substitute-v1contract.and Phase 4 reconciliation through the private protection service.
effective prerequisite set, including scope and prior-stage edges, while Phase 4 accounting
remains the sole release authority.
without invalidating an independent group in the same coherence scope.
_GroupReleasedterminal candidates; no side map or raw-inputfallback can authorize output.
the legacy Redact receipt.
bypass, collision/fallback behavior, output shape, exact
FailedRecordbehavior, display,traces, CLI, and all adjacent public strategies.
exceptions and causes, tracebacks, receipts, serialization, and cleanup faults. Distinct
original, synthetic, prompt, source-ID, and digest canaries prove that private material does
not escape and synthetic values appear only in qualified output locations.
Boundaries and non-goals
The branch does not:
Substitutethrough the graph profile;delivery integration;
NddAdapter.run_workflow(); orReview and validation
lifecycle safety; architecture and ownership; and final full-diff convergence.
7db42f75cfe36ab6928fd2fb4195cb5e01ea8eafwith zero Critical, Warning, or Nit findings.make checkpassed, including formatting, Ruff, type checks, lock validation, and SPDX checksfor all 322 files.
make test: 4,330 passed, 11 skipped.make coverage: 4,330 passed, 11 skipped; 90% total coverage.nemo_anonymizer-0.3.3.post58.dev0+7db42f7-py3-none-any.whlwas installed intoa fresh environment. Imports resolved from
site-packages, all frozen resources were present,the contract digest matched, and the installed privacy/cleanup suite passed.
5fdeb4220b121fe5ea1c754a40169cdf724efbbe3d4d91e9500a1314492ab658.The 11 opt-in Intake dogfood tests remain skipped unless their operator-owned environment is
enabled. The one test warning is an existing third-party
wandb_workspacesdeprecation warning.Reviewer guide
docs/development/phase-7-stable-substitute-design.md, the frozen contractresources, and the Phase 7 reference model.
phase7_admission.py,phase7_validation.py, andphase7_application.pyfor scope,slot, relation, collision, anchored-application, and proof invariants.
phase7_ndd_backend.py,phase7_planner_ledger.py, andphase7_runtime.pyfor theadapter boundary, absorbing lifecycle states, cleanup, cancellation/loss, application-task
accounting, and release evidence.
protection_service.pyandinterface/_protection.pyfor private-only selection andresult/receipt materialization.
for the acceptance matrix and adversarial canaries.
The PR remains draft. Do not mark it ready or merge without explicit operator approval.