fix: structure narrow conclusion flow

This commit is contained in:
lda
2026-07-10 23:25:45 +07:00 Verified
parent 93b6edae4e
commit b89befbe89
5 changed files with 92 additions and 47 deletions
+23
View File
@@ -0,0 +1,23 @@
# Narrow Conclusion Flow Fix Report
## Scope
- Refactored the conclusion contribution flow into planner, substrate stack, and runtime semantic grid units.
- Kept the typed substrate and persisted evidence vertically attached within the substrate stack.
- Assigned wide and narrow outer connectors to the planner and substrate-stack units so narrow flow is planner, substrate stack, runtime.
## TDD Record
- RED: `pnpm --dir web\\apps\\console test -- src/presentation/conclusion/ConclusionScene.test.tsx src/presentation/presentation-css.test.ts`
- Result: 2 files failed, 3 tests failed. The component still rendered four direct flow children and CSS still owned outer connectors at individual nodes.
- GREEN: `pnpm --dir web\\apps\\console test -- src/presentation/conclusion/conclusion-model.test.ts src/presentation/conclusion/ConclusionScene.test.tsx src/presentation/presentation-css.test.ts src/presentation/SceneBody.test.tsx; pnpm --dir web\\apps\\console typecheck`
- Result: 4 files passed, 38 tests passed; typecheck passed.
## Verification
- `git diff --check` passed.
- No unrelated files changed.
## Concerns
- None.