Veraxis Admissible Memory Management (MAM) governs which machine memories may influence future machine behavior.
Memory is not passive context. Memory is delegated influence over future behavior. If memory changes what an agent may believe, output, or do, memory is part of the authority path.
Category: Open Institutional Computation
This component: Admissibility gate for machine memory — deciding which stored memories may influence future machine behavior, and binding that decision to a provable lineage
Upstream: Policy and runtime snapshots, and any institutional authority or control state established elsewhere through authorized interpretation and admission; the Veraxis reference path for that upstream problem is OIC — Open Institutional Compiler
Downstream: Lineage records and the EEP/AEP linkage that makes downstream evidence accountable to the Session MAP
Canonical category thesis: https://github.com/veraxis-protocol/institutional-continuity/blob/main/THESIS.md
"Memory is part of the authority path" means memory can carry authority forward, not that it can create it. MAM governs whether a memory is admissible for reliance; it does not interpret governing sources, perform institutional admission, or originate the institutional authority a memory may reference.
An Authorization Evidence Pack is a downstream artifact in that path, not its origin. As docs/architecture/03-cryptographic-custody-chain.md already states, this repository implements the linkage primitive that makes EEP and AEP accountable to the Session MAP — not full EEP or AEP protocol storage.
Architectural role does not imply production readiness; the benchmark envelope, production invariants and release notes in this repository define the exact demonstrated scope.
- Tenant equality first.
- Lifecycle validity before policy discretion.
- Dynamic quarantine overrides before memory injection.
- No raw fallback under backpressure.
- No sub-agent handoff outside Veraxis.
- No consequence without lineage.
- A node may serve only if it can prove it is operating on an admissible runtime snapshot.
- The hot path must remain deterministic and allocation-free.
Current benchmark envelope:
BenchmarkEvaluateMemoryHotPath
~33 ns/op
0 B/op
0 allocs/op
BenchmarkCompileLineageRecord
~245 ns/op
32 B/op
1 alloc/op
The lineage compiler is out-of-band and may allocate once for SHA-256 construction. The hot memory admissibility path remains allocation-free.
veraxis-memory-admissibility/
├── benchmarks/
│ └── axis_fixtures/
├── cmd/
│ ├── mam-bench/
│ ├── mam-harness/
│ └── mam-server/
├── deploy/
│ └── manifests/
├── docs/
│ ├── architecture/
│ └── runbooks/
├── pkg/
│ ├── audit/
│ ├── axis/
│ ├── bitmask/
│ ├── evaluate/
│ ├── gateway/
│ ├── merkle/
│ ├── ops/
│ ├── orchestrator/
│ ├── policy/
│ ├── quarantine/
│ ├── rpc/
│ ├── sessionmap/
│ └── tenant/
├── schemas/
└── tests/
├── adversarial/
├── integration/
└── unit/
Memory → MAP → EEP → AEP → MCR
MAM produces Session MAP evidence. The MCR lineage primitive binds Session MAP evidence to downstream output reliance and action execution identifiers.
retrieved memory + scratchpad
↓
gateway / orchestrator handoff
↓
bitmask + runtime snapshot admissibility evaluation
↓
sanitized context window
↓
provider invocation
↓
Session MAP
↓
AdmissibleInferenceBlock
↓
MachineConsequenceRecord
Deterministic evaluation spine.
Checks tenant, domain, lifecycle, dynamic safety state, prohibited use, and allowed use classes.
Register-level flags for memory lifecycle, use classes, prohibited uses, safety states, and tiers.
Pre-prompt context window scrubber.
Outputs sanitized messages and Merkle leaf records.
Builds signed Session MAP evidence.
Includes Merkle root, policy snapshot hash, runtime snapshot hash, runtime snapshot version, and Ed25519 signature.
Durable revocation/quarantine event plane.
Includes length-prefixed file WAL, SHA-256 record checksums, genesis replay, runtime snapshots, and atomic pointer swaps.
Subspace drift model and asynchronous worker pool.
Detects memory mutation across temporality, epistemic status, scope, trust, and mandate dimensions.
Session MAP verification and Machine Consequence Record lineage verification.
Multi-agent handoff coordinator.
Enforces bounded synchronous admission and prevents raw scratchpad exposure under load.
Transport-edge server core matching schemas/mam.proto.
Official gRPC bindings should be generated from the schema in a connected build environment.
Readiness and liveness logic for runtime snapshot admissibility.
Architecture references:
docs/architecture/01-core-invariants.mddocs/architecture/02-axis-subspace-model.mddocs/architecture/03-cryptographic-custody-chain.mddocs/architecture/04-polyglot-integration.mddocs/architecture/05-orchestrator-placement.mddocs/architecture/06-operational-runtime.md
Operational runbooks:
docs/runbooks/ticket-18-production-deployment.mddocs/runbooks/sidecar-state-sync.mddocs/runbooks/central-governance-cluster.md
Run:
go test ./...Benchmark:
go test -bench=. -benchmem ./benchmarksAdversarial drill:
go test ./tests/adversarialSupported topologies:
- Governance sidecar.
- Central governance cluster.
Manifests live in:
deploy/manifests/
The root module remains standard-library only in this sandbox.
The official gRPC/Protobuf packages should be added at the transport boundary in connected CI/CD environments when generating service bindings from schemas/mam.proto.
Core authority packages must not import the transport or orchestration edge.
Current frozen reference release:
v0.1.0-reference
Release notes:
RELEASE_NOTES_v0.1.0.md
This reference baseline should be treated as immutable. Future provider clients, deployment adapters, and staging integrations should be developed as extensions or downstream branches.
The staging branch includes a single-command verification harness:
go run ./cmd/staging-verifyIt writes:
STAGING_VERIFICATION_REPORT_v0.1.0.json
The release candidate is accepted only if final_status is STAGING_ACCEPTED and raw_context_bypass_detected is false.
The staging branch includes the Python edge adapter under:
sdk/python/
The SDK validates byte shapes, delegates admissibility to the Veraxis daemon transport, and enforces returned decisions with local context scrubbing. It does not compute admissibility locally.
The staging branch includes the TypeScript edge adapter under:
sdk/typescript/
The SDK validates Uint8Array byte shapes, delegates admissibility to a Veraxis daemon transport, and enforces returned decisions with local context scrubbing. It does not compute admissibility locally.
The repository includes vendor-neutral vector retrieval hooks under:
pkg/integrations/vectorstore/
The interceptor returns retrieval results immediately and dispatches vector drift jobs to the Axis worker pool out-of-band. It introduces no direct Pinecone, Qdrant, Milvus, pgvector, or other vendor dependency into the core module.