Keep Pathfinder from ending a session while its research subagents are still running: wait for every one, show a running count in the web console, mark finished research with a completion line, and re-run interrupted research on resume

AI Assisted
This commit is contained in:
jparkerweb committed 2026-10-03 10:23:38 -07:00
1 parent 47c6129315
commit 42d220ce4c
21 files changed
+229 -12

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ All notable changes to Plan2Code will be documented in this file.
### 🐛 Fixed
- **pathfinder**: charting no longer ends the session, or shows "Session ended" in the web console, while its research subagents are still running. They live in the terminal's process, so closing it on a "done" page killed them mid-write. The session now waits for every one (the page shows a running count), each subagent ends `## Evidence` with a `**Research complete:**` line, and Work Step 2 re-fires any research question missing it. `console.md` makes the same rule general: no `finish` while any subagent or background job is still out.
- **web-console**: reusing a settled question id for a different kind of question (say a multi-select turned confirm) now opens it as a new question instead of keeping the old answer.
### 📚 Documentation