Cortex · Configuration & integration
Inspect System 1 and export memory outcomes
Run sys1 report with an explicit session directory (or PI_DURABLE_SESSION_DIR) to inspect local call logs even when the daemon is down. Its command entry defines paths and absence/usage exits. Read live, mock, fallback, error and unknown bands separately: fallback output is not a live judgment.
Network failure before any HTTP status can fall back to local mock unless PI_DURABLE_SYSTEM1_STRICT_LIVE=1 or the programmatic target disables fallbackOnNetworkError. Aborts and failures after an HTTP status do not qualify. Use strict-live when substitution is unacceptable, and still inspect the recorded band rather than treating configured live mode as evidence of a live answer.
To link memory helpfulness judgments, submit classification requests through the daemon/MCP interface with outcomes: [{memoryId, question, decisionId?}]. These link memories to boolean questions; the online CLI classification payload has no outcome-link option.
Export using sys1 facts, naming the Engram seat explicitly. Only live usable probabilities in [0,1] yield judgments (>=0.5 is helpful); mock, fallback, errors and unjudged records do not. First published (decisionId, memoryId) wins; contradictory retries are counted rather than rewriting the fact. Signal/decision/memory identify the event; backend/call/probability supply provenance.
The file contains internal-oracle Tier 2 outcome_recorded_v2 facts for Engram import/conformance, not memory graduation evidence. Export writes a file; it does not import it. Inspect the report and target identity before handing the stream to an authorized consumer.