feat(goal-run): add multi-checkpoint goal orchestration with H5 and admin surfaces.

Persist goal runs in MySQL, bind agent runs to checkpoints, expose awaiting-approval
UX in chat, and add admin inspection routes with local verify scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-01 17:03:16 +08:00
parent 43bc8bbc2b
commit 666db0b939
47 changed files with 4417 additions and 4 deletions
+3
View File
@@ -55,6 +55,9 @@
"check:mindspace-cover": "node scripts/check-mindspace-cover.mjs",
"demo:thumbnails": "node scripts/thumbnail-preview-demo.mjs",
"audit:conversation-packages": "node scripts/audit-conversation-packages.mjs",
"verify:goal-run-service": "node --test goal-run-service.test.mjs goal-run-intent.test.mjs goal-run-resolve.test.mjs goal-run-gateway.test.mjs goal-run-policy.test.mjs goal-run-admin-ops.test.mjs goal-run-awaiting.test.mjs server/portal-goal-run-routes.test.mjs",
"verify:goal-run-local": "node scripts/verify-goal-run-local.mjs",
"verify:goal-run-http-local": "node scripts/verify-goal-run-http-local.mjs",
"trace:mindspace-artifact": "node scripts/trace-mindspace-artifact.mjs",
"check:conversation-package-manifest": "node scripts/check-conversation-package-manifest.mjs",
"check:memory-v2": "node scripts/check-memory-v2-health.mjs",