mcp_engram_scrub_export
Exports geometry, relations, and scrubbed provenance logs after PII removal and semantic coherence verification, with optional derivative minting for training corpus contributions.
Instructions
BEHAVIOR: Sovereignty-gated three-channel export as leg_block_pack_v1 (geometry on disk + relations + scrubbed_provlog). Runs PII scrub, semantic_coherence_check (cosine q vs encode(scrubbed_provlog) >= 0.74), optional pattern:export_* derivative mint. USAGE: Training corpus / central contribution — never use raw mcp_engram_export in agent profile. OUTPUT: JSON with packs, denied, failed_coherence, minted_derivatives.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max concepts when using prefixes (default 32) | |
| min_crs | No | Minimum CRS for export (default 0.74) | |
| concepts | No | Explicit concept ids to export (trace:*, tile:*, design:*, etc.) | |
| prefixes | No | Optional prefix filter — auto-collect recent candidates (e.g. trace:, tile:) | |
| coherence_min | No | semantic_coherence_check threshold (default 0.74) | |
| mint_derivatives | No | Mint pattern:export_* blocks with scrubbed provlog (default true) |