feat: harden missionRuns state machine, heartbeats, retries, and run health dashboard#150
Merged
brianorwhatever merged 8 commits intomainfrom Mar 2, 2026
Merged
Conversation
added 7 commits
March 2, 2026 00:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
missionRunsschema with required P0-6 fields:attempt,parentRunId,durationMs,terminalReason,lastHeartbeatAt,artifactRefs[]missionControlCore:degradedafter threshold misses,failedafter failure threshold)screenshot|log|diff|file|url)missionControlApi+ router:GET/POST /api/v1/runsPOST /api/v1/runs/:runId/{heartbeat|transition|retry|artifacts|pause|kill|escalate|reassign}POST /api/v1/runs/monitorGET /api/v1/dashboard/runs/api/v1/runs/:runId/{pause|kill|escalate|reassign}scripts/mission-control-readiness-drill.mjsnow exercises live run creation + runtime control endpoints (with dry-run fallback)runs:read,runs:write,runs:control,dashboard:readAPI.mdwith mission run + dashboard endpoint docsMission Control checklist (running)
main(P0-1 backend: assignees + activity + presence foundation #144/P0-2 frontend: assignee, activity panel, and presence indicators #145)main(feat(mission-control): scoped API key lifecycle + REST v1 tasks/activity/memory/agents #146)main(Mission Control P2-1: memory schema, APIs, and browser UI #149)main(feat: phase 4 schedule entries + calendar schedule scaffolding #148)63c58cb)42076f3)pause|kill|escalate|reassign) wired liveValidation
git fetch origin --prune && git rebase origin/main✅ (already up to date)npx eslint convex/schema.ts convex/missionControlCore.ts convex/missionControlApi.ts convex/http.ts API.md src/pages/TeamDashboard.tsx scripts/mission-control-readiness-drill.mjs@typescript-eslint/no-explicit-anybaseline remainsnpx tsc -p convex/tsconfig.json --noEmitdidResourcesmissing in generated convex API typings), not introduced by this PRNotes
This keeps P0-6 missionRuns hardening as one cohesive backend/API/dashboard visibility slice, scoped for merge readiness.