Skip to main content

Module memory_accept

Module memory_accept 

Source
Expand description

cortex_memory_accept MCP tool handler.

Promotes a candidate memory to active after verifying the operator’s server-side confirmation token (ADR 0047 §3). The old caller-supplied confirmed: true pattern (RT1-F4) is replaced with a confirmation_token parameter that must match the token generated at server startup — the same mechanism used by CortexSessionCommitTool.

After token validation the handler composes the full ADR 0026 policy envelope (proof-closure, contradiction, semantic-trust, operator-temporal-use) and delegates to cortex_memory::accept, exactly as cortex memory accept does in the CLI.

Gates: GateId::CommitWrite.

Structs§

CortexMemoryAcceptTool
MCP tool: cortex_memory_accept.

Constants§

MEMORY_ACCEPT_AUTO_COMMIT_INVARIANT
Stable invariant emitted when memory_accept bypasses the ADR 0047 §3 token check via auto-commit mode.