Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
4544e38
chore: add infrasity_ref to .gitignore
vpn-cli Nov 16, 2026
9d12c5b
style(tokens): unify brand token to violet, scope cursor to landing, …
vpn-cli Nov 16, 2026
666e9af
style(shell): refine shell and builder chrome, gitignore screenshots,…
vpn-cli Nov 16, 2026
94d72de
feat(renderers): revamp DataTable with 5 states and keyboard navigati…
vpn-cli Nov 16, 2026
9f95e9d
fix(cursor): restore native cursor on route change and unmount
vpn-cli Nov 16, 2026
481180e
fix(cursor): restore native cursor on route change and unmount
vpn-cli Nov 16, 2026
c27582f
feat(typography): replace JetBrains Mono with Geist Mono stack and co…
vpn-cli Nov 16, 2026
d197c42
chore: remove obsolete globals.css.bak
vpn-cli Nov 16, 2026
000a0fe
feat(dashboard): polish template picker, app cards, and prompt box
vpn-cli Nov 16, 2026
f158049
feat(dashboard): integrate refined DashboardView
vpn-cli Nov 16, 2026
8818d70
feat(builder): support prefilled prompts from dashboard in copilot panel
vpn-cli Nov 16, 2026
adc8406
feat(dashboard): redesign dashboard with two directions, live app thu…
vpn-cli Nov 16, 2026
5c41307
docs: update progress-tracker and ui-registry with dashboard revamp
vpn-cli Nov 16, 2026
116e73c
fix(cursor): guarantee zero cursor:none leakage outside landing route…
vpn-cli Nov 16, 2026
3c65132
feat(builder): dock resizable copilot beside preview, add ⌘K header t…
vpn-cli Nov 16, 2026
3ef120e
fix(cursor): restore native cursor on route change and unmount withou…
vpn-cli Nov 16, 2026
920ff5e
feat(renderers): container queries, zero overflow, card context, and …
vpn-cli Nov 16, 2026
1688aba
feat(builder): refine Direction A with docked resizable copilot, sent…
vpn-cli Nov 16, 2026
5398898
feat(layout): redesign navigation and builder 3-pane resizable layout
vpn-cli Nov 16, 2026
bbb3fe9
feat(ui): apply monochrome palette, type scale, and dashboard profess…
vpn-cli Nov 16, 2026
3345dad
style: enforce monochrome logo spark and url theme hydration in layout
vpn-cli Nov 16, 2026
a25e0d7
chore(design): add reference home image as source of truth
vpn-cli Nov 16, 2026
459a534
docs(design): add home-spec.md sampled from reference image
vpn-cli Nov 16, 2026
c87ba10
feat(registry): add area-chart wave and workflow entity presets to St…
vpn-cli Nov 16, 2026
b48494a
fix(db): enforce RLS lockdown, DDL security and backfill app_schemas
vpn-cli Nov 16, 2026
970c8b2
fix(lib): require SUPABASE_SERVICE_ROLE_KEY for server database client
vpn-cli Nov 16, 2026
8501349
feat(auth): implement tenant-isolated authorizeAppAccess helper
vpn-cli Nov 16, 2026
e5d3238
feat(schema): secure DDL execution and record schemas in syncAppSchema
vpn-cli Nov 16, 2026
5152a98
feat(proxy): secure proxy route handlers with tenant isolation
vpn-cli Nov 16, 2026
d525c40
test(auth): add Vitest unit tests for authorizeAppAccess tenant isola…
vpn-cli Nov 16, 2026
32e1ba1
docs: update progress tracker with tenant isolation and security hard…
vpn-cli Nov 16, 2026
e5824ca
test(a11y): add WCAG 2.2 AA contrast checks for reference home light …
vpn-cli Nov 16, 2026
99aa8d0
feat(home): implement faithful recreation of AppForge Home with refin…
vpn-cli Nov 16, 2026
0ee0579
docs: update progress-tracker and ui-registry with new home glassmorp…
vpn-cli Nov 16, 2026
068e489
feat(home): polish preview card dark-panel rendering, table avatars, …
vpn-cli Nov 16, 2026
1584bc9
fix(copilot): resolve infinite hang by routing to gemini-2.5-flash wi…
vpn-cli Nov 17, 2026
38366a9
refactor(home): revert first reference prompt components and restore …
vpn-cli Nov 17, 2026
e064404
test(a11y): update verify-contrast regex to handle multi-selector dar…
vpn-cli Nov 17, 2026
40542b0
fix(home): restore components/home files for AppForge reference home …
vpn-cli Nov 17, 2026
810fcf5
feat(home): streamline HomeView and single org switcher pill to match…
vpn-cli Nov 17, 2026
71edb3a
fix(home): restore desktop sizing with 1280px container, 64px headlin…
vpn-cli Nov 17, 2026
05bad3e
docs: define design tokens and standards in DESIGN.md
vpn-cli Nov 17, 2026
bc861cd
feat(home): redesign landing page with full-width centered layout, fr…
vpn-cli Nov 17, 2026
aa6b291
docs(context): update progress tracker and ui registry with landing o…
vpn-cli Nov 17, 2026
3fe78c4
feat(landing): implement Apple liquid glass material system and dark …
vpn-cli Nov 17, 2026
fdfc1f6
test(landing): add automated CDP inspection and verification scripts …
vpn-cli Nov 17, 2026
f557df8
feat(landing): restore features section, footer, and auth buttons
vpn-cli Nov 17, 2026
70860e7
feat(home): establish vertical rhythm and bright violet headline grad…
vpn-cli Nov 17, 2026
b6d88d0
feat(home): replace SVG ribbon with 2x rendered glass asset and tune …
vpn-cli Nov 17, 2026
4b76aaf
feat(landing): restyle features section and footer with liquid glass …
vpn-cli Nov 17, 2026
653f04f
feat(home): refine table grid, metric chart confinement, code balance…
vpn-cli Nov 17, 2026
bb8a32f
docs(context): document vertical rhythm, glass ribbon asset, and comp…
vpn-cli Nov 17, 2026
e3ece6f
style(tokens): add shared design system tokens, type scale, and smoke…
vpn-cli Nov 17, 2026
c65593e
feat(ui): add shared design system components and reference pill buttons
vpn-cli Nov 17, 2026
197104c
feat(builder): replace copilot sidebar with floating chat pill and qu…
vpn-cli Nov 17, 2026
a01193a
feat(pages): apply shared design system across landing, apps, templat…
vpn-cli Nov 17, 2026
39811c2
style(type): ensure no text falls below 12px conforming to design sys…
vpn-cli Nov 17, 2026
1a32cd7
docs: update progress tracker and ui registry with shared design syst…
vpn-cli Nov 17, 2026
d9a0de4
test: add acceptance verification and full-page capture script
vpn-cli Nov 17, 2026
9e47215
feat(security): enforce tenant isolation, remove admin bypass, and ad…
vpn-cli Nov 17, 2026
a9bbb27
feat(rls): apply native Clerk RLS policies with subquery caching, swi…
vpn-cli Nov 17, 2026
bab631f
fix(ci): resolve tsc read-only NODE_ENV and ESLint scope configuration
vpn-cli Nov 17, 2026
f7039c5
fix(ci): bump CI runners to Node 22 and expose test database environm…
vpn-cli Nov 17, 2026
dff2f6c
fix(build): remove unused server client invocation from static market…
vpn-cli Nov 17, 2026
e6338cd
fix(header): resolve stuck focus ring on theme toggle and ensure org …
vpn-cli Nov 17, 2026
9d77f32
style(dashboard): refine app shell background with quiet landing page…
vpn-cli Nov 17, 2026
9f57b08
style(home): compact 9-line hero layout and 1440x900 viewport fit
vpn-cli Nov 17, 2026
9eaf41f
feat(dashboard): overhaul composer with 64px glass-1 bar, primary but…
vpn-cli Nov 17, 2026
9afd95c
style(home): enhance contrast with lavender base, full-presence ribbo…
vpn-cli Nov 17, 2026
a8dc77a
feat(dashboard): enhance app cards with legible cropped thumbnails an…
vpn-cli Nov 17, 2026
a96385f
feat(dashboard): align apps hierarchy with inline stat chips, timelin…
vpn-cli Nov 17, 2026
d3d634f
feat(home): add looping scripted live edit with reactive preview, cur…
vpn-cli Nov 17, 2026
a77c93a
fix: resolve Base UI nativeButton runtime warnings and SSR context er…
vpn-cli Nov 17, 2026
3a31a4d
docs: update ui-registry and progress tracker for apps dashboard over…
vpn-cli Nov 17, 2026
8942240
test(home): add automated CDP screencast recording script for hero loop
vpn-cli Nov 17, 2026
9d5a185
feat(builder): apply shared glass design system, anchor Copilot pill,…
vpn-cli Nov 17, 2026
56f7c82
docs: update progress tracker and UI registry with builder design sys…
vpn-cli Nov 17, 2026
3a525ba
fix(dashboard): replace mock team initials and fake activity with rea…
vpn-cli Nov 17, 2026
975e62a
feat(copilot): add per-component Zod schemas and safe fallback node f…
vpn-cli Nov 17, 2026
cbd54ec
feat(copilot): implement Groq primary with Gemini fallback, strict fi…
vpn-cli Nov 17, 2026
dd24427
feat(evals): add generation benchmark harness, per-model results, and…
vpn-cli Nov 17, 2026
64ac997
docs: update progress-tracker.md with Phase 2 Copilot hardening compl…
vpn-cli Nov 17, 2026
2248b1b
docs(evals): record latest harness summary and gemini baseline run
vpn-cli Nov 17, 2026
4a8f7d3
fix(evals): correct metric definitions, fix resumability and latency …
vpn-cli Nov 18, 2026
9034bf8
feat(evals): recompute 120b metrics, remove duplicate tests, add Post…
vpn-cli Nov 18, 2026
0578663
test(rls): add positive controls for User B, enforce single-outcome a…
vpn-cli Nov 18, 2026
40250bd
test(rls): add positive controls for User B, label static check, and …
vpn-cli Nov 18, 2026
b03c8b0
fix(security): enforce separate test db in CI, document server-mediat…
vpn-cli Nov 18, 2026
8860ed8
feat(security): add migration to patch published apps column leak and…
vpn-cli Nov 18, 2026
fa136ac
ci: trigger test suite on all branches and enforce test db secrets check
vpn-cli Nov 18, 2026
a3d9ccf
fix(schema): call syncAppSchema in createAppFromTemplate and publishA…
vpn-cli Nov 18, 2026
8a3f16b
feat(scripts): add repair-missing-tables script with default dry-run …
vpn-cli Nov 18, 2026
e83ee85
test(rls): add template provisioning tests, proxy table missing check…
vpn-cli Nov 18, 2026
d78ff95
feat(security): lock down anon table grants, revoke dangerous DDL/tab…
vpn-cli Nov 18, 2026
396bf20
feat(security): add cleanup-live-artifacts script with dry-run defaul…
vpn-cli Nov 18, 2026
2b6130f
fix(security): drop published_apps view, drop unused owner policies, …
vpn-cli Nov 18, 2026
a1b0c8b
fix(security): switch schema DDL to structured parameters and whiteli…
vpn-cli Nov 18, 2026
70954f3
test(security): remove live fallbacks, enforce test secrets requireme…
vpn-cli Nov 18, 2026
cde20b9
docs: record security hardening, DDL injection defenses, and test dat…
vpn-cli Nov 18, 2026
4c1cabd
fix(security): enforce structured execute_app_ddl, 22-char entity lim…
vpn-cli Nov 18, 2026
d76fc12
test(security): add app_test_items to cleanup script and test entity …
vpn-cli Nov 18, 2026
11ac826
docs: add step-by-step live migration and testing runbook
vpn-cli Nov 18, 2026
b026975
feat(sql): split migration into expand/contract, add ALTER TABLE ADD …
vpn-cli Nov 18, 2026
fe66506
feat(schema): reject unknown field types and surface descriptive sync…
vpn-cli Nov 18, 2026
5a09bc5
feat(proxy): normalize camelCase body keys and order param to lowercase
vpn-cli Nov 18, 2026
d44c4ac
feat(copilot): instruct snake_case <= 22-char entity names and guard …
vpn-cli Nov 18, 2026
e847b3f
docs: update live deployment runbook for expand/contract zero-downtim…
vpn-cli Nov 18, 2026
7cfcf76
test: add integration test cases for ALTER TABLE ADD COLUMN, type cha…
vpn-cli Nov 18, 2026
0459946
style: refine UI tokens, templates view, and responsive component styles
vpn-cli Nov 18, 2026
aa9534b
feat(proxy): reject colliding keys, validate entity schema, and resol…
vpn-cli Nov 18, 2026
fa2f1e5
chore(evals): bump PROMPT_VERSION to v1.1.0
vpn-cli Nov 18, 2026
134586c
docs(runbook): add single-session migration rule and audit Vercel env…
vpn-cli Nov 18, 2026
83388ce
chore(telemetry): remove Upstash Kafka producer, consumer, env vars, …
vpn-cli Nov 18, 2026
b2eb368
ci: expand test file glob to include all tsx and test variants
vpn-cli Nov 18, 2026
92b4240
feat(proxy): allow id and created_at in update/delete bodies, ignore …
vpn-cli Nov 18, 2026
b748cba
fix(auth): fail loudly at startup when SUPABASE_SERVICE_ROLE_KEY is m…
vpn-cli Nov 18, 2026
abe2da1
docs(runbook): add mandatory SUPABASE_SERVICE_ROLE_KEY pre-check befo…
vpn-cli Nov 18, 2026
d6439a7
ci: separate unit and database test jobs with vitest projects
vpn-cli Nov 18, 2026
420a351
refactor(dashboard): rename Recent Activity to Recently updated to ma…
vpn-cli Nov 18, 2026
8e4f9af
fix(test): load .env.test before .env.local in vitest config
vpn-cli Nov 18, 2026
f2fe005
fix(sql): lock down validation_logs grants and permissive policy in M…
vpn-cli Nov 18, 2026
4161e82
fix(test): isolate vitest config to .env.test to prevent .env.local l…
vpn-cli Nov 18, 2026
f7affba
test(db): fix test setup and align assertions with Migration A/B lock…
vpn-cli Nov 18, 2026
4603d69
docs(runbook): add pg_dump backup, validation_logs lockdown note, and…
vpn-cli Nov 18, 2026
2c23cd7
feat(proxy): allow logged-out read-only access for published apps wit…
vpn-cli Nov 18, 2026
db76adf
test(db): add logged-out proxy tests and enforce strict 42501 on dire…
vpn-cli Nov 18, 2026
5555ce7
docs(runbook): require data rows verification in logged-out smoke tes…
vpn-cli Nov 18, 2026
0afabce
fix(proxy): derive public-read rate-limit IP strictly from x-real-ip …
vpn-cli Nov 18, 2026
5ca85a9
feat(builder): add publish confirmation dialog with public link visib…
vpn-cli Nov 18, 2026
ff6bbb4
fix(actions): move normalizeConfigFieldNames out of use server module
vpn-cli Nov 18, 2026
11d5241
fix(builder): eliminate localStorage hydration mismatch using useSync…
vpn-cli Nov 18, 2026
dab3d56
fix(builder): expand minified CSS hex tokens for Monaco light theme, …
vpn-cli Nov 18, 2026
a50d758
feat(copilot): add per-IP rate limit and global daily cap for logged-…
vpn-cli Nov 19, 2026
c21e8b0
fix(copilot): enforce x-real-ip only with unknown fallback bucket and…
vpn-cli Nov 19, 2026
335a49e
fix(security): remove passthrough and enforce strict schemas rejectin…
vpn-cli Nov 19, 2026
8e54382
feat(scripts): add check-live-configs auditor with read-only transact…
vpn-cli Nov 19, 2026
d4e744e
feat(routes): guard test endpoints with 404 in production, canonicali…
vpn-cli Nov 20, 2026
2dd0a90
feat(auth): require auth on /apps page, update clerk redirects to /ap…
vpn-cli Nov 20, 2026
9d54cb0
docs: add .env.example with /apps clerk redirect routes
vpn-cli Nov 20, 2026
08e1ea1
docs: update progress tracker with item 27 production auth hardening
vpn-cli Nov 20, 2026
3513a82
feat(backgrounds): add /dev/backgrounds candidate benchmark suite wit…
vpn-cli Nov 20, 2026
87788ba
docs: update progress-tracker and ui-registry for Part 1 backgrounds …
vpn-cli Nov 20, 2026
05a502c
feat(scripts): add print-supabase-host startup script for dev and start
vpn-cli Nov 20, 2026
74cd3b4
revert: remove /dev/backgrounds and restore package.json on feat/inte…
vpn-cli Nov 20, 2026
07468c3
feat(sandbox): protect sandbox and demo write paths across actions an…
vpn-cli Nov 20, 2026
0e172c8
refactor(proxy): extract route helpers to lib/proxy-helpers.ts to sat…
vpn-cli Nov 20, 2026
ad70917
feat(test): centralize test database safety guard allowlist in vitest…
vpn-cli Nov 20, 2026
9926d6d
feat(scripts): add modular check-live-configs auditor with cli creden…
vpn-cli Nov 20, 2026
6e2b0a1
feat(copilot): generate system prompt keys and enums dynamically from…
vpn-cli Nov 20, 2026
0bc7e24
fix(copilot): remove unused DataTableColumnSchema import in copilot-p…
vpn-cli Nov 20, 2026
a0420b9
chore(config): remove output standalone to allow standard next start …
vpn-cli Nov 20, 2026
130d918
test(db): add retry for PostgREST schema cache reload on dynamic tables
vpn-cli Nov 20, 2026
54d4078
docs: add README draft, architecture decision records, and go-live sm…
vpn-cli Nov 20, 2026
598fb41
docs: finalize smoke test checklist with theme rendering and security…
vpn-cli Nov 20, 2026
a8cf6c3
fix(deps): add pg to package-lock (missing since 8e54382; npm ci failed)
vpn-cli Nov 21, 2026
86403e0
fix: sync strip script from landing-redesign; runbook merges to master
vpn-cli Nov 21, 2026
aa10e50
fix(deps): next 16.4.6 + npm audit fix (Next middleware bypass, Sentr…
vpn-cli Nov 21, 2026
3dd8f88
test(ci): move DB-backed check-live-configs tests to database project…
vpn-cli Nov 21, 2026
3a4bece
docs(runbook): run repair-missing-tables before smoke test
vpn-cli Nov 21, 2026
f824890
fix(build): restore standalone output and .dockerignore for CI Docker…
vpn-cli Nov 21, 2026
5807551
fix: don't print TEST_DATABASE_URL in guard; runbook uses full pg_dum…
vpn-cli Nov 21, 2026
8af9922
docs(runbook): full pg_dump with privileges (needed to roll back Migr…
vpn-cli Nov 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ README.md
.env.local
.env
context
infrasity_ref
.recordings
.screenshots
.taste-skill
.agent
.agents
29 changes: 29 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Example environment variables for AppForge
# Copy this file to .env.local and populate the secrets.
# Never commit real keys to git.

# 21st.dev Component Registry API Key
API_KEY_21ST=your-21st-dev-key

# InsForge / Supabase
NEXT_PUBLIC_INSFORGE_URL=https://your-project.supabase.co
NEXT_PUBLIC_INSFORGE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key

# AI Copilot Keys
GROQ_API_KEY=your-groq-api-key
GEMINI_API_KEY=your-gemini-api-key

# Upstash Redis
UPSTASH_REDIS_REST_URL=https://your-upstash.upstash.io
UPSTASH_REDIS_REST_TOKEN=your-upstash-token

# Clerk Authentication & Redirect Settings
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your-clerk-publishable-key
CLERK_SECRET_KEY=your-clerk-secret-key
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL=/apps
NEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL=/apps
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/apps
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/apps
71 changes: 64 additions & 7 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: AppForge Enterprise CI/CD Pipeline

on:
push:
branches: [ "master", "main" ]
pull_request:
branches: [ "master", "main" ]

jobs:
# Job 1: Linting and Code Integrity Verification
Expand All @@ -15,10 +13,10 @@ jobs:
- name: Checkout Codebase
uses: actions/checkout@v4

- name: Setup Node.js 20
- name: Setup Node.js 22
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
cache: 'npm'

- name: Install Dependencies
Expand All @@ -30,11 +28,70 @@ jobs:
- name: ESLint Code Quality Scan
run: npm run lint

# Job 2: Build Verification & Dockerization
# Job 2A: Unit Test Suite (Pure Logic, AST, Proxy Payload & Component Tests)
unit-tests:
name: Unit Tests (Pure Logic, AST, Proxy Payload & Components)
runs-on: ubuntu-latest
needs: lint-and-typecheck
steps:
- name: Checkout Codebase
uses: actions/checkout@v4

- name: Setup Node.js 22
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'

- name: Install Dependencies
run: npm ci --legacy-peer-deps

- name: Run Vitest Unit Tests
run: npm run test:unit

# Job 2B: Database Integration Test Suite (Multi-Tenant Isolation & RLS Verification)
database-tests:
name: Database Tests (Multi-Tenant Isolation & RLS Verification)
runs-on: ubuntu-latest
needs: lint-and-typecheck
steps:
- name: Checkout Codebase
uses: actions/checkout@v4

- name: Setup Node.js 22
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'

- name: Install Dependencies
run: npm ci --legacy-peer-deps

- name: Check Required Test Database Secrets
run: |
if [ -z "${{ secrets.TEST_SUPABASE_URL }}" ] || [ -z "${{ secrets.TEST_SUPABASE_ANON_KEY }}" ] || [ -z "${{ secrets.TEST_SUPABASE_SERVICE_ROLE_KEY }}" ]; then
echo "::error::CRITICAL: Dedicated test database secrets (TEST_SUPABASE_URL, TEST_SUPABASE_ANON_KEY, TEST_SUPABASE_SERVICE_ROLE_KEY) are missing in GitHub repository secrets! Testing against production database (upljqampxcmhqjszatrp) is strictly forbidden."
exit 1
fi

- name: Run Vitest Database Tests
env:
NEXT_PUBLIC_INSFORGE_URL: ${{ secrets.TEST_SUPABASE_URL }}
NEXT_PUBLIC_INSFORGE_ANON_KEY: ${{ secrets.TEST_SUPABASE_ANON_KEY }}
SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.TEST_SUPABASE_SERVICE_ROLE_KEY }}
TEST_SUPABASE_URL: ${{ secrets.TEST_SUPABASE_URL }}
TEST_SUPABASE_ANON_KEY: ${{ secrets.TEST_SUPABASE_ANON_KEY }}
TEST_SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.TEST_SUPABASE_SERVICE_ROLE_KEY }}
TEST_DATABASE_URL: ${{ secrets.TEST_DATABASE_URL }}
CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }}
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ secrets.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }}
run: npm run test:db

# Job 3: Build Verification & Dockerization
build-and-containerize:
name: Docker Multi-Stage Build
runs-on: ubuntu-latest
needs: lint-and-typecheck # Only build if the code is syntactically perfect!
needs: [unit-tests, database-tests]
steps:
- name: Checkout Codebase
uses: actions/checkout@v4
Expand All @@ -47,7 +104,7 @@ jobs:
with:
context: .
file: ./Dockerfile
push: false # Set to true later when mapping to AWS ECR or Docker Hub
push: false
load: true
tags: appforge:latest
cache-from: type=gha
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ yarn-error.log*

# env files (can opt-in for committing if needed)
.env*
.env.local
!.env.example

# vercel
.vercel
Expand All @@ -48,8 +50,16 @@ agent-skills
agent_skills
claude.md
agents.md
# Screenshots & Visual Audits
.screenshots/
public/audit-screenshots/
.taste-skill/

CLAUDE.md
AGENTS.md
.agents/
.agent/

# References
infrasity_ref/

122 changes: 122 additions & 0 deletions DESIGN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# AppForge Design System Specification (DESIGN.md)

This document establishes the official design tokens and visual principles for AppForge, tailored for high-craft, restrained software UI (Linear / Vercel / Stripe caliber).

---

## 1. Direction & Aesthetic Identity

- **Visual Direction**: Soft lavender atmospheric field, frosted light surfaces with multi-stop backdrop blur, a single large sculpted glass ribbon behind the top-right viewport, and a disciplined violet/indigo accent ramp.
- **Core Principle**: Restraint over decoration. Optical alignment, typographic rhythm, 1px rgba hairline borders, two-layer ambient+diffuse soft shadows, and zero visual clutter.
- **Rules**:
- No eyebrow pills or kickers.
- No emoji in chrome or data.
- No nested bordered boxes ("card inside a card"). Every panel is a single coherent frosted surface.
- No hardcoded hex values or raw Tailwind arbitrary colors in components.
- Max body line width capped at 60ch.
- All icons from Lucide only with consistent 1.5px/1.75px stroke.

---

## 2. Typographic Scale & Rhythm

### Font Families
- **Display & Sans**: Inter / Geist Sans (`--font-sans`, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif)
- **Code & Numbers**: JetBrains Mono / SF Mono / Geist Mono (`--font-mono`, monospace)

### Hierarchy
| Role | Size / Clamp | Weight | Line Height | Tracking | Purpose |
|------|--------------|--------|-------------|----------|---------|
| **Display Headline** | `clamp(48px, 6vw, 76px)` | 700 | 1.02 | `-0.035em` | Hero landing title |
| **Hero Subtitle** | `17px–18px` | 400 | 1.6 | `-0.01em` | Explanatory copy (max 60ch) |
| **Section Headings** | `20px` | 600 | 1.3 | `-0.02em` | Major structural sections |
| **Panel Headers / Tabs** | `14px–15px` | 500 / 600 | 1.4 | `-0.01em` | Top nav, segmented controls |
| **Small Caps / Meta** | `12px` | 600 | 1.2 | `0.06em` | Small caps section tags |
| **Data & Code** | `13px` | 400 / 500 | 1.6 | `0em` | Code lines, table rows, JSON |

*Floor rule: Nothing rendered below 12px.*

---

## 3. Color Tokens

### 3.1 Neutral Scale (Slate Ramp)
| Token | Light Theme | Dark Theme | Purpose |
|-------|-------------|------------|---------|
| `--bg-canvas` | `#EEF0FA` → `#F5F6FD` | `#0B0D17` → `#0E1122` | Cohesive lavender wash |
| `--surface-frosted` | `rgba(255, 255, 255, 0.76)` | `rgba(20, 24, 40, 0.72)` | Frosted glass cards |
| `--surface-subtle` | `rgba(255, 255, 255, 0.50)` | `rgba(255, 255, 255, 0.04)` | Inactive pills, inner wells |
| `--border-hairline` | `rgba(148, 163, 184, 0.22)` | `rgba(255, 255, 255, 0.08)` | 1px card/divider borders |
| `--border-frosted` | `rgba(255, 255, 255, 0.85)` | `rgba(255, 255, 255, 0.12)` | Outer card edge reflection |
| `--text-primary` | `#0F172A` (Slate 900) | `#F8FAFC` (Slate 50) | Headline, labels (contrast > 12:1) |
| `--text-muted` | `#475569` (Slate 600) | `#94A3B8` (Slate 400) | Body copy (WCAG AA pass: ≥ 5.5:1) |
| `--text-faint` | `#64748B` (Slate 500) | `#64748B` (Slate 500) | Line numbers, subtle hints |

### 3.2 Accent Ramp (Single Violet / Indigo System)
| Token | Hex | Role |
|-------|-----|------|
| `--accent-50` | `#EEF2FF` | Soft tinted pill background |
| `--accent-100` | `#E0E7FF` | Hover states on ghost buttons |
| `--accent-200` | `#C7D2FE` | Tinted borders & badges |
| `--accent-400` | `#818CF8` | Dark mode highlights |
| `--accent-500` | `#6366F1` | Gradient start point |
| `--accent-600` | `#4F46E5` | Active accents, gradient midpoint |
| `--accent-700` | `#4338CA` | Gradient endpoint, hover primary |

### 3.3 Semantic Accents
- **Success**: Running status `#16A34A` (dot) on `rgba(22, 163, 74, 0.10)`
- **Idle / Info**: Idle status `#6366F1` (dot) on `rgba(99, 102, 241, 0.10)`

---

## 4. Radii Scale

| Token | Value | Applied To |
|-------|-------|------------|
| `--radius-sm` | `10px` | Small buttons, status badges, copy button |
| `--radius-md` | `14px` | Metric cards, table wrappers, tabs |
| `--radius-lg` | `20px` | Primary outer demo panels |
| `--radius-xl` | `28px` | Floating top bar pill |
| `--radius-full`| `9999px` | Segmented control active pill, avatars, dots |

---

## 5. Shadow Elevation (Two-Layer Soft System)

No harsh, saturated drop shadows. Elevation is rendered via two-step ambient + diffuse layers:

```css
/* Ambient: tight grounding shadow */
/* Diffuse: wide, low-opacity atmospheric bloom */
--shadow-frosted: 0 2px 6px -1px rgba(15, 23, 42, 0.04), 0 20px 48px -12px rgba(99, 102, 241, 0.08);
--shadow-pill: 0 1px 3px rgba(15, 23, 42, 0.06), 0 6px 16px -2px rgba(15, 23, 42, 0.04);
--shadow-hover: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 24px 56px -12px rgba(99, 102, 241, 0.12);
```

---

## 6. Spacing & Container System

- **Base Unit**: `4px`
- **8-Step Scale**:
- `step-1`: `4px` (`0.25rem`)
- `step-2`: `8px` (`0.5rem`)
- `step-3`: `12px` (`0.75rem`)
- `step-4`: `16px` (`1rem`)
- `step-5`: `24px` (`1.5rem`)
- `step-6`: `32px` (`2rem`)
- `step-7`: `48px` (`3rem`)
- `step-8`: `64px` (`4rem`)
- **Content Container**: `max-w-[1200px] mx-auto w-full px-6` (centered, full-width viewport canvas, zero sidebar).
- **Above-the-Fold Constraint**: At 1440×900, both demo panels sit fully above the 900px fold. At 1280×800, both panels sit mostly above the 800px fold.

---

## 7. Motion & Interaction

- **Headline Entrance**: Fade and rise (`opacity: 0 -> 1`, `translateY: 12px -> 0px`) over 350ms, ease-out (`cubic-bezier(0.16, 1, 0.3, 1)`).
- **Code Lines Reveal**: Staggered reveal at ~30ms per line (`delay: index * 0.03s`).
- **Rendered Panel Resolution**: Resolves gently after code begins (~250ms delay, 400ms duration).
- **CTA Interaction**: Primary button arrow shifts `+2px` right on hover (`translate-x-0.5`).
- **Reduced Motion**: All animations wrapped in `@media (prefers-reduced-motion: reduce)` with instantaneous fallback.

Loading
Loading