docs: audit frontend mvp milestone
This commit is contained in:
@@ -7,7 +7,7 @@ See: `.planning/PROJECT.md` (updated 2026-04-26)
|
||||
**Core value:** The user should feel and prove that they are becoming more
|
||||
interview-ready after each short practice loop.
|
||||
|
||||
**Current focus:** v2 Frontend MVP implemented; ready for milestone audit.
|
||||
**Current focus:** v2 Frontend MVP audited; ready to choose the next milestone.
|
||||
|
||||
## Current Decisions
|
||||
|
||||
@@ -40,10 +40,13 @@ interview-ready after each short practice loop.
|
||||
- Phase 7 web app shell and diagnostic start UI is implemented and verified.
|
||||
- Phase 8 learning progress view is implemented and verified.
|
||||
- Phase 9 material and asset workspace is implemented and verified.
|
||||
- v2 Frontend MVP audit completed with 8/8 requirements satisfied and
|
||||
tech-debt items recorded in `.planning/v2-FRONTEND-MVP-AUDIT.md`.
|
||||
|
||||
## Next Actions
|
||||
|
||||
1. Run a v2 Frontend MVP milestone audit.
|
||||
1. Choose the next milestone: persistence/runtime hardening, real workflow
|
||||
runtime, document parser integration, or UI visual hardening.
|
||||
2. Verify the production OpenAI image model identifier before real image
|
||||
generation calls.
|
||||
3. Add standardized SUMMARY frontmatter or Nyquist validation files if future
|
||||
@@ -89,6 +92,9 @@ interview-ready after each short practice loop.
|
||||
validation, app script smoke, and material/ontology/teaching-asset API smoke.
|
||||
Chrome DevTools MCP browser screenshot attempt timed out and remains a
|
||||
verification follow-up.
|
||||
- 2026-04-26: v2 Frontend MVP audit verified 8/8 requirements and E2E frontend
|
||||
API wiring. Audit status is `tech_debt` because browser screenshot
|
||||
verification timed out and persistence/runtime hardening remain deferred.
|
||||
|
||||
---
|
||||
*State initialized: 2026-04-26.*
|
||||
|
||||
113
.planning/v2-FRONTEND-MVP-AUDIT.md
Normal file
113
.planning/v2-FRONTEND-MVP-AUDIT.md
Normal file
@@ -0,0 +1,113 @@
|
||||
---
|
||||
milestone: v2
|
||||
name: Frontend MVP
|
||||
audited: 2026-04-26
|
||||
status: tech_debt
|
||||
scores:
|
||||
requirements: 8/8
|
||||
phases: 3/3
|
||||
integration: 4/4
|
||||
flows: 3/3
|
||||
gaps:
|
||||
requirements: []
|
||||
integration: []
|
||||
flows: []
|
||||
tech_debt:
|
||||
- phase: "007-web-app-shell-diagnostic-start"
|
||||
items:
|
||||
- "UI was initially verified with HTTP/API smoke rather than browser screenshots."
|
||||
- phase: "008-learning-progress-view"
|
||||
items:
|
||||
- "Progress view has no charts or historical readiness timeline."
|
||||
- phase: "009-material-asset-workspace"
|
||||
items:
|
||||
- "Chrome DevTools MCP timed out during local browser screenshot attempt."
|
||||
- "Material and asset workspace is still prompt-only and has no real image generation."
|
||||
nyquist:
|
||||
compliant_phases: []
|
||||
partial_phases: []
|
||||
missing_phases:
|
||||
- "007-web-app-shell-diagnostic-start"
|
||||
- "008-learning-progress-view"
|
||||
- "009-material-asset-workspace"
|
||||
overall: missing
|
||||
---
|
||||
|
||||
# v2 Frontend MVP Audit
|
||||
|
||||
## Verdict
|
||||
|
||||
TECH_DEBT
|
||||
|
||||
All v2 Frontend MVP requirements are satisfied. The Go service now serves a
|
||||
working browser UI for diagnostic practice, progress review, material
|
||||
ingestion, ontology inspection, and teaching asset prompt generation.
|
||||
|
||||
The milestone remains `tech_debt` rather than `passed` because visual browser
|
||||
screenshot validation could not be completed: Chrome DevTools MCP timed out
|
||||
while opening the local page. HTTP/API smoke, static asset inspection, Go tests,
|
||||
and OpenSpec validation all passed.
|
||||
|
||||
## Requirements Coverage
|
||||
|
||||
| Requirement | Status | Evidence |
|
||||
|-------------|--------|----------|
|
||||
| WEB-01 | Satisfied | Web app served at `/`. |
|
||||
| WEB-02 | Satisfied | Diagnostic session creation wired from app script to API. |
|
||||
| WEB-03 | Satisfied | Answer submission and rubric feedback rendering implemented. |
|
||||
| WEB-04 | Satisfied | Learner memory, readiness, and next challenge APIs wired and rendered. |
|
||||
| WEB-05 | Satisfied | Material ingestion UI calls `POST /api/v1/materials`. |
|
||||
| WEB-06 | Satisfied | Ontology concept, edge, and gap summary rendering implemented. |
|
||||
| WEB-07 | Satisfied | Teaching asset prompt generation UI implemented. |
|
||||
| WEB-08 | Satisfied | Loading, empty, and error states exist across MVP flows. |
|
||||
|
||||
Total: 8/8 v2 requirements satisfied.
|
||||
|
||||
## Cross-Phase Integration
|
||||
|
||||
| Integration | Result |
|
||||
|-------------|--------|
|
||||
| Go backend static serving to web app | PASS |
|
||||
| Diagnostic UI to backend diagnostic APIs | PASS |
|
||||
| Answer grading to learner progress UI | PASS |
|
||||
| Material ingestion to ontology to teaching asset prompt UI | PASS |
|
||||
|
||||
## E2E Smoke Evidence
|
||||
|
||||
```json
|
||||
{
|
||||
"HtmlStatus": 200,
|
||||
"HtmlHasWorkspace": true,
|
||||
"JsHasAllApis": true,
|
||||
"SessionID": "diag-1",
|
||||
"Readiness": 75,
|
||||
"OntologyConcepts": 4,
|
||||
"AssetPromptID": "asset-prompt-1",
|
||||
"VerifyGuard": true
|
||||
}
|
||||
```
|
||||
|
||||
## Validation Evidence
|
||||
|
||||
- `go test ./...` passed.
|
||||
- `openspec validate frontend-mvp --strict` passed.
|
||||
- `openspec validate bootstrap-job-tutor-platform --strict` passed.
|
||||
- Source line-count check passed.
|
||||
|
||||
## Recommended Next Milestone
|
||||
|
||||
Recommended next milestone: Persistence and Runtime Hardening.
|
||||
|
||||
Rationale:
|
||||
|
||||
- The browser MVP now proves the user journey.
|
||||
- The biggest product risk is data loss from in-memory stores.
|
||||
- Real `third-one` / internalized `agent-farm-go` runtime integration should be
|
||||
added after durable state boundaries are in place.
|
||||
|
||||
Candidate phases:
|
||||
|
||||
1. Durable persistence for sessions, learner memory, ontology, and asset
|
||||
prompts.
|
||||
2. Runtime configuration and workflow package execution.
|
||||
3. Browser visual regression and UI hardening.
|
||||
Reference in New Issue
Block a user