Fibretrace Monet: team docs
Built 2026-08-20 from monet 54e6a5e (branch dev-dashboard). Lovable cursor: fetched f0d02a28, ported 2b52a608. Read-only snapshot of the analysis docs, regenerated after every Lovable sync. Use the tree on the left to navigate; every page is self-contained and searchable with Ctrl+F.
Start here
The master report merges every analysis block into one ranked decision list. Read it first.
- Master Report VI: 8-rank decision list: claim-model schism, RLS exposure, QC start, terminology, reservation, script-vs-code drift, T88 revoke finding, product residue.
QC test script
Malcolm's QC script tests the Lovable MVP, not monet. Running it against monet produces false bug reports.
- Script analysis VI: Route coverage (30/31 on Lovable, 10 missing + 14 shells on monet), per-section verdicts, questions for Malcolm.
- Test cases: The script's cases, normalised and numbered.
Knowledge base
Business logic re-derived 100% from the Lovable code. Every statement carries a confidence label (VERIFIED / STATED / INFERRED / UNKNOWN).
- Overview
- Domain model + ERD
- Lifecycles
- Glossary + collisions
- Rules + invariants
- Persona map
- Persona: FT Admin
- Persona: Program Owner
- Persona: Tier 4 Fibre Producer
- Persona: Tier 1 Manufacturer
- Persona: Tier 0 Retailer / Brand
- Persona: additional roles
- Implementation state
- Open questions (ranked)
- About the knowledge base
Lovable sync 2026-08-19
Window 0df29e60 to f0d02a28, 781 commits, 29 units (7 PORT / 14 REVIEW / 8 SKIP). Plan only; nothing is ported until business settles the version.
- Run summary: What changed on Lovable, why, and how each unit resolved against the real Fibretrace API.
- Port plan: Unit-by-unit plan with API resolution (EXISTS = 0, 9 GAP, 3 PARTIAL) and cursor state.
Walkthroughs and notes
Day-by-day notes from Malcolm's demos and the code walkthroughs that preceded the knowledge base.
- Flow diagram: Visual map of the claim / PO / evidence-pack flow.
- Flow explained: Narrative companion to the diagram.
- Persona case matrix: Which persona can do what, per screen.
- GUI walkthrough report: Screen-by-screen walkthrough of the live Lovable demo with screenshots.
- Walkthrough playbook: How the walkthrough was run and what is safe to touch on the demo.
- 2026-07-08 Malcolm demo notes: Fibre programme roles, tiers, hardcoded-apparel decision, certificates 1:N, claim sharing.
- 2026-07-09 Claims and product flow
- 2026-07-09 Linking and retirement rules
- 2026-07-16 Code-resolved open questions
- UX findings for Malcolm
- About these notes
Backend integration audit
Every dashboard data surface classified EXISTS / GAP / PARTIAL / mis-wired against the canvas API contracts.
- Audit report: Interactive report with verified contracts and draft code.
- BE ask: The consolidated request list for the backend team.
- About the audit
Jira backlog
Phase 1 planning source of truth.
- Phase 1 plan: Grouped by epic with FE/BE split, owners, estimates, out-of-scope list, open questions, sequencing.
- Master backlog (CSV): All phases, as a download.
What changed
- 2026-08-20 (v2) — New site shell styled on the monet dashboard design system (light theme, Inter + Mona Sans, shadcn tokens, the dashboard sidebar look) instead of the generic dark md2html theme: left sidebar with a collapsible document tree and a filter box, breadcrumb top bar, full-width content (wide tables now scroll inside their own box instead of overflowing), previous/next links, hand-built artifacts framed inside the shell. The knowledge-base portal page is retired: its 15 documents sit directly in the tree.
- 2026-08-20 — First publication. Contents: Master Report (EN + VI) merging the 2026-08-19 Lovable sync, the QC script analysis and the business-logic knowledge base; T88 closed (admin claim revoke throws at the DB, half-migration); the RLS exposure on the Lovable MVP’s Supabase promoted to rank 2; T88 evidence corrected the same day (program_certificates does carry a status CHECK and it allows revoked, which is why certificate revoke works).