Repository navigation
Conversation
Add active run registry so sequant_status can report isRunning state while sequant_run is executing. This enables MCP clients to poll for live progress during workflow runs. - Add run-registry module with register/unregister/isRunning API - Wire registry into sequant_run (register on spawn, unregister in finally) - Add isRunning field to sequant_status response (both tracked and untracked) - Add polling guidance to status tool description (5-10s interval) - Add unit tests for registry and integration tests for isRunning lifecycle Entire-Checkpoint: 6d31652b23fb
19 tasks
- Remove unused `pid` field from ActiveRun interface — it stored the server PID (not the child process PID) and was never read - Simplify registerRun() to take only the issue number - Document isRunning field and polling pattern in mcp-server.md Entire-Checkpoint: 6d31652b23fb
- Add full response field table for sequant_status (matching sequant_run style) - Update MCP vs CLI comparison to reference isRunning polling - Add #394 to provenance line
admarble
deleted the
feature/394-mcp-server-real-time-progress-reporting-for-workfl
branch
March 24, 2026 07:05
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
src/mcp/run-registry.ts) that tracks spawned workflow processes by issue numbersequant_statusnow returnsisRunning: true/falseindicating whether asequant_runis actively executing for the queried issueAC Verification
sequant_statusreturns current phase and phase status during runsrc/mcp/tools/status.ts— existing phase data + newisRunningbatch-executor.tscallsupdatePhaseStatus()before executionsequant_statusincludesisRunningindicatorsrc/mcp/tools/status.ts:50,68src/mcp/run-registry.tsisRunningreturns false after run exitsfinallyblock inrun.tsensures cleanupserver-extended.test.tslifecycle testTest plan
npm run build— passesnpm run lint— passes (0 errors, 0 warnings)npm test— 1803 tests pass across 78 filesCloses #394
🤖 Generated with Claude Code