PIF × SC Dashboard

v1.1 2026-03-17
Overview
Platform
GH Engine
Launch Checklist
Files
Platform Ready
65%
6 gaps remain
GH Features
28
of ~35 target
Edge Functions
10
2 built, 8 stubbed
Code Lines
5,113
22 files
DB Tables
9
15 indexes, 13 RLS
Docs Delivered
5
this session
Overall Platform Progress65%
\u25CF Done (45%) \u25CF Stubbed (20%) \u25CF Todo (35%)
Platform Areas 11
AreaStatusDetail
Auth / Accounts80%Supabase Auth, register/login/logout, roles, session. hCaptcha stubbed.
Database Schema90%9 tables, 15 indexes, RLS on all tables, feature flags
API Layer85%10 Edge Functions, SC_API client wrapper, 9 DB queries
Stripe Connect30%All 3 functions written but fully mocked. Biggest blocker.
File Storage40%Token + expiry in schema, download fn written, upload commented out
Designer Storefront20%Backend exists. No UI page. Scope TBD.
Product LibraryDONE20 products, filterable, SVG previews, configurator links
Landing PageDONE693 lines, features, pricing, CTAs
Buyer PageDONE326 lines, buyer flow, maker-matching placeholder
Nav SystemDONEResponsive, auth-aware, shared across all pages
Feature FlagsDONE8 flags, all disabled, admin override function
6 Remaining Gaps
#GapBlockerOwner
1Stripe Connect — go liveStripe account + keys neededDennis → CC
2Storage pipelineSupabase project neededDennis → CC
3Designer storefront UIScope TBDCC
4Admin panel UIEdge Function exists, no pageCC
5Transactional emailsEmail provider neededDennis → CC
6Legal pagesDrafted. Review + refund decision needed.Dennis
Pricing Tiers TBD
SourceTierPriceNotes
Master SpecEmerging$29/moView + PDF + credits
Master SpecSurging$79/mo+ DXF, SVG, Jig
Master SpecConverging$149/mo+ Per-sheet, Offcut, Publish
Codedesign_and_goFreeIn the paddock
Codeemerging$9.99/moFirst qualifying laps
Codesurging$49.99/moMid-field
Codeconverging$149.99/moFront of the field
Codediverging$399.99/moRunning a team
All
Done
Built
Stubbed
Todo
Edge Functions 10
FunctionLinesStatusDetailTODOs
register162STUBMember signup, Auth user creation, members rowhCaptcha stubbed, no rollback on partial failure
upload-file381STUB7-point validation, originator role checkStorage upload commented out, integrity check, quota
list-file149BUILTTransitions uploaded → listedPost-listing hooks
create-checkout225STUBStripe Checkout + 10% platform feeCheckout session fully mocked
stripe-webhook294STUBcheckout.completed + payment_failedSig verification UNSAFE, email stubbed, no transfers
stripe-onboarding179STUBConnect account.updatedSig verification stubbed
download192STUBToken validation + signed URL redirectSigned URL placeholder
resend-download223STUBFresh token + re-send emailEmail stubbed, max 5 retries
verify-earning223STUBTax/W-9 + Stripe Connect ExpressAccount creation fully mocked
admin-overrides195BUILTGET/PUT feature flags, admin-onlyAudit trail, multi-admin
Client JS 4 files, 519 lines
FileLinesStatusKey Functions
sc-config.js32DONEinitSupabase(), SC_CONFIG constants. Credentials are placeholders.
sc-auth.js162DONEregister, login, logout, isLoggedIn, getTier, hasRole, onAuthChange
sc-api.js215DONEbrowseFiles, getFile, getMyFiles, getMyOrders, getMyPayouts, isFeatureEnabled
sc-nav.js106DONEResponsive nav, auth-aware links, dark theme, tier badge
HTML Pages 3 built + 5 needed
PageLinesStatusPurpose
index.html693DONELanding page — features, pricing, CTAs
buyer.html326DONEBuyer landing — non-woodworker flow
library.html535DONEProduct library — filterable cards, SVG previews
configurator_v2.htmlSEPARATECabinet configurator (developed in other chat)
dashboard.htmlTODODesigner file management + earnings
admin.htmlTODOAdmin panel — flags, members, orders, moderation
terms.htmlDRAFTEDTerms of Service
privacy.htmlDRAFTEDPrivacy Policy
refund.htmlTBDRefund Policy — 3 options drafted, decision pending
Database Schema 9 tables
TableEdge FunctionsClient JS
membersregister, upload-file, stripe-onboarding, verify-earning, download, stripe-webhooksc-auth (_loadMember)
member_rolesupload-file, stripe-onboardingsc-auth (hasRole)
member_communities
filesupload-file, list-file, create-checkout, stripe-webhook, download, resend-downloadsc-api (browseFiles, getFile, getFileFamily, getMyFiles)
file_community_tagsupload-filesc-api (joined in browseFiles, getFile)
file_royalty_chainupload-file, create-checkout, stripe-webhooksc-api (joined in browseFiles, getFile)
orderscreate-checkout, stripe-webhook, download, resend-downloadsc-api (getMyOrders)
payoutsstripe-webhooksc-api (getMyPayouts)
override_controlsregister, upload-file, create-checkout, admin-overridessc-api (isFeatureEnabled, getAllOverrides)
Features Built
28
v6.8 Python
Sliders
112
on canvas
Output Pins
12
a1–a12
Next Version
v7.0
DXF export priority
v6.8 Features (28 Built) Python 3 Script
#FeatureStatusOutput Pin
1Zone height cascade — top-down priority (Z1 locks, Z4 residual)DONEa1–a4
2Column width cascade — left-to-right (Col1 locks, last residual)DONE
3Per-zone independent column counts (1–4)DONE
4Per-zone per-column width cascade with divider deductionDONE
5Divider geometry — HasDivider toggle per boundaryDONEa5
6Cabinet shell panels (top, bottom, left, right, back)DONEa5
7Toe kick with notched end panels — multi-boxDONEa5
8Front/back/rear stretchers (nailers)DONEa9
9CompType system: 0=Off, 1=Drawer, 2=Door, 3=OpenDONE
10Per-column door fronts (H overlay, V/H reveal)DONEa6
11Per-column drawer fronts (graduated ratios)DONEa6
12Face frame: off/outer/full modes, 4-level tiered widthsDONEa7
13Back panel rabbets on all four edgesDONEa5
14Toe kick notches on end panelsDONEa5
15Joinery type: butt joint vs. dadoDONE
16Zone-boundary shelves with HasShelf toggleDONEa5
17Shelf pin holes — 32mm system Point3d geometryDONEa12
18CNC cut geometry separate outputDONEa8
19ProjectType gating (0–6) — boolean flagsDONE
20Distribution modes: Equal, Fibonacci, Golden Ratio, CustomDONE
21Distribution direction toggles + Strength sliderDONE
22JSON input mode (InputMode=1) — reads .pif fileDONE
23Realistic color mode toggleDONEa1–a4
24Material preset menu (Maple, Walnut, etc.)DONEa1–a4
25Exploded view modeDONE
26Unit mode toggleDONE
27Drawer boxesDONEa10
28CNC geometry outputDONEa11
WIP / Next Session v7.0
PriorityFeatureStatusNotes
1DXF export — per-panel DXF for Aspire/ShopSabreWIPFeature #6 on build plan. Pass 1 started in v6.8.
2JSON mode full verificationWIPInputMode=1 dimension-change test interrupted in v6.4
3JSON schema v2.4 verificationTODO101+ parameters, naming convention locked
GH Files
FileStatusObjectsNotes
PIF_ZoneStack_Python_v6.8.ghCURRENT16828 features, 112 sliders, 12 outputs
PIF_CabinetGen_v2.1_v24AD.ghREFERENCE1,401Archive — Telepathy/slider GUID source
PIF_ZoneStack_Test_v4P.ghARCHIVE~200Canvas proof of concept
Launch Progress0 / 28
Phase A — Accounts & Keys (~75 min Dennis)0/7
Phase B — Backend Go-Live (CC)0/11
Phase C — Frontend Pages (CC + Claude)0/6
Phase D — Deploy & Test0/4
Top-Level Files
15
Selection-Connection/
Docs
40
handoffs + specs + logs
Plans
13
design + implementation
Session Docs
5
delivered today
Selection-Connection/ (top level)
▸ HTML Pages
html index.html 693 lines
html buyer.html 326 lines
html library.html 535 lines
html configurator.html v1
html configurator_v2.html v2 current
html lamiform.html
▸ JSON Data
json StandardProducts.json 425 lines
json ChassisPresets.json
json LamiFormParts.json
▸ js/ (4 files, 519 lines)
js sc-config.js 32 lines
js sc-auth.js 162 lines
js sc-api.js 215 lines
js sc-nav.js 106 lines
▸ supabase/ (14 files, 2,600 lines)
toml config.toml 32 lines
sql migrations/001_initial_schema.sql 188 lines
sql migrations/002_seed_overrides.sql 13 lines
sql migrations/003_rls_policies.sql 145 lines
ts functions/register/index.ts 162 lines
ts functions/upload-file/index.ts 381 lines
ts functions/list-file/index.ts 149 lines
ts functions/create-checkout/index.ts 225 lines
ts functions/stripe-webhook/index.ts 294 lines
ts functions/stripe-onboarding/index.ts 179 lines
ts functions/download/index.ts 192 lines
ts functions/resend-download/index.ts 223 lines
ts functions/verify-earning/index.ts 223 lines
ts functions/admin-overrides/index.ts 195 lines
▸ docs/ — Session Handoffs (13)
md PIF_Session5_Handoff_2026-03-17.md
md Session_Handoff_2026-03-15_ZoneStack_v4O_v4P.md
md Session_Handoff_2026-03-13_ZoneStack_v4_v5.md
md Session_Handoff_2026-03-13_ZoneStack_v4E.md
md Session_Handoff_2026-03-13_ZoneStack_v4D.md
md Session_Handoff_2026-03-13_ZoneStack_v4C.md
md Session_Handoff_2026-03-13_ZoneStack_v4B.md
md Session_Handoff_2026-03-08_v24Z.md
md Session_Handoff_2026-03-06_v23.md
md Session_Handoff_2026-03-04_v23B.md
md Session_Handoff_2026-03-04_v23A_DrwFront_Audit.md
md Session_Handoff_2026-03-03_v23_Phase1_Phase2.md
md Session_Handoff_2026-03-03_v22_LOCKED.md
▸ docs/ — Specs & Strategy (8)
md PIF_Market_Analysis_2026-03-17.md
md PIF_Configurator_Feature_Transfer_Map.md
md PIF_RC_v23_Compartment_Architecture_Spec.md
md PIF_DrawerBox_Parametric_Spec.md
json ParameterMap.json
md GH_File_Analysis_CC_2026-03-17.md
md GH_v11_Audit_Report_2026-03-01.md
md PIF_Documentation_Index.md
▸ docs/ — This Session (5)
docx SC_Platform_Spec_v1.0.docx 22,706 bytes
docx PIF_SC_Master_Spec_v1.1.docx 16,882 bytes
docx SC_Legal_Pages_DRAFT.docx 14,467 bytes
docx Supabase_Setup_Walkthrough.docx 13,193 bytes
docx Stripe_Setup_Walkthrough.docx 16,856 bytes
▸ docs/plans/ (13 files)
md 2026-02-25-sheet-nesting-design.md
md 2026-02-27-rigidcore-completion-design.md
md 2026-02-27-rigidcore-completion.md
md 2026-02-27-svg-realism-design.md
md 2026-02-27-svg-realism-plan.md
md 2026-02-28-cnc-dxf-export-design.md
md 2026-02-28-cnc-dxf-export.md
md 2026-02-28-cnc-pipeline-reference.md
md 2026-02-28-dashboard-pages-design.md
md 2026-02-28-dashboard-pages.md
md 2026-02-28-dxf-tier-system-design.md
md 2026-02-28-dxf-tier-system.md
md 2026-03-02-drawer-box-parametric-spec.md