remove this folder

This commit is contained in:
lda
2026-07-11 05:41:15 +07:00 Verified
parent 86b13dca6b
commit 0164df67c0
5 changed files with 0 additions and 433 deletions
-29
View File
@@ -1,29 +0,0 @@
# Final Fix Report
## Scope
- Reattached persisted, inspectable evidence beneath the typed substrate at wide desktop and retained the 1080px and 640px layout contracts.
- Restored the exact seven defense-topic labels from the closing design.
- Restored the `DefenseDiscussionIndex` component boundary: canonical branches and `openDiscussion` are props; a pure, exhaustively typed projection groups the supplied catalog without copying branch objects.
## TDD Record
- RED: `pnpm --dir web\\apps\\console test -- src/presentation/conclusion/conclusion-model.test.ts src/presentation/conclusion/ConclusionScene.test.tsx src/presentation/discussion/defense-discussion-index.test.ts src/presentation/discussion/DefenseDiscussionIndex.test.tsx src/presentation/presentation-css.test.ts`
- Result: failed as expected, with 7 failures across the missing evidence model/layout contract and missing projection/component API.
- GREEN: `pnpm --dir web\\apps\\console test -- src/presentation/conclusion/conclusion-model.test.ts src/presentation/conclusion/ConclusionScene.test.tsx src/presentation/discussion/defense-discussion-index.test.ts src/presentation/discussion/DefenseDiscussionIndex.test.tsx src/presentation/SceneBody.test.tsx src/presentation/presentation-css.test.ts; pnpm --dir web\\apps\\console typecheck`
- Result: 6 test files passed, 43 tests passed; console typecheck passed.
## Changed Files
- `web/apps/console/src/presentation/conclusion/ConclusionScene.tsx`
- `web/apps/console/src/presentation/conclusion/conclusion-model.ts`
- `web/apps/console/src/presentation/presentation.css`
- `web/apps/console/src/presentation/discussion/DefenseDiscussionIndex.tsx`
- `web/apps/console/src/presentation/discussion/defense-discussion-index.ts`
- `web/apps/console/src/presentation/SceneBody.tsx`
- Focused conclusion, discussion, SceneBody, and presentation CSS tests.
## Deviations And Concerns
- Deviations: none.
- Concerns: no manual browser screenshot pass was run in this fix wave; the requested responsive behavior is covered by CSS contract tests at 1080px and 640px.
-97
View File
@@ -1,97 +0,0 @@
# Task 1 Report: Evaluation Evidence Projection And Scene
## Changed Files
- `web/apps/console/src/presentation/evaluation/evaluation-evidence.ts`
- `web/apps/console/src/presentation/evaluation/evaluation-evidence.test.ts`
- `web/apps/console/src/presentation/evaluation/EvaluationEvidenceScene.tsx`
- `web/apps/console/src/presentation/evaluation/EvaluationEvidenceScene.test.tsx`
- `web/apps/console/src/presentation/presentation-css.test.ts`
- `web/apps/console/src/presentation/presentation.css`
The scene is intentionally delivered as the requested standalone presentation component. No storyboard or scene-router files were changed; the task brief restricted production changes to the listed files. The CSS contract test is the necessary regression-test file added outside the brief's listed files because the 1080px audit-row stacking requirement is a stylesheet contract that cannot be verified by the component tests alone.
## TDD Evidence
Projection RED:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/evaluation/evaluation-evidence.test.ts
FAIL: Failed to resolve import "./evaluation-evidence.js"; file does not exist.
Test Files 1 failed; Tests no tests
```
Projection GREEN:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/evaluation/evaluation-evidence.test.ts
Test Files 1 passed; Tests 3 passed
```
Scene RED:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/evaluation/EvaluationEvidenceScene.test.tsx
FAIL: Failed to resolve import "./EvaluationEvidenceScene.js"; file does not exist.
Test Files 1 failed; Tests no tests
```
Scene GREEN:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/evaluation/EvaluationEvidenceScene.test.tsx
Test Files 1 passed; Tests 5 passed
```
## Verification
- Component/model tests: `2` files passed, `8` tests passed.
- CSS contract tests: `1` file passed, `2` tests passed.
- Console typecheck: `pnpm --dir web --filter @lda/console typecheck` passed.
- Presentation CSS test: `1` file passed, `2` tests passed.
- Production build: `pnpm --dir web --filter @lda/console build` succeeded; 730 modules transformed.
- `git diff --check` passed with no whitespace errors.
- The scene tests verify all three beat attributes, exact counts, audit rows, exact validity boundary, all six labels, and six decorative SVG icons.
## Deviations
- The scene board uses `role="group"` explicitly because the required accessible role is not the implicit role of a labelled section.
- A one-line icon-map prop typing adjustment was needed for the installed Lucide type definitions; it does not change the public interface or rendered output.
## Concerns
- Vite reports the existing production bundle-size warning for chunks larger than 500 kB. The build still exits successfully; this Task 1 change does not introduce a bundle-splitting decision.
## Self-Review
- All factual values and wording in the brief are centralized in `evaluation-evidence.ts` and asserted verbatim.
- The serialized evidence model contains no percentage, success-rate, leaderboard, or superiority vocabulary.
- Finding icons are decorative with `aria-hidden="true"`; labels remain visible text.
- The board keeps every block rendered for every beat and changes emphasis through `data-evaluation-beat`.
- The 1080px media query wraps the cohort into a single column and stacks audit content; the existing reduced-motion rules cover the 180ms transitions.
- Writes remain limited to Task 1 files and this required report.
## Review Fixes
CSS contract RED:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/presentation-css.test.ts
Test Files 1 failed; Tests 1 failed
Expected the 1080px audit-row rule to match grid-template-columns: 1fr;
Received grid-template-columns: 1fr auto 1fr;
```
CSS contract GREEN:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/presentation-css.test.ts
Test Files 1 passed; Tests 2 passed
```
Review-fix verification:
- Focused Task 1 suites: `2` files passed, `8` tests passed.
- Console typecheck: `pnpm --dir web --filter @lda/console typecheck` passed.
- `git diff --check` passed.
- Added exact `cohortFactors` assertions, documented unknown-beat fallback, stacked audit rows at 1080px, and removed the unused opacity transition.
-174
View File
@@ -1,174 +0,0 @@
# Task 2 Report
## Files
- `web/apps/console/src/presentation/conclusion/conclusion-model.ts`
- `web/apps/console/src/presentation/conclusion/conclusion-model.test.ts`
- `web/apps/console/src/presentation/conclusion/ConclusionScene.tsx`
- `web/apps/console/src/presentation/conclusion/ConclusionScene.test.tsx`
- `web/apps/console/src/presentation/presentation.css`
- `.superpowers/sdd/task-2-report.md`
## TDD Evidence
### RED
Command:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/conclusion/conclusion-model.test.ts
```
Result: failed before tests ran because `./conclusion-model.js` did not exist.
Command:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/conclusion/ConclusionScene.test.tsx
```
Result: failed before tests ran because `./ConclusionScene.js` did not exist.
### GREEN
The model test passed with 3 tests. The component test passed with 7 tests. The combined run passed with 2 files and 10 tests.
## Verification
- `pnpm --dir web --filter @lda/console typecheck` passed.
- `pnpm --dir web --filter @lda/console test -- src/presentation/conclusion/conclusion-model.test.ts src/presentation/conclusion/ConclusionScene.test.tsx` passed: 10 tests.
- `pnpm --dir web --filter @lda/console build` passed; Vite emitted the existing chunk-size warning.
- `git diff --check` passed.
## Deviations
- The report file is included because the task explicitly requires it; no other files outside the Task 2 surface were changed.
- The scene is implemented as the requested standalone presentation component. Existing scene routing/integration files were not modified because they were outside the Task 2 file list.
## Concerns
- `ConclusionScene` is not wired into `SceneBody` or route selection by this task, so a caller must add that integration separately.
- The production build retains the pre-existing Vite warning about a JavaScript chunk larger than 500 kB.
## Self-review
- Confirmed the four stable nodes and exact non-claims.
- Confirmed five unique future-work IDs and five distinct Lucide icon mappings, each with visible label and example text.
- Confirmed all beats retain the labelled semantic boundary diagram.
- Confirmed the limits beat marks non-claims, and the conclusion beat marks future work as `receded`.
- Confirmed the diagram uses semantic HTML and CSS connectors rather than React Flow, with responsive wrapping and a single cyan substrate emphasis.
- Confirmed no factual production, scheduler, or broad benchmark claim was added.
## Review Fixes
### RED
Command:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/conclusion/ConclusionScene.test.tsx src/presentation/presentation-css.test.ts
```
Result: `3 failed, 10 passed` across 2 files. The failures were the missing explicit 1080px node placements, the cyan future-work SVG rule, and missing neutral icon attributes.
### GREEN
Command:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/conclusion/ConclusionScene.test.tsx src/presentation/presentation-css.test.ts
```
Result: `2 passed`, `13 passed`.
### Requested Verification
Command:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/conclusion/conclusion-model.test.ts src/presentation/conclusion/ConclusionScene.test.tsx
```
Result: `2 passed`, `12 passed`.
Command:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/presentation-css.test.ts
```
Result: `1 passed`, `4 passed`.
Command:
```text
pnpm --dir web --filter @lda/console typecheck
```
Result: `tsc -b --pretty false` passed.
### Final Rerun After Connector Contract
```text
pnpm --dir web --filter @lda/console test -- src/presentation/conclusion/conclusion-model.test.ts src/presentation/conclusion/ConclusionScene.test.tsx
Test Files 2 passed (2)
Tests 12 passed (12)
pnpm --dir web --filter @lda/console test -- src/presentation/presentation-css.test.ts
Test Files 1 passed (1)
Tests 4 passed (4)
pnpm --dir web --filter @lda/console typecheck
$ tsc -b --pretty false
git diff --check
passed
```
## Final Responsive Fix
### RED
Command:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/presentation-css.test.ts
```
Result:
```text
Test Files 1 failed (1)
Tests 1 failed, 4 passed (5)
```
The failure was the missing 640px explicit placement reset and stale generic connector selector.
### GREEN
Command:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/presentation-css.test.ts
```
Result:
```text
Test Files 1 passed (1)
Tests 5 passed (5)
```
### Final Verification
```text
pnpm --dir web --filter @lda/console test -- src/presentation/conclusion/conclusion-model.test.ts src/presentation/conclusion/ConclusionScene.test.tsx
Test Files 2 passed (2)
Tests 12 passed (12)
pnpm --dir web --filter @lda/console typecheck
$ tsc -b --pretty false
git diff --check
passed
```
-67
View File
@@ -1,67 +0,0 @@
# Task 3 Report
## Files
- `web/apps/console/src/presentation/discussion/defense-discussion-index.ts`
- `web/apps/console/src/presentation/discussion/defense-discussion-index.test.ts`
- `web/apps/console/src/presentation/discussion/DefenseDiscussionIndex.tsx`
- `web/apps/console/src/presentation/discussion/DefenseDiscussionIndex.test.tsx`
- `web/apps/console/src/presentation/storyboard.ts`
- `web/apps/console/src/presentation/storyboard.test.ts`
- `web/apps/console/src/presentation/storyboard-navigation.test.ts`
- `web/apps/console/src/presentation/presentation.css`
- `.superpowers/sdd/task-3-report.md`
## TDD Evidence
### RED
Projection command:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/discussion/defense-discussion-index.test.ts
```
Result: failed before tests ran because `./defense-discussion-index.js` did not exist.
Component/storyboard command:
```text
pnpm --dir web --filter @lda/console test -- src/presentation/discussion/DefenseDiscussionIndex.test.tsx src/presentation/storyboard.test.ts src/presentation/storyboard-navigation.test.ts
```
Result: failed with the missing component module, one missing Questions beat assertion, and one missing Questions navigation assertion. Existing storyboard/navigation coverage had 17 passing tests.
### GREEN
Focused combined run passed: 4 test files and 23 tests.
## Verification
- `pnpm --dir web --filter @lda/console test -- src/presentation/discussion/defense-discussion-index.test.ts src/presentation/discussion/DefenseDiscussionIndex.test.tsx src/presentation/storyboard.test.ts src/presentation/storyboard-navigation.test.ts` passed: 23 tests.
- `pnpm --dir web --filter @lda/console test -- src/presentation/discussion/defense-discussion-index.test.ts` passed: 2 tests.
- `pnpm --dir web --filter @lda/console typecheck` passed.
- `pnpm --dir web --filter @lda/console build` passed; Vite emitted the existing chunk-size warning for the 788 kB JavaScript bundle.
- `git diff --check` passed.
## Deviations
- The report file is included because the task explicitly requires it.
- The index remains a standalone component because the task file list excludes `SceneBody.tsx` and route integration files; no files outside the Task 3 surface were changed.
- The canonical branch title `Live demo reliability` is used in the component test; its question and answer remain sourced from the canonical branch object.
## Concerns
- `DefenseDiscussionIndex` is not wired into the scene renderer by this task. A later integration task must render it for the Questions beat.
- The CSS intentionally uses a two-column ledger and one-column narrow layout; it does not use pill styling.
- The production build retains the existing Vite warning about a JavaScript chunk larger than 500 kB.
## Self-review
- Confirmed all 22 canonical branch IDs occur exactly once in the seven groups and all mapping keys match `discussionBranches`.
- Confirmed group branch objects are derived by filtering canonical `discussionBranches`, without duplicated titles or answer content.
- Confirmed the required Lucide icons appear beside visible group labels.
- Confirmed branch buttons pass canonical IDs to `openDiscussion`.
- Confirmed Evaluation and every Conclusion beat, including Questions, explicitly use hidden chat.
- Confirmed Questions navigation resolves to `#scene/conclusion/questions` with an empty focus path.
- Confirmed only Task 3 files and this required report were changed.
-66
View File
@@ -1,66 +0,0 @@
# Task 4 Report
## Status
- DONE
## Files
- Modified `web/apps/console/src/presentation/SceneBody.tsx`
- Modified `web/apps/console/src/presentation/SceneBody.test.tsx`
- Modified `web/apps/console/src/presentation/PresentationRoute.test.tsx`
- Modified `web/apps/console/src/presentation/presentation-state.test.ts`
## RED
Command:
```powershell
pnpm --dir web --filter @lda/console test -- src/presentation/SceneBody.test.tsx src/presentation/PresentationRoute.test.tsx src/presentation/presentation-state.test.ts
```
Observed result:
- `SceneBody.test.tsx`: 3 failing tests
- `PresentationRoute.test.tsx`: 2 failing tests
- `presentation-state.test.ts`: passed
- Failure cause matched the brief: `SceneBody` still rendered the local evaluation/conclusion content and the Questions beat still showed the generic discussion rail instead of the dedicated discussion index.
## GREEN
Command:
```powershell
pnpm --dir web --filter @lda/console test -- src/presentation/SceneBody.test.tsx src/presentation/PresentationRoute.test.tsx src/presentation/presentation-state.test.ts
```
Observed result:
- `3` test files passed
- `74` tests passed
- `0` failures
## Verification
- Replaced the old local evaluation scene in `SceneBody` with `EvaluationEvidenceScene`
- Routed non-Questions conclusion beats to `ConclusionScene`
- Routed `#scene/conclusion/questions` to `DefenseDiscussionIndex`
- Suppressed the generic scene discussion rail on the Questions beat to avoid duplicate discussion controls
- Added route-level coverage that opening a Questions discussion returns to `#scene/conclusion/questions`
- Added reducer coverage that `discussionReturn` preserves the Questions beat without introducing new state branches
## Deviations
- The brief's example assertion used `getByRole("group", { name: /thesis contribution boundary/i })`.
- The committed `ConclusionScene` already exposes that surface as an accessible `region`, so the test asserts `role="region"` instead of changing another task's interface.
## Concerns
- No functional concerns from Task 4 changes.
- Existing Git line-ending warnings remain (`LF` to `CRLF` on checkout); no content changes were made to address that.
## Self-Review
- TDD was followed with an observed RED before the `SceneBody` routing change.
- Only Task 4 files were edited, plus this report file.
- Reducer code was intentionally left unchanged because the new regression proved existing return semantics already handled the Questions beat correctly.