Skip to main content

Wiring Map

Execution coordinates for the engineering agent. All paths relative to the stackmat.es implementation worktree.

Pages

ScreenRouteFilePattern to Copy
Forms Index/formsBLOCKER: stackmat.es page routing pattern TBD — likely src/app/forms/page.tsx or Docusaurus docs/forms/index.mdCopy structure from existing component index pages
Standard Process/forms/standard-processBLOCKER: depends on Forms Index routing decisionCopy layout from existing pattern documentation pages
Shipping Checklist/forms/checklistBLOCKER: depends on Forms Index routing decisionCopy from existing checklist-style pages (anti-patterns page)
CRM Contact Pattern/patterns/crm/contact-formBLOCKER: exact current CRM page paths need verificationRewrite in place — preserve URL
Meeting Agenda Pattern/patterns/meetings/agendaBLOCKER: depends on pattern page routing decisionCopy from existing pattern pages (e.g., CRM patterns after rewrite)

Components

ComponentFileServes (Screen Contract ref)
Form atoms (Input, Select, Textarea, Checkbox)BLOCKER: exact @stackmates/ui form atom paths TBDR1, R2, M2
FormShell organismBLOCKER: exact @stackmates/ui FormShell path TBDM3
MeetingAgenda organismNew — BLOCKER: file path depends on whether it goes in lib or appM1-M6

Server Actions

No server actions. All form submissions go to console.log per Prime Directive constraints.

Infrastructure

LayerFilePurpose
Sidebar configBLOCKER: stackmat.es sidebar configuration file TBDRestructure forms navigation to single entry
Tailwind themeBLOCKER: stackmat.es Tailwind config path TBDVerify @theme bridge tokens resolve for form components

Existing Tests

TypeFileCovers
Storybook storiesBLOCKER: form atom story file paths TBDForm atom rendering + accessibility (regression baseline)
BLOCKERNo known form integration testsS4 (CRM rewrite), S5 (meeting form) need new test files

Seeds and Fixtures

No data layer. All form submissions log to console. No seed data needed.

Implementation Guardrails

  • Every page imports from @stackmates/ui — zero raw HTML form elements
  • No _components/ local directory under any page — if it needs a component, it goes in the lib
  • CRM page URLs must not change during rewrite
  • Use Tailwind v4.1 @theme tokens — no arbitrary bracket values
  • L:R ratio target 1:3 or better for every pattern page
  • console.log or alert for form submissions — no API connections
  • Anti-pattern documentation must not be moved or removed during nav restructure
  • FormShell is the form wrapper — do not create a competing wrapper