Add Experience V1 schema migration and agent-run completion extractor.

Extend h5_experience with structured fields, wire mindspace-agent-runner and agent-run-gateway to persist task_outcome records with provenance, and add local migration and verification scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-02 10:26:46 +08:00
parent 908db04b67
commit b923e54eff
19 changed files with 1340 additions and 131 deletions
@@ -142,6 +142,7 @@ export function bootstrapPortalGatewayServices({
chatIntentRouter,
syncUserGeneratedPages,
isSessionPageDeliveryActive,
experienceService = null,
createTkmindProxyFn = createTkmindProxy,
createToolGatewayFn = createToolGateway,
createAgentRunGatewayFn = createAgentRunGateway,
@@ -254,6 +255,7 @@ export function bootstrapPortalGatewayServices({
sessionSnapshotService,
conversationMemoryService,
goalRunService,
experienceService,
observeWorkflowRun: workflowShadowObserver,
observeWorkflowValidation:
workflowShadowObserver?.observeValidation ?? null,