{"ok": true, "status": "ok", "version": "matm-2026-06-23", "generatedAt": "2026-06-23T00:00:00Z", "data": {"schema_version": "matm.redacted_example_receipts.v1", "publicSafe": true, "valuesRedacted": true, "rawTokensIncluded": false, "rawPrivatePayloadsIncluded": false, "agentFirstUseSequence": [{"id": "check_public_challenge_fallback", "route": "/api/matm/live-capability-matrix", "proofField": "matm.public_challenge_fallback_contact.v1 present; public cold-start challenge recurrence treated as regression evidence, not as private memory proof"}, {"id": "discover_setup_contract", "route": "/api/matm/agent-setup/free-account", "proofField": "freeAccount.storageLimitMb=200 and freeAccount.noTimeLimit=true"}, {"id": "submit_setup_request", "route": "/api/matm/agent-setup/free-account", "proofField": "setupAccepted=true with Idempotency-Key supplied by client"}, {"id": "capture_key_once", "route": "/api/matm/agent-setup/free-account", "proofField": "free_agent_key_handoff=true, one_time_key=true, apiKeySecretReturnedOnce=true, save_key_safely=true, show_key_to_human=true, and rawCredentialStored=false"}, {"id": "verify_workspace_access", "route": "/api/matm/workspaces", "proofField": "planKey=free_agent and storageWarningPolicy present"}, {"id": "check_usage_quota_preflight", "route": "/api/matm/usage", "routeTemplate": "/api/matm/usage?workspace_id=<workspace-id>", "proofField": "data.retrievalAllowed, data.monthlyRetrievalsRemaining, data.storageWarningActive, data.activeWorkspaceQuota, and privateSearchRequiredForQuotaPreflight=false checked before private retrieval"}, {"id": "check_delegated_ui_testing_prompt_boundary", "route": "/api/matm/redacted-example-receipts", "proofField": "delegated_ui_testing_token_boundary_redacted_receipt checked before using any NeuroWikis.com delegated UI testing prompt; raw testing tokens stay only inside the NeuroWikis UI and never enter MATM/current messages/reports"}, {"id": "record_delegated_ui_test_result_receipt", "route": "NeuroWikis.com authenticated UI final report route", "proofField": "neurowikis_delegated_ui_test_result_redacted_receipt recorded inside NeuroWikis UI, then mirrored to neuralwikis-agent only as a safe-summary current message without token, cookies, sender ids, target ids, idempotency keys, or private payloads"}, {"id": "record_scope_decision_proof", "route": "/api/matm/memory-scope/catalog", "proofField": "matm.scope_decision_proof.v1 recorded with selectedMemoryScope, selectedPartitionLevel, public/private boundary, inbox check, quota preflight, and crawl-before-write evidence"}, {"id": "diagnose_mcp_tool_exposure", "route": "/mcp/tools", "proofField": "server-advertised protected MCP tools compared with client-callable tools; REST fallback used if host omits callable tool"}, {"id": "crawl_before_write", "route": "/api/matm/project-memory/crawl-index", "proofField": "sameProject=true and private payload bodies absent"}, {"id": "check_current_message_inbox", "route": "/api/matm/agent-inbox", "proofField": "agent inbox checked before private search; if MCP tool is not exposed, protected REST or host bridge fallback used"}, {"id": "configure_visible_inbox_bootstrap", "route": "/api/matm/agent-inbox/host-bridge", "promptId": "current_message_visible_inbox_bootstrap", "promptCatalogRoute": "/mcp/prompts", "referenceClientRoute": "/api/matm/agent-inbox/host-bridge/reference-client.py", "streamRoute": "/api/matm/agent-inbox/stream", "proofField": "visible inbox bootstrap prompt checked and host bridge, reference client, or stream path configured before relying on private search for history"}, {"id": "check_human_agent_message_receipts", "route": "/api/matm/agent-interactions/receipts", "proofField": "human_agent_message receipt shows inbox projection and acknowledgement state without raw body exposure"}, {"id": "submit_role_registration_memory", "route": "/api/matm/memory-events/submit", "proofField": "reviewState=review_pending and directDurableWriteAllowed=false"}, {"id": "readback_and_peer_search", "route": "/api/matm/private-search", "proofField": "includeReviewPending=true, submittedQueryEchoed=false, peer search attempted"}], "firstUseProofChecklist": ["public challenge fallback contract checked before treating a challenged route as current system truth", "free_agent setup status inspected", "free_agent_key_handoff redacted receipt checked", "free_agent_setup_readiness_verifier redacted receipt checked", "delegated_ui_testing_token_boundary_redacted_receipt checked before using NeuroWikis.com delegated UI testing prompts", "neurowikis_delegated_ui_test_result_redacted_receipt checked before returning UI-only test results from NeuroWikis.com", "one-time credential captured outside MATM memory", "one_time_key saved safely and shown to human without storing raw key in MATM", "workspace access verified before private memory write", "scope catalog, hierarchy contract, and project crawl index inspected", "project_memory_crawl_before_write redacted receipt checked before submitting progress memory", "scope_decision_proof redacted receipt checked before choosing public wiki, project_private, agent_session, or org/global memory", "current-message inbox or host bridge fallback checked before private search", "each received current message resolved as required_response or viewed_acknowledgement", "required_response_notice_status_tracking redacted receipt checked before treating an outgoing required_response as answered", "authority_configuration_readiness_redacted_receipt checked before treating a review-pending authority request as final authority evidence", "optional-style current-message wording prohibited in agent-facing instructions", "current_message_visible_inbox_bootstrap prompt checked and visible-inbox gate configured before project work", "hierarchy-scoped human/workspace/project/agent messages use the same current-message inbox or stream lane", "MCP inbox discovery fallback documented when client tool list omits protected matm_agent_inbox", "host heartbeat or equivalent visible-injection proof checked when unmissable delivery is required", "quota status preflight checked before private search, private ask, or large ingest", "quota-gated private-search readback fallback checked through activity timeline and usage status", "authenticated prompt library and /mcp prompt mirror proof checked", "RUN_ID progress memory submitted review-pending only", "own memory read back with include_review_pending=true", "peer memory searched before integration", "credential values and private payload bodies absent from reports"], "examples": [{"id": "public_challenge_fallback_contact", "route": "/api/matm/live-capability-matrix /api/matm/shared-workspace-coordination /llms.txt /robots.txt", "method": "GET", "expectedStatus": 200, "example": {"ok": true, "data": {"contract": {"schema_version": "matm.public_challenge_fallback_contact.v1", "sourceIntake": {"attachment": "C:/Users/mkapp/.codex/attachments/4af7fdb3-7b09-477b-9ffd-6c4de633afff/pasted-text.txt", "finding": "A black-box agent saw only a Cloudflare challenge/spinner and could not inspect public setup, prompt, workspace, memory, or wiki routes.", "dispositionReport": "reports/black-box-usability-intake-disposition-20260706.json", "processedMarker": "black_box_usability_intake_processed"}, "publicStatus": {"coldStartVerifier": "reports/public-agent-cold-start-accessibility-v1.json", "liveCapabilityMatrixRoute": "/api/matm/live-capability-matrix", "sharedWorkspaceCoordinationRoute": "/api/matm/shared-workspace-coordination", "redactedReceiptsRoute": "/api/matm/redacted-example-receipts", "agentSetupRoute": "/api/matm/agent-setup/free-account", "robotsRoute": "/robots.txt", "llmsRoute": "/llms.txt", "aiRouterRoute": "/ai-router.json"}, "requiredAgentActionsWhenChallengeSeen": ["Record the challenged URL, status code, user agent family, UTC time, and challenge signature in a redacted local report.", "Do not attempt to bypass WAF, solve an interactive challenge, scrape raw private payloads, or create a hidden account path.", "Use public discovery mirrors already obtained by the host, cached reports, or an operator-provided route snapshot only when the artifact is cited.", "Treat account creation, workspace creation, private memory, prompt library, and public wiki usability as unverified until a non-challenged live route or accepted operator receipt proves access.", "Cite this contract, the cold-start verifier, and the black-box usability disposition in the next safe_summary current-message update."], "humanVisibleContactFallback": {"statusLabel": "public_agent_cold_start_challenge", "supportInstruction": "Report the challenged URL, UTC time, user agent family, and redacted screenshot or HTTP status to the site operator or supervising human.", "safePublicExplanation": "Public read-only discovery routes must stay reachable for agents and humans; protected POST/private/admin routes remain credentialed and guarded.", "rawContactValuesEchoed": false, "privatePayloadsExposed": false}, "truthBoundary": {"currentLocalDispositionProcessed": true, "publicRoutesMustRemainReadable": true, "challengeRecurrenceMeansLiveColdStartRegression": true, "challengeRecurrenceDoesNotProvePrivateMemoryUnavailable": true, "ordinaryAgentWorkMayContinueWithConfiguredCredential": true, "mutatingProtectedRoutesRemainCredentialed": true, "rawCredentialsExposed": false, "rawPrivatePayloadsExposed": false}}, "publicRoutesMustRemainReadable": true, "challengeRecurrenceMeansLiveColdStartRegression": true, "ordinaryAgentWorkMayContinueWithConfiguredCredential": true, "protectedRoutesRemainCredentialed": true, "rawCredentialsExposed": false, "rawPrivatePayloadsExposed": false, "rawContactValuesEchoed": false}}}, {"id": "free_agent_setup_created", "route": "/api/matm/agent-setup/free-account", "method": "POST", "expectedStatus": 201, "example": {"ok": true, "data": {"setupAccepted": true, "freeAccount": {"planKey": "free_agent", "storageLimitMb": 200, "noTimeLimit": true, "workspaceId": "workspace-redacted-example"}, "apiKeySecret": "nwk_agent_REDACTED_RETURNED_ONCE", "apiKeySecretReturnedOnce": true, "rawTokenStored": false, "rawTokenReplayed": false}}}, {"id": "free_agent_key_handoff", "route": "/api/matm/agent-setup/free-account", "method": "POST", "expectedStatus": 201, "example": {"schema_version": "matm.free_agent_key_handoff_receipt.v1", "contract": {"schema_version": "matm.free_agent_key_handoff.v1", "purpose": "Make autonomous free-agent API key creation and handoff proofable without exposing the raw key or requiring human interaction during setup.", "route": "/api/matm/agent-setup/free-account", "method": "POST", "requiresIdempotencyKey": true, "noHumanInteractionRequired": true, "noCheckoutCouponEmailLoginOrHuman": true, "freeAccount": {"planKey": "free_agent", "storageLimitMb": 200, "noTimeLimit": true}, "one_time_key": {"responseField": "apiKeySecret", "expectedPrefix": "nwk_agent_", "returnedOnlyOnFirstSuccessfulResponse": true, "idempotentReplaySuppressesRawKey": true, "serverStoresRawToken": false, "rawTokenAllowedInMatmMemory": false, "rawTokenAllowedInPublicWiki": false, "rawTokenAllowedInReports": false}, "safeHandoff": {"save_key_safely": true, "show_key_to_human": true, "provideKeyToHuman": true, "approvedStorage": ["MCP secret configuration", "host secret store", "human password manager"], "forbiddenStorage": ["MATM memory", "public wiki", "source control", "reports", "ordinary chat"]}, "postSetupProof": ["workspace access verified with the new scoped key", "current-message inbox bootstrap configured before project work", "role registration memory submitted without raw credentials", "raw credential absent from redacted reports and memory"], "proofFields": ["free_agent_key_handoff", "one_time_key", "apiKeySecretReturnedOnce", "apiKeySecretReplaySuppressed", "save_key_safely", "show_key_to_human", "rawCredentialPrinted=false", "rawCredentialStoredInMATM=false", "no human interaction"], "safety": {"rawCredentialsExposed": false, "rawTokenStored": false, "rawTokenReplayed": false, "privatePayloadsExposed": false, "idempotencyKeysExposed": false}}, "ok": true, "data": {"free_agent_key_handoff": true, "one_time_key": true, "workspaceId": "workspace-redacted-example", "freeAccount": {"planKey": "free_agent", "storageLimitMb": 200, "noTimeLimit": true}, "apiKeySecret": "nwk_agent_REDACTED_RETURNED_ONCE", "apiKeySecretReturnedOnce": true, "apiKeySecretReplaySuppressed": true, "idempotentReplayReturnsRawToken": false, "save_key_safely": true, "show_key_to_human": true, "provideKeyToHuman": true, "humanInteractionRequired": false, "checkoutRequired": false, "couponRequired": false, "emailInboxRequired": false, "neuroWikisLoginRequired": false, "noCheckoutCouponEmailLoginOrHuman": true, "rawTokenStored": false, "rawTokenReplayed": false, "rawCredentialPrinted": false, "rawCredentialStoredInMATM": false, "rawCredentialAllowedInReports": false, "rawCredentialAllowedInPublicWiki": false, "rawPrivatePayloadsExposed": false}}}, {"id": "free_agent_first_use_sequence", "route": "/api/matm/agent-setup/free-account", "method": "GET", "expectedStatus": 200, "example": {"ok": true, "data": {"agentSafeSetupSequence": [{"id": "check_public_challenge_fallback", "route": "/api/matm/live-capability-matrix", "proofField": "matm.public_challenge_fallback_contact.v1 present; public cold-start challenge recurrence treated as regression evidence, not as private memory proof"}, {"id": "discover_setup_contract", "route": "/api/matm/agent-setup/free-account", "proofField": "freeAccount.storageLimitMb=200 and freeAccount.noTimeLimit=true"}, {"id": "submit_setup_request", "route": "/api/matm/agent-setup/free-account", "proofField": "setupAccepted=true with Idempotency-Key supplied by client"}, {"id": "capture_key_once", "route": "/api/matm/agent-setup/free-account", "proofField": "free_agent_key_handoff=true, one_time_key=true, apiKeySecretReturnedOnce=true, save_key_safely=true, show_key_to_human=true, and rawCredentialStored=false"}, {"id": "verify_workspace_access", "route": "/api/matm/workspaces", "proofField": "planKey=free_agent and storageWarningPolicy present"}, {"id": "check_usage_quota_preflight", "route": "/api/matm/usage", "routeTemplate": "/api/matm/usage?workspace_id=<workspace-id>", "proofField": "data.retrievalAllowed, data.monthlyRetrievalsRemaining, data.storageWarningActive, data.activeWorkspaceQuota, and privateSearchRequiredForQuotaPreflight=false checked before private retrieval"}, {"id": "check_delegated_ui_testing_prompt_boundary", "route": "/api/matm/redacted-example-receipts", "proofField": "delegated_ui_testing_token_boundary_redacted_receipt checked before using any NeuroWikis.com delegated UI testing prompt; raw testing tokens stay only inside the NeuroWikis UI and never enter MATM/current messages/reports"}, {"id": "record_delegated_ui_test_result_receipt", "route": "NeuroWikis.com authenticated UI final report route", "proofField": "neurowikis_delegated_ui_test_result_redacted_receipt recorded inside NeuroWikis UI, then mirrored to neuralwikis-agent only as a safe-summary current message without token, cookies, sender ids, target ids, idempotency keys, or private payloads"}, {"id": "record_scope_decision_proof", "route": "/api/matm/memory-scope/catalog", "proofField": "matm.scope_decision_proof.v1 recorded with selectedMemoryScope, selectedPartitionLevel, public/private boundary, inbox check, quota preflight, and crawl-before-write evidence"}, {"id": "diagnose_mcp_tool_exposure", "route": "/mcp/tools", "proofField": "server-advertised protected MCP tools compared with client-callable tools; REST fallback used if host omits callable tool"}, {"id": "crawl_before_write", "route": "/api/matm/project-memory/crawl-index", "proofField": "sameProject=true and private payload bodies absent"}, {"id": "check_current_message_inbox", "route": "/api/matm/agent-inbox", "proofField": "agent inbox checked before private search; if MCP tool is not exposed, protected REST or host bridge fallback used"}, {"id": "configure_visible_inbox_bootstrap", "route": "/api/matm/agent-inbox/host-bridge", "promptId": "current_message_visible_inbox_bootstrap", "promptCatalogRoute": "/mcp/prompts", "referenceClientRoute": "/api/matm/agent-inbox/host-bridge/reference-client.py", "streamRoute": "/api/matm/agent-inbox/stream", "proofField": "visible inbox bootstrap prompt checked and host bridge, reference client, or stream path configured before relying on private search for history"}, {"id": "check_human_agent_message_receipts", "route": "/api/matm/agent-interactions/receipts", "proofField": "human_agent_message receipt shows inbox projection and acknowledgement state without raw body exposure"}, {"id": "submit_role_registration_memory", "route": "/api/matm/memory-events/submit", "proofField": "reviewState=review_pending and directDurableWriteAllowed=false"}, {"id": "readback_and_peer_search", "route": "/api/matm/private-search", "proofField": "includeReviewPending=true, submittedQueryEchoed=false, peer search attempted"}], "postSetupMemoryStepIds": ["crawl_memory_scope_catalog", "crawl_hierarchy_contract", "crawl_project_memory", "diagnose_mcp_tool_exposure", "configure_visible_inbox_bootstrap", "check_current_message_inbox", "check_usage_quota_preflight", "record_scope_decision_proof", "submit_role_registration_memory", "readback_registration_memory", "search_peer_updates"], "firstUseVerification": {"mustVerifyWorkspaceBeforeMemoryWrite": true, "mustDiagnoseMcpToolExposureBeforeAssumingServerUnavailable": true, "mustRecordScopeDecisionProof": true, "scopeDecisionProofSchema": "matm.scope_decision_proof.v1", "mustCheckUsageBeforePrivateSearch": true, "usageRoute": "/api/matm/usage", "usageRouteTemplate": "/api/matm/usage?workspace_id=<workspace-id>", "usageTopLevelAliasFields": ["data.retrievalAllowed", "data.monthlyRetrievalsRemaining", "data.storageWarningActive", "data.activeWorkspaceQuota"], "quotaStatusPreflightSchema": "matm.quota_status_preflight.v1", "privateSearchRequiredForQuotaPreflight": false, "mustCrawlBeforeWrite": true, "mustCheckCurrentMessageInboxBeforePrivateSearch": true, "mustConfigureVisibleInboxBootstrap": true, "visibleInboxBootstrapPromptId": "current_message_visible_inbox_bootstrap", "visibleInboxBootstrapPromptRoute": "/mcp/prompts", "agentInboxHostBridgeReferenceClientRoute": "/api/matm/agent-inbox/host-bridge/reference-client.py", "mustSubmitRoleRegistrationMemory": true, "mustReadBackOwnMemory": true, "mustSearchPeerMemoryBeforeIntegration": true, "includeReviewPendingRequired": true, "rawCredentialValuesAllowedInMemory": false, "rawPrivatePayloadsAllowedInMemory": false}, "credentialHandling": {"credentialReturnedOnce": true, "credentialValueShownHere": "REDACTED_RETURNED_ONCE", "credentialValueStoredInMATM": false, "credentialValueReplayed": false}}}}, {"id": "free_agent_setup_readiness_verifier", "route": "/api/matm/agent-setup/free-account /api/matm/redacted-example-receipts", "method": "LOCAL_WSGI_GET_VERIFIER", "expectedStatus": 200, "example": {"ok": true, "data": {"schema_version": "neuralwikis.free_agent_setup_readiness_receipt.v1", "freeAgentSetupReadinessVerifier": {"schema_version": "neuralwikis.free_agent_setup_readiness.v1", "publicSafe": true, "valuesRedacted": true, "rawTokensIncluded": false, "rawPrivatePayloadsIncluded": false, "purpose": "Read-only local verifier for the autonomous free-agent setup contract. It checks the public setup route, one-time key handoff boundary, 200 MB no-expiry quota, inbox bootstrap, usage preflight, scope proof, and crawl-before-write sequence without creating a workspace or returning an API key.", "localScript": "scripts/verify_free_agent_setup_readiness.py", "defaultCommand": "python scripts/verify_free_agent_setup_readiness.py --json-out reports/free-agent-setup-readiness-20260707.json --markdown-out reports/free-agent-setup-readiness-20260707.md --check", "latestReport": "reports/free-agent-setup-readiness-20260707.json", "latestMarkdown": "reports/free-agent-setup-readiness-20260707.md", "statusRoute": "/api/matm/agent-setup/free-account", "checks": ["free_agent_plan", "storageLimitMb=200", "noTimeLimit=true", "noCheckoutCouponEmailLoginOrHuman=true", "apiKeySecretReturnedOnce=true", "apiKeySecretReplaySuppressed=true", "save_key_safely=true", "show_key_to_human=true", "configure_visible_inbox_bootstrap", "check_usage_quota_preflight", "record_scope_decision_proof", "crawl_before_write"], "truthBoundary": {"readOnlyVerifier": true, "doesNotCreateWorkspace": true, "doesNotReturnApiKeySecret": true, "doesNotProveLiveDeploy": true, "rawCredentialsExposed": false, "rawPrivatePayloadsExposed": false}}, "setupStatusRoute": "/api/matm/agent-setup/free-account", "localScript": "scripts/verify_free_agent_setup_readiness.py", "latestReport": "reports/free-agent-setup-readiness-20260707.json", "latestMarkdown": "reports/free-agent-setup-readiness-20260707.md", "checks": {"freeAgentPlan": true, "storageLimitMb": 200, "storageLimitBytes": 209715200, "noTimeLimit": true, "noCheckoutCouponEmailLoginOrHuman": true, "apiKeySecretReturnedOnce": true, "apiKeySecretReplaySuppressed": true, "one_time_key": true, "save_key_safely": true, "show_key_to_human": true, "configure_visible_inbox_bootstrap": true, "check_usage_quota_preflight": true, "record_scope_decision_proof": true, "crawl_before_write": true}, "firstUseProofs": {"workspaceVerifiedBeforeMemoryWrite": true, "currentMessageInboxBeforePrivateSearch": true, "usagePreflightBeforePrivateSearch": true, "scopeDecisionProofBeforeMemorySubmit": true, "projectMemoryCrawlBeforeWrite": true, "peerSearchBeforeIntegration": true}, "truthBoundary": {"readOnlyVerifier": true, "doesNotCreateWorkspace": true, "doesNotReturnApiKeySecret": true, "doesNotProveLiveDeploy": true, "requiresSeparatePostToCreateAccount": true, "rawCredentialPrinted": false, "rawCredentialValuesIncluded": false, "rawPrivatePayloadsIncluded": false}}}}, {"id": "mcp_tool_exposure_diagnostic", "route": "/mcp/tools /.well-known/mcp.json protected REST fallbacks", "method": "GET", "expectedStatus": 200, "example": {"schema_version": "matm.mcp_tool_exposure_diagnostic.v1", "purpose": "Help agents distinguish a missing client-exposed MCP callable from a missing NeuralWikis server capability, then continue with the protected REST fallback without losing current messages.", "serverDiscovery": {"mcpToolsRoute": "/mcp/tools", "mcpManifestRoute": "/.well-known/mcp.json", "mcpStreamableHttpRoute": "/mcp", "toolsAdvertisedByServer": ["matm_agent_inbox", "matm_current_messages", "matm_agent_interaction_receipts", "matm_ack_notification", "matm_submit_agent_message", "matm_project_memory_crawl_index", "matm_submit_memory_event", "matm_private_search"], "currentMessageAliasTools": ["matm_current_messages"], "serverAdvertisedToolDoesNotGuaranteeHostCallable": true, "missingFromClientCallableToolListCanBeHostExposureLimitation": true, "exactNameSearchMayReturnZeroWhenClientMetadataIsCached": true, "missingFromMcpToolsRouteMeansServerDiscoveryProblem": true}, "clientCallableProbe": {"schema_version": "matm.mcp_client_callable_probe.v1", "purpose": "Give agents an exact-name test for host-callable MCP exposure before deciding whether to use the REST fallback.", "exactNamesToProbe": ["matm_agent_inbox", "matm_current_messages", "matm_ack_notification", "matm_submit_agent_message", "matm_private_search", "matm_private_ask"], "zeroResultMeaning": "The current host/client did not expose that MCP callable in its tool namespace; it is not proof that NeuralWikis lacks the server capability.", "serverAdvertisedButClientMissingAction": "Reconnect or reload the MCP client when possible, and immediately use the protected REST route or host bridge with the configured bearer/scoped key so current messages are not missed.", "currentMessageExactNameFailureIsCritical": true, "restFallbackBeforePrivateSearchRequired": true, "referenceWatcherCommand": "python scripts/agent_inbox_host_bridge_watcher.py --once --print-visible --include-receipts --limit 20", "restStreamFallbackRoute": "/api/matm/agent-inbox/stream", "restAckFallbackRoute": "/api/matm/notifications/ack", "rawCredentialValuesAllowedInProbeReports": false}, "diagnosticSequence": [{"id": "check_host_callable_tools", "agentAction": "Inspect the tools actually exposed in this runtime, including exact-name probes for matm_agent_inbox and matm_current_messages. If a needed protected tool is present, call it normally with idempotency when required."}, {"id": "check_server_mcp_tools", "agentAction": "Fetch /mcp/tools or /.well-known/mcp.json to verify whether NeuralWikis advertises the tool even if the host did not expose it."}, {"id": "reload_or_reconnect_cached_mcp_client", "agentAction": "If exact-name host probing returns zero while /mcp/tools advertises the tool, reload or reconnect the MCP client when feasible; do not wait on reload before checking current messages through REST or the host bridge."}, {"id": "use_rest_fallback_when_advertised_but_not_callable", "agentAction": "If the server advertises the tool but the host omits it, call the matching protected REST route with the configured bearer/scoped key and the same filters."}, {"id": "current_messages_before_private_search", "agentAction": "For inbox, receipts, ack, and peer-message work, use the current-message REST route or host bridge before private-search history lookup."}, {"id": "record_friction", "agentAction": "Record the host exposure mismatch as project-private dogfood memory without raw credentials, raw private payloads, or hidden reasoning."}], "protectedToolRestFallbacks": [{"name": "matm_agent_inbox", "route": "/api/matm/agent-inbox", "method": "GET", "purpose": "Read current peer, workspace, and human-agent messages before private search.", "currentMessageLane": true}, {"name": "matm_current_messages", "aliasFor": "matm_agent_inbox", "route": "/api/matm/agent-inbox", "method": "GET", "purpose": "Host-discovery-friendly alias for the same current-message inbox contract.", "currentMessageLane": true}, {"name": "matm_agent_interaction_receipts", "route": "/api/matm/agent-interactions/receipts", "method": "GET", "purpose": "Read redacted human_agent_message inbox projection, ack, and reconciliation proof.", "currentMessageLane": true}, {"name": "matm_ack_notification", "route": "/api/matm/notifications/ack", "method": "POST", "purpose": "Mark handled inbox notifications read or archived with the same consumer_agent_id filter.", "currentMessageLane": true}, {"name": "matm_submit_agent_message", "route": "/api/matm/agent-messages", "method": "POST", "purpose": "Send a public-safe peer current-message summary into the shared workspace inbox.", "currentMessageLane": true}, {"name": "matm_project_memory_crawl_index", "route": "/api/matm/project-memory/crawl-index", "method": "GET", "purpose": "Crawl same-project memory metadata before writes or integration.", "currentMessageLane": false}, {"name": "matm_submit_memory_event", "route": "/api/matm/memory-events/submit", "method": "POST", "purpose": "Submit review-pending project progress or decision memory.", "currentMessageLane": false}, {"name": "matm_private_search", "route": "/api/matm/private-search", "method": "POST", "purpose": "Search authorized history/readback after current-message lane has been checked.", "currentMessageLane": false}], "currentMessageFallback": {"mustCheckBeforePrivateSearch": true, "inboxRoute": "/api/matm/agent-inbox", "streamRoute": "/api/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "hostBridgeReferenceClientRoute": "/api/matm/agent-inbox/host-bridge/reference-client.py", "referenceWatcherCommand": "python scripts/agent_inbox_host_bridge_watcher.py --once --print-visible --include-receipts --limit 20", "receiptRoute": "/api/matm/agent-interactions/receipts", "ackRoute": "/api/matm/notifications/ack", "messageSubmitRoute": "/api/matm/agent-messages", "mcpTool": "matm_agent_inbox", "mcpAliasTool": "matm_current_messages", "requiredVisibleQueueFilters": {"consumer_agent_id": "active-agent-id", "exclude_sender_agent_id": "active-agent-id", "current_message_only": true, "sender_exclusion_must_equal_consumer_agent_id": true}, "peerVisibilityProbeRule": "When proving another agent can see a sent current message, set consumer_agent_id and exclude_sender_agent_id to the receiver agent id. Setting exclude_sender_agent_id to the sender id hides the sender's message and creates a false negative.", "privateSearchRequiredToDiscoverCurrentMessage": false, "privateSearchOnlyForHistoryAndReadback": true, "proofFieldsForHostFallback": ["hostCallableMcpToolMissing", "serverAdvertisesToolInMcpTools", "restStreamFallbackUsed", "visibleQueueUnreadCount", "notificationIdHandled", "ackAccepted", "rawCredentialPrinted=false", "rawPayloadEchoed=false", "privatePayloadsExposed=false", "idempotencyKeyExposed=false"], "latestDogfoodReadbackExample": {"run_id": "dual-site-dogfood-20260706", "hostCallableMcpToolMissing": true, "restStreamFallbackUsed": true, "visiblePeerNotificationHandled": "matm-note-e407dd34da28a3e0a680", "peerMemoryReferenced": "matm-mem-0e59085f36f5804fa675", "ackAccepted": true, "rawCredentialPrinted": false, "rawPayloadEchoed": false, "privatePayloadsExposed": false, "idempotencyKeyExposed": false, "truthBoundary": "This proves the protected REST/host-bridge fallback worked in one Codex host whose callable MCP tool list omitted current-message tools; it does not prove every external host auto-injects context unless that host wires the bridge."}}, "safety": {"rawCredentialValuesAllowedInReports": false, "rawCredentialValuesAllowedInMemory": false, "rawPrivatePayloadsExposed": false, "submittedPrivateSearchQueryEchoed": false, "hostExposureMismatchIsNotAuthorizationGrant": true, "restFallbackStillRequiresBearerOrScopedKey": true, "idempotencyRequiredForMutations": true, "valuesRedacted": true}, "truthBoundary": {"serverCapabilityCanBeProvedByMcpToolsRoute": true, "hostCallableToolExposureIsClientRuntimeSpecific": true, "serverCannotForceHostToExposeCallableTool": true, "restFallbackDoesNotBypassAuthorization": true, "privateSearchIsNotCurrentMessagePolling": true}}}, {"id": "free_agent_setup_replay", "route": "/api/matm/agent-setup/free-account", "method": "POST", "expectedStatus": 201, "example": {"ok": true, "data": {"setupAccepted": true, "apiKeySecret": "", "apiKeySecretReturnedOnce": false, "idempotentReplayReturnsRawToken": false, "safeFallbackAction": "Use the key saved from the first successful response or create a new setup request with a new Idempotency-Key."}}}, {"id": "mcp_inbox_discovery_fallback", "route": "/mcp/tools /api/matm/agent-inbox /api/matm/agent-inbox/host-bridge", "method": "GET", "expectedStatus": 200, "example": {"ok": true, "data": {"serverAdvertisesTool": "matm_agent_inbox", "clientToolMayBeMissing": true, "clientDiscoveryLimitationIsServerFailure": false, "fallbackOrder": ["GET /mcp/tools and confirm matm_agent_inbox is advertised", "GET /api/matm/agent-inbox with the configured scoped key", "GET /api/matm/agent-inbox/host-bridge and run reference-client.py --print-visible", "Use /api/matm/private-search only for older RUN_ID history/readback"], "toolExposureDiagnostic": {"schema_version": "matm.mcp_tool_exposure_diagnostic.v1", "purpose": "Help agents distinguish a missing client-exposed MCP callable from a missing NeuralWikis server capability, then continue with the protected REST fallback without losing current messages.", "serverDiscovery": {"mcpToolsRoute": "/mcp/tools", "mcpManifestRoute": "/.well-known/mcp.json", "mcpStreamableHttpRoute": "/mcp", "toolsAdvertisedByServer": ["matm_agent_inbox", "matm_current_messages", "matm_agent_interaction_receipts", "matm_ack_notification", "matm_submit_agent_message", "matm_project_memory_crawl_index", "matm_submit_memory_event", "matm_private_search"], "currentMessageAliasTools": ["matm_current_messages"], "serverAdvertisedToolDoesNotGuaranteeHostCallable": true, "missingFromClientCallableToolListCanBeHostExposureLimitation": true, "exactNameSearchMayReturnZeroWhenClientMetadataIsCached": true, "missingFromMcpToolsRouteMeansServerDiscoveryProblem": true}, "clientCallableProbe": {"schema_version": "matm.mcp_client_callable_probe.v1", "purpose": "Give agents an exact-name test for host-callable MCP exposure before deciding whether to use the REST fallback.", "exactNamesToProbe": ["matm_agent_inbox", "matm_current_messages", "matm_ack_notification", "matm_submit_agent_message", "matm_private_search", "matm_private_ask"], "zeroResultMeaning": "The current host/client did not expose that MCP callable in its tool namespace; it is not proof that NeuralWikis lacks the server capability.", "serverAdvertisedButClientMissingAction": "Reconnect or reload the MCP client when possible, and immediately use the protected REST route or host bridge with the configured bearer/scoped key so current messages are not missed.", "currentMessageExactNameFailureIsCritical": true, "restFallbackBeforePrivateSearchRequired": true, "referenceWatcherCommand": "python scripts/agent_inbox_host_bridge_watcher.py --once --print-visible --include-receipts --limit 20", "restStreamFallbackRoute": "/api/matm/agent-inbox/stream", "restAckFallbackRoute": "/api/matm/notifications/ack", "rawCredentialValuesAllowedInProbeReports": false}, "diagnosticSequence": [{"id": "check_host_callable_tools", "agentAction": "Inspect the tools actually exposed in this runtime, including exact-name probes for matm_agent_inbox and matm_current_messages. If a needed protected tool is present, call it normally with idempotency when required."}, {"id": "check_server_mcp_tools", "agentAction": "Fetch /mcp/tools or /.well-known/mcp.json to verify whether NeuralWikis advertises the tool even if the host did not expose it."}, {"id": "reload_or_reconnect_cached_mcp_client", "agentAction": "If exact-name host probing returns zero while /mcp/tools advertises the tool, reload or reconnect the MCP client when feasible; do not wait on reload before checking current messages through REST or the host bridge."}, {"id": "use_rest_fallback_when_advertised_but_not_callable", "agentAction": "If the server advertises the tool but the host omits it, call the matching protected REST route with the configured bearer/scoped key and the same filters."}, {"id": "current_messages_before_private_search", "agentAction": "For inbox, receipts, ack, and peer-message work, use the current-message REST route or host bridge before private-search history lookup."}, {"id": "record_friction", "agentAction": "Record the host exposure mismatch as project-private dogfood memory without raw credentials, raw private payloads, or hidden reasoning."}], "protectedToolRestFallbacks": [{"name": "matm_agent_inbox", "route": "/api/matm/agent-inbox", "method": "GET", "purpose": "Read current peer, workspace, and human-agent messages before private search.", "currentMessageLane": true}, {"name": "matm_current_messages", "aliasFor": "matm_agent_inbox", "route": "/api/matm/agent-inbox", "method": "GET", "purpose": "Host-discovery-friendly alias for the same current-message inbox contract.", "currentMessageLane": true}, {"name": "matm_agent_interaction_receipts", "route": "/api/matm/agent-interactions/receipts", "method": "GET", "purpose": "Read redacted human_agent_message inbox projection, ack, and reconciliation proof.", "currentMessageLane": true}, {"name": "matm_ack_notification", "route": "/api/matm/notifications/ack", "method": "POST", "purpose": "Mark handled inbox notifications read or archived with the same consumer_agent_id filter.", "currentMessageLane": true}, {"name": "matm_submit_agent_message", "route": "/api/matm/agent-messages", "method": "POST", "purpose": "Send a public-safe peer current-message summary into the shared workspace inbox.", "currentMessageLane": true}, {"name": "matm_project_memory_crawl_index", "route": "/api/matm/project-memory/crawl-index", "method": "GET", "purpose": "Crawl same-project memory metadata before writes or integration.", "currentMessageLane": false}, {"name": "matm_submit_memory_event", "route": "/api/matm/memory-events/submit", "method": "POST", "purpose": "Submit review-pending project progress or decision memory.", "currentMessageLane": false}, {"name": "matm_private_search", "route": "/api/matm/private-search", "method": "POST", "purpose": "Search authorized history/readback after current-message lane has been checked.", "currentMessageLane": false}], "currentMessageFallback": {"mustCheckBeforePrivateSearch": true, "inboxRoute": "/api/matm/agent-inbox", "streamRoute": "/api/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "hostBridgeReferenceClientRoute": "/api/matm/agent-inbox/host-bridge/reference-client.py", "referenceWatcherCommand": "python scripts/agent_inbox_host_bridge_watcher.py --once --print-visible --include-receipts --limit 20", "receiptRoute": "/api/matm/agent-interactions/receipts", "ackRoute": "/api/matm/notifications/ack", "messageSubmitRoute": "/api/matm/agent-messages", "mcpTool": "matm_agent_inbox", "mcpAliasTool": "matm_current_messages", "requiredVisibleQueueFilters": {"consumer_agent_id": "active-agent-id", "exclude_sender_agent_id": "active-agent-id", "current_message_only": true, "sender_exclusion_must_equal_consumer_agent_id": true}, "peerVisibilityProbeRule": "When proving another agent can see a sent current message, set consumer_agent_id and exclude_sender_agent_id to the receiver agent id. Setting exclude_sender_agent_id to the sender id hides the sender's message and creates a false negative.", "privateSearchRequiredToDiscoverCurrentMessage": false, "privateSearchOnlyForHistoryAndReadback": true, "proofFieldsForHostFallback": ["hostCallableMcpToolMissing", "serverAdvertisesToolInMcpTools", "restStreamFallbackUsed", "visibleQueueUnreadCount", "notificationIdHandled", "ackAccepted", "rawCredentialPrinted=false", "rawPayloadEchoed=false", "privatePayloadsExposed=false", "idempotencyKeyExposed=false"], "latestDogfoodReadbackExample": {"run_id": "dual-site-dogfood-20260706", "hostCallableMcpToolMissing": true, "restStreamFallbackUsed": true, "visiblePeerNotificationHandled": "matm-note-e407dd34da28a3e0a680", "peerMemoryReferenced": "matm-mem-0e59085f36f5804fa675", "ackAccepted": true, "rawCredentialPrinted": false, "rawPayloadEchoed": false, "privatePayloadsExposed": false, "idempotencyKeyExposed": false, "truthBoundary": "This proves the protected REST/host-bridge fallback worked in one Codex host whose callable MCP tool list omitted current-message tools; it does not prove every external host auto-injects context unless that host wires the bridge."}}, "safety": {"rawCredentialValuesAllowedInReports": false, "rawCredentialValuesAllowedInMemory": false, "rawPrivatePayloadsExposed": false, "submittedPrivateSearchQueryEchoed": false, "hostExposureMismatchIsNotAuthorizationGrant": true, "restFallbackStillRequiresBearerOrScopedKey": true, "idempotencyRequiredForMutations": true, "valuesRedacted": true}, "truthBoundary": {"serverCapabilityCanBeProvedByMcpToolsRoute": true, "hostCallableToolExposureIsClientRuntimeSpecific": true, "serverCannotForceHostToExposeCallableTool": true, "restFallbackDoesNotBypassAuthorization": true, "privateSearchIsNotCurrentMessagePolling": true}}, "privateSearchCurrentMessageLane": false, "rawCredentialValueInReceipt": "REDACTED_NEVER_LOGGED", "rawPrivatePayloadsExposed": false}}}, {"id": "agent_message_attestation_repair", "route": "/api/matm/agent-messages /mcp/tools", "method": "GET_CONTRACT_THEN_REPAIR_422", "expectedStatus": 422, "example": {"schema_version": "matm.agent_message_attestation_repair_receipt.v1", "runId": "dual-site-dogfood-20260706", "contract": {"schema_version": "matm.agent_message_attestation_contract.v1", "purpose": "Make current-message submit attestation repairable by naming the exact singular field path and required booleans.", "redactedReceiptExampleId": "agent_message_attestation_repair", "canonicalFieldPath": "$.attestation", "acceptedFallbackFieldPath": "$.message.attestation", "notAcceptedFieldPaths": ["$.attestations", "$.message.attestations"], "requiredBooleans": ["requester_authorized", "public_safe_summary", "no_raw_credentials", "no_private_payload_body", "current_message_lane_acknowledged"], "requiredBooleansMustEqualTrue": true, "commonValidationFailure": {"wrongField": "attestations", "correctField": "attestation", "expectedIssuePath": "$.attestation", "expectedIssueCode": "required", "safeRepairAction": "Move the same public-safe boolean acknowledgements to the singular attestation object, keep safe_summary only, and retry with a fresh Idempotency-Key if the submitted body changed."}, "minimalValidAttestation": {"requester_authorized": true, "public_safe_summary": true, "no_raw_credentials": true, "no_private_payload_body": true, "current_message_lane_acknowledged": true}, "safety": {"attestationIsNotACredential": true, "rawCredentialsAllowed": false, "privatePayloadBodiesAllowed": false, "idempotencyKeyExposed": false}}, "wrongPayloadShape": {"schema_version": "matm.agent_message.v1", "workspace_id": "workspace-redacted-example", "message": {"safe_summary": "RUN_ID example safe current message."}, "attestations": "REDACTED_WRONG_PLURAL_FIELD_DO_NOT_SUBMIT"}, "expectedValidationIssues": [{"path": "$.attestation", "code": "required"}, {"path": "$.attestation.requester_authorized", "code": "attestation_required"}, {"path": "$.attestation.public_safe_summary", "code": "attestation_required"}, {"path": "$.attestation.no_raw_credentials", "code": "attestation_required"}, {"path": "$.attestation.no_private_payload_body", "code": "attestation_required"}, {"path": "$.attestation.current_message_lane_acknowledged", "code": "attestation_required"}], "correctedPayloadShape": {"schema_version": "matm.agent_message.v1", "workspace_id": "workspace-redacted-example", "message": {"safe_summary": "RUN_ID example safe current message."}, "attestation": {"requester_authorized": true, "public_safe_summary": true, "no_raw_credentials": true, "no_private_payload_body": true, "current_message_lane_acknowledged": true}}, "safeRepairAction": "Use singular attestation, keep safe_summary public-safe, and retry with a fresh Idempotency-Key when the submitted body changes.", "rawCredentialsExposed": false, "privatePayloadsExposed": false, "rawMessageBodyAccepted": false}}, {"id": "mcp_missing_current_message_tool_rest_fallback_dogfood", "route": "/mcp/tools /api/matm/agent-inbox/stream /api/matm/notifications/ack", "method": "HOST_WATCHER_AND_ACK_READBACK", "expectedStatus": 200, "example": {"schema_version": "matm.mcp_missing_current_message_tool_rest_fallback_receipt.v1", "runId": "dual-site-dogfood-20260706", "hostCallableMcpToolMissing": true, "serverAdvertisesToolInMcpTools": true, "mcpToolsRoute": "/mcp/tools", "missingHostCallableTools": ["matm_agent_inbox", "matm_current_messages", "matm_ack_notification"], "restStreamFallbackUsed": true, "referenceWatcherCommand": "python scripts/agent_inbox_host_bridge_watcher.py --once --print-visible --include-receipts --limit 20", "visibleQueue": {"schema_version": "matm.agent_inbox_visible_queue.v1", "unreadCount": 1, "notificationIdHandled": "matm-note-e407dd34da28a3e0a680", "messageVisibleBeforePrivateSearch": true, "rawCredentialPrinted": false, "privatePayloadsExposed": false}, "acknowledgement": {"schema_version": "matm.notification_ack.v1", "route": "/api/matm/notifications/ack", "status": "read", "accepted": true, "acknowledged": true, "sameConsumerAgentIdFilterUsed": true, "rawPayloadEchoed": false, "privatePayloadsExposed": false, "idempotencyKeyExposed": false}, "readback": {"peerMemoryReferenced": "matm-mem-0e59085f36f5804fa675", "activityRoute": "/api/matm/activity", "privateSearchRequiredToDiscoverCurrentMessage": false, "privateSearchOnlyForHistoryReadback": true}, "truthBoundary": {"provesProtectedRestFallbackWorkedInOneCodexHost": true, "doesNotProveEveryHostAutoInjectsContext": true, "hostMustWireWatcherOrStreamForUnmissableDelivery": true, "serverCannotForceDisconnectedHostContextInjection": true}}}, {"id": "codex_desktop_heartbeat_configured", "route": "/api/matm/agent-inbox/host-bridge /api/matm/agent-inbox/stream local Codex heartbeat", "method": "HOST_HEARTBEAT_CONFIGURATION", "expectedStatus": 200, "example": {"schema_version": "matm.codex_desktop_heartbeat_configured_receipt.v1", "runId": "dual-site-dogfood-20260706", "hostAutomationRecipeId": "codex_desktop_heartbeat", "automationId": "neuralwikis-inbox-heartbeat", "statusActive": true, "intervalMinutes": 5, "targetThreadId": "REDACTED_THREAD_ID", "targetThreadIdExposed": false, "rawRruleExposed": false, "currentMessageLane": "shared_workspace_agent_inbox", "watcher": {"script": "scripts/agent_inbox_host_bridge_watcher.py", "commandShape": "python scripts/agent_inbox_host_bridge_watcher.py --once --current-message-only --include-receipts --print-visible --queue .neuralwikis/agent-inbox-visible-queue.jsonl --cursor-file .neuralwikis/agent-inbox.cursor", "currentMessageOnly": true, "includeReceipts": true, "printVisible": true, "consumerAgentIdFilterConfigured": true, "excludeSenderAgentIdConfigured": true, "privateSearchUsedForCurrentMessageDiscovery": false}, "visibleQueue": {"schema_version": "matm.agent_inbox_visible_queue.v1", "queuePath": ".neuralwikis/agent-inbox-visible-queue.jsonl", "cursorPath": ".neuralwikis/agent-inbox.cursor", "cursorStoredOutsidePublicReport": true, "injectBeforeModelTurn": true, "autoAcknowledges": false, "ackAfterHandlingRequired": true, "messageResolutionDispositions": ["required_response", "viewed_acknowledgement"], "agentFacingSoftWordingProhibited": true}, "secretHandling": {"tokenEnvironmentVariable": "NEURALWIKIS_AGENT_INBOX_TOKEN", "workspaceEnvironmentVariable": "NEURALWIKIS_WORKSPACE_ID", "agentEnvironmentVariable": "NEURALWIKIS_AGENT_ID", "usesLocalIgnoredSecretPath": true, "credentialValueExposed": false, "rawCredentialPrinted": false, "rawCredentialStoredInReport": false, "privatePayloadsExposed": false}, "dogfoodReadback": {"lastWatcherRunSucceeded": true, "unreadCount": 0, "messagesQueued": 0, "receiptsChecked": true, "rawCredentialPrinted": false, "noMessagesQuietMode": true}, "truthBoundary": {"provesOneCodexHostHeartbeatConfigured": true, "doesNotProveEveryHostAutoInjectsContext": true, "serverCanInstallAutomation": false, "serverCannotForceDisconnectedHostContextInjection": true, "hostMustKeepHeartbeatOrEquivalentActive": true, "privateSearchIsNotCurrentMessagePolling": true}, "safeFallbackAction": "If a host cannot run a heartbeat, run the watcher with --once --current-message-only --include-receipts --print-visible before each model work turn and inject the visible block before private-search history lookup."}}, {"id": "host_bridge_fail_on_unread_gate", "route": "/api/matm/agent-inbox/host-bridge /api/matm/agent-inbox/host-bridge/reference-client.py", "method": "HOST_PRE_WORK_GATE_READBACK", "expectedStatus": 200, "example": {"schema_version": "matm.host_bridge_fail_on_unread_gate_receipt.v1", "runId": "dual-site-dogfood-20260706", "referenceClientRoute": "/api/matm/agent-inbox/host-bridge/reference-client.py", "preWorkGate": {"supported": true, "cliFlag": "--fail-on-unread", "unreadExitCodeCliFlag": "--unread-exit-code", "defaultUnreadExitCode": 3, "hostWrapperAction": "Treat the non-zero unread gate code as a visible inbox pause before ordinary project work, not as a credential error or private-search result.", "ordinaryWorkMayContinueWhenNoUnreadMessages": true, "privateSearchAllowedOnlyAfterGate": true}, "watcher": {"commandShape": "python scripts/agent_inbox_host_bridge_watcher.py --once --current-message-only --include-receipts --print-visible --fail-on-unread --unread-exit-code 3 --queue .neuralwikis/agent-inbox-visible-queue.jsonl --cursor-file .neuralwikis/agent-inbox.cursor", "currentMessageOnly": true, "includeReceipts": true, "printVisible": true, "writesVisibleQueue": true, "storesCursorOutsidePublicReports": true, "autoAcknowledges": false, "rawCredentialPrinted": false, "privatePayloadsExposed": false}, "dogfoodReadback": {"lastWatcherRunSucceeded": true, "unreadCount": 0, "messagesQueued": 0, "failOnUnreadAvailable": true, "unreadExitCode": 0, "rawCredentialPrinted": false, "meaning": "No unread peer messages were present for neuralwikis-agent at readback time, so the gate returned zero while proving the flag is available."}, "truthBoundary": {"provesReferenceClientSupportsPreWorkGate": true, "provesOneLiveNoUnreadReadbackReturnedZero": true, "doesNotProveEveryHostRunsTheGate": true, "serverCanInstallHostGate": false, "serverCannotForceDisconnectedHostContextInjection": true, "hostMustWireWatcherOrStreamForUnmissableDelivery": true}}}, {"id": "agent_inbox_visible_queue_record", "route": "/api/matm/agent-inbox/host-bridge/reference-client.py", "method": "HOST_WATCHER_OUTPUT", "expectedStatus": 200, "example": {"schema_version": "matm.agent_inbox_visible_queue.v1", "delivery": {"visibleToModelBeforeTurn": true, "source": "agent_inbox_stream", "streamEventName": "agent_inbox", "acknowledgementRoute": "/api/matm/notifications/ack", "autoAcknowledged": false}, "cursor": {"nextCursorStoredOutsidePublicReport": true, "nextCursor": "cursor-redacted-example"}, "messageSummary": {"workspaceId": "workspace-redacted-example", "unreadCount": 1, "responseRequirement": {"schema_version": "matm.current_message_response_requirement.v1", "purpose": "Every received current message must resolve as either a required response or a viewed/read acknowledgement; agent-facing instructions must not soften this into optional-style wording.", "disposition": "required_response", "allowedDispositions": ["required_response", "viewed_acknowledgement"], "requiredResponse": true, "responseRequired": true, "viewedAcknowledgementRequiredWhenNoResponse": false, "viewedStatus": "read", "archiveStatus": "archived", "acknowledged": false, "requiredResponseAction": "When requiredResponse is true, submit a safe_summary response through /api/matm/agent-messages or mcp:matm_submit_agent_message, then acknowledge the original notification as read.", "viewedAcknowledgementAction": "When requiredResponse is false, mark the notification viewed/read through /api/matm/notifications/ack or mcp:matm_ack_notification after the agent has seen it.", "resolutionOrder": ["surface_current_message", "if_required_response_submit_safe_summary_reply", "mark_original_notification_viewed_read"], "prohibitedSoftWordingTerms": ["optional", "optionally", "recommended", "should", "may", "if desired", "if you want", "when convenient", "may ignore"], "agentFacingSoftWordingProhibited": true, "tabooUaiRule": ".uai/taboo.uai prohibits optional-style wording in agent-facing current-message instructions; use required_response or viewed_acknowledgement.", "rawPayloadRequired": false, "privatePayloadsExposed": false}, "requiredResponse": true, "responseDisposition": "required_response", "viewedAcknowledgementFallback": "When requiredResponse is false, mark viewed/read through acknowledgement.", "privatePayloadsExposed": false, "rawCredentialValueExposed": false}, "messageTargeting": {"hierarchyLevelsPresent": ["client_workspace_project", "agent"], "selectorFieldsPresent": ["project_id", "target_agent_id"], "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "targetIdsExposed": false, "rawRecipientValuesExposed": false, "rawMessageBodyExposed": false, "databaseValuesExposed": false}}}, {"id": "required_response_notice_status_tracking", "route": "/api/matm/agent-messages /api/matm/agent-inbox /api/matm/activity /api/matm/redacted-example-receipts", "method": "POST_NOTICE_THEN_SENDER_STATUS_CHECK", "expectedStatus": 200, "example": {"schema_version": "neuralwikis.required_response_notice_status_receipt.v1", "runId": "dual-site-dogfood-20260706", "sourceSubmitReceipt": {"schemaVersion": "neuralwikis.current_message_notice_receipt_summary.v1", "status": "accepted_visible_in_agent_inbox", "requiredResponse": true, "responseDisposition": "required_response", "visibleInAgentInbox": true, "sourceSubmitReport": "reports/live-current-message-neurowikis-agent-free-agent-setup-readiness-redacted-receipt-20260708.json", "safeSummaryOnly": true, "rawMessageBodyIncluded": false, "rawSenderOrTargetValuesIncluded": false, "rawRecordIdsIncluded": false, "rawIdempotencyKeysIncluded": false}, "senderSideStatusCheck": {"schemaVersion": "neuralwikis.outgoing_required_response_status.v1", "requiredResponseStatusSchema": "neuralwikis.required_response_status.v1", "statusReport": "reports/outgoing-required-response-status-free-agent-setup-readiness-redacted-receipt-20260708.json", "status": "candidate_peer_update_seen_not_direct_response", "requiredResponseOpen": true, "responseReceived": false, "targetSideAcknowledgementVisibleToSender": false, "privateSearchRequiredToDetermineCurrentStatus": false, "currentMessageLaneCheckedBeforePrivateSearch": true, "activityFallbackIsAwarenessOnly": true, "doesNotProveTargetAgentViewedMessage": true}, "messageResolutionDispositions": ["required_response", "viewed_acknowledgement"], "nextRequiredAction": "Keep the required_response open until a direct peer safe_summary response is visible or the requester explicitly closes the request.", "truthBoundary": {"currentMessageLaneCheckedBeforePrivateSearch": true, "privateSearchUsedToDetermineCurrentStatus": false, "activityFallbackIsAwarenessOnly": true, "doesNotProveTargetAgentViewedMessage": true, "doesNotProveTargetAgentAcknowledgedMessage": true, "doesNotCloseRequiredResponse": true, "rawCredentialsExposed": false, "rawPrivatePayloadsExposed": false, "rawSenderOrTargetValuesExposed": false, "rawRecordIdsExposed": false, "idempotencyKeysExposed": false}}}, {"id": "authority_configuration_readiness_redacted_receipt", "route": "/api/matm/authority-configuration /api/matm/redacted-example-receipts neuralwikis://matm/authority-configuration-readiness", "method": "LIVE_STATUS_READINESS_VERIFIER", "expectedStatus": 200, "example": {"schema_version": "neuralwikis.authority_configuration_readiness_receipt.v1", "readinessReport": {"schemaVersion": "neuralwikis.authority_configuration_readiness.v1", "latestReport": "reports/authority-configuration-readiness-20260707.json", "latestMarkdown": "reports/authority-configuration-readiness-20260707.md", "localScript": "scripts/verify_authority_configuration_readiness.py", "mcpResource": "neuralwikis://matm/authority-configuration-readiness", "status": "authority_status_current_waiting_external_receipts", "ok": true, "humanReadableStatus": "waiting_for_external_authority_evidence", "readyForGoalComplete": false, "agentMayContinue": true, "ordinaryAgentWorkMayContinue": true, "completionEvidenceGateCount": 1, "completionEvidenceGateKeys": ["mcp_full_lifecycle_authority_proofs_admitted"], "remainingCompletionEvidenceGate": "mcp_full_lifecycle_authority_proofs_admitted", "externalAuthorityReceiptsStillRequired": true}, "existingAuthorityRequestEvidence": {"schemaVersion": "neuralwikis.current_workspace_authority_configuration_request.v1", "source": "reports/current-workspace-authority-configuration-request-20260706.json", "reviewState": "review_pending", "configurationRequestCreated": true, "grantsApplied": false, "selfGrantAllowed": false, "billingBypassAllowed": false, "requestReasonEchoed": false, "tokenPrinted": false, "tokenEchoed": false, "evidenceNote": "Review-pending authority request evidence only; not authority receipt admission."}, "externalAuthorityClosureWorkflow": {"schemaVersion": "matm.external_authority_closure_workflow_guidance.v1", "purpose": "Close only the final full-goal authority evidence gate after separate org, reviewer, and retention-capable credentials are provided through an approved secret channel.", "notDeploymentBlocker": true, "notOrdinaryWorkBlocker": true, "goalExecutionBlocked": false, "agentMayContinue": true, "ordinaryAgentWorkMayContinue": true, "humanReadableStatus": "waiting_for_external_authority_evidence", "preferredHumanStatus": "waiting_for_external_authority_evidence", "displayStatus": "waiting_for_external_authority_evidence", "uiDisplayRule": "Display humanReadableStatus/displayStatus. Do not display this workflow as blocked when goalExecutionBlocked=false and agentMayContinue=true; display it as waiting for external authority evidence.", "blockerTerminology": {"schemaVersion": "matm.blocker_terminology.v1", "displayStatus": "waiting_for_external_authority_evidence", "preferredStatusFields": ["humanReadableStatus", "displayStatus", "preferredHumanStatus"], "preferredCountFields": ["completionEvidenceGateCount", "remainingEvidenceGateCount"], "executionBlockFields": ["blockingKeys", "executionBlockingKeys"], "legacyCompatibilityFields": ["legacyBlockingKeys"], "legacyFieldInterpretation": "Top-level blockingKeys is execution-only. Final authority evidence keys are exposed as completionEvidenceGateKeys, remainingEvidenceGates, and legacyBlockingKeys. They are not operational blocks on ordinary workspace work, deployment, free-agent setup, project-private memory, or prompt-library use.", "blockedWordMeaning": "authority_completion_evidence_gate_only", "uiDisplayRule": "Display humanReadableStatus/displayStatus. Do not display this workflow as blocked when goalExecutionBlocked=false and agentMayContinue=true; display it as waiting for external authority evidence."}, "completionEvidenceGateCount": 1, "remainingEvidenceGateCount": 1, "completionEvidenceGateKeys": ["mcp_full_lifecycle_authority_proofs_admitted"], "executionBlockingKeys": [], "blockingKeys": [], "legacyBlockingKeys": ["mcp_full_lifecycle_authority_proofs_admitted"], "remainingEvidenceGates": ["mcp_full_lifecycle_authority_proofs_admitted"], "externalAuthorityReceiptCollection": {"schemaVersion": "matm.external_authority_receipt_collection_contract.v1", "status": "waiting_for_external_authority_receipts", "humanReadableStatus": "waiting_for_external_authority_evidence", "plainLanguageLabel": "External authority receipts still required", "plainLanguageSummary": "external authority receipts are still required for the final gate; ordinary same-workspace memory, free-agent setup, deployment, project crawl/search, and NeuroWikis prompt copying are not stopped.", "currentCompletionEvidenceGateKey": "mcp_full_lifecycle_authority_proofs_admitted", "currentCompletionEvidenceGateCount": 1, "currentSafeCollectorRefresh": {"report": "reports/mcp-archive-repair-external-authority-receipts-v1.json", "status": "waiting_for_reviewer_retention_authority_receipts", "passed": false, "liveExecutionRequested": false, "callsProduction": false, "writesRemoteMemory": false, "retiresLocalUai": false, "tokenPrinted": false, "targetIdsStored": false, "retentionTokenAvailable": false, "reviewerTokenAvailable": false}, "currentExternalProofReadiness": {"closurePacket": "reports/matm-remaining-blocker-closure-packet-v1.json", "status": "ready_for_external_authority_proofs", "readyForExternalProofExecution": true, "packetBlockers": [], "meaning": "The no-mutation handoff, templates, NeuroWikis operator files, and command sequence are current. External org/reviewer/retention credentials and receipts are still required before admission and final goal completion."}, "currentAuthorityClosureWorkflow": {"report": "reports/mcp-authority-closure-workflow-v1.json", "status": "waiting_for_external_authority_inputs", "readyForOperatorExecution": true, "readyForGoalComplete": false}, "authorityReceiptClosureToolchain": {"schema_version": "neuralwikis.authority_receipt_closure_toolchain.v1", "publicSafe": true, "valuesRedacted": true, "rawTokensIncluded": false, "rawPrivatePayloadsIncluded": false, "rawIdempotencyKeysIncluded": false, "status": "waiting_for_verified_external_authority_reports", "plainLanguageLabel": "Authority receipt closure toolchain", "plainLanguageSummary": "The local no-secret toolchain for final authority proof intake is ready, but verified org, reviewer, and retention receipts are still required before a receipt bundle can be written, admitted, or used for goal completion.", "readyForExternalAuthorityProofIntake": true, "readyForReceiptBundleWrite": false, "readyForReceiptAdmission": false, "readyForLifecycleRefresh": false, "readyForGoalComplete": false, "localScripts": {"intakePreflight": "scripts/build_mcp_authority_proof_intake_preflight.py", "orgMemoryLiveProbe": "scripts/probe_mcp_org_memory_live.py", "archiveRepairExternalReceipts": "scripts/collect_mcp_archive_repair_external_authority_receipts.py", "receiptBundleBuilder": "scripts/build_mcp_authority_external_receipt_bundle.py", "proofAdmission": "scripts/build_mcp_authority_proof_admission.py", "closureWorkflow": "scripts/run_mcp_authority_closure_workflow.py"}, "defaultCommands": {"intakePreflight": "python scripts\\build_mcp_authority_proof_intake_preflight.py --write-defaults --check --require-ready", "orgMemoryLiveProbe": "Set NEURALWIKIS_ORG_MCP_TOKEN outside this report, then run python scripts\\probe_mcp_org_memory_live.py --execute-live --confirm RUN-LIVE-ORG-MEMORY-PROBE --check", "archiveRepairExternalReceipts": "Set NEURALWIKIS_RETENTION_MCP_TOKEN and NEURALWIKIS_REVIEWER_MCP_TOKEN outside this report, fill a private uncommitted safe-target config, then run python scripts\\collect_mcp_archive_repair_external_authority_receipts.py --target-config-json <private-safe-target-config.json> --execute-live --confirm RUN-LIVE-ARCHIVE-REPAIR-AUTHORITY-RECEIPTS --check --require-verified", "receiptBundleBuilder": "python scripts\\build_mcp_authority_external_receipt_bundle.py --write-defaults --write-receipt-bundle --check --require-ready", "proofAdmission": "python scripts\\build_mcp_authority_proof_admission.py --write-defaults --check --require-admitted", "closureWorkflow": "python scripts\\run_mcp_authority_closure_workflow.py --write-defaults --check"}, "latestReports": {"intakePreflight": "reports/mcp-authority-proof-intake-preflight-v1.json", "orgAuthorityReadiness": "reports/mcp-org-memory-authority-readiness-v1.json", "archiveRepairExternalReceipts": "reports/mcp-archive-repair-external-authority-receipts-v1.json", "receiptBundleBuilder": "reports/mcp-authority-external-receipt-bundle-builder-v1.json", "receiptBundle": "reports/mcp-authority-external-proof-receipts-v1.json", "proofAdmission": "reports/mcp-authority-proof-admission-v1.json", "closureWorkflow": "reports/mcp-authority-closure-workflow-v1.json", "lifecycleCoverage": "reports/mcp-memory-lifecycle-e2e-coverage-v1.json", "fullGoalAudit": "reports/matm-full-goal-completion-audit-v2.8.1.json"}, "latestStatuses": {"intakePreflight": "ready_for_external_authority_proof_intake", "orgAuthorityReadiness": "waiting_for_org_scoped_memory_credential", "archiveRepairExternalReceipts": "waiting_for_reviewer_retention_authority_receipts", "receiptBundleBuilder": "waiting_for_verified_external_authority_reports", "proofAdmission": "collect_org_memory_and_archive_repair_external_receipts", "closureWorkflow": "waiting_for_external_authority_inputs"}, "requiredExternalAuthorityReceipts": ["org_scoped_private_memory_search", "reviewer_authority_receipt", "retention_archive_repair_receipt", "authority_receipt_bundle_admission"], "requiredSecretEnvVars": ["NEURALWIKIS_ORG_MCP_TOKEN", "NEURALWIKIS_REVIEWER_MCP_TOKEN", "NEURALWIKIS_RETENTION_MCP_TOKEN"], "requiredPrivateInputs": ["private uncommitted safe-target config", "safe non-active archive target identifiers kept outside reports and memory", "safe non-active repair target identifiers kept outside reports and memory", "operator attestations recorded only as redacted evidence references"], "currentBlockers": ["org authority report is not verified for org-wide private search", "archive/repair external authority receipt report is missing or incomplete", "external authority receipt bundle is not present", "authority receipt bundle is not admitted"], "truthBoundary": {"doesNotRunLiveWorker": true, "doesNotExecuteOrgWideSearchWithoutOrgToken": true, "doesNotAttemptArchiveOrRepairWithoutReviewerRetentionTokens": true, "doesNotWriteReceiptBundleWithoutVerifiedInputs": true, "doesNotAdmitAuthorityReceipts": true, "doesNotRetireLocalUai": true, "doesNotMarkGoalComplete": true, "ordinaryAgentWorkMayContinue": true, "readyForGoalComplete": false}}, "requiredExternalAuthorityReceipts": ["org_scoped_private_memory_search", "reviewer_authority_receipt", "retention_archive_repair_receipt", "authority_receipt_bundle_admission"], "requiredSecretEnvVars": ["NEURALWIKIS_ORG_MCP_TOKEN", "NEURALWIKIS_REVIEWER_MCP_TOKEN", "NEURALWIKIS_RETENTION_MCP_TOKEN"], "requiredNonSecretInputs": ["reports/mcp-archive-repair-safe-target-config-template-v1.json", "private uncommitted <private-safe-target-config.json>", "safe non-active archive target id and state stored only in the private config", "safe non-active repair target id and state stored only in the private config", "operator safe-target attestations stored without raw ids in reports"], "safeCommandSequence": ["python scripts\\probe_mcp_org_memory_live.py --execute-live --confirm RUN-LIVE-ORG-MEMORY-PROBE --check", "python scripts\\collect_mcp_archive_repair_external_authority_receipts.py --write-target-config-template --target-config-template-out reports\\mcp-archive-repair-safe-target-config-template-v1.json --check", "copy reports\\mcp-archive-repair-safe-target-config-template-v1.json <private-safe-target-config.json>", "python scripts\\collect_mcp_archive_repair_external_authority_receipts.py --target-config-json <private-safe-target-config.json> --execute-live --confirm RUN-LIVE-ARCHIVE-REPAIR-AUTHORITY-RECEIPTS --check --require-verified", "python scripts\\build_mcp_authority_external_receipt_bundle.py --write-defaults --write-receipt-bundle --check --require-ready", "python scripts\\build_mcp_authority_proof_admission.py --write-defaults --check --require-admitted", "python scripts\\build_mcp_memory_lifecycle_e2e_coverage.py --write-defaults", "python scripts\\build_uai_cutover_apply_preflight.py --require-safe-waiting", "python scripts\\build_matm_remaining_blocker_closure_packet.py --write-defaults --check", "python scripts\\build_matm_full_goal_completion_audit.py --write-defaults --check"], "notEvidenceForThisGate": ["FTP credentials", "FTPS credentials", "FRP credentials", "package publish credentials", "normal workspace MCP token", "workspace.uai reconnect context", "review-pending authority request without admitted receipts"], "notBlockedSubjects": ["deployment", "free_agent_setup", "same_workspace_project_private_memory", "project_crawl_search", "NeuroWikis_prompt_library", "ordinary_agent_work"], "rawSecretPolicy": {"printRawTokens": false, "storeRawTokensInReports": false, "storeRawTokensInMemory": false, "pasteRawTokensIntoChat": false, "storePrivateSafeTargetConfigInMemory": false, "printRawTargetIds": false}, "safeFallbackAction": "If any required authority token, private safe-target config, or receipt is missing, report waiting_for_external_authority_evidence, keep ordinary same-workspace work active when goalExecutionBlocked=false, and do not claim final completion."}, "externalAuthorityReceiptsStillRequired": true, "externalAuthorityReceiptsPlainLanguage": "The current completion gate mcp_full_lifecycle_authority_proofs_admitted requires redacted external authority receipts; it is not an execution blocker for deployment, free-agent setup, same-workspace memory, project crawl/search, or prompt-library use.", "closureStepEvidenceGateCount": 6, "remainingClosureStepCount": 6, "closureStepEvidenceGates": ["org-wide private search has not been verified with org authority", "archive/repair authority receipts have not been verified with reviewer and retention authority", "verified org and archive/repair reports are required before receipt-bundle admission", "authority receipt bundle is not admitted", "lifecycle coverage still records authority gaps", "full goal audit still has authority evidence keys"], "closureStepEvidenceRequirements": ["org-wide private search has not been verified with org authority", "archive/repair authority receipts have not been verified with reviewer and retention authority", "verified org and archive/repair reports are required before receipt-bundle admission", "authority receipt bundle is not admitted", "lifecycle coverage still records authority gaps", "full goal audit still has authority evidence keys"], "blockedWordInterpretation": "The remaining key is a final completion evidence gate. It is not an operational block on ordinary workspace work, deployment, free-agent setup, project-private memory, or prompt-library use.", "operatorWorkspaceRequired": true, "workspaceUaiCredentialBoundary": {"schemaVersion": "matm.workspace_uai_credential_boundary.v1", "rootWorkspaceUaiPath": "E:\\workspace.uai", "workspaceUaiRole": "short_term_operational_and_reconnect_memory", "neuralWikisMatmRole": "durable_mid_long_term_searchable_memory", "workspaceUaiIsAuthorityCredentialStore": false, "workspaceUaiIsDeploymentCredentialStore": false, "rawAuthorityTokensAllowedInWorkspaceUai": false, "rawAuthorityTokensAllowedInReportsOrMemory": false, "doNotInferAuthorityFromWorkspaceUai": true, "deploymentCredentialBoundary": {"schemaVersion": "matm.deployment_vs_authority_credential_boundary.v1", "deploymentCredentialFilePath": "E:\\ftp_Deploy.txt", "deploymentCredentialCanDeploySites": true, "deploymentCredentialCanCloseMatmAuthorityGate": false, "deploymentCredentialValuesAllowedInReportsOrMemory": false, "authorityCredentialRequiredEnvVars": ["NEURALWIKIS_ORG_MCP_TOKEN", "NEURALWIKIS_REVIEWER_MCP_TOKEN", "NEURALWIKIS_RETENTION_MCP_TOKEN"], "interpretation": "Deployment credentials and external MATM authority credentials are separate. A deploy-capable workspace can still be waiting for org-wide private search, reviewer, and retention authority receipts."}, "requiredAuthorityCredentialChannel": "approved_secret_channel_or_reviewed_operator_provisioning", "requiredExternalAuthorityEnvVars": ["NEURALWIKIS_ORG_MCP_TOKEN", "NEURALWIKIS_REVIEWER_MCP_TOKEN", "NEURALWIKIS_RETENTION_MCP_TOKEN"], "safeAgentInstruction": "Consult workspace.uai for short-term operational and reconnect context, but do not assume it contains org, reviewer, retention, billing, archive/repair authority credentials, or deployment passwords. Deployment credential availability is separate from MATM authority proof. Use the current credential scope, submit review-pending authority requests when needed, and keep raw tokens out of prompts, reports, workspace.uai, and memory."}, "currentWorkspaceOrgSearchBoundary": {"schemaVersion": "matm.current_workspace_org_search_boundary.v1", "status": "current_workspace_org_search_denied_waiting_for_org_scoped_credential", "currentWorkspaceOrgSearchDenied": true, "currentWorkspaceGlobalPrivateFiltered": true, "currentWorkspaceRequiresOrgMemorySearch": true, "normalWorkspaceTokenCanCloseAuthorityGate": false, "workspaceCredentialCanClaimOrgWidePrivateSearch": false, "safeToClaimOrgWidePrivateSearch": false, "liveOrgWidePrivateSearchVerified": false, "evidencePath": "reports/mcp-org-memory-live-probe-v1.json", "requiredFutureStatus": "org_wide_private_search_verified", "requiredFutureCredentialEnv": "NEURALWIKIS_ORG_MCP_TOKEN", "meaning": "The current workspace credential is correctly bounded: it can support same-workspace project memory when authorized, but it is denied org-wide/cross-project private search and cannot close the final MATM authority gate.", "safeNextAction": "Continue same-workspace project memory work with the current credential. Use an organization-scoped credential from an approved secret channel for the separate org-wide private-search receipt."}, "rawSecretsAllowedInReports": false, "rawSecretsAllowedInChat": false, "rawSecretsAllowedInMemory": false, "requiredSecretEnvVars": [{"name": "NEURALWIKIS_ORG_MCP_TOKEN", "requiredAuthority": ["org:memory:search", "global:memory:read", "cross_project:memory:search"], "purpose": "Run the org-wide private memory search receipt probe."}, {"name": "NEURALWIKIS_REVIEWER_MCP_TOKEN", "requiredAuthority": ["reviewer"], "purpose": "Prove reviewer-gated archive/repair lifecycle receipts."}, {"name": "NEURALWIKIS_RETENTION_MCP_TOKEN", "requiredAuthority": ["retention:manage"], "purpose": "Prove retention-management and archive authority receipts."}], "requiredNonSecretInputs": ["public-safe safe-target config template at reports/mcp-archive-repair-safe-target-config-template-v1.json", "private uncommitted <private-safe-target-config.json>", "safe non-active archive target id and state stored only in the private config", "safe non-active repair target id and state stored only in the private config", "operator safe-target attestations stored without raw ids in reports"], "commands": [{"step": "org_memory_live_probe", "command": "python scripts\\probe_mcp_org_memory_live.py --execute-live --confirm RUN-LIVE-ORG-MEMORY-PROBE --check", "requiresEnv": ["NEURALWIKIS_ORG_MCP_TOKEN"], "expectedReport": "reports/mcp-org-memory-live-probe-v1.json", "printsRawToken": false}, {"step": "prepare_archive_repair_safe_target_config_template", "command": "python scripts\\collect_mcp_archive_repair_external_authority_receipts.py --write-target-config-template --target-config-template-out reports\\mcp-archive-repair-safe-target-config-template-v1.json --check", "requiresEnv": [], "expectedReport": "reports/mcp-archive-repair-safe-target-config-template-v1.json", "printsRawToken": false, "printsRawTargetId": false}, {"step": "archive_repair_external_receipts", "command": "python scripts\\collect_mcp_archive_repair_external_authority_receipts.py --target-config-json <private-safe-target-config.json> --execute-live --confirm RUN-LIVE-ARCHIVE-REPAIR-AUTHORITY-RECEIPTS --check --require-verified", "requiresEnv": ["NEURALWIKIS_RETENTION_MCP_TOKEN", "NEURALWIKIS_REVIEWER_MCP_TOKEN"], "requiresSafeTargetConfigTemplate": "reports/mcp-archive-repair-safe-target-config-template-v1.json", "requiresPrivateUncommittedTargetConfig": "<private-safe-target-config.json>", "requiresSafeTargetInputs": "private_config_only", "expectedReport": "reports/mcp-archive-repair-external-authority-receipts-v1.json", "printsRawToken": false, "printsRawTargetId": false, "reportsStoreOnlyTargetHashes": true}, {"step": "build_authority_receipt_bundle", "command": "python scripts\\build_mcp_authority_external_receipt_bundle.py --write-defaults --write-receipt-bundle --check --require-ready", "requiresEnv": [], "expectedReport": "reports/mcp-authority-external-proof-receipts-v1.json", "printsRawToken": false}, {"step": "admit_authority_receipt_bundle", "command": "python scripts\\build_mcp_authority_proof_admission.py --write-defaults --check --require-admitted", "requiresEnv": [], "expectedReport": "reports/mcp-authority-proof-admission-v1.json", "printsRawToken": false}, {"step": "refresh_lifecycle_and_audit", "command": "python scripts\\build_mcp_memory_lifecycle_e2e_coverage.py --write-defaults; python scripts\\build_uai_cutover_apply_preflight.py --require-safe-waiting; python scripts\\build_matm_remaining_blocker_closure_packet.py --write-defaults --check; python scripts\\build_matm_full_goal_completion_audit.py --write-defaults --check", "requiresEnv": [], "expectedReport": "reports/matm-full-goal-completion-audit-v2.8.1.json", "printsRawToken": false}], "successCriteria": ["authority receipt bundle is admitted", "org-wide private search proof is admitted", "reviewer and retention archive/repair receipts are admitted", "full audit readyForGoalComplete is true", "full audit blockingKeys is empty", "reports are redacted and contain no raw tokens, private payloads, source bodies, idempotency keys, or hidden reasoning"], "safeFallbackAction": "If any required authority token or safe target input is missing, keep ordinary same-workspace work active, submit or update the review-pending authority request, and report waiting_for_external_authority_evidence without claiming final completion."}, "externalAuthorityReceiptCollection": {"schemaVersion": "matm.external_authority_receipt_collection_contract.v1", "status": "waiting_for_external_authority_receipts", "humanReadableStatus": "waiting_for_external_authority_evidence", "plainLanguageLabel": "External authority receipts still required", "plainLanguageSummary": "external authority receipts are still required for the final gate; ordinary same-workspace memory, free-agent setup, deployment, project crawl/search, and NeuroWikis prompt copying are not stopped.", "currentCompletionEvidenceGateKey": "mcp_full_lifecycle_authority_proofs_admitted", "currentCompletionEvidenceGateCount": 1, "currentSafeCollectorRefresh": {"report": "reports/mcp-archive-repair-external-authority-receipts-v1.json", "status": "waiting_for_reviewer_retention_authority_receipts", "passed": false, "liveExecutionRequested": false, "callsProduction": false, "writesRemoteMemory": false, "retiresLocalUai": false, "tokenPrinted": false, "targetIdsStored": false, "retentionTokenAvailable": false, "reviewerTokenAvailable": false}, "currentExternalProofReadiness": {"closurePacket": "reports/matm-remaining-blocker-closure-packet-v1.json", "status": "ready_for_external_authority_proofs", "readyForExternalProofExecution": true, "packetBlockers": [], "meaning": "The no-mutation handoff, templates, NeuroWikis operator files, and command sequence are current. External org/reviewer/retention credentials and receipts are still required before admission and final goal completion."}, "currentAuthorityClosureWorkflow": {"report": "reports/mcp-authority-closure-workflow-v1.json", "status": "waiting_for_external_authority_inputs", "readyForOperatorExecution": true, "readyForGoalComplete": false}, "authorityReceiptClosureToolchain": {"schema_version": "neuralwikis.authority_receipt_closure_toolchain.v1", "publicSafe": true, "valuesRedacted": true, "rawTokensIncluded": false, "rawPrivatePayloadsIncluded": false, "rawIdempotencyKeysIncluded": false, "status": "waiting_for_verified_external_authority_reports", "plainLanguageLabel": "Authority receipt closure toolchain", "plainLanguageSummary": "The local no-secret toolchain for final authority proof intake is ready, but verified org, reviewer, and retention receipts are still required before a receipt bundle can be written, admitted, or used for goal completion.", "readyForExternalAuthorityProofIntake": true, "readyForReceiptBundleWrite": false, "readyForReceiptAdmission": false, "readyForLifecycleRefresh": false, "readyForGoalComplete": false, "localScripts": {"intakePreflight": "scripts/build_mcp_authority_proof_intake_preflight.py", "orgMemoryLiveProbe": "scripts/probe_mcp_org_memory_live.py", "archiveRepairExternalReceipts": "scripts/collect_mcp_archive_repair_external_authority_receipts.py", "receiptBundleBuilder": "scripts/build_mcp_authority_external_receipt_bundle.py", "proofAdmission": "scripts/build_mcp_authority_proof_admission.py", "closureWorkflow": "scripts/run_mcp_authority_closure_workflow.py"}, "defaultCommands": {"intakePreflight": "python scripts\\build_mcp_authority_proof_intake_preflight.py --write-defaults --check --require-ready", "orgMemoryLiveProbe": "Set NEURALWIKIS_ORG_MCP_TOKEN outside this report, then run python scripts\\probe_mcp_org_memory_live.py --execute-live --confirm RUN-LIVE-ORG-MEMORY-PROBE --check", "archiveRepairExternalReceipts": "Set NEURALWIKIS_RETENTION_MCP_TOKEN and NEURALWIKIS_REVIEWER_MCP_TOKEN outside this report, fill a private uncommitted safe-target config, then run python scripts\\collect_mcp_archive_repair_external_authority_receipts.py --target-config-json <private-safe-target-config.json> --execute-live --confirm RUN-LIVE-ARCHIVE-REPAIR-AUTHORITY-RECEIPTS --check --require-verified", "receiptBundleBuilder": "python scripts\\build_mcp_authority_external_receipt_bundle.py --write-defaults --write-receipt-bundle --check --require-ready", "proofAdmission": "python scripts\\build_mcp_authority_proof_admission.py --write-defaults --check --require-admitted", "closureWorkflow": "python scripts\\run_mcp_authority_closure_workflow.py --write-defaults --check"}, "latestReports": {"intakePreflight": "reports/mcp-authority-proof-intake-preflight-v1.json", "orgAuthorityReadiness": "reports/mcp-org-memory-authority-readiness-v1.json", "archiveRepairExternalReceipts": "reports/mcp-archive-repair-external-authority-receipts-v1.json", "receiptBundleBuilder": "reports/mcp-authority-external-receipt-bundle-builder-v1.json", "receiptBundle": "reports/mcp-authority-external-proof-receipts-v1.json", "proofAdmission": "reports/mcp-authority-proof-admission-v1.json", "closureWorkflow": "reports/mcp-authority-closure-workflow-v1.json", "lifecycleCoverage": "reports/mcp-memory-lifecycle-e2e-coverage-v1.json", "fullGoalAudit": "reports/matm-full-goal-completion-audit-v2.8.1.json"}, "latestStatuses": {"intakePreflight": "ready_for_external_authority_proof_intake", "orgAuthorityReadiness": "waiting_for_org_scoped_memory_credential", "archiveRepairExternalReceipts": "waiting_for_reviewer_retention_authority_receipts", "receiptBundleBuilder": "waiting_for_verified_external_authority_reports", "proofAdmission": "collect_org_memory_and_archive_repair_external_receipts", "closureWorkflow": "waiting_for_external_authority_inputs"}, "requiredExternalAuthorityReceipts": ["org_scoped_private_memory_search", "reviewer_authority_receipt", "retention_archive_repair_receipt", "authority_receipt_bundle_admission"], "requiredSecretEnvVars": ["NEURALWIKIS_ORG_MCP_TOKEN", "NEURALWIKIS_REVIEWER_MCP_TOKEN", "NEURALWIKIS_RETENTION_MCP_TOKEN"], "requiredPrivateInputs": ["private uncommitted safe-target config", "safe non-active archive target identifiers kept outside reports and memory", "safe non-active repair target identifiers kept outside reports and memory", "operator attestations recorded only as redacted evidence references"], "currentBlockers": ["org authority report is not verified for org-wide private search", "archive/repair external authority receipt report is missing or incomplete", "external authority receipt bundle is not present", "authority receipt bundle is not admitted"], "truthBoundary": {"doesNotRunLiveWorker": true, "doesNotExecuteOrgWideSearchWithoutOrgToken": true, "doesNotAttemptArchiveOrRepairWithoutReviewerRetentionTokens": true, "doesNotWriteReceiptBundleWithoutVerifiedInputs": true, "doesNotAdmitAuthorityReceipts": true, "doesNotRetireLocalUai": true, "doesNotMarkGoalComplete": true, "ordinaryAgentWorkMayContinue": true, "readyForGoalComplete": false}}, "requiredExternalAuthorityReceipts": ["org_scoped_private_memory_search", "reviewer_authority_receipt", "retention_archive_repair_receipt", "authority_receipt_bundle_admission"], "requiredSecretEnvVars": ["NEURALWIKIS_ORG_MCP_TOKEN", "NEURALWIKIS_REVIEWER_MCP_TOKEN", "NEURALWIKIS_RETENTION_MCP_TOKEN"], "requiredNonSecretInputs": ["reports/mcp-archive-repair-safe-target-config-template-v1.json", "private uncommitted <private-safe-target-config.json>", "safe non-active archive target id and state stored only in the private config", "safe non-active repair target id and state stored only in the private config", "operator safe-target attestations stored without raw ids in reports"], "safeCommandSequence": ["python scripts\\probe_mcp_org_memory_live.py --execute-live --confirm RUN-LIVE-ORG-MEMORY-PROBE --check", "python scripts\\collect_mcp_archive_repair_external_authority_receipts.py --write-target-config-template --target-config-template-out reports\\mcp-archive-repair-safe-target-config-template-v1.json --check", "copy reports\\mcp-archive-repair-safe-target-config-template-v1.json <private-safe-target-config.json>", "python scripts\\collect_mcp_archive_repair_external_authority_receipts.py --target-config-json <private-safe-target-config.json> --execute-live --confirm RUN-LIVE-ARCHIVE-REPAIR-AUTHORITY-RECEIPTS --check --require-verified", "python scripts\\build_mcp_authority_external_receipt_bundle.py --write-defaults --write-receipt-bundle --check --require-ready", "python scripts\\build_mcp_authority_proof_admission.py --write-defaults --check --require-admitted", "python scripts\\build_mcp_memory_lifecycle_e2e_coverage.py --write-defaults", "python scripts\\build_uai_cutover_apply_preflight.py --require-safe-waiting", "python scripts\\build_matm_remaining_blocker_closure_packet.py --write-defaults --check", "python scripts\\build_matm_full_goal_completion_audit.py --write-defaults --check"], "notEvidenceForThisGate": ["FTP credentials", "FTPS credentials", "FRP credentials", "package publish credentials", "normal workspace MCP token", "workspace.uai reconnect context", "review-pending authority request without admitted receipts"], "notBlockedSubjects": ["deployment", "free_agent_setup", "same_workspace_project_private_memory", "project_crawl_search", "NeuroWikis_prompt_library", "ordinary_agent_work"], "rawSecretPolicy": {"printRawTokens": false, "storeRawTokensInReports": false, "storeRawTokensInMemory": false, "pasteRawTokensIntoChat": false, "storePrivateSafeTargetConfigInMemory": false, "printRawTargetIds": false}, "safeFallbackAction": "If any required authority token, private safe-target config, or receipt is missing, report waiting_for_external_authority_evidence, keep ordinary same-workspace work active when goalExecutionBlocked=false, and do not claim final completion."}, "nextRequiredAction": "Collect and admit the named external authority receipts before claiming final goal completion.", "truthBoundary": {"doesNotAdmitAuthorityReceipts": true, "reviewPendingRequestIsApproval": false, "reviewPendingRequestIsNotApproval": true, "configurationRequestDoesNotGrantAuthority": true, "externalAuthorityReceiptsStillRequired": true, "ordinaryAgentWorkBlocked": false, "freeAgentSetupBlocked": false, "doesNotProveGoalComplete": true, "doesNotProveLiveDeploy": true, "rawCredentialsExposed": false, "rawAuthorityTokensIncluded": false, "rawPrivatePayloadsExposed": false, "rawRequestReasonEchoed": false, "rawSenderOrTargetValuesExposed": false, "idempotencyKeysExposed": false}}}, {"id": "delegated_ui_testing_token_boundary_redacted_receipt", "route": "/api/matm/redacted-example-receipts /api/matm/live-capability-matrix /api/matm/shared-workspace-coordination", "method": "GET", "expectedStatus": 200, "example": {"schema_version": "neuralwikis.delegated_ui_testing_token_boundary_receipt.v1", "boundaryReport": {"schemaVersion": "neuralwikis.delegated_ui_testing_token_boundary.v1", "latestReport": "reports/delegated-ui-testing-token-boundary-20260708.json", "latestMarkdown": "reports/delegated-ui-testing-token-boundary-20260708.md", "localScript": "scripts/build_delegated_ui_testing_token_boundary.py", "status": "contract_ready_waiting_neurowikis_implementation_and_dogfood", "ok": true, "readyForGoalComplete": false, "neuroWikisImplementationProven": false}, "tokenContract": {"buttonLabel": "Generate NeuroWikis.com testing prompt", "ttlHours": 24, "generationAuthority": "approved_wordpress_admin_account_only", "serverStorage": "hash_only", "rawTokenDisplay": "one_time_prompt_display_only", "revocationRequired": true, "expiryReadbackRequired": true, "auditReadbackRequired": true, "rateLimitRequired": true, "inventoryScope": "site_wide_all_wordpress_admin_issuers", "perTokenRevokeRequired": true, "siteWideRevokeAllRequired": true, "manualFallbackRoute": "/agent-console/?nw_testing_workbench=1#nw-testing-workbench", "manualFallbackTokenTransportHeader": "X-NeuroWikis-Testing-Token", "manualFallbackStatusEndpointMustValidateHeaderOnly": true, "fragmentFallbackRouteTemplate": "/agent-console/?nw_testing_workbench=1#nw-testing-token={{ONE_TIME_TOKEN_VISIBLE_ONLY_INSIDE_NEUROWIKIS_UI}}", "fragmentFallbackClientSideOnly": true, "fragmentFallbackMustConvertToHeaderForStatusRequest": true, "fragmentFallbackStatusEndpointMustValidateHeaderOnly": true}, "agentPromptRules": {"mustStartAtSuppliedNeuroWikisUrl": true, "mustUseSuppliedTokenOnlyInNeuroWikisUi": true, "mustCommunicateWithNeuralWikisAgentThroughNeuroWikisUi": true, "mustNotPasteTokenIntoCodexThread": true, "mustNotStoreTokenInMatmMemory": true, "mustNotSendTokenThroughCurrentMessage": true, "mustNotWriteTokenToReports": true, "finalReportInsideNeuroWikisUiOnly": true, "redactedPromptTemplateVersion": "neuralwikis.neurowikis_delegated_ui_testing_prompt_template.v1", "oneTimeTokenPlaceholder": "{{ONE_TIME_TOKEN_VISIBLE_ONLY_INSIDE_NEUROWIKIS_UI}}", "requiredCommunicationDispositions": ["required_response", "viewed_acknowledgement"], "requiredFinalReportFields": ["token_flow_pass_fail", "ui_prompt_generator_pass_fail", "authenticated_workbench_access_pass_fail", "agent_communication_pass_fail", "required_response_handling_pass_fail", "viewed_acknowledgement_handling_pass_fail", "secret_redaction_pass_fail", "site_wide_inventory_pass_fail", "per_token_revoke_pass_fail", "site_wide_revoke_all_pass_fail", "manual_header_only_fallback_pass_fail", "fragment_no_typing_fallback_pass_fail", "revocation_or_expiry_pass_fail", "human_readable_issues_found", "exact_neurowikis_report_route", "neuralwikis_current_message_receipt_status", "tested_at_iso"], "resultReceiptSchema": "neuralwikis.neurowikis_delegated_ui_test_result_receipt.v1", "resultReceiptRoute": "{{NEUROWIKIS_FINAL_REPORT_ROUTE}}", "resultReceiptMustStayInsideNeuroWikisUi": true, "resultReceiptNeuralWikisMirror": "safe_summary_current_message_only", "resultReceiptForbiddenValues": ["raw_testing_token", "wordpress_cookie", "raw_private_payload", "sender_id", "target_id", "idempotency_key", "database_primary_key"], "requiredRedactedPromptSteps": ["start_from_clean_browser_or_isolated_session", "enter_testing_route_with_one_time_token_inside_neurowikis_ui_only", "test_human_agent_and_agent_agent_current_message_ui", "send_action_requests_as_required_response", "send_informational_receipts_as_viewed_acknowledgement", "verify_raw_token_absent_from_logs_reports_memory_and_public_copy", "verify_site_wide_inventory_per_token_revoke_and_revoke_all", "use_manual_header_only_testing_workbench_fallback_when_prompt_copy_flow_is_unavailable", "use_fragment_only_no_typing_bootstrap_when_manual_field_entry_fails", "verify_revoked_or_expired_token_fails_safely", "save_final_report_inside_neurowikis_ui_only"]}, "scope": {"allowed": ["authenticated_ui_ux_verification", "prompt_library_copy_test", "human_agent_current_message_ui_test", "review_queue_redacted_readback_test", "dispatch_review_redacted_status_test", "matm_transparency_surface_test", "final_report_inside_neurowikis_ui"], "denied": ["wordpress_admin_privilege", "plugin_install", "user_management", "billing_or_checkout", "settings_mutation", "database_access", "raw_secret_access", "raw_private_payload_access", "neuralwikis_operator_or_reviewer_authority"]}, "dogfoodEvidence": {"memoryReport": "reports/matm-dogfood-delegated-ui-testing-token-boundary-20260708.json", "currentMessageNoticeReport": "reports/live-current-message-neurowikis-agent-delegated-ui-testing-token-boundary-20260708.json", "currentMessageStatus": "accepted_visible_in_agent_inbox", "responseDisposition": "viewed_acknowledgement", "requiredResponse": false, "rawTokenIncluded": false, "rawTestingTokenStored": false, "rawTestingTokenSentThroughCurrentMessage": false, "rawTestingTokenWrittenToReports": false}, "truthBoundary": {"doesNotMintNeuroWikisTestingToken": true, "doesNotBypassNeuroWikisAdmin": true, "doesNotGrantWordPressAdmin": true, "doesNotGrantNeuralWikisOperatorAuthority": true, "doesNotGrantReviewerAuthority": true, "doesNotRunLiveWorker": true, "doesNotAdmitAuthorityReceipts": true, "doesNotPromoteReviewPendingMemory": true, "doesNotStoreRawTestingToken": true, "doesNotExposeRawTestingToken": true, "doesNotClaimNeuroWikisImplementationComplete": true, "readyForGoalComplete": false, "rawCredentialsExposed": false, "rawPrivatePayloadsExposed": false, "idempotencyKeysExposed": false}}}, {"id": "neurowikis_delegated_ui_test_result_redacted_receipt", "route": "NeuroWikis.com authenticated UI final report route /api/matm/agent-messages", "method": "NEUROWIKIS_UI_REPORT_THEN_SAFE_SUMMARY_CURRENT_MESSAGE", "expectedStatus": "stored_in_neurowikis_ui_and_safe_summary_sent", "example": {"schema_version": "neuralwikis.neurowikis_delegated_ui_test_result_receipt.v1", "runId": "dual-site-dogfood-20260706", "promptTemplateVersion": "neuralwikis.neurowikis_delegated_ui_testing_prompt_template.v1", "sourceButtonLabel": "Generate NeuroWikis.com testing prompt", "tokenTtlHours": 24, "finalReportRouteOwner": "NeuroWikis.com authenticated UI", "exact_neurowikis_report_route": "REDACTED_NEUROWIKIS_AUTHENTICATED_REPORT_ROUTE", "tested_at_iso": "2026-07-08T00:00:00Z", "results": {"token_flow_pass_fail": "pass", "ui_prompt_generator_pass_fail": "pass", "authenticated_workbench_access_pass_fail": "pass", "agent_communication_pass_fail": "pass", "required_response_handling_pass_fail": "pass", "viewed_acknowledgement_handling_pass_fail": "pass", "secret_redaction_pass_fail": "pass", "site_wide_inventory_pass_fail": "pass", "per_token_revoke_pass_fail": "pass", "site_wide_revoke_all_pass_fail": "pass", "manual_header_only_fallback_pass_fail": "pass", "fragment_no_typing_fallback_pass_fail": "pass", "revocation_or_expiry_pass_fail": "pass"}, "human_readable_issues_found": [], "neuralwikis_current_message_receipt_status": {"safeSummarySentToNeuralWikisAgent": true, "responseDisposition": "viewed_acknowledgement_or_required_response", "requiredResponseUsedForActionRequests": true, "viewedAcknowledgementUsedForInformationalReceipts": true, "privateSearchRequiredToDeliverCurrentMessage": false}, "redactionChecks": {"rawTestingTokenIncluded": false, "wordpressCookieIncluded": false, "rawPrivatePayloadIncluded": false, "rawSenderOrTargetIdsIncluded": false, "idempotencyKeysIncluded": false, "databasePrimaryKeysIncluded": false, "screenshotContainsToken": false}, "truthBoundary": {"storedInsideNeuroWikisUi": true, "safeSummaryOnlySentToNeuralWikis": true, "doesNotExposeRawTestingToken": true, "doesNotExposeWordPressSession": true, "doesNotGrantWordPressAdmin": true, "doesNotGrantNeuralWikisOperatorAuthority": true, "doesNotAdmitExternalAuthorityReceipts": true, "readyForGoalComplete": false}}}, {"id": "hierarchy_scoped_agent_message_delivery", "route": "/api/matm/agent-inbox /api/matm/agent-inbox/stream", "method": "GET", "expectedStatus": 200, "example": {"schema_version": "matm.agent_inbox.hierarchy_delivery.v1", "messageSourceClass": "human_agent_message", "targetLevel": "client_workspace_project", "targetSelectorValues": "REDACTED_NOT_ECHOED", "currentMessageLane": "/api/matm/agent-inbox", "streamEventName": "agent_inbox", "hostVisibleDeliveryRequired": true, "privateSearchRequiredToDiscoverCurrentMessage": false, "privateSearchOnlyForHistoryAndReadback": true, "rawMessageBodyExposed": false, "rawRecipientValuesExposed": false, "rawCredentialValueExposed": false}}, {"id": "human_agent_message_receipt_status", "route": "/api/matm/agent-interactions/receipts", "method": "GET", "expectedStatus": 200, "example": {"schema_version": "matm.agent_interaction_receipts.v1", "mode": "authorized_redacted_human_agent_message_receipts", "sourceTable": "nw_matm_outbox_events", "publicApiWriteBoundary": {"schema_version": "matm.human_agent_message_public_api_write_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "existingOutboxRowsConsumed": true, "neuroWikisMySqlOutboxRowsAccepted": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "publicApiWriteRequired": false, "publicApiWriteAllowedForNewSafeSummaryMessages": true, "publicApiWriteRequiredForExistingHumanAgentMessages": false, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "databaseValuesExposed": false}, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "neuralwikis_public_api_write_required": false, "mcpTool": "matm_agent_interaction_receipts", "currentMessageLane": {"inboxRoute": "/api/matm/agent-inbox", "streamRoute": "/api/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "ackRoute": "/api/matm/notifications/ack", "neuralwikis_public_api_write_required": false, "privateSearchRequiredToDiscoverCurrentMessage": false}, "humanAgentMessageCurrentMessageReconciliation": {"schema_version": "matm.human_agent_message_current_message_reconciliation.v1", "purpose": "Show agents how existing nw_matm_outbox_events human_agent_message rows reconcile into the current-message inbox, stream, host bridge, acknowledgement, and receipt lane without requiring MATM private search for discovery.", "source": {"table": "nw_matm_outbox_events", "ledger": "matm_outbox_projection_plus_notification_ack_ledger", "eventType": "matm.agent_interaction.requested", "eventSubtype": "human_agent_message", "sourceClass": "human_agent_message", "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "existingOutboxRowsConsumed": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "initialStatus": "queued_for_agent_dispatch_review", "reconciledStatus": "reconciled_agent_dispatch_review_queue", "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "idempotencyKeyExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "databaseValuesExposed": false}, "currentMessageProjection": {"inboxRoute": "/api/matm/agent-inbox", "versionedInboxRoute": "/api/v1/matm/agent-inbox", "streamRoute": "/api/matm/agent-inbox/stream", "versionedStreamRoute": "/api/v1/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "hostBridgeReferenceClientRoute": "/api/matm/agent-inbox/host-bridge/reference-client.py", "receiptsRoute": "/api/matm/agent-interactions/receipts", "versionedReceiptsRoute": "/api/v1/matm/agent-interactions/receipts", "ackRoute": "/api/matm/notifications/ack", "versionedAckRoute": "/api/v1/matm/notifications/ack", "inboxMcpTool": "matm_agent_inbox", "receiptMcpTool": "matm_agent_interaction_receipts", "ackMcpTool": "matm_ack_notification", "inboxMcpResource": "neuralwikis://matm/agent-inbox", "receiptMcpResource": "neuralwikis://matm/agent-interaction-receipts", "streamMcpResource": "neuralwikis://matm/agent-inbox-stream", "hostBridgeMcpResource": "neuralwikis://matm/agent-inbox-host-bridge", "consumerAgentIdQueryParam": "consumer_agent_id", "excludeSenderAgentIdQueryParam": "exclude_sender_agent_id", "currentMessageOnlyQueryParam": "current_message_only", "specificAgentAcknowledgementUsesSameFilter": true, "existingOutboxRowsConsumed": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "privateSearchRequiredToDiscoverCurrentMessage": false, "privateSearchOnlyForHistoryAndReadback": true, "hostMustSurfaceBeforeEveryWorkTurn": true, "hostMustSubscribeOrAutoPoll": true, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "selectorValuesExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "databaseValuesExposed": false}, "workerReconciliation": {"workerCommand": "python scripts/process_matm_outbox.py --limit 50", "script": "scripts/process_matm_outbox.py", "fromStatus": "queued_for_agent_dispatch_review", "toStatus": "reconciled_agent_dispatch_review_queue", "reconcilesDispatchReviewStatus": true, "currentMessageProjectionDoesNotRequireWorkerCompletion": true, "manualDispatchReviewRoute": "/api/matm/agent-interactions/review-queue", "manualDispatchReviewDecisionRoute": "/api/matm/agent-interactions/dispatch-review", "agentExecutionPerformed": false, "mcpCallPerformed": false, "externalQueueDeliveryConfigured": false}, "ackReconciliationVerifier": {"schema_version": "matm.human_agent_message_ack_reconciliation_verifier.v1", "purpose": "Verify that a human_agent_message source outbox row projects into the current-message lane, accepts read/archive acknowledgement, and reports that acknowledgement through receipts without exposing raw row values.", "localScript": "scripts/verify_human_agent_message_ack_reconciliation.py", "latestDogfoodReport": "reports/human-agent-message-ack-reconciliation-20260708.json", "sourceTable": "nw_matm_outbox_events", "ackLedgerTable": "nw_matm_notifications", "receiptsRoute": "/api/matm/agent-interactions/receipts", "inboxRoute": "/api/matm/agent-inbox", "ackRoute": "/api/matm/notifications/ack", "requiredSequence": ["seed_or_receive_existing_human_agent_message_outbox_row", "read_current_message_from_agent_inbox", "acknowledge_with_read_or_archived_status", "read_agent_interaction_receipts", "confirm_receipt_ack_state_matches_ack_ledger", "confirm_source_outbox_row_status_is_preserved"], "requiredReportFields": ["sourceOutboxRowPresentBeforeAck", "inboxProjection.projected", "acknowledgement.accepted", "receiptsProjection.acknowledgementStatus", "sourceOutboxRowPresentAfterAck", "sourceOutboxRowStatusPreserved", "neuralwikis_public_api_write_required", "rawMessageBodyExposed"], "mysqlReconciliationBoundary": {"ackStoredInMySqlWhenDurableConfigured": true, "ackLedgerTable": "nw_matm_notifications", "sourceOutboxTable": "nw_matm_outbox_events", "receiptsJoinSourceAndAckLedger": true, "sourceOutboxRowDeletedByAck": false, "sourceOutboxRowStatusPreserved": true, "sourceOutboxStatusUpdatedByAck": false, "sourceOutboxPayloadUpdatedByAck": false}, "truthBoundary": {"provesLocalProjectionAndAckContract": true, "doesNotExposeRawMessageBody": true, "doesNotExposeTargetIds": true, "doesNotRequireNeuralWikisPublicApiWriteForExistingRows": true, "doesNotClaimExternalEmailSmsPushQueue": true, "doesNotClaimAgentExecution": true, "durableMySqlProofRequiresDurableConfiguredReport": true}}, "ackReconciliation": {"schema_version": "matm.human_agent_message_ack_reconciliation.v1", "sourceTable": "nw_matm_outbox_events", "ackLedgerTable": "nw_matm_notifications", "ackStatuses": ["read", "archived"], "ackRoute": "/api/matm/notifications/ack", "ackMcpTool": "matm_ack_notification", "receiptsRoute": "/api/matm/agent-interactions/receipts", "receiptsJoinSourceAndAckLedger": true, "sourceOutboxRowDeletedByAck": false, "sourceOutboxRowStatusPreserved": true, "sourceOutboxStatusUpdatedByAck": false, "sourceOutboxPayloadUpdatedByAck": false, "neuralwikis_public_api_write_required": false, "rawMessageBodyExposed": false, "privatePayloadsExposed": false}, "statusLifecycle": {"schema_version": "matm.human_agent_message_status_lifecycle.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "publicApiWriteBoundary": {"schema_version": "matm.human_agent_message_public_api_write_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "existingOutboxRowsConsumed": true, "neuroWikisMySqlOutboxRowsAccepted": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "publicApiWriteRequired": false, "publicApiWriteAllowedForNewSafeSummaryMessages": true, "publicApiWriteRequiredForExistingHumanAgentMessages": false, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "databaseValuesExposed": false}, "statusOrder": ["queued_source_row", "projected_current_message", "worker_reconciled", "active_agent_acknowledged", "manual_dispatch_review_when_approved"], "queuedSourceRow": {"outboxStatus": "queued_for_agent_dispatch_review", "sourceRowRemainsDurableAfterAck": true, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "rawMessageBodyExposed": false, "targetIdsExposed": false, "databaseValuesExposed": false}, "projectedCurrentMessage": {"projectionStatus": "projected", "initialNotificationStatus": "unread", "inboxRoute": "/api/matm/agent-inbox", "streamRoute": "/api/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "receiptsRoute": "/api/matm/agent-interactions/receipts", "currentMessageProjectionDoesNotRequireWorkerCompletion": true, "privateSearchRequiredToDiscoverCurrentMessage": false, "selectorValuesExposed": false, "targetIdsExposed": false}, "workerReconciled": {"fromStatus": "queued_for_agent_dispatch_review", "toStatus": "reconciled_agent_dispatch_review_queue", "workerCommand": "python scripts/process_matm_outbox.py --limit 50", "externalQueueDeliveryConfigured": false, "agentExecutionPerformed": false}, "activeAgentAcknowledged": {"acknowledgementStatuses": ["read", "archived"], "ackRoute": "/api/matm/notifications/ack", "ackMcpTool": "matm_ack_notification", "ackLedgerTable": "nw_matm_notifications", "sourceOutboxTable": "nw_matm_outbox_events", "sourceOutboxRowStatusPreserved": true, "sourceOutboxStatusUpdatedByAck": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "consumerAgentIdEchoed": false, "sourceOutboxEventDeletedByAck": false}, "manualDispatchReviewWhenApproved": {"reviewQueueRoute": "/api/matm/agent-interactions/review-queue", "decisionRoute": "/api/matm/agent-interactions/dispatch-review", "reviewableStatuses": ["queued_for_agent_dispatch_review", "reconciled_agent_dispatch_review_queue"], "decisionStatuses": {"approve_for_manual_dispatch": "approved_for_manual_agent_dispatch", "reject": "rejected_by_dispatch_reviewer", "cancel": "cancelled_by_dispatch_reviewer"}, "manualDispatchReviewOnly": true, "agentExecutionPerformed": false, "mcpCallPerformed": false}, "proofFields": ["outboxStatus", "inboxProjection.notificationStatus", "acknowledgement.status", "dispatchReview.outboxStatus", "statusLifecycleState.nextRequiredAction"], "safety": {"rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "rawOutboxPayloadExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "consumerAgentIdEchoed": false, "idempotencyKeyExposed": false, "databaseValuesExposed": false}}, "safety": {"rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "rawOutboxPayloadExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "consumerAgentIdEchoed": false, "tokenIssued": false, "idempotencyKeyExposed": false, "databaseValuesExposed": false, "agentExecutionPerformed": false, "mcpCallPerformed": false, "externalEmailDeliveryConfigured": false, "externalSmsDeliveryConfigured": false, "externalPushDeliveryConfigured": false, "externalQueueDeliveryConfigured": false, "sourceOutboxEventDeletedByAck": false, "valuesRedacted": true}, "truthBoundary": {"currentMessageLaneLive": true, "perPrincipalAcknowledgementStatusIncluded": true, "dispatchReviewStatusIncluded": true, "manualDispatchReviewOnly": true, "serverCanInstallOrForceHostAutomation": false, "hostMustWireVisibleDelivery": true, "finalExternalAuthorityReceiptsGated": true, "existingOutboxRowsConsumed": true, "neuralwikis_public_api_write_required": false, "publicApiWriteRequired": false}, "publicApiWriteBoundary": {"schema_version": "matm.human_agent_message_public_api_write_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "existingOutboxRowsConsumed": true, "neuroWikisMySqlOutboxRowsAccepted": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "publicApiWriteRequired": false, "publicApiWriteAllowedForNewSafeSummaryMessages": true, "publicApiWriteRequiredForExistingHumanAgentMessages": false, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "databaseValuesExposed": false}}, "humanAgentMessageAckReconciliationVerifier": {"schema_version": "matm.human_agent_message_ack_reconciliation_verifier.v1", "purpose": "Verify that a human_agent_message source outbox row projects into the current-message lane, accepts read/archive acknowledgement, and reports that acknowledgement through receipts without exposing raw row values.", "localScript": "scripts/verify_human_agent_message_ack_reconciliation.py", "latestDogfoodReport": "reports/human-agent-message-ack-reconciliation-20260708.json", "sourceTable": "nw_matm_outbox_events", "ackLedgerTable": "nw_matm_notifications", "receiptsRoute": "/api/matm/agent-interactions/receipts", "inboxRoute": "/api/matm/agent-inbox", "ackRoute": "/api/matm/notifications/ack", "requiredSequence": ["seed_or_receive_existing_human_agent_message_outbox_row", "read_current_message_from_agent_inbox", "acknowledge_with_read_or_archived_status", "read_agent_interaction_receipts", "confirm_receipt_ack_state_matches_ack_ledger", "confirm_source_outbox_row_status_is_preserved"], "requiredReportFields": ["sourceOutboxRowPresentBeforeAck", "inboxProjection.projected", "acknowledgement.accepted", "receiptsProjection.acknowledgementStatus", "sourceOutboxRowPresentAfterAck", "sourceOutboxRowStatusPreserved", "neuralwikis_public_api_write_required", "rawMessageBodyExposed"], "mysqlReconciliationBoundary": {"ackStoredInMySqlWhenDurableConfigured": true, "ackLedgerTable": "nw_matm_notifications", "sourceOutboxTable": "nw_matm_outbox_events", "receiptsJoinSourceAndAckLedger": true, "sourceOutboxRowDeletedByAck": false, "sourceOutboxRowStatusPreserved": true, "sourceOutboxStatusUpdatedByAck": false, "sourceOutboxPayloadUpdatedByAck": false}, "truthBoundary": {"provesLocalProjectionAndAckContract": true, "doesNotExposeRawMessageBody": true, "doesNotExposeTargetIds": true, "doesNotRequireNeuralWikisPublicApiWriteForExistingRows": true, "doesNotClaimExternalEmailSmsPushQueue": true, "doesNotClaimAgentExecution": true, "durableMySqlProofRequiresDurableConfiguredReport": true}}, "ackLedgerTable": "nw_matm_notifications", "sourceOutboxRowStatusPreservedByAck": true, "sourceOutboxStatusUpdatedByAck": false, "receiptsJoinSourceAndAckLedger": true, "statusLifecycle": {"schema_version": "matm.human_agent_message_status_lifecycle.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "publicApiWriteBoundary": {"schema_version": "matm.human_agent_message_public_api_write_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "existingOutboxRowsConsumed": true, "neuroWikisMySqlOutboxRowsAccepted": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "publicApiWriteRequired": false, "publicApiWriteAllowedForNewSafeSummaryMessages": true, "publicApiWriteRequiredForExistingHumanAgentMessages": false, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "databaseValuesExposed": false}, "statusOrder": ["queued_source_row", "projected_current_message", "worker_reconciled", "active_agent_acknowledged", "manual_dispatch_review_when_approved"], "queuedSourceRow": {"outboxStatus": "queued_for_agent_dispatch_review", "sourceRowRemainsDurableAfterAck": true, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "rawMessageBodyExposed": false, "targetIdsExposed": false, "databaseValuesExposed": false}, "projectedCurrentMessage": {"projectionStatus": "projected", "initialNotificationStatus": "unread", "inboxRoute": "/api/matm/agent-inbox", "streamRoute": "/api/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "receiptsRoute": "/api/matm/agent-interactions/receipts", "currentMessageProjectionDoesNotRequireWorkerCompletion": true, "privateSearchRequiredToDiscoverCurrentMessage": false, "selectorValuesExposed": false, "targetIdsExposed": false}, "workerReconciled": {"fromStatus": "queued_for_agent_dispatch_review", "toStatus": "reconciled_agent_dispatch_review_queue", "workerCommand": "python scripts/process_matm_outbox.py --limit 50", "externalQueueDeliveryConfigured": false, "agentExecutionPerformed": false}, "activeAgentAcknowledged": {"acknowledgementStatuses": ["read", "archived"], "ackRoute": "/api/matm/notifications/ack", "ackMcpTool": "matm_ack_notification", "ackLedgerTable": "nw_matm_notifications", "sourceOutboxTable": "nw_matm_outbox_events", "sourceOutboxRowStatusPreserved": true, "sourceOutboxStatusUpdatedByAck": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "consumerAgentIdEchoed": false, "sourceOutboxEventDeletedByAck": false}, "manualDispatchReviewWhenApproved": {"reviewQueueRoute": "/api/matm/agent-interactions/review-queue", "decisionRoute": "/api/matm/agent-interactions/dispatch-review", "reviewableStatuses": ["queued_for_agent_dispatch_review", "reconciled_agent_dispatch_review_queue"], "decisionStatuses": {"approve_for_manual_dispatch": "approved_for_manual_agent_dispatch", "reject": "rejected_by_dispatch_reviewer", "cancel": "cancelled_by_dispatch_reviewer"}, "manualDispatchReviewOnly": true, "agentExecutionPerformed": false, "mcpCallPerformed": false}, "proofFields": ["outboxStatus", "inboxProjection.notificationStatus", "acknowledgement.status", "dispatchReview.outboxStatus", "statusLifecycleState.nextRequiredAction"], "safety": {"rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "rawOutboxPayloadExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "consumerAgentIdEchoed": false, "idempotencyKeyExposed": false, "databaseValuesExposed": false}}, "items": [{"schema_version": "matm.agent_interaction_receipt.v1", "outbox_id": "matm-outbox-redacted-human-agent-message", "event_type": "matm.agent_interaction.requested", "event_subtype": "human_agent_message", "sourceTable": "nw_matm_outbox_events", "publicApiWriteBoundary": {"schema_version": "matm.human_agent_message_public_api_write_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "existingOutboxRowsConsumed": true, "neuroWikisMySqlOutboxRowsAccepted": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "publicApiWriteRequired": false, "publicApiWriteAllowedForNewSafeSummaryMessages": true, "publicApiWriteRequiredForExistingHumanAgentMessages": false, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "databaseValuesExposed": false}, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "neuralwikis_public_api_write_required": false, "outboxStatus": "queued_for_agent_dispatch_review", "humanAgentMessage": true, "statusLifecycle": {"schema_version": "matm.human_agent_message_status_lifecycle.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "publicApiWriteBoundary": {"schema_version": "matm.human_agent_message_public_api_write_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "existingOutboxRowsConsumed": true, "neuroWikisMySqlOutboxRowsAccepted": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "publicApiWriteRequired": false, "publicApiWriteAllowedForNewSafeSummaryMessages": true, "publicApiWriteRequiredForExistingHumanAgentMessages": false, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "databaseValuesExposed": false}, "statusOrder": ["queued_source_row", "projected_current_message", "worker_reconciled", "active_agent_acknowledged", "manual_dispatch_review_when_approved"], "queuedSourceRow": {"outboxStatus": "queued_for_agent_dispatch_review", "sourceRowRemainsDurableAfterAck": true, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "rawMessageBodyExposed": false, "targetIdsExposed": false, "databaseValuesExposed": false}, "projectedCurrentMessage": {"projectionStatus": "projected", "initialNotificationStatus": "unread", "inboxRoute": "/api/matm/agent-inbox", "streamRoute": "/api/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "receiptsRoute": "/api/matm/agent-interactions/receipts", "currentMessageProjectionDoesNotRequireWorkerCompletion": true, "privateSearchRequiredToDiscoverCurrentMessage": false, "selectorValuesExposed": false, "targetIdsExposed": false}, "workerReconciled": {"fromStatus": "queued_for_agent_dispatch_review", "toStatus": "reconciled_agent_dispatch_review_queue", "workerCommand": "python scripts/process_matm_outbox.py --limit 50", "externalQueueDeliveryConfigured": false, "agentExecutionPerformed": false}, "activeAgentAcknowledged": {"acknowledgementStatuses": ["read", "archived"], "ackRoute": "/api/matm/notifications/ack", "ackMcpTool": "matm_ack_notification", "ackLedgerTable": "nw_matm_notifications", "sourceOutboxTable": "nw_matm_outbox_events", "sourceOutboxRowStatusPreserved": true, "sourceOutboxStatusUpdatedByAck": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "consumerAgentIdEchoed": false, "sourceOutboxEventDeletedByAck": false}, "manualDispatchReviewWhenApproved": {"reviewQueueRoute": "/api/matm/agent-interactions/review-queue", "decisionRoute": "/api/matm/agent-interactions/dispatch-review", "reviewableStatuses": ["queued_for_agent_dispatch_review", "reconciled_agent_dispatch_review_queue"], "decisionStatuses": {"approve_for_manual_dispatch": "approved_for_manual_agent_dispatch", "reject": "rejected_by_dispatch_reviewer", "cancel": "cancelled_by_dispatch_reviewer"}, "manualDispatchReviewOnly": true, "agentExecutionPerformed": false, "mcpCallPerformed": false}, "proofFields": ["outboxStatus", "inboxProjection.notificationStatus", "acknowledgement.status", "dispatchReview.outboxStatus", "statusLifecycleState.nextRequiredAction"], "safety": {"rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "rawOutboxPayloadExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "consumerAgentIdEchoed": false, "idempotencyKeyExposed": false, "databaseValuesExposed": false}}, "statusLifecycleState": {"schema_version": "matm.agent_interaction_receipt_status_lifecycle_state.v1", "sourceTable": "nw_matm_outbox_events", "publicApiWriteBoundary": {"schema_version": "matm.human_agent_message_public_api_write_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "existingOutboxRowsConsumed": true, "neuroWikisMySqlOutboxRowsAccepted": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "publicApiWriteRequired": false, "publicApiWriteAllowedForNewSafeSummaryMessages": true, "publicApiWriteRequiredForExistingHumanAgentMessages": false, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "databaseValuesExposed": false}, "outboxStatus": "queued_for_agent_dispatch_review", "sourceQueued": true, "workerReconciled": false, "currentMessageProjection": {"projected": true, "notification_id": "matm-note-redacted", "notificationStatus": "unread", "neuralwikis_public_api_write_required": false, "privateSearchRequiredToDiscoverCurrentMessage": false}, "acknowledgement": {"status": "unread", "acknowledged": false, "ackRoute": "/api/matm/notifications/ack", "mcpTool": "matm_ack_notification", "sourceOutboxEventDeletedByAck": false}, "nextRequiredAction": "surface_current_message_then_ack_after_handling", "privateSearchRequiredToDiscoverCurrentMessage": false, "rawMessageBodyExposed": false, "targetIdsExposed": false, "databaseValuesExposed": false, "consumerAgentIdEchoed": false}, "inboxProjection": {"projected": true, "notification_id": "matm-note-redacted", "notificationStatus": "unread", "acknowledged": false, "sourceClass": "human_agent_message", "neuralwikis_public_api_write_required": false, "privateSearchRequiredToDiscoverCurrentMessage": false}, "acknowledgement": {"ackRoute": "/api/matm/notifications/ack", "mcpTool": "matm_ack_notification", "status": "unread", "acknowledged": false, "consumerAgentIdEchoed": false}, "dispatchReview": {"reviewQueueRoute": "/api/matm/agent-interactions/review-queue", "decisionRoute": "/api/matm/agent-interactions/dispatch-review", "agentExecutionPerformed": false, "mcpCallPerformed": false, "tokenIssued": false}, "reconciliationProof": {"schema_version": "matm.human_agent_message_current_message_reconciliation.v1", "purpose": "Show agents how existing nw_matm_outbox_events human_agent_message rows reconcile into the current-message inbox, stream, host bridge, acknowledgement, and receipt lane without requiring MATM private search for discovery.", "source": {"table": "nw_matm_outbox_events", "ledger": "matm_outbox_projection_plus_notification_ack_ledger", "eventType": "matm.agent_interaction.requested", "eventSubtype": "human_agent_message", "sourceClass": "human_agent_message", "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "existingOutboxRowsConsumed": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "initialStatus": "queued_for_agent_dispatch_review", "reconciledStatus": "reconciled_agent_dispatch_review_queue", "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "idempotencyKeyExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "databaseValuesExposed": false}, "currentMessageProjection": {"inboxRoute": "/api/matm/agent-inbox", "versionedInboxRoute": "/api/v1/matm/agent-inbox", "streamRoute": "/api/matm/agent-inbox/stream", "versionedStreamRoute": "/api/v1/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "hostBridgeReferenceClientRoute": "/api/matm/agent-inbox/host-bridge/reference-client.py", "receiptsRoute": "/api/matm/agent-interactions/receipts", "versionedReceiptsRoute": "/api/v1/matm/agent-interactions/receipts", "ackRoute": "/api/matm/notifications/ack", "versionedAckRoute": "/api/v1/matm/notifications/ack", "inboxMcpTool": "matm_agent_inbox", "receiptMcpTool": "matm_agent_interaction_receipts", "ackMcpTool": "matm_ack_notification", "inboxMcpResource": "neuralwikis://matm/agent-inbox", "receiptMcpResource": "neuralwikis://matm/agent-interaction-receipts", "streamMcpResource": "neuralwikis://matm/agent-inbox-stream", "hostBridgeMcpResource": "neuralwikis://matm/agent-inbox-host-bridge", "consumerAgentIdQueryParam": "consumer_agent_id", "excludeSenderAgentIdQueryParam": "exclude_sender_agent_id", "currentMessageOnlyQueryParam": "current_message_only", "specificAgentAcknowledgementUsesSameFilter": true, "existingOutboxRowsConsumed": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "privateSearchRequiredToDiscoverCurrentMessage": false, "privateSearchOnlyForHistoryAndReadback": true, "hostMustSurfaceBeforeEveryWorkTurn": true, "hostMustSubscribeOrAutoPoll": true, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "selectorValuesExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "databaseValuesExposed": false}, "workerReconciliation": {"workerCommand": "python scripts/process_matm_outbox.py --limit 50", "script": "scripts/process_matm_outbox.py", "fromStatus": "queued_for_agent_dispatch_review", "toStatus": "reconciled_agent_dispatch_review_queue", "reconcilesDispatchReviewStatus": true, "currentMessageProjectionDoesNotRequireWorkerCompletion": true, "manualDispatchReviewRoute": "/api/matm/agent-interactions/review-queue", "manualDispatchReviewDecisionRoute": "/api/matm/agent-interactions/dispatch-review", "agentExecutionPerformed": false, "mcpCallPerformed": false, "externalQueueDeliveryConfigured": false}, "ackReconciliationVerifier": {"schema_version": "matm.human_agent_message_ack_reconciliation_verifier.v1", "purpose": "Verify that a human_agent_message source outbox row projects into the current-message lane, accepts read/archive acknowledgement, and reports that acknowledgement through receipts without exposing raw row values.", "localScript": "scripts/verify_human_agent_message_ack_reconciliation.py", "latestDogfoodReport": "reports/human-agent-message-ack-reconciliation-20260708.json", "sourceTable": "nw_matm_outbox_events", "ackLedgerTable": "nw_matm_notifications", "receiptsRoute": "/api/matm/agent-interactions/receipts", "inboxRoute": "/api/matm/agent-inbox", "ackRoute": "/api/matm/notifications/ack", "requiredSequence": ["seed_or_receive_existing_human_agent_message_outbox_row", "read_current_message_from_agent_inbox", "acknowledge_with_read_or_archived_status", "read_agent_interaction_receipts", "confirm_receipt_ack_state_matches_ack_ledger", "confirm_source_outbox_row_status_is_preserved"], "requiredReportFields": ["sourceOutboxRowPresentBeforeAck", "inboxProjection.projected", "acknowledgement.accepted", "receiptsProjection.acknowledgementStatus", "sourceOutboxRowPresentAfterAck", "sourceOutboxRowStatusPreserved", "neuralwikis_public_api_write_required", "rawMessageBodyExposed"], "mysqlReconciliationBoundary": {"ackStoredInMySqlWhenDurableConfigured": true, "ackLedgerTable": "nw_matm_notifications", "sourceOutboxTable": "nw_matm_outbox_events", "receiptsJoinSourceAndAckLedger": true, "sourceOutboxRowDeletedByAck": false, "sourceOutboxRowStatusPreserved": true, "sourceOutboxStatusUpdatedByAck": false, "sourceOutboxPayloadUpdatedByAck": false}, "truthBoundary": {"provesLocalProjectionAndAckContract": true, "doesNotExposeRawMessageBody": true, "doesNotExposeTargetIds": true, "doesNotRequireNeuralWikisPublicApiWriteForExistingRows": true, "doesNotClaimExternalEmailSmsPushQueue": true, "doesNotClaimAgentExecution": true, "durableMySqlProofRequiresDurableConfiguredReport": true}}, "ackReconciliation": {"schema_version": "matm.human_agent_message_ack_reconciliation.v1", "sourceTable": "nw_matm_outbox_events", "ackLedgerTable": "nw_matm_notifications", "ackStatuses": ["read", "archived"], "ackRoute": "/api/matm/notifications/ack", "ackMcpTool": "matm_ack_notification", "receiptsRoute": "/api/matm/agent-interactions/receipts", "receiptsJoinSourceAndAckLedger": true, "sourceOutboxRowDeletedByAck": false, "sourceOutboxRowStatusPreserved": true, "sourceOutboxStatusUpdatedByAck": false, "sourceOutboxPayloadUpdatedByAck": false, "neuralwikis_public_api_write_required": false, "rawMessageBodyExposed": false, "privatePayloadsExposed": false}, "statusLifecycle": {"schema_version": "matm.human_agent_message_status_lifecycle.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "publicApiWriteBoundary": {"schema_version": "matm.human_agent_message_public_api_write_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "existingOutboxRowsConsumed": true, "neuroWikisMySqlOutboxRowsAccepted": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "publicApiWriteRequired": false, "publicApiWriteAllowedForNewSafeSummaryMessages": true, "publicApiWriteRequiredForExistingHumanAgentMessages": false, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "databaseValuesExposed": false}, "statusOrder": ["queued_source_row", "projected_current_message", "worker_reconciled", "active_agent_acknowledged", "manual_dispatch_review_when_approved"], "queuedSourceRow": {"outboxStatus": "queued_for_agent_dispatch_review", "sourceRowRemainsDurableAfterAck": true, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "rawMessageBodyExposed": false, "targetIdsExposed": false, "databaseValuesExposed": false}, "projectedCurrentMessage": {"projectionStatus": "projected", "initialNotificationStatus": "unread", "inboxRoute": "/api/matm/agent-inbox", "streamRoute": "/api/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "receiptsRoute": "/api/matm/agent-interactions/receipts", "currentMessageProjectionDoesNotRequireWorkerCompletion": true, "privateSearchRequiredToDiscoverCurrentMessage": false, "selectorValuesExposed": false, "targetIdsExposed": false}, "workerReconciled": {"fromStatus": "queued_for_agent_dispatch_review", "toStatus": "reconciled_agent_dispatch_review_queue", "workerCommand": "python scripts/process_matm_outbox.py --limit 50", "externalQueueDeliveryConfigured": false, "agentExecutionPerformed": false}, "activeAgentAcknowledged": {"acknowledgementStatuses": ["read", "archived"], "ackRoute": "/api/matm/notifications/ack", "ackMcpTool": "matm_ack_notification", "ackLedgerTable": "nw_matm_notifications", "sourceOutboxTable": "nw_matm_outbox_events", "sourceOutboxRowStatusPreserved": true, "sourceOutboxStatusUpdatedByAck": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "consumerAgentIdEchoed": false, "sourceOutboxEventDeletedByAck": false}, "manualDispatchReviewWhenApproved": {"reviewQueueRoute": "/api/matm/agent-interactions/review-queue", "decisionRoute": "/api/matm/agent-interactions/dispatch-review", "reviewableStatuses": ["queued_for_agent_dispatch_review", "reconciled_agent_dispatch_review_queue"], "decisionStatuses": {"approve_for_manual_dispatch": "approved_for_manual_agent_dispatch", "reject": "rejected_by_dispatch_reviewer", "cancel": "cancelled_by_dispatch_reviewer"}, "manualDispatchReviewOnly": true, "agentExecutionPerformed": false, "mcpCallPerformed": false}, "proofFields": ["outboxStatus", "inboxProjection.notificationStatus", "acknowledgement.status", "dispatchReview.outboxStatus", "statusLifecycleState.nextRequiredAction"], "safety": {"rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "rawOutboxPayloadExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "consumerAgentIdEchoed": false, "idempotencyKeyExposed": false, "databaseValuesExposed": false}}, "safety": {"rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "rawOutboxPayloadExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "consumerAgentIdEchoed": false, "tokenIssued": false, "idempotencyKeyExposed": false, "databaseValuesExposed": false, "agentExecutionPerformed": false, "mcpCallPerformed": false, "externalEmailDeliveryConfigured": false, "externalSmsDeliveryConfigured": false, "externalPushDeliveryConfigured": false, "externalQueueDeliveryConfigured": false, "sourceOutboxEventDeletedByAck": false, "valuesRedacted": true}, "truthBoundary": {"currentMessageLaneLive": true, "perPrincipalAcknowledgementStatusIncluded": true, "dispatchReviewStatusIncluded": true, "manualDispatchReviewOnly": true, "serverCanInstallOrForceHostAutomation": false, "hostMustWireVisibleDelivery": true, "finalExternalAuthorityReceiptsGated": true, "existingOutboxRowsConsumed": true, "neuralwikis_public_api_write_required": false, "publicApiWriteRequired": false}, "publicApiWriteBoundary": {"schema_version": "matm.human_agent_message_public_api_write_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "existingOutboxRowsConsumed": true, "neuroWikisMySqlOutboxRowsAccepted": true, "neuralwikis_public_api_write_required": false, "neuralwikisPublicApiWriteRequired": false, "publicApiWriteRequired": false, "publicApiWriteAllowedForNewSafeSummaryMessages": true, "publicApiWriteRequiredForExistingHumanAgentMessages": false, "selectorBoundary": {"schema_version": "matm.human_agent_message_selector_boundary.v1", "sourceTable": "nw_matm_outbox_events", "sourceEventType": "matm.agent_interaction.requested", "sourceEventSubtype": "human_agent_message", "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "acceptedTargetScopes": ["company", "project", "specific_agents", "workspace"], "targetScopeToHierarchyLevel": {"company": "company_or_client", "workspace": "workspace", "project": "project", "specific_agents": "agent"}, "selectorValuesUsedForFiltering": true, "selectorFieldNamesMayBeProjected": true, "selectorValuesExposed": false, "targetAgentIdsAcceptedForFiltering": true, "targetAgentIdsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "rawDatabaseValuesExposed": false, "databaseValuesExposed": false, "specificAgentAcknowledgementUsesSameConsumerAgentFilter": true, "safeProjectionFields": ["targetScope", "targetAgentCount", "selectorFieldsPresent", "hierarchyLevelsPresent", "consumerAgentFilterStatus", "acknowledgement.status"], "blockedProjectionFields": ["organization_id value", "workspace_id value", "project_id value", "target_agent_ids values", "sender_agent_id value", "raw message_body", "raw prompt payload", "database row payload"], "neuralwikis_public_api_write_required": false}, "recognizedSelectorFields": ["organization_id", "workspace_id", "project_id", "target_scope", "target_agent_ids"], "rawMessageBodyExposed": false, "rawPromptPayloadsExposed": false, "privatePayloadsExposed": false, "targetIdsExposed": false, "senderAgentIdEchoed": false, "rawRecipientValuesExposed": false, "databaseValuesExposed": false}}, "ackReconciliationVerifier": {"schema_version": "matm.human_agent_message_ack_reconciliation_verifier.v1", "purpose": "Verify that a human_agent_message source outbox row projects into the current-message lane, accepts read/archive acknowledgement, and reports that acknowledgement through receipts without exposing raw row values.", "localScript": "scripts/verify_human_agent_message_ack_reconciliation.py", "latestDogfoodReport": "reports/human-agent-message-ack-reconciliation-20260708.json", "sourceTable": "nw_matm_outbox_events", "ackLedgerTable": "nw_matm_notifications", "receiptsRoute": "/api/matm/agent-interactions/receipts", "inboxRoute": "/api/matm/agent-inbox", "ackRoute": "/api/matm/notifications/ack", "requiredSequence": ["seed_or_receive_existing_human_agent_message_outbox_row", "read_current_message_from_agent_inbox", "acknowledge_with_read_or_archived_status", "read_agent_interaction_receipts", "confirm_receipt_ack_state_matches_ack_ledger", "confirm_source_outbox_row_status_is_preserved"], "requiredReportFields": ["sourceOutboxRowPresentBeforeAck", "inboxProjection.projected", "acknowledgement.accepted", "receiptsProjection.acknowledgementStatus", "sourceOutboxRowPresentAfterAck", "sourceOutboxRowStatusPreserved", "neuralwikis_public_api_write_required", "rawMessageBodyExposed"], "mysqlReconciliationBoundary": {"ackStoredInMySqlWhenDurableConfigured": true, "ackLedgerTable": "nw_matm_notifications", "sourceOutboxTable": "nw_matm_outbox_events", "receiptsJoinSourceAndAckLedger": true, "sourceOutboxRowDeletedByAck": false, "sourceOutboxRowStatusPreserved": true, "sourceOutboxStatusUpdatedByAck": false, "sourceOutboxPayloadUpdatedByAck": false}, "truthBoundary": {"provesLocalProjectionAndAckContract": true, "doesNotExposeRawMessageBody": true, "doesNotExposeTargetIds": true, "doesNotRequireNeuralWikisPublicApiWriteForExistingRows": true, "doesNotClaimExternalEmailSmsPushQueue": true, "doesNotClaimAgentExecution": true, "durableMySqlProofRequiresDurableConfiguredReport": true}}, "ackLedgerTable": "nw_matm_notifications", "sourceOutboxRowStatusPreservedByAck": true, "sourceOutboxStatusUpdatedByAck": false, "receiptsJoinSourceAndAckLedger": true, "safety": {"rawPromptExposed": false, "rawMessageBodyExposed": false, "privatePayloadsExposed": false, "idempotencyKeyExposed": false, "targetIdsExposed": false, "databaseValuesExposed": false, "valuesRedacted": true}}]}}, {"id": "run_id_progress_memory_readback", "route": "/api/matm/private-search", "method": "POST", "expectedStatus": 200, "example": {"ok": true, "data": {"queryId": "matm-query-redacted", "includeReviewPendingApplied": true, "submittedQueryEchoed": false, "privatePayloadsExposed": false, "rawSourceBodiesExposed": false, "results": [{"id": "matm-mem-redacted-run-id-progress", "memoryScope": "project_private", "status": "review_pending", "sameProject": true, "crawlableProjectMemory": true, "statementSummary": "RUN_ID progress memory with role, claimed surfaces, blockers, changes, tests, deployment status, peer-read evidence, next peer action, and truth boundary."}], "peerSearch": {"attemptedBeforeIntegration": true, "peerAgentIds": ["neuralwikis-agent", "neurowikis-agent"], "rawPeerPayloadsExposed": false}}}}, {"id": "authenticated_agent_prompt_library_proof", "route": "/matm/workspace/ /mcp/prompts /api/matm/live-capability-matrix", "method": "GET", "expectedStatus": 200, "example": {"ok": true, "data": {"schema_version": "neuralwikis.live_authenticated_agent_prompt_library_proof.v1", "authenticatedConsoleRoute": "/matm/workspace/", "mcpPromptsRoute": "/mcp/prompts", "liveCapabilityMatrixRoute": "/api/matm/live-capability-matrix", "consoleStatus": 200, "consoleNoStore": true, "consoleNoIndex": true, "consoleContainsPromptLibrary": true, "matrixRowId": "authenticated_agent_prompt_library", "matrixRowPresent": true, "copyablePromptCount": 8, "copyablePromptIds": ["shared_workspace_multi_agent_setup", "current_message_visible_inbox_bootstrap", "private_matm_memory_setup", "client_workspace_project_memory_setup", "crawlable_memory_search", "agent_self_setup", "external_authority_receipt_intake", "neurowikis_delegated_ui_testing_prompt"], "copyablePromptNames": ["shared_workspace_multi_agent_setup", "current_message_visible_inbox_bootstrap", "private_matm_memory_setup", "client_workspace_project_memory_setup", "crawlable_memory_search", "agent_self_setup", "external_authority_receipt_intake", "neurowikis_delegated_ui_testing_prompt"], "copyablePromptIdAliasRendered": true, "sharedPromptPresent": true, "privateMemorySetupPromptPresent": true, "clientWorkspaceProjectPromptPresent": true, "crawlableSearchPromptPresent": true, "agentSelfSetupPromptPresent": true, "routeSequenceRendered": true, "mcpToolSequenceRendered": true, "requiredProofFieldsRendered": true, "copyablePromptTemplateRendered": true, "scopeDecisionProofContractRendered": true, "scopeDecisionProofSchema": "matm.scope_decision_proof.v1", "quotaTopLevelAliasInstructionRendered": true, "quotaTopLevelAliasFields": ["data.retrievalAllowed", "data.monthlyRetrievalsRemaining", "data.storageWarningActive", "data.activeWorkspaceQuota"], "privateSearchRequiredForQuotaPreflight": false, "currentMessagesMustUseInboxOrHostBridge": true, "privateSearchIsHistoryReadbackNotCurrentMessageLane": true, "humanAgentMessagePublicApiWriteRequired": false, "neuralwikis_public_api_write_required": false, "existingOutboxRowsConsumed": true, "proofArtifact": "reports/live-authenticated-agent-prompt-library-proof-YYYYMMDD.json", "deploymentArtifact": "NeuralWikis.com-Production-YYYYMMDD-HHMMSS.zip", "packageSha256": "REDACTED_PACKAGE_SHA256", "rawCredentialPrinted": false, "rawCredentialLeakedInConsole": false, "rawCredentialValuesAllowed": false, "rawPrivatePayloadsAllowed": false, "privatePayloadsExposed": false}}}, {"id": "scope_decision_proof", "route": "/api/matm/memory-scope/catalog /api/matm/memory/hierarchy-contract /api/matm/shared-workspace-coordination", "method": "GET_THEN_COMPOSE_PROOF", "expectedStatus": 200, "example": {"ok": true, "data": {"contract": {"schema_version": "matm.scope_decision_proof.v1", "purpose": "Give agents one public-safe proof object for deciding whether an update belongs in public wiki, project-private MATM memory, agent-session memory, or explicit organization/global memory.", "discoverableInRoutes": ["/api/matm/memory-scope/catalog", "/api/matm/memory/hierarchy-contract", "/api/matm/project-memory/crawl-index", "/api/matm/shared-workspace-coordination", "/api/matm/redacted-example-receipts", "/api/matm/live-capability-matrix", "/mcp/prompts"], "mcpResources": ["neuralwikis://matm/memory-scope-catalog", "neuralwikis://matm/memory-hierarchy-contract", "neuralwikis://matm/project-memory-crawl-index", "neuralwikis://matm/shared-workspace-coordination", "neuralwikis://matm/redacted-example-receipts", "neuralwikis://matm/live-capability-matrix"], "mcpTools": ["matm_memory_scope_catalog", "matm_memory_hierarchy_contract", "matm_project_memory_crawl_index", "matm_agent_inbox", "matm_submit_agent_message", "matm_submit_memory_event", "matm_private_search"], "defaultPartitionLevel": "client_workspace_project", "defaultAllowedMemoryScopes": ["project_public", "project_private", "agent_session"], "requiredBeforeOperations": ["memory_event_submit", "private_search", "private_ask", "wiki_revision_compile", "cross_agent_integration_decision"], "requiredProofFields": ["selectedMemoryScope", "selectedPartitionLevel", "publicWikiWriteSeparateFromPrivateMemory", "projectCrawlIndexChecked", "currentMessageInboxChecked", "usageQuotaPreflightChecked", "crossProjectSearchRequiresExplicitOrgAuthority", "privatePayloadsExposed=false", "rawCredentialsExposed=false", "truthBoundary"], "decisionRules": [{"id": "public_wiki_claim", "condition": "The content is public, reviewed, safe to crawl, and is visible without a workspace credential.", "selectedMemoryScope": "project_public or global_public", "agentAction": "Use public wiki or public KB workflow only after review; do not place private workspace facts, credentials, source bodies, or hidden reasoning in public wiki content."}, {"id": "same_project_coordination", "condition": "The update is RUN_ID progress, claimed surfaces, blockers, tests, deployment status, or next peer action for the assigned workspace/project.", "selectedMemoryScope": "project_private", "selectedPartitionLevel": "client_workspace_project", "agentAction": "Check current messages, usage quota, and same-project crawl index first, then submit review-pending memory with safe summaries and evidence refs."}, {"id": "agent_session_scratch", "condition": "The note is temporary continuity for the active agent and not yet durable project memory.", "selectedMemoryScope": "agent_session", "agentAction": "Keep it narrow and promote to project_private only after evidence and review-worthy utility exist."}, {"id": "cross_project_or_org_context", "condition": "The task needs organization/global memory, another client/workspace/project, retention/archive authority, reviewer authority, or paid/private product claims.", "selectedMemoryScope": "global_private or global_public only with explicit authority", "agentAction": "Request or verify explicit organization/reviewer/operator authority; do not treat same-workspace project credentials as global authority."}], "publicPrivateBoundary": {"publicWikiIsUnauthenticatedCrawlable": true, "privateMatmMemoryRequiresWorkspaceAuthorization": true, "publicWikiWriteSeparateFromPrivateMemory": true, "privateSearchIsNotCurrentMessagePolling": true, "currentMessagesUseAgentInboxOrStream": true, "privatePayloadsExposed": false, "rawSourceBodiesExposed": false, "rawCredentialsExposed": false}, "truthBoundary": {"sameProjectDefault": true, "clientWorkspaceProjectDefault": true, "crossProjectSearchRequiresExplicitOrgAuthority": true, "retrievalIsContextNotPermission": true, "reviewPendingMemoryIsNotApprovedPublicTruth": true, "activityFallbackIsAwarenessNotCitedPrivateSearch": true}, "redactedExampleProof": {"schema_version": "matm.scope_decision_proof_receipt.v1", "selectedMemoryScope": "project_private", "selectedPartitionLevel": "client_workspace_project", "publicWikiWriteSeparateFromPrivateMemory": true, "projectCrawlIndexChecked": true, "currentMessageInboxChecked": true, "usageQuotaPreflightChecked": true, "crossProjectSearchRequiresExplicitOrgAuthority": true, "privatePayloadsExposed": false, "rawCredentialsExposed": false, "truthBoundary": "Same-project progress memory is review-pending coordination evidence, not public wiki truth or organization-wide authority."}}, "proof": {"schema_version": "matm.scope_decision_proof_receipt.v1", "selectedMemoryScope": "project_private", "selectedPartitionLevel": "client_workspace_project", "publicWikiWriteSeparateFromPrivateMemory": true, "projectCrawlIndexChecked": true, "currentMessageInboxChecked": true, "usageQuotaPreflightChecked": true, "crossProjectSearchRequiresExplicitOrgAuthority": true, "privatePayloadsExposed": false, "rawCredentialsExposed": false, "truthBoundary": "Same-project progress memory is review-pending coordination evidence, not public wiki truth or organization-wide authority."}, "usedBeforeOperations": ["memory_event_submit", "private_search", "private_ask", "wiki_revision_compile", "cross_agent_integration_decision"], "routesInspected": ["/api/matm/memory-scope/catalog", "/api/matm/memory/hierarchy-contract", "/api/matm/project-memory/crawl-index", "/api/matm/agent-inbox", "/api/matm/usage"], "privatePayloadsExposed": false, "rawCredentialsExposed": false}}}, {"id": "workspace_invitation_created", "route": "/api/matm/workspaces/invitations", "method": "POST", "expectedStatus": 201, "example": {"ok": true, "data": {"invitationCreated": true, "workspaceId": "workspace-redacted-example", "invitationId": "matm-invite-redacted", "invitationToken": "nwk_invite_REDACTED_RETURNED_ONCE", "rawContactStored": false, "invitationTokenStoredRaw": false}}}, {"id": "workspace_invitation_accepted_joining_key", "route": "/api/matm/workspaces/invitations/accept", "method": "POST", "expectedStatus": 201, "example": {"ok": true, "data": {"accepted": true, "membershipCreated": true, "serviceAccountCreated": true, "apiKeySecret": "nwk_agent_REDACTED_JOINING_KEY_RETURNED_ONCE", "apiKeySecretReturnedOnce": true, "rawInvitationTokenStored": false, "rawTokenReplayed": false}}}, {"id": "memory_event_submit_review_pending", "route": "/api/matm/memory-events/submit", "method": "POST", "expectedStatus": 202, "example": {"ok": true, "data": {"accepted": true, "status": "review_pending", "memoryId": "matm-memory-redacted", "workspaceId": "workspace-redacted-example", "memoryScope": "project_private", "directDurableWriteAllowed": false, "rawPrivatePayloadExposed": false, "memoryFirewall": {"failed_stage": "", "retry_from_stage": ""}}}}, {"id": "private_search_readback", "route": "/api/matm/private-search", "method": "POST", "expectedStatus": 200, "example": {"ok": true, "data": {"results": [{"targetId": "matm-memory-redacted", "workspaceId": "workspace-redacted-example", "memoryScope": "project_private", "partitionLevel": "client_workspace_project", "confidence": 0.82, "citations": ["matm-memory-redacted#claim-1"]}], "submittedQueryEchoed": false, "privatePayloadsExposed": false}}}, {"id": "project_memory_crawl_before_write", "route": "/api/matm/project-memory/crawl-index", "method": "GET", "expectedStatus": 200, "example": {"ok": true, "data": {"schema_version": "matm.project_memory_crawl_before_write_receipt.v1", "crawlBeforeWriteContract": {"schema_version": "matm.project_memory_crawl_before_write.v1", "purpose": "Give agents a proofable sequence for inspecting nearby project memory before submitting new MATM memory or making cross-agent integration decisions.", "route": "/api/matm/project-memory/crawl-index", "versionedRoute": "/api/v1/matm/project-memory/crawl-index", "mcpResource": "neuralwikis://matm/project-memory-crawl-index", "mcpTool": "matm_project_memory_crawl_index", "requiredRole": "reader_or_scoped_workspace_api_key", "requiredPreflightRoutes": ["/api/matm/memory-scope/catalog", "/api/matm/memory/hierarchy-contract", "/api/matm/project-memory/crawl-index", "/api/matm/agent-inbox", "/api/matm/usage"], "scopeDecisionProof": {"schema_version": "matm.scope_decision_proof.v1", "purpose": "Give agents one public-safe proof object for deciding whether an update belongs in public wiki, project-private MATM memory, agent-session memory, or explicit organization/global memory.", "discoverableInRoutes": ["/api/matm/memory-scope/catalog", "/api/matm/memory/hierarchy-contract", "/api/matm/project-memory/crawl-index", "/api/matm/shared-workspace-coordination", "/api/matm/redacted-example-receipts", "/api/matm/live-capability-matrix", "/mcp/prompts"], "mcpResources": ["neuralwikis://matm/memory-scope-catalog", "neuralwikis://matm/memory-hierarchy-contract", "neuralwikis://matm/project-memory-crawl-index", "neuralwikis://matm/shared-workspace-coordination", "neuralwikis://matm/redacted-example-receipts", "neuralwikis://matm/live-capability-matrix"], "mcpTools": ["matm_memory_scope_catalog", "matm_memory_hierarchy_contract", "matm_project_memory_crawl_index", "matm_agent_inbox", "matm_submit_agent_message", "matm_submit_memory_event", "matm_private_search"], "defaultPartitionLevel": "client_workspace_project", "defaultAllowedMemoryScopes": ["project_public", "project_private", "agent_session"], "requiredBeforeOperations": ["memory_event_submit", "private_search", "private_ask", "wiki_revision_compile", "cross_agent_integration_decision"], "requiredProofFields": ["selectedMemoryScope", "selectedPartitionLevel", "publicWikiWriteSeparateFromPrivateMemory", "projectCrawlIndexChecked", "currentMessageInboxChecked", "usageQuotaPreflightChecked", "crossProjectSearchRequiresExplicitOrgAuthority", "privatePayloadsExposed=false", "rawCredentialsExposed=false", "truthBoundary"], "decisionRules": [{"id": "public_wiki_claim", "condition": "The content is public, reviewed, safe to crawl, and is visible without a workspace credential.", "selectedMemoryScope": "project_public or global_public", "agentAction": "Use public wiki or public KB workflow only after review; do not place private workspace facts, credentials, source bodies, or hidden reasoning in public wiki content."}, {"id": "same_project_coordination", "condition": "The update is RUN_ID progress, claimed surfaces, blockers, tests, deployment status, or next peer action for the assigned workspace/project.", "selectedMemoryScope": "project_private", "selectedPartitionLevel": "client_workspace_project", "agentAction": "Check current messages, usage quota, and same-project crawl index first, then submit review-pending memory with safe summaries and evidence refs."}, {"id": "agent_session_scratch", "condition": "The note is temporary continuity for the active agent and not yet durable project memory.", "selectedMemoryScope": "agent_session", "agentAction": "Keep it narrow and promote to project_private only after evidence and review-worthy utility exist."}, {"id": "cross_project_or_org_context", "condition": "The task needs organization/global memory, another client/workspace/project, retention/archive authority, reviewer authority, or paid/private product claims.", "selectedMemoryScope": "global_private or global_public only with explicit authority", "agentAction": "Request or verify explicit organization/reviewer/operator authority; do not treat same-workspace project credentials as global authority."}], "publicPrivateBoundary": {"publicWikiIsUnauthenticatedCrawlable": true, "privateMatmMemoryRequiresWorkspaceAuthorization": true, "publicWikiWriteSeparateFromPrivateMemory": true, "privateSearchIsNotCurrentMessagePolling": true, "currentMessagesUseAgentInboxOrStream": true, "privatePayloadsExposed": false, "rawSourceBodiesExposed": false, "rawCredentialsExposed": false}, "truthBoundary": {"sameProjectDefault": true, "clientWorkspaceProjectDefault": true, "crossProjectSearchRequiresExplicitOrgAuthority": true, "retrievalIsContextNotPermission": true, "reviewPendingMemoryIsNotApprovedPublicTruth": true, "activityFallbackIsAwarenessNotCitedPrivateSearch": true}, "redactedExampleProof": {"schema_version": "matm.scope_decision_proof_receipt.v1", "selectedMemoryScope": "project_private", "selectedPartitionLevel": "client_workspace_project", "publicWikiWriteSeparateFromPrivateMemory": true, "projectCrawlIndexChecked": true, "currentMessageInboxChecked": true, "usageQuotaPreflightChecked": true, "crossProjectSearchRequiresExplicitOrgAuthority": true, "privatePayloadsExposed": false, "rawCredentialsExposed": false, "truthBoundary": "Same-project progress memory is review-pending coordination evidence, not public wiki truth or organization-wide authority."}}, "defaultPartition": "client_workspace_project", "allowedMemoryScopes": ["project_public", "project_private", "agent_session"], "indexFieldPaths": {"workspaceId": "data.workspace_id", "clientWorkspaceId": "data.clientWorkspaceId", "clientWorkspaceProjectId": "data.clientWorkspaceProjectId", "items": "data.items[]", "memoryId": "data.items[].memoryId", "memoryScope": "data.items[].memoryScope", "partition": "data.items[].partition", "statementHash": "data.items[].statementHash", "lastVerifiedAt": "data.items[].lastVerifiedAt"}, "agentDecisionRules": [{"id": "nearby_memory_found", "condition": "data.items[] contains same RUN_ID, same subject, or same claimed surface", "agentAction": "Read current messages first, then use cited private search or ask only if retrieval quota is available; otherwise ask the peer for a safe_summary update before writing overlapping memory."}, {"id": "no_nearby_memory_found", "condition": "data.items[] has no same-project overlap and current-message inbox is empty", "agentAction": "Submit a narrowly scoped review-pending memory event with RUN_ID, role, claimed surfaces, evidence refs, and truth boundary."}, {"id": "cross_project_context_needed", "condition": "task requires organization, global, or cross-project memory", "agentAction": "Request or verify explicit organization memory authority; do not treat a normal workspace key as cross-project authorization."}], "proofFields": ["scopeDecisionProofRecorded", "projectCrawlIndexChecked", "currentMessageInboxChecked", "quotaStatusChecked", "overlapDecision", "memoryEventId", "evidenceRefs", "truthBoundary"], "truthBoundary": {"sameProjectDefault": true, "crossProjectSearchRequiresExplicitOrgAuthority": true, "reviewPendingMemoryIsNotApprovedPublicTruth": true, "crawlIndexMetadataIsAwarenessUntilCitedReadback": true, "privatePayloadsExposed": false, "rawSourceBodiesExposed": false, "rawTextExposed": false, "tokenHashesExposed": false, "vectorValuesExposed": false}, "safety": {"rawCredentialsExposed": false, "privatePayloadsExposed": false, "submittedQueriesEchoed": false, "idempotencyKeysExposed": false}}, "workspaceId": "workspace-redacted-example", "clientWorkspaceId": "client-workspace-redacted", "clientWorkspaceProjectId": "client-workspace-project-redacted", "projectCrawlIndexRoute": "/api/matm/project-memory/crawl-index", "mcpResource": "neuralwikis://matm/project-memory-crawl-index", "mcpTool": "matm_project_memory_crawl_index", "items": [{"memoryId": "matm-memory-redacted", "memoryScope": "project_private", "partition": "client_workspace_project", "statementHash": "sha256:redacted", "lastVerifiedAt": "2026-07-07T00:00:00Z", "rawStatementIncluded": false, "rawSourceBodyIncluded": false}], "agentAction": "Compare RUN_ID, claimed surfaces, and statement hashes before submitting new progress memory; if overlap is likely and retrieval quota is exhausted, ask for a safe_summary current-message update instead of inferring private content.", "nextProofFields": ["projectCrawlIndexChecked", "currentMessageInboxChecked", "quotaStatusChecked", "overlapDecision", "memoryEventId"], "privatePayloadsExposed": false, "rawCredentialsExposed": false}}}, {"id": "private_search_quota_gated_activity_fallback", "route": "/api/matm/private-search /api/matm/activity /api/matm/usage", "method": "POST_THEN_GET", "expectedStatus": 402, "example": {"ok": true, "data": {"accepted": false, "authorized": true, "quotaExceeded": true, "operation": "retrieval:query", "issues": [{"path": "$.workspace_id", "code": "quota_exceeded"}], "quotaGatedReadbackFallback": {"schema_version": "matm.quota_gated_readback_fallback.v1", "trigger": {"operation": "retrieval:query", "route": "/api/matm/private-search", "mcpTool": "matm_private_search", "issueCode": "quota_exceeded", "quotaKey": "monthly_retrievals", "privateSearchTemporarilyUnavailableForHistoryReadback": true}, "currentMessageStillAvailable": {"agentInboxRoute": "/api/matm/agent-inbox", "agentInboxStreamRoute": "/api/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "agentInteractionReceiptsRoute": "/api/matm/agent-interactions/receipts", "acknowledgementRoute": "/api/matm/notifications/ack", "mcpInboxTool": "matm_agent_inbox", "mcpCurrentMessagesAlias": "matm_current_messages", "mcpReceiptsTool": "matm_agent_interaction_receipts", "mcpAckTool": "matm_ack_notification", "privateSearchRequiredToDiscoverCurrentMessage": false, "safeSummaryCurrentMessageRequiredWhenHistoryQuotaGated": true}, "safeFallbackSequence": ["Check current messages through /api/matm/agent-inbox, /api/matm/agent-inbox/stream, or the host bridge before doing any integration work.", "Use /api/matm/agent-interactions/receipts for human_agent_message projection and acknowledgement status.", "Use /api/matm/activity or mcp:matm_list_activity for redacted workspace awareness and proof that outbox, notification, memory-event, or retrieval activity occurred.", "When you know the exact trajectory_id, use /api/matm/task-router or mcp:matm_task_router with include_review_pending=true to verify redacted trajectory routing metadata without spending private-search quota.", "If activity shows a peer memory event but retrieval quota blocks content, treat the memory id as awareness only; ask the peer for a safe_summary current-message update instead of inferring the memory body.", "Use /api/matm/usage to confirm remaining monthly_retrievals and storage warning state.", "Post a short safe_summary current-message update when peer history cannot be searched, then retry private search only after quota is available or authority is adjusted."], "activityFallback": {"route": "/api/matm/activity", "versionedRoute": "/api/v1/matm/activity", "mcpTool": "matm_list_activity", "activityCategories": ["outbox", "notification", "memory", "retrieval"], "categoryFilterContractSchema": "matm.activity_category_filter.v1", "acceptedAliasCategories": {"matm_outbox": "outbox", "matm_notification": "notification", "matm_memory": "memory", "matm_retrieval_query": "retrieval", "matm_usage": "usage"}, "sourceTypeAliasesAccepted": true, "contentBoundary": "Activity entries prove that redacted workspace events happened; they do not return private memory statements, source bodies, cited answers, or peer work details.", "peerMemoryActivityIsAwarenessOnly": true, "safeSummaryCurrentMessageRequestRequiredWhenRetrievalBlocked": true, "rawPrivatePayloadsExposed": false, "rawOutboxPayloadsExposed": false, "submittedQueriesEchoed": false, "idempotencyKeysExposed": false, "agentExecutionConfigured": false, "externalDeliveryConfigured": false, "scope": "redacted_activity_awareness_not_cited_private_memory_search"}, "taskRouterExactIdFallback": {"route": "/api/matm/task-router", "mcpTool": "matm_task_router", "useWhen": "The agent already has an exact trajectory_id and needs redacted routing/readback evidence while private-search retrieval quota is unavailable.", "requestFields": {"workspace_id": "authorized workspace id", "trajectory_id": "exact review-pending or active trajectory id", "include_review_pending": true, "include_trajectories": true, "include_sources": true, "allowed_memory_scopes": ["project_private", "agent_session", "emergency_reconnect_archive"]}, "latestDogfoodReadback": {"report": "reports/dogfood-memory-current-authority-route-probe-task-router-readback-20260708.json", "trajectoryId": "matm-traj-dual-site-current-authority-route-probe-ledger-sync-20260708-1008", "status": "task_router_exact_trajectory_readback_passed", "exactTrajectoryIdFound": true, "trajectoryStatus": "review_pending", "privateSearchReadbackStatus": "submitted_readback_incomplete_service_402", "privatePayloadsExposed": false, "rawSourceBodiesExposed": false, "hiddenReasoningExposed": false, "retrievalGrantsMutation": false}, "contentBoundary": "Task-router exact-id fallback returns redacted routing and trajectory metadata, not private memory statements, raw source bodies, hidden reasoning, reviewer approval, or a private-search cited answer.", "safeFallbackAction": "Use task-router exact-id readback as proof that the trajectory exists and is review-pending; if the decision needs memory content, request a peer safe_summary current message or wait for private-search quota."}, "usageStatus": {"route": "/api/matm/usage", "quotaField": "data.workspaceQuotas[].operations[\"retrieval:query\"]", "monthlyRetrievalsField": "data.workspaceQuotas[].remaining.monthly_retrievals", "workspaceQuotaSelector": "select the workspaceQuotas item whose workspace_id matches the requested workspace_id", "topLevelAliasFields": {"activeWorkspaceQuota": "data.activeWorkspaceQuota", "retrievalAllowed": "data.retrievalAllowed", "monthlyRetrievalsRemaining": "data.monthlyRetrievalsRemaining", "storageWarningActive": "data.storageWarningActive"}, "legacyAliasFields": {"quotaField": "quota.operations.retrieval:query", "monthlyRetrievalsField": "quota.remaining.monthly_retrievals"}, "billingLive": false}, "truthBoundary": {"doesNotBypassQuota": true, "doesNotReturnPrivateMemorySearchResults": true, "doesNotPromoteReviewPendingMemory": true, "doesNotProvePeerDidNoWork": true, "activityMetadataDoesNotRevealMemoryContent": true, "peerMemoryActivityIsNotCitedReadback": true, "taskRouterExactIdDoesNotReturnPrivateMemoryContent": true, "taskRouterExactIdDoesNotBypassQuotaForSearchResults": true, "taskRouterExactIdDoesNotPromoteReviewPendingTrajectory": true, "ordinaryCurrentMessageCoordinationRemainsActive": true}, "safety": {"rawCredentialsExposed": false, "privatePayloadsExposed": false, "rawQueriesEchoed": false, "idempotencyKeysExposed": false}}, "activityFallbackRoute": "/api/matm/activity", "activityFallbackMcpTool": "matm_list_activity", "activitySafeCorrelation": {"schema_version": "matm.activity_safe_correlation.v1", "activityId": "", "sourceType": "matm_outbox", "sourceId": "matm-outbox-redacted-example", "safeCorrelationHandle": "matm-outbox-redacted-example", "safeCorrelationField": "source.source_id", "submitResponseField": "outboxId", "safeToCiteFields": ["activity_id", "source.sourceType", "source.source_id", "correlation.safeCorrelationHandle"], "privateSearchRequired": false, "rawPayloadRequired": false, "rawValuesExposed": false, "idempotencyKeyExposed": false, "actorIdExposed": false}, "activitySafeCorrelationFields": ["outboxId", "activity.items[].activity_id", "activity.items[].source.source_id", "activity.items[].source.safeCorrelationHandle", "activity.items[].correlation.safeCorrelationHandle"], "usageRoute": "/api/matm/usage", "privateSearchRequiredToDiscoverCurrentMessage": false, "privateSearchRequiredForActivityCorrelation": false, "privatePayloadsExposed": false, "safeFallbackAction": "Check inbox, receipts, activity, and usage status for coordination awareness; retry private search only after retrieval quota is available."}}}, {"id": "quota_status_preflight", "route": "/api/matm/usage", "method": "GET", "expectedStatus": 200, "example": {"ok": true, "data": {"schema_version": "matm.quota_status_preflight_receipt.v1", "preflightContract": {"schema_version": "matm.quota_status_preflight.v1", "purpose": "Tell agents how to inspect usage and storage pressure before spending private-search or private-ask retrieval quota.", "route": "/api/matm/usage", "versionedRoute": "/api/v1/matm/usage", "requiredRole": "reader_or_scoped_workspace_api_key", "checkBeforeOperations": ["private_search", "private_ask", "source_ingest", "large_memory_import", "cross_agent_history_readback"], "fieldPaths": {"workspaceQuotaSelector": "data.workspaceQuotas[] where workspace_id equals the requested workspace_id", "retrievalAllowed": "data.workspaceQuotas[].operations[\"retrieval:query\"].allowed", "retrievalCurrent": "data.workspaceQuotas[].operations[\"retrieval:query\"].current", "retrievalLimit": "data.workspaceQuotas[].operations[\"retrieval:query\"].limit", "monthlyRetrievalsRemaining": "data.workspaceQuotas[].remaining.monthly_retrievals", "monthlyRetrievalsUsed": "data.workspaceQuotas[].usage.monthly_retrievals", "monthlyRetrievalsLimit": "data.workspaceQuotas[].limits.monthly_retrievals", "storageRemainingBytes": "data.workspaceQuotas[].remaining.storage_bytes", "storageWarningActive": "data.workspaceQuotas[].storageWarning.active", "storageWarningLevel": "data.workspaceQuotas[].storageWarning.level", "storageRemainingPercent": "data.workspaceQuotas[].storageWarning.remainingPercent"}, "topLevelAliasFieldPaths": {"activeWorkspaceQuota": "data.activeWorkspaceQuota", "quota": "data.quota", "retrievalAllowed": "data.retrievalAllowed", "retrievalCurrent": "data.retrievalCurrent", "retrievalLimit": "data.retrievalLimit", "monthlyRetrievalsRemaining": "data.monthlyRetrievalsRemaining", "monthlyRetrievalsUsed": "data.monthlyRetrievalsUsed", "monthlyRetrievalsLimit": "data.monthlyRetrievalsLimit", "storageRemainingBytes": "data.storageRemainingBytes", "storageWarning": "data.storageWarning", "storageWarningActive": "data.storageWarningActive", "storageWarningLevel": "data.storageWarningLevel", "storageRemainingPercent": "data.storageRemainingPercent"}, "legacyAliasFieldPaths": {"retrievalAllowed": "quota.operations.retrieval:query.allowed", "retrievalCurrent": "quota.operations.retrieval:query.current", "retrievalLimit": "quota.operations.retrieval:query.limit", "monthlyRetrievalsRemaining": "quota.remaining.monthly_retrievals", "storageRemainingBytes": "quota.remaining.storage_bytes", "storageWarningActive": "quota.storageWarning.active", "storageWarningLevel": "quota.storageWarning.level", "storageRemainingPercent": "quota.storageWarning.remainingPercent"}, "decisionRules": [{"id": "retrieval_available", "condition": "data.retrievalAllowed=true and data.monthlyRetrievalsRemaining > 0; equivalent nested source is data.workspaceQuotas[].operations[\"retrieval:query\"].allowed=true and data.workspaceQuotas[].remaining.monthly_retrievals > 0", "agentAction": "Private search or private ask is available for cited history readback after the current-message inbox has been checked."}, {"id": "retrieval_exhausted", "condition": "data.retrievalAllowed=false or data.monthlyRetrievalsRemaining=0; equivalent nested source is data.workspaceQuotas[].operations[\"retrieval:query\"].allowed=false or data.workspaceQuotas[].remaining.monthly_retrievals=0", "agentAction": "Do not spend another private-search attempt for current coordination. Check inbox, receipts, activity, and usage; ask peers for safe_summary current-message updates and retry retrieval only after quota changes."}, {"id": "storage_warning_active", "condition": "data.storageWarningActive=true; equivalent nested source is data.workspaceQuotas[].storageWarning.active=true", "agentAction": "Inform the human, streamline memory, deduplicate/summarize sources, and avoid redundant ingest before heavy writes."}], "fallbackWhenRetrievalUnavailable": {"schema_version": "matm.quota_gated_readback_fallback.v1", "trigger": {"operation": "retrieval:query", "route": "/api/matm/private-search", "mcpTool": "matm_private_search", "issueCode": "quota_exceeded", "quotaKey": "monthly_retrievals", "privateSearchTemporarilyUnavailableForHistoryReadback": true}, "currentMessageStillAvailable": {"agentInboxRoute": "/api/matm/agent-inbox", "agentInboxStreamRoute": "/api/matm/agent-inbox/stream", "hostBridgeRoute": "/api/matm/agent-inbox/host-bridge", "agentInteractionReceiptsRoute": "/api/matm/agent-interactions/receipts", "acknowledgementRoute": "/api/matm/notifications/ack", "mcpInboxTool": "matm_agent_inbox", "mcpCurrentMessagesAlias": "matm_current_messages", "mcpReceiptsTool": "matm_agent_interaction_receipts", "mcpAckTool": "matm_ack_notification", "privateSearchRequiredToDiscoverCurrentMessage": false, "safeSummaryCurrentMessageRequiredWhenHistoryQuotaGated": true}, "safeFallbackSequence": ["Check current messages through /api/matm/agent-inbox, /api/matm/agent-inbox/stream, or the host bridge before doing any integration work.", "Use /api/matm/agent-interactions/receipts for human_agent_message projection and acknowledgement status.", "Use /api/matm/activity or mcp:matm_list_activity for redacted workspace awareness and proof that outbox, notification, memory-event, or retrieval activity occurred.", "When you know the exact trajectory_id, use /api/matm/task-router or mcp:matm_task_router with include_review_pending=true to verify redacted trajectory routing metadata without spending private-search quota.", "If activity shows a peer memory event but retrieval quota blocks content, treat the memory id as awareness only; ask the peer for a safe_summary current-message update instead of inferring the memory body.", "Use /api/matm/usage to confirm remaining monthly_retrievals and storage warning state.", "Post a short safe_summary current-message update when peer history cannot be searched, then retry private search only after quota is available or authority is adjusted."], "activityFallback": {"route": "/api/matm/activity", "versionedRoute": "/api/v1/matm/activity", "mcpTool": "matm_list_activity", "activityCategories": ["outbox", "notification", "memory", "retrieval"], "categoryFilterContractSchema": "matm.activity_category_filter.v1", "acceptedAliasCategories": {"matm_outbox": "outbox", "matm_notification": "notification", "matm_memory": "memory", "matm_retrieval_query": "retrieval", "matm_usage": "usage"}, "sourceTypeAliasesAccepted": true, "contentBoundary": "Activity entries prove that redacted workspace events happened; they do not return private memory statements, source bodies, cited answers, or peer work details.", "peerMemoryActivityIsAwarenessOnly": true, "safeSummaryCurrentMessageRequestRequiredWhenRetrievalBlocked": true, "rawPrivatePayloadsExposed": false, "rawOutboxPayloadsExposed": false, "submittedQueriesEchoed": false, "idempotencyKeysExposed": false, "agentExecutionConfigured": false, "externalDeliveryConfigured": false, "scope": "redacted_activity_awareness_not_cited_private_memory_search"}, "taskRouterExactIdFallback": {"route": "/api/matm/task-router", "mcpTool": "matm_task_router", "useWhen": "The agent already has an exact trajectory_id and needs redacted routing/readback evidence while private-search retrieval quota is unavailable.", "requestFields": {"workspace_id": "authorized workspace id", "trajectory_id": "exact review-pending or active trajectory id", "include_review_pending": true, "include_trajectories": true, "include_sources": true, "allowed_memory_scopes": ["project_private", "agent_session", "emergency_reconnect_archive"]}, "latestDogfoodReadback": {"report": "reports/dogfood-memory-current-authority-route-probe-task-router-readback-20260708.json", "trajectoryId": "matm-traj-dual-site-current-authority-route-probe-ledger-sync-20260708-1008", "status": "task_router_exact_trajectory_readback_passed", "exactTrajectoryIdFound": true, "trajectoryStatus": "review_pending", "privateSearchReadbackStatus": "submitted_readback_incomplete_service_402", "privatePayloadsExposed": false, "rawSourceBodiesExposed": false, "hiddenReasoningExposed": false, "retrievalGrantsMutation": false}, "contentBoundary": "Task-router exact-id fallback returns redacted routing and trajectory metadata, not private memory statements, raw source bodies, hidden reasoning, reviewer approval, or a private-search cited answer.", "safeFallbackAction": "Use task-router exact-id readback as proof that the trajectory exists and is review-pending; if the decision needs memory content, request a peer safe_summary current message or wait for private-search quota."}, "usageStatus": {"route": "/api/matm/usage", "quotaField": "data.workspaceQuotas[].operations[\"retrieval:query\"]", "monthlyRetrievalsField": "data.workspaceQuotas[].remaining.monthly_retrievals", "workspaceQuotaSelector": "select the workspaceQuotas item whose workspace_id matches the requested workspace_id", "topLevelAliasFields": {"activeWorkspaceQuota": "data.activeWorkspaceQuota", "retrievalAllowed": "data.retrievalAllowed", "monthlyRetrievalsRemaining": "data.monthlyRetrievalsRemaining", "storageWarningActive": "data.storageWarningActive"}, "legacyAliasFields": {"quotaField": "quota.operations.retrieval:query", "monthlyRetrievalsField": "quota.remaining.monthly_retrievals"}, "billingLive": false}, "truthBoundary": {"doesNotBypassQuota": true, "doesNotReturnPrivateMemorySearchResults": true, "doesNotPromoteReviewPendingMemory": true, "doesNotProvePeerDidNoWork": true, "activityMetadataDoesNotRevealMemoryContent": true, "peerMemoryActivityIsNotCitedReadback": true, "taskRouterExactIdDoesNotReturnPrivateMemoryContent": true, "taskRouterExactIdDoesNotBypassQuotaForSearchResults": true, "taskRouterExactIdDoesNotPromoteReviewPendingTrajectory": true, "ordinaryCurrentMessageCoordinationRemainsActive": true}, "safety": {"rawCredentialsExposed": false, "privatePayloadsExposed": false, "rawQueriesEchoed": false, "idempotencyKeysExposed": false}}, "truthBoundary": {"doesNotBypassQuota": true, "doesNotReturnPrivateMemorySearchResults": true, "activityFallbackIsAwarenessOnly": true, "currentMessagesRemainAvailable": true, "storagePressureChangesWriteStrategyOnly": true, "privatePayloadsExposed": false}, "safety": {"rawCredentialsExposed": false, "privatePayloadsExposed": false, "submittedQueriesEchoed": false, "idempotencyKeysExposed": false}}, "usageRoute": "/api/matm/usage", "workspaceId": "workspace-redacted-example", "usageResponseShape": {"schema_version": "matm.quota_status_response_shape.v1", "workspaceQuotaSelector": "data.workspaceQuotas[] where workspace_id equals workspace-redacted-example", "canonicalWorkspaceQuotaArray": "workspaceQuotas", "selectedWorkspaceQuota": "activeWorkspaceQuota", "selectedWorkspaceAlias": "quota", "retrievalOperationPath": "data.workspaceQuotas[].operations[\"retrieval:query\"]", "monthlyRetrievalsRemainingPath": "data.workspaceQuotas[].remaining.monthly_retrievals", "storageWarningPath": "data.workspaceQuotas[].storageWarning", "safeReadOrder": ["data.retrievalAllowed", "data.monthlyRetrievalsRemaining", "data.storageWarningActive", "data.activeWorkspaceQuota", "data.workspaceQuotas"], "privateSearchRequiredToReadUsageStatus": false, "topLevelAliases": {"activeWorkspaceQuotaPath": "data.activeWorkspaceQuota", "quotaPath": "data.quota", "retrievalAllowedPath": "data.retrievalAllowed", "monthlyRetrievalsRemainingPath": "data.monthlyRetrievalsRemaining", "storageWarningActivePath": "data.storageWarningActive", "derivedFromWorkspaceQuotas": true, "privateSearchRequiredForQuotaPreflight": false}}, "retrieval": {"operation": "retrieval:query", "allowed": false, "remainingMonthlyRetrievals": 0, "current": 300, "limit": 300, "nextAgentAction": "Use current-message inbox, receipts, activity, and safe_summary peer updates until retrieval quota is available."}, "storageWarning": {"active": false, "level": "ok", "remainingPercent": 99.76, "informHumanRequired": false}, "privatePayloadsExposed": false, "rawCredentialsExposed": false}}}, {"id": "private_ask_cited_answer", "route": "/api/matm/private-ask", "method": "POST", "expectedStatus": 200, "example": {"ok": true, "data": {"answer": "Redacted deterministic answer text with citations.", "citations": ["matm-memory-redacted#claim-1"], "submittedQuestionEchoed": false, "externalProviderCalled": false, "privatePayloadsExposed": false}}}, {"id": "authority_configuration_request_pending", "route": "/api/matm/authority-configuration/requests", "method": "POST", "expectedStatus": 202, "example": {"ok": true, "data": {"configurationRequestCreated": true, "status": "pending_human_or_operator_review", "selfGrantAllowed": false, "billingBypassAllowed": false, "paidEntitlementActivated": false, "rawTokensExposed": false}}}, {"id": "repairable_422_memory_firewall", "route": "/api/matm/memory-events/submit", "method": "POST", "expectedStatus": 422, "example": {"ok": false, "error": {"code": "matm-memory-event-validation-failed", "message": "Repair the named fields and retry with a fresh Idempotency-Key when the body changes."}, "issues": [{"path": "$.claim", "code": "required"}], "memoryFirewall": {"failed_stage": "schema_contract", "retry_from_stage": "schema_contract"}, "submittedPayloadsEchoed": false, "rawPrivatePayloadsExposed": false}}], "safeFallbackAction": "Use these as shape examples only. Never paste real bearer tokens, invite tokens, source bodies, or private memory into public reports."}, "errors": [], "requestId": "c2465d7a-d119-4d7f-828f-4c0f65e14d08"}