|
| 1 | +# Session 052 — PM startup restore SSOT release |
| 2 | + |
| 3 | +**Date:** 2026-04-06 09:15 (CEST) |
| 4 | +**Branch:** main |
| 5 | +**Version:** 1.1.897 |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +# 1. Work Done in This Session |
| 10 | + |
| 11 | +## Work summary |
| 12 | +- Fixed PM cold-start restore so the session panel no longer reopens stale browser-local dialog intents and instead follows the canonical workflow-state + continuity path. |
| 13 | +- Removed browser-local startup restore for PM session views and reset startup state to runtime until a live PM dialog-open event arrives. |
| 14 | +- Added cold-start `diagram_modules` status hydration from the canonical progress snapshot so completed work no longer comes back as false `todo` after restart. |
| 15 | +- Updated `doc/SolidWorks-WorkFlow/Contracts/ProjectManager_WorkflowNavigation_SSOT.md` to formalize the single-source startup restore model for PM. |
| 16 | +- Rewrote and shortened `doc/SolidWorks-WorkFlow/System/Workflow_NewStep_Rollout_Guardrails.md`, preserving only the rollout rules that prevent continuity/status-source regressions when adding a new workflow step. |
| 17 | +- Updated `README.md` and `CHANGELOG.md` for release `1.1.897`. |
| 18 | +- Verified the PM/workflow fixes with `node --test --import tsx packages/core/src/remote-bridge/handlers/workflow-state-service.test.ts`, `node --test --import tsx src/client/project-manager/components/sessions/project-manager-session-view.test.tsx`, `npm run build --workspace=@codeai-hub/core`, and `npm run build:project-manager`. |
| 19 | +- Ran `./scripts/build-all.sh`, published refreshed provider/core/UI/launcher artefacts for `1.1.897`, and produced `/Users/oleksandroliinyk/VSCODE/CodeAI-Hub/codeai-hub-1.1.897.vsix`. |
| 20 | +- Ran `./scripts/build-release.sh --use-current-version` successfully and verified the expected release checkpoints: `Step 7: Verifying SDK exclusions`, `Removing dev dependencies before packaging`, and `✅ Package created`. |
| 21 | + |
| 22 | +## Git commits |
| 23 | +(IMPORTANT: This list is required so the next session can restore context via `git show`) |
| 24 | +- `8c7a97d4a fix(pm): align startup restore with workflow state` |
| 25 | +- `36ff023af docs(system): tighten workflow rollout guardrails` |
| 26 | +- `f0de8307c docs(release): prepare 1.1.897 notes` |
| 27 | +- `b1b645c20 build(release): publish workflow restore ssot release` |
| 28 | +- `TBD - this commit docs(session): record 1.1.897 workflow restore release` |
| 29 | + |
| 30 | +--- |
| 31 | + |
| 32 | +# 2. Instructions for Next Session |
| 33 | + |
| 34 | +## Required documents to review before work |
| 35 | +1. `README.md` |
| 36 | +2. `CHANGELOG.md` |
| 37 | +3. `doc/SolidWorks-WorkFlow/Docs_Index.md` |
| 38 | +4. `doc/SolidWorks-WorkFlow/System/SystemArchitecture.md` |
| 39 | +5. `doc/SolidWorks-WorkFlow/System/Workflow_NewStep_Rollout_Guardrails.md` |
| 40 | +6. `doc/SolidWorks-WorkFlow/Contracts/ProjectManager_WorkflowNavigation_SSOT.md` |
| 41 | +7. `doc/TODO/todo-plan.md` |
| 42 | +8. `doc/Sessions/Session052.md` (THIS REPORT) |
| 43 | + |
| 44 | +## Plans for next session |
| 45 | +- Validate `1.1.897` against the real PM restart scenario where stale browser-local restore previously masked the true last workflow stage. |
| 46 | +- If restart behavior is stable, continue only from a newly approved scope and keep PM startup restore on the canonical workflow-state + continuity path. |
| 47 | +- When rolling out any new workflow step, treat `Workflow_NewStep_Rollout_Guardrails.md` and `ProjectManager_WorkflowNavigation_SSOT.md` as hard SSOT constraints. |
0 commit comments