Substantial refinement/polish on content of webpage (not just structural/coding elements)

This commit is contained in:
2026-02-17 14:05:32 +00:00
parent 38e40d36c0
commit 82db5fda54
98 changed files with 19572 additions and 22192 deletions
-94
View File
@@ -1,94 +0,0 @@
# Session Handoff
_Generated: 2026-02-17 02:26:43 UTC_
## Git Context
- **Branch:** `master`
- **HEAD:** 9a58b3c: chore: auto-commit before merge (loop primary)
## Tasks
### Completed
- [x] Compact Latest Results KPI section
- [x] Validate KPI objective and close loop
- [x] Rename Active Projects language to Significant Interventions
- [x] Add autoplay + reduced-motion behavior for carousel
- [x] Responsive polish and full verification for interventions carousel
- [x] Implement Embla carousel in ProjectsTile
- [x] Add autoplay + reduced-motion behavior for carousel
- [x] Responsive polish and full verification for interventions carousel
- [x] Implement sidebar-first navigation refactor from plan
- [x] Resolve build.blocked backpressure checks
- [x] Backpressure verification for sidebar refactor
- [x] Route pending backpressure events
- [x] Review sidebar-first navigation refactor
- [x] Route review.approved to completion handoff
- [x] Route pending build.blocked event
- [x] Define canonical timeline entity model
- [x] Stabilize pathway graph hover/render lifecycle
- [x] Unify experience + education card rendering
- [x] Aggregate sidebar tags from canonical timeline skills and verify
- [x] Constellation data parity: career-only role mapping
- [x] Constellation interaction remediation: hover/focus layer
- [x] Timeline parity + token alignment
- [x] Backpressure and manual review evidence
- [x] Resolve build.blocked backpressure gate
- [x] Recover build.blocked gate after abandoned retries
- [x] Phase 2: Strength-weighted link styling (stroke width, domain color, bezier curves, highlight)
- [x] Phase 2: Skill node visual enhancements (stroke, size encoding, glow filter)
- [x] Phase 2: Role node visual enhancements (gradient fill, highlight styling)
- [x] Phase 2: Entry animation (timeline guides, staggered role/skill/link appearance)
- [x] Phase 2: Legend with domain node counts
- [x] Data: Include education entities in buildConstellationData
- [x] Hook: Create useTimelineAnimation for chronological reveal
- [x] Visual: Entry animation reveal effects
- [x] Integration: Wire animation to highlight system (Phase 4)
- [x] Accessibility: reduced-motion + play/pause button
- [x] Plan Stage 1 canonical content schema
- [x] Stage1 Checkpoint A: add canonical profile content schema/module/helpers
- [x] Stage 2 core UI migration to canonical profile content
- [x] Stage 3 secondary consumer migration (timeline/search/chat)
- [x] Stage 4 cleanup hardening and one-file editing docs
- [x] Resolve build.blocked backpressure and close loop
- [x] Backpressure recovery handoff
- [x] Backpressure recovery after abandoned build task
- [x] Backpressure recovery after abandoned build task
- [x] Phase 1.1: Migrate medications.ts prescribingHistory into skills.ts, then delete medications.ts
- [x] Phase 1.3: Split profile-content.ts into focused concerns — extract LLM prompt, evaluate education/achievements placement
- [x] Phase 3.1: Extract shared ExpandableCard component from WorkExperienceSubsection, TimelineInterventionsSubsection, RepeatMedicationsSubsection
## Key Files
Recently modified:
- `.claude/settings.local.json`
- `.ralph/agent/scratchpad.md`
- `.ralph/agent/summary.md`
- `.ralph/agent/tasks.jsonl`
- `.ralph/current-events`
- `.ralph/current-loop-id`
- `.ralph/events-20260217-012659.jsonl`
- `.ralph/history.jsonl`
- `.ralph/loop.lock`
- `.ralph/plan.md`
## Next Session
Session completed successfully. No pending work.
**Original objective:**
```
# Task: Comprehensive Codebase Refactor & Simplification
Refactor the portfolio codebase to eliminate duplication, consolidate data sources, extract shared utilities, and simplify components — while preserving identical runtime behaviour and visual output.
## Guiding Principle
**Single Source of Truth**: Every piece of information should live in exactly one place. Derived data is fine (for code-splitting/performance), but the canonical definition must not be duplicated.
## Refactoring Chec...
```
-105
View File
@@ -1,105 +0,0 @@
# Memories
## Patterns
### mem-1771284742-cc7f
> Stage 1 canonical descriptive text foundation now exists in src/data/profile-content.ts with strict schema in src/types/profile-content.ts and typed selectors in src/lib/profile-content.ts; this is additive and preserves existing consumer behavior until migration checkpoints.
<!-- tags: data, content, refactor | created: 2026-02-16 -->
### mem-1771245168-48e8
> Canonical timeline data now lives in src/data/timeline.ts and legacy consultations/constellation exports are compatibility layers derived from it, removing duplicated date/year maintenance.
<!-- tags: data, timeline, consistency | created: 2026-02-16 -->
### mem-1771239841-81ef
> ProjectsTile responsive layout now uses cards-per-view width calc plus flex gap instead of slide padding to prevent overflow/cropping across breakpoints.
<!-- tags: ui, carousel, responsive | created: 2026-02-16 -->
### mem-1771239746-fb8e
> Embla autoplay in ProjectsTile uses playOnInit=false with explicit play/stop tied to prefers-reduced-motion to avoid first-render motion flicker.
<!-- tags: ui, carousel, accessibility | created: 2026-02-16 -->
### mem-1771239639-a457
> ProjectsTile now uses Embla carousel with autoplay disabled under prefers-reduced-motion and preserves project detail panel activation via click/keyboard.
<!-- tags: ui, carousel, accessibility | created: 2026-02-16 -->
### mem-1771239522-007a
> Projects terminology baseline updated: dashboard tile, subnav label, and search palette section now use 'Significant Interventions' instead of 'Active Projects'/'Projects'.
<!-- tags: ui, search, naming | created: 2026-02-16 -->
### mem-1771238197-12d0
> Latest Results KPI tile now uses a dedicated responsive grid class: mobile defaults to 1 column and md+ forces 4 columns; coachmark/pulse behavior removed from PatientSummaryTile and related CSS.
<!-- tags: ui, layout, kpi | created: 2026-02-16 -->
## Decisions
## Fixes
### mem-1771288640-fc4b
> failure: cmd=sed -n '1,260p' .ralph/agent/scratchpad.md && ..., exit=2, error=No such file or directory, next=create .ralph/agent/scratchpad.md before context reads
<!-- tags: tooling, error-handling, ralph | created: 2026-02-17 -->
### mem-1771288552-d5bd
> failure: cmd=sed -n '1,220p' .ralph/agent/scratchpad.md, exit=2, error=No such file or directory, next=create .ralph/agent/scratchpad.md before context reads
<!-- tags: tooling, error-handling, ralph | created: 2026-02-17 -->
### mem-1771286649-5bb0
> failure: cmd=cat >> .ralph/agent/scratchpad.md <<EOF ... (unquoted), exit=126/127, error=backticks triggered command substitution and spurious command-not-found/permission messages, next=use quoted heredoc delimiter <<'EOF' when appending markdown containing backticks
<!-- tags: tooling, error-handling, ralph | created: 2026-02-17 -->
### mem-1771286379-1ec4
> failure: cmd=rg -n --fixed-strings "I blend robust backend architecture" src, exit=1, error=no matches found, next=use known canonical phrases from src/data/profile-content.ts or tolerate no-match exit with || true when probing duplication
<!-- tags: tooling, error-handling, search | created: 2026-02-16 -->
### mem-1771285624-1fed
> failure: cmd=npm run typecheck && npm run build (parallel), exit=2/1, error=TS7053 indexing timelineNarrative with string in src/lib/profile-content.ts, next=introduce TimelineNarrativeId union and type getTimelineNarrativeEntry parameter accordingly
<!-- tags: typescript, error-handling, profile-content | created: 2026-02-16 -->
### mem-1771284936-8a79
> failure: cmd=sed -n '1,260p' ralph/prompt.md, exit=2, error=No such file or directory, next=use correct prompt path via rg --files and open Ralph/PROMPT.md
<!-- tags: tooling, error-handling, ralph | created: 2026-02-16 -->
### mem-1771284859-2e04
> failure: cmd=sed -n '1,360p' src/components/MedicationSubsection.tsx, exit=2, error=file not found, next=read src/components/RepeatMedicationsSubsection.tsx as the skills subsection
<!-- tags: tooling, error-handling, search | created: 2026-02-16 -->
### mem-1771284853-5c5e
> failure: cmd=sed -n '1,360p' src/components/tiles/SkillsTile.tsx, exit=2, error=file not found, next=use rg to locate actual skills UI surface (MedicationSubsection.tsx)
<!-- tags: tooling, error-handling, search | created: 2026-02-16 -->
### mem-1771284848-c43c
> failure: cmd=rg --files src/components | rg 'Skill|skills|Skills' && sed -n '1,340p' src/components/SkillsSubsection.tsx, exit=2, error=SkillsSubsection.tsx missing, next=locate actual skills UI files (SkillsTile.tsx and detail components) before planning migration
<!-- tags: tooling, error-handling, search | created: 2026-02-16 -->
### mem-1771284167-9e36
> failure: cmd=sed -n '1,260p' ralph/prompt.md, exit=2, error=No such file or directory, next=locate actual prompt path with rg --files and use correct casing/location
<!-- tags: tooling, error-handling, ralph | created: 2026-02-16 -->
### mem-1771284072-053c
> failure: cmd=sed -n '1,260p' Ralph/PROMPT.md, exit=2, error=No such file or directory (path case mismatch), next=use lowercase path ralph/prompt.md
<!-- tags: tooling, error-handling, ralph | created: 2026-02-16 -->
### mem-1771246458-9388
> failure: cmd=rg -n "--font-mono\b|font-mono-dashboard|font-geist-mono|timeline-intervention|chronology|pathway" src/index.css, exit=2, error=pattern beginning with -- parsed as flag, next=use rg -n -- '<pattern>' <file>
<!-- tags: tooling, error-handling, search | created: 2026-02-16 -->
### mem-1771246427-39d3
> failure: cmd=sed -n '1,220p' .ralph/agent/scratchpad.md (in chained context read), exit=2, error=.ralph/agent/scratchpad.md missing, next=create scratchpad file before context reads
<!-- tags: tooling, error-handling, ralph | created: 2026-02-16 -->
### mem-1771245621-03a4
> failure: cmd=rg --files src/components | rg -E 'WorkExperienceSubsection|EducationSubsection|DashboardLayout|Timeline|CareerConstellation', exit=2, error=used grep-style -E on ripgrep causing encoding parse error, next=use plain regex pattern with rg or escape patterns correctly
<!-- tags: tooling, error-handling, search | created: 2026-02-16 -->
### mem-1771245355-b355
> failure: cmd=cat >> .ralph/agent/scratchpad.md <<EOF ..., exit=127, error=unquoted heredoc caused backtick command substitution (e.g. CareerConstellation not found), next=use quoted heredoc delimiter <<'EOF' when appending markdown with backticks
<!-- tags: tooling, error-handling, ralph | created: 2026-02-16 -->
### mem-1771239420-0b3f
> failure: cmd=sed -n '1,220p' Ralph/PROMPT.md and sed -n '1,220p' .ralph/agent/scratchpad.md, exit=2, error=path mismatch (Ralph/prompt.md is lowercase) and missing scratchpad file, next=use correct lowercase prompt path and recreate scratchpad before proceeding
<!-- tags: tooling, error-handling, ralph | created: 2026-02-16 -->
### mem-1771238608-ecff
> failure: cmd=git commit -m 'chore: document KPI objective verification', exit=128, error=.git/index.lock exists due concurrent git operations, next=run git commands sequentially and remove stale lock after confirming no active git process
<!-- tags: tooling, error-handling, git | created: 2026-02-16 -->
## Context
View File
-59
View File
@@ -1,59 +0,0 @@
# Content Audit & Boot Sequence Redesign
## Iteration 1 — Initial Planning
**Objective:** Audit all user-facing text against reference documents, fix inaccuracies, remove ECG phase, redesign boot transition.
**Approach:**
- Phase 0: Quick dev shortcut to bypass boot for faster iteration
- Phase 1: Merge secondary references into single deduplicated doc
- Phase 2: Audit each data file against references (11 sub-tasks)
- Phase 3: Remove ECG, redesign boot→login transition
- Phase 4: Final validation
**This iteration:** Phase 0 — disable boot sequence for faster dev iteration.
## Iteration 1 — Complete
Phase 0 done. App.tsx initial phase changed to 'pmr'. Build passes.
Commit: f7469f4. Next: Phase 1 — merge secondary reference documents.
## Iteration 2 — Phase 1 Complete
Created `References/andy_charlwood_complete_reference.md` — 518-line deduplicated merge of both secondary sources. Structured by: career timeline (McDonald's → Paydens → Tesco → NHS ICB), key projects (11 detailed), high-cost drug pathways, technical skills, leadership style, stakeholder engagement, career transition strategy, education, personal interests, and quick-reference metrics table.
Key merge decisions:
- Career knowledge dump had more detail on Paydens, McDonald's, Tesco learning journey, AI/LLM work, polypharmacy dashboard, ICB merger, daily work breakdown, speaking engagements — all included
- Career knowledge had cleaner narrative structure for projects and stakeholder engagement — used as skeleton
- Where metrics conflicted (e.g. £2.8M vs £2.6M savings), included both with context (£2.8M max potential, refined to £2.6M)
- Preserved all quotes from knowledge dump (philosophy section)
Commit: 9e31843. This unblocks all Phase 2 audit tasks (2.12.10).
## Iteration 3 — ALL PHASES COMPLETE
Completed all remaining 16 tasks in a single iteration:
**Phase 2 (Content Audit) — 11 tasks:**
- patient.ts: Address corrected NR1→UK
- timeline.ts: 9 corrections (Duty Pharm Led→Co-led, Pre-Reg PGD wording, UEA "academic excellence" removed, HCD "Authored"→"Wrote", etc.)
- kpis.ts: Budget reporting frequency, "monitor medicines safety" removed
- investigations.ts: PharMetrics corrected from "Interactive Platform" to "Switching Dashboard"
- skills.ts: Python startYear 2019→2017 (8yr), SQL startYear 2018→2022 (3yr)
- documents.ts + educationExtras.ts: Research description tightened
- profile-content.ts: Narrative aligned with CV, removed "clinical decision support"
- llm-prompt.ts: Synced all corrections into LLM system prompt
- alerts.ts: Verified, no changes needed
- BootSequence.tsx: Verified, no changes needed
- Final sweep: Flagged NHS Band "8a" and hardcoded education details
**Phase 3 (Boot Sequence Redesign) — 3 tasks:**
- ECGAnimation.tsx deleted (686 lines). Phase type cleaned. All ECG references removed.
- New boot transition: typing → hold → progress bar → fade out. Polished "launching" feel.
- Boot re-enabled from 'pmr' back to 'boot'.
**Phase 4 (Final Validation) — 2 tasks:**
- unverified-content.md finalized: 7 flagged items, 21 corrections, 8 missed opportunities
- All quality gates pass: lint (0 errors), typecheck (clean), build (success)
All success criteria met. LOOP_COMPLETE.
-17
View File
@@ -1,17 +0,0 @@
# Loop Summary
**Status:** Completed successfully
**Iterations:** 3
**Duration:** 25m 16s
## Tasks
_No scratchpad found._
## Events
_No events recorded._
## Final Commit
841c186: chore: finalise unverified-content.md audit summary
-65
View File
@@ -1,65 +0,0 @@
{"id":"task-1771238094-7dc9","title":"Compact Latest Results KPI section","description":"Remove coachmark/pulse, move instruction text to heading row right area, enforce 1x4 mobile and 4x1 md+ KPI layout, reduce KPI card whitespace in PatientSummaryTile while preserving content/interactions.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-103430","created":"2026-02-16T10:34:54.490955020+00:00","closed":"2026-02-16T10:36:37.836478822+00:00"}
{"id":"task-1771238560-5ec5","title":"Validate KPI objective and close loop","description":"Run typecheck/lint/build and confirm Latest Results KPI compaction acceptance criteria remain satisfied before LOOP_COMPLETE event.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-104201","created":"2026-02-16T10:42:40.351948381+00:00","closed":"2026-02-16T10:43:32.976626807+00:00"}
{"id":"task-1771239437-05c3","title":"Rename Active Projects language to Significant Interventions","description":"Update Projects tile heading, SubNav label, and search palette section naming per Ralph prompt.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-105626","created":"2026-02-16T10:57:17.787908637+00:00","closed":"2026-02-16T10:58:29.985946409+00:00"}
{"id":"task-1771239437-64c3","title":"Add autoplay + reduced-motion behavior for carousel","description":"Install Embla autoplay plugin, pause on interaction, disable autoplay for prefers-reduced-motion users.","status":"closed","priority":2,"blocked_by":["task-placeholder"],"loop_id":"primary-20260216-105626","created":"2026-02-16T10:57:17.812228675+00:00","closed":"2026-02-16T10:57:24.084148333+00:00"}
{"id":"task-1771239437-67bc","title":"Responsive polish and full verification for interventions carousel","description":"Tune mobile/desktop viewport behavior and run lint/typecheck/build before closure.","status":"closed","priority":2,"blocked_by":["task-placeholder"],"loop_id":"primary-20260216-105626","created":"2026-02-16T10:57:17.812991662+00:00","closed":"2026-02-16T10:57:24.085921620+00:00"}
{"id":"task-1771239437-6f55","title":"Implement Embla carousel in ProjectsTile","description":"Replace list layout with Embla carousel slides, preserve click/keyboard panel opening, add thumbnail placeholder region.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-105626","created":"2026-02-16T10:57:17.814939655+00:00","closed":"2026-02-16T11:00:49.359576691+00:00"}
{"id":"task-1771239444-811f","title":"Add autoplay + reduced-motion behavior for carousel","description":"Install Embla autoplay plugin, pause on interaction, disable autoplay for prefers-reduced-motion users.","status":"closed","priority":2,"blocked_by":["task-1771239437-6f55"],"loop_id":"primary-20260216-105626","created":"2026-02-16T10:57:24.098597492+00:00","closed":"2026-02-16T11:02:34.691389297+00:00"}
{"id":"task-1771239444-850d","title":"Responsive polish and full verification for interventions carousel","description":"Tune mobile/desktop viewport behavior and run lint/typecheck/build before closure.","status":"closed","priority":2,"blocked_by":["task-1771239437-6f55"],"loop_id":"primary-20260216-105626","created":"2026-02-16T10:57:24.099597797+00:00","closed":"2026-02-16T11:04:10.599296057+00:00"}
{"id":"task-1771242437-881e","title":"Implement sidebar-first navigation refactor from plan","description":"Execute .ralph/plan.md: remove TopBar/SubNav flow, move section nav to Sidebar, add mobile collapsed rail/expanded drawer, fix sidebar scroll artifact, preserve smooth section navigation and accessibility, then run lint/typecheck/build.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-114543","created":"2026-02-16T11:47:17.559143490+00:00","closed":"2026-02-16T11:51:48.845671117+00:00"}
{"id":"task-1771242783-061d","title":"Resolve build.blocked backpressure checks","description":"Run lint/typecheck/build and emit build.done for sidebar-first refactor loop","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-114543","created":"2026-02-16T11:53:03.329247289+00:00","closed":"2026-02-16T11:53:11.190033519+00:00"}
{"id":"task-1771242815-5bf7","title":"Backpressure verification for sidebar refactor","description":"Run lint, typecheck, and build; if passing, publish build.done","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-114543","created":"2026-02-16T11:53:35.220153099+00:00","closed":"2026-02-16T11:54:04.662510828+00:00"}
{"id":"task-1771242892-a940","title":"Route pending backpressure events","description":"Handle build.task.abandoned and build.blocked by delegating with one allowed event based on latest verified state.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-114543","created":"2026-02-16T11:54:52.305473495+00:00","closed":"2026-02-16T11:55:59.668771564+00:00"}
{"id":"task-1771242972-6b89","title":"Review sidebar-first navigation refactor","description":"Verify success criteria, run lint/typecheck/build, and publish review event","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-114543","created":"2026-02-16T11:56:12.748433048+00:00","closed":"2026-02-16T11:57:36.077138681+00:00"}
{"id":"task-1771243071-6dfa","title":"Route review.approved to completion handoff","description":"Handle pending review.approved event by emitting one allowed coordination event and stopping.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-114543","created":"2026-02-16T11:57:51.159227640+00:00","closed":"2026-02-16T11:58:00.760051441+00:00"}
{"id":"task-1771243094-8aca","title":"Route pending build.blocked event","description":"Publish one build.done event with required backpressure evidence fields and stop.","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-114543","created":"2026-02-16T11:58:14.887500166+00:00","closed":"2026-02-16T12:00:02.293516888+00:00"}
{"id":"task-1771244841-616d","title":"Define canonical timeline entity model","description":"Create single source-of-truth dataset for career + education entries (titles, graph labels, date ranges, details, skills) and update shared types/data modules.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-122522","created":"2026-02-16T12:27:21.221550833+00:00","closed":"2026-02-16T12:32:48.674110752+00:00"}
{"id":"task-1771244841-cb07","title":"Stabilize pathway graph hover/render lifecycle","description":"Refactor CareerConstellation highlight flow so hover from graph/cards shares one state without re-running force simulation or causing graph jiggle.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-122522","created":"2026-02-16T12:27:21.314120585+00:00","closed":"2026-02-16T12:35:34.744234577+00:00"}
{"id":"task-1771244841-2f8e","title":"Unify experience + education card rendering","description":"Replace split WorkExperienceSubsection/EducationSubsection flow with one unified timeline list; add Career Intervention and Education Intervention pills with education cards right-aligned; remove separate education section.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-122522","created":"2026-02-16T12:27:21.405392078+00:00","closed":"2026-02-16T12:40:24.982347920+00:00"}
{"id":"task-1771244841-9748","title":"Aggregate sidebar tags from canonical timeline skills and verify","description":"Derive top-frequency skills from canonical timeline entries for Sidebar tags; run lint/typecheck/build.","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-122522","created":"2026-02-16T12:27:21.497481729+00:00","closed":"2026-02-16T12:42:03.342005926+00:00"}
{"id":"task-1771246519-9ce3","title":"Constellation data parity: career-only role mapping","description":"Add explicit career/education selectors in src/data/timeline.ts and ensure buildConstellationData derives role nodes/links from career entities only.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-125331","created":"2026-02-16T12:55:19.302308391+00:00","closed":"2026-02-16T12:56:35.930542017+00:00"}
{"id":"task-1771246519-1e54","title":"Constellation interaction remediation: hover/focus layer","description":"Resolve pointer interception from accessibility overlay in CareerConstellation while preserving keyboard and touch behavior; stabilize hover/pin highlight transitions.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-125331","created":"2026-02-16T12:55:19.400987872+00:00","closed":"2026-02-16T13:01:43.475882935+00:00"}
{"id":"task-1771246519-92f0","title":"Timeline parity + token alignment","description":"Align DashboardLayout/TimelineInterventionsSubsection role mapping with canonical timeline semantics and replace invalid mono token usages in constellation/timeline-adjacent components.","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-125331","created":"2026-02-16T12:55:19.496369652+00:00","closed":"2026-02-16T13:10:13.908306807+00:00"}
{"id":"task-1771246519-fd59","title":"Backpressure and manual review evidence","description":"Run lint/typecheck/build and capture required manual behavioral checks in .ralph/review.md.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-125331","created":"2026-02-16T12:55:19.589153691+00:00","closed":"2026-02-16T13:05:11.472526635+00:00"}
{"id":"task-1771247453-c78f","title":"Resolve build.blocked backpressure gate","description":"Coordinate planner/builder pass to satisfy backpressure contract and emit compliant build.done payload fields.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-125331","created":"2026-02-16T13:10:53.575377010+00:00","closed":"2026-02-16T13:13:10.138432665+00:00"}
{"id":"task-1771247613-8412","title":"Recover build.blocked gate after abandoned retries","description":"Coordinate recovery for build.task.abandoned/build.blocked by delegating to Constellation Planner for a compliant backpressure closure plan and full build.done field contract.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-125331","created":"2026-02-16T13:13:33.623635920+00:00","closed":"2026-02-16T14:00:46.735863152+00:00"}
{"id":"task-1771250865-84b6","title":"Phase 2: Strength-weighted link styling (stroke width, domain color, bezier curves, highlight)","description":"Links: width 0.5+strength*1.5, domain-colored opacity 0.08+strength*0.12, bezier offset by vertical distance, highlight width 1+strength*2","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-135722","created":"2026-02-16T14:07:45.033975574+00:00","closed":"2026-02-16T14:16:43.367692378+00:00"}
{"id":"task-1771250867-3847","title":"Phase 2: Skill node visual enhancements (stroke, size encoding, glow filter)","description":"Skill nodes: domain-colored stroke at rest (width 1, opacity 0.4), size by connected role count (base+roleCount*0.8), glow filter on highlight (feGaussianBlur 2-3px)","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-135722","created":"2026-02-16T14:07:47.014409046+00:00","closed":"2026-02-16T14:16:43.466730457+00:00"}
{"id":"task-1771250867-53ab","title":"Phase 2: Role node visual enhancements (gradient fill, highlight styling)","description":"Role nodes: fill gradient left-right orgColor@0.08 to @0.18, highlight fill-opacity 0.25 stroke-width 2 shadow-md filter","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-135722","created":"2026-02-16T14:07:47.938924710+00:00","closed":"2026-02-16T14:16:43.560201060+00:00"}
{"id":"task-1771250870-ef11","title":"Phase 2: Entry animation (timeline guides, staggered role/skill/link appearance)","description":"Timeline guides fade 200ms, role nodes slide left staggered 80ms/300ms, skill nodes scale from 0 staggered 30ms/250ms, links stroke-dashoffset, skip if prefers-reduced-motion","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-135722","created":"2026-02-16T14:07:50.192275123+00:00","closed":"2026-02-16T14:16:43.655688295+00:00"}
{"id":"task-1771250871-282f","title":"Phase 2: Legend with domain node counts","description":"Domain node counts in legend: Technical (8) · Clinical (6) · Leadership (7)","status":"closed","priority":3,"blocked_by":[],"loop_id":"primary-20260216-135722","created":"2026-02-16T14:07:51.272435950+00:00","closed":"2026-02-16T14:16:43.750288318+00:00"}
{"id":"task-1771251473-edda","title":"Data: Include education entities in buildConstellationData","description":"Modify buildConstellationData() in timeline.ts to include education entities (A-Levels, MPharm). Update types if needed. Timeline order: A-Levels(2009) → MPharm(2011) → Pre-Reg(2015) → Duty Manager(2016) → Pharmacy Manager(2017) → High Cost Drugs(2022) → Deputy Head(2024) → Interim Head(2025)","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-135722","created":"2026-02-16T14:17:53.257500198+00:00","closed":"2026-02-16T14:31:18.540275097+00:00"}
{"id":"task-1771251475-c04e","title":"Hook: Create useTimelineAnimation for chronological reveal","description":"All nodes hidden initially (opacity:0), reveal chronologically per role/education entity. rAF+timestamp scheduler, state machine in refs (IDLE→PLAYING→PAUSED→HOLDING→RESETTING→PLAYING). Auto-play after sim settles. Loop: hold 3s → fade 400ms → pause 200ms → restart. Skills already visible get reinforcement pulse (1.3x→1.0x 350ms). Year indicator overlay.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-135722","created":"2026-02-16T14:17:55.507983567+00:00","closed":"2026-02-16T14:31:18.642276867+00:00"}
{"id":"task-1771251477-81a2","title":"Visual: Entry animation reveal effects","description":"Role nodes scale from 0 with ease-out-back. New skill nodes scale from 0 with ease-out. Links draw on via stroke-dashoffset. Year indicator top-left monospace. Replace Phase 2 entry animation with timeline-driven animation.","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-135722","created":"2026-02-16T14:17:57.098724221+00:00","closed":"2026-02-16T14:31:18.740781337+00:00"}
{"id":"task-1771251479-1473","title":"Integration: Wire animation to highlight system (Phase 4)","description":"Multiplicative opacity: animation(0/target) × highlight(1.0/0.15). Hover/tap pauses animation. Highlight only on revealed nodes. Resume 800ms after interaction ends. Explicit pause via button stays paused. Play/pause toggle bottom-right. Mobile accordion + keyboard nav + detail panel work during pause. prefers-reduced-motion shows final state.","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-135722","created":"2026-02-16T14:17:59.857204916+00:00","closed":"2026-02-16T14:31:18.838001047+00:00"}
{"id":"task-1771251482-f0e9","title":"Accessibility: reduced-motion + play/pause button","description":"prefers-reduced-motion skips animation entirely, shows final state. Play/pause button with aria-label, subtle styling, larger touch target on mobile.","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-135722","created":"2026-02-16T14:18:02.061675075+00:00","closed":"2026-02-16T14:31:18.930889962+00:00"}
{"id":"task-1771284229-34e9","title":"Plan Stage 1 canonical content schema","description":"Planner hat: identify next unchecked stage and update .ralph/plan.md with scoped file-level migration plan","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-232330","created":"2026-02-16T23:23:49.734442590+00:00","closed":"2026-02-16T23:29:43.798920375+00:00"}
{"id":"task-1771284608-2942","title":"Stage1 Checkpoint A: add canonical profile content schema/module/helpers","description":"Create src/types/profile-content.ts, src/data/profile-content.ts, and src/lib/profile-content.ts with typed, centralized descriptive text and selectors; no consumer migration in this task.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-232330","created":"2026-02-16T23:30:08.665923960+00:00","closed":"2026-02-16T23:32:25.469667619+00:00"}
{"id":"task-1771284777-5798","title":"Stage 2 core UI migration to canonical profile content","description":"Migrate patient summary, sidebar profile text, experience, education, and skills surfaces to read from src/data/profile-content.ts via typed helpers while preserving keys/interaction behavior.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-232330","created":"2026-02-16T23:32:57.743321267+00:00","closed":"2026-02-16T23:38:35.460295645+00:00"}
{"id":"task-1771284779-0744","title":"Stage 3 secondary consumer migration (timeline/search/chat)","description":"Migrate timeline/constellation narrative fields, detail supporting text, and search/chat context derivations to canonical profile content; remove duplicate hardcoded narratives where feasible.","status":"closed","priority":2,"blocked_by":["task-1771284777-5798"],"loop_id":"primary-20260216-232330","created":"2026-02-16T23:32:59.722757611+00:00","closed":"2026-02-16T23:46:58.703422762+00:00"}
{"id":"task-1771284782-49ab","title":"Stage 4 cleanup hardening and one-file editing docs","description":"Remove obsolete duplicate copy sources or reduce to compatibility adapters, tighten canonical content typing, and add concise documentation for single-file content editing workflow.","status":"closed","priority":3,"blocked_by":["task-1771284779-0744"],"loop_id":"primary-20260216-232330","created":"2026-02-16T23:33:02.477613055+00:00","closed":"2026-02-16T23:52:55.104092536+00:00"}
{"id":"task-1771286005-7da9","title":"Resolve build.blocked backpressure and close loop","description":"Handle pending build.blocked by running planner->builder->reviewer handoff to produce fresh verification evidence (tests/lint/typecheck/audit/coverage/complexity/duplication/specs as applicable) and determine whether completion can be emitted.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-232330","created":"2026-02-16T23:53:25.818603059+00:00","closed":"2026-02-16T23:55:15.051676487+00:00"}
{"id":"task-1771286137-6946","title":"Backpressure recovery handoff","description":"Handle pending build.blocked by delegating planner-led verification/evidence pass and producing compliant build.done payload fields.","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260216-232330","created":"2026-02-16T23:55:37.420167405+00:00","closed":"2026-02-16T23:57:09.550127788+00:00"}
{"id":"task-1771286249-a8b1","title":"Backpressure recovery after abandoned build task","description":"Handle build.task.abandoned/build.blocked by producing a planner-led verification handoff for full build.done evidence contract.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260216-232330","created":"2026-02-16T23:57:29.501938742+00:00","closed":"2026-02-17T00:37:43.182056228+00:00"}
{"id":"task-1771286249-a8b1","title":"Backpressure recovery after abandoned build task","description":"Manually closed after objective completion to prevent stale verification-recovery loop rehydration.","status":"closed","priority":1,"blocked_by":[],"loop_id":"manual-closure-20260217","created":"2026-02-16T23:57:29.501938742+00:00","closed":"2026-02-17T00:36:52.482248622Z"}
{"id":"task-1771291778-077f","title":"Phase 1.1: Migrate medications.ts prescribingHistory into skills.ts, then delete medications.ts","description":"Merge prescribingHistory arrays from src/data/medications.ts into corresponding entries in src/data/skills.ts. Update SkillMedication type in src/types/pmr.ts. Delete medications.ts. Verify build passes.","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260217-012659","created":"2026-02-17T01:29:38.329600962+00:00","closed":"2026-02-17T01:32:23.180282710+00:00"}
{"id":"task-1771292321-e764","title":"Phase 1.3: Split profile-content.ts into focused concerns — extract LLM prompt, evaluate education/achievements placement","description":"After 1.2 completion, profile-content.ts is 246 lines. Extract LLM systemPrompt to llm.ts or dedicated file. Evaluate whether education entries and achievements should move. Keep profile-content.ts for genuinely unique UI copy only.","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260217-012659","created":"2026-02-17T01:38:41.911205927+00:00","closed":"2026-02-17T01:43:00.417343336+00:00"}
{"id":"task-1771293556-ad30","title":"Phase 3.1: Extract shared ExpandableCard component from WorkExperienceSubsection, TimelineInterventionsSubsection, RepeatMedicationsSubsection","description":"Extract common expand/collapse card pattern into ExpandableCard.tsx, reducing duplication across 3 subsection components","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260217-012659","created":"2026-02-17T01:59:16.961841961+00:00","closed":"2026-02-17T02:03:38.625048871+00:00"}
{"id":"task-1771297441-47cc","title":"Phase 0: Disable boot/login for faster iteration","description":"Change useState Phase boot to pmr in App.tsx, verify build passes","status":"closed","priority":1,"blocked_by":[],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:01.214989484+00:00","closed":"2026-02-17T03:04:54.765481391+00:00"}
{"id":"task-1771297447-322f","title":"Phase 1: Merge secondary reference documents","description":"Read both career knowledge files, create deduplicated merged reference","status":"closed","priority":1,"blocked_by":["task-1771297441-47cc"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:07.471600890+00:00","closed":"2026-02-17T03:10:00.164257071+00:00"}
{"id":"task-1771297457-6530","title":"Phase 2.1: Audit patient.ts","description":"Verify personal details against references","status":"closed","priority":2,"blocked_by":["task-1771297447-322f"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:17.484658038+00:00","closed":"2026-02-17T03:11:52.179397274+00:00"}
{"id":"task-1771297457-bf43","title":"Phase 2.2: Audit timeline.ts","description":"Verify career narratives - largest content file","status":"closed","priority":2,"blocked_by":["task-1771297447-322f"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:17.573252787+00:00","closed":"2026-02-17T03:14:45.242936609+00:00"}
{"id":"task-1771297457-08ae","title":"Phase 2.3: Audit kpis.ts","description":"Verify metrics match CV exactly","status":"closed","priority":2,"blocked_by":["task-1771297447-322f"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:17.657583328+00:00","closed":"2026-02-17T03:15:49.725948312+00:00"}
{"id":"task-1771297457-5864","title":"Phase 2.4: Audit investigations.ts","description":"Verify projects methodology results tech stack","status":"closed","priority":2,"blocked_by":["task-1771297447-322f"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:17.743525512+00:00","closed":"2026-02-17T03:16:57.547953894+00:00"}
{"id":"task-1771297457-a81d","title":"Phase 2.5: Audit skills.ts","description":"Verify skill descriptions and prescribing history","status":"closed","priority":2,"blocked_by":["task-1771297447-322f"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:17.829470269+00:00","closed":"2026-02-17T03:18:08.842924200+00:00"}
{"id":"task-1771297457-fca2","title":"Phase 2.6: Audit documents.ts and educationExtras.ts","description":"Verify education credentials","status":"closed","priority":2,"blocked_by":["task-1771297447-322f"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:17.916644096+00:00","closed":"2026-02-17T03:18:57.012788559+00:00"}
{"id":"task-1771297458-0e6b","title":"Phase 2.7: Audit profile-content.ts","description":"Verify UI copy and narrative text","status":"closed","priority":2,"blocked_by":["task-1771297447-322f"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:18.003692252+00:00","closed":"2026-02-17T03:20:28.780848146+00:00"}
{"id":"task-1771297458-622d","title":"Phase 2.8: Audit llm-prompt.ts","description":"Verify system prompt reflects accurate profile","status":"closed","priority":2,"blocked_by":["task-1771297447-322f"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:18.090674714+00:00","closed":"2026-02-17T03:21:47.621712296+00:00"}
{"id":"task-1771297458-b163","title":"Phase 2.9: Audit alerts.ts","description":"Verify banner messages","status":"closed","priority":2,"blocked_by":["task-1771297447-322f"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:18.176484641+00:00","closed":"2026-02-17T03:22:05.461628135+00:00"}
{"id":"task-1771297458-029f","title":"Phase 2.10: Audit BootSequence.tsx","description":"Verify terminal boot text","status":"closed","priority":2,"blocked_by":["task-1771297447-322f"],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:18.262819455+00:00","closed":"2026-02-17T03:22:05.548645902+00:00"}
{"id":"task-1771297458-4f63","title":"Phase 2.11: Final sweep for hardcoded strings","description":"Check components for remaining hardcoded text","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:18.348005503+00:00","closed":"2026-02-17T03:23:38.024405947+00:00"}
{"id":"task-1771297465-54bf","title":"Phase 3.1: Remove ECG phase entirely","description":"Delete ECGAnimation.tsx, remove from App.tsx, remove ecg from Phase type","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:25.283840612+00:00","closed":"2026-02-17T03:26:22.910370425+00:00"}
{"id":"task-1771297465-a476","title":"Phase 3.2: Redesign boot-to-login transition","description":"Create polished software launch transition with reduced-motion support","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:25.369783672+00:00","closed":"2026-02-17T03:28:05.015285743+00:00"}
{"id":"task-1771297465-10bf","title":"Phase 3.3: Re-enable and verify boot sequence","description":"Change back to boot phase, verify full flow, build passes","status":"closed","priority":2,"blocked_by":[],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:25.463040291+00:00","closed":"2026-02-17T03:28:45.201117879+00:00"}
{"id":"task-1771297465-763c","title":"Phase 4.1: Compile unverified content summary","description":"Ensure References/unverified-content.md is complete","status":"closed","priority":3,"blocked_by":[],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:25.554560166+00:00","closed":"2026-02-17T03:29:17.618361543+00:00"}
{"id":"task-1771297465-c9be","title":"Phase 4.2: Final quality gates","description":"lint + typecheck + build all pass, boot sequence works","status":"closed","priority":3,"blocked_by":[],"loop_id":"primary-20260217-030331","created":"2026-02-17T03:04:25.641472037+00:00","closed":"2026-02-17T03:29:51.752918816+00:00"}
View File