Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
bb262e5
perf(layout): add mesh tokens, idle-pause SmoothScroller, and skip Cl…
vpn-cli Nov 18, 2026
bb3747b
feat(home): replace ribbon images with lazy MeshGradient hero background
vpn-cli Nov 18, 2026
fcff210
feat(home): render honest hero from real ComponentRegistry with zero …
vpn-cli Nov 18, 2026
866c48d
feat(home): add HowItWorks, WhatsInside, TemplatesStrip sections and …
vpn-cli Nov 18, 2026
50104c7
docs(context): imprint landing redesign patterns and update progress …
vpn-cli Nov 18, 2026
4d212bb
style(home): prevent mobile caption wrap in hero card footers
vpn-cli Nov 18, 2026
1abb1b0
perf(home): remove framer-motion from landing chrome and defer WebGL …
vpn-cli Nov 18, 2026
f7d717e
perf(home): server-render hero registry preview, lazy-load signed-in …
vpn-cli Nov 18, 2026
a1930ab
fix(builder): expand minified CSS hex tokens for Monaco light theme, …
vpn-cli Nov 18, 2026
2da1dec
feat(home): restore zig-zag Story section with Under the hood lines a…
vpn-cli Nov 18, 2026
9d9192e
feat(datatable): add status column color resolution, palette-token pi…
vpn-cli Nov 18, 2026
aebc4a2
fix(datatable): preprocess color aliases with safe fallback, add Poke…
vpn-cli Nov 18, 2026
6594c8e
feat(spacing): balance Statistic Grid, collapse validation status bar…
vpn-cli Nov 18, 2026
e164479
feat(templates): remove pokemon template from user-facing lists and p…
vpn-cli Nov 19, 2026
a006424
fix(builder): block server-side write paths for sandbox demo and temp…
vpn-cli Nov 19, 2026
1c0639c
feat(datatable): support schema-validated row icons and declare icons…
vpn-cli Nov 19, 2026
84bf4ab
style(home): fit hero panel heights to content removing empty table b…
vpn-cli Nov 19, 2026
89ed4cb
feat(grid): add layout rules and container queries for 5 and 7 items
vpn-cli Nov 19, 2026
de7184a
docs: update progress tracker with pre-part 3 completed items
vpn-cli Nov 19, 2026
d212dab
feat(copilot): add per-IP rate limit and global daily cap for logged-…
vpn-cli Nov 19, 2026
28de64e
feat(hero): implement honest hero config and enforce landing design c…
vpn-cli Nov 19, 2026
4395bae
feat(registry): add gradient variant to Statistic and refine DataTabl…
vpn-cli Nov 19, 2026
dbc742c
feat(story): add interactive live visual slots for zig-zag story rows
vpn-cli Nov 19, 2026
42fc241
docs: update progress tracker with Part 3 completion
vpn-cli Nov 19, 2026
d23a835
test(db): increase timeout for DDL injection test on remote test data…
vpn-cli Nov 19, 2026
23b3db2
fix(copilot): enforce x-real-ip only with unknown fallback bucket and…
vpn-cli Nov 19, 2026
183c9f1
feat(hero): wire honest scripted edit for variant with validation foo…
vpn-cli Nov 19, 2026
d7b177a
chore: gitignore .env.local and add API_KEY_21ST placeholder to .env.…
vpn-cli Nov 19, 2026
66ccb93
feat: add scripts/fetch-21st-components.mjs for secure 21st.dev compo…
vpn-cli Nov 19, 2026
ce1da9c
fix(security): remove passthrough and enforce strict schemas rejectin…
vpn-cli Nov 19, 2026
818d8c7
fix(scripts): harden fetch-21st-components with license allowlist, ex…
vpn-cli Nov 19, 2026
d9ba523
feat(hero): wire footer validation status directly to runtime validat…
vpn-cli Nov 19, 2026
18a8965
fix(a11y): eliminate all axe violations across templates, apps, and b…
vpn-cli Nov 19, 2026
6163bb6
feat(scripts): add check-live-configs auditor with read-only transact…
vpn-cli Nov 19, 2026
83fbb0d
style(fonts): add Geist font variable for landing and component integ…
vpn-cli Nov 19, 2026
29e3d68
feat(copilot): generate system prompt keys and enums dynamically from…
vpn-cli Nov 19, 2026
a9099df
feat(peak-chart): integrate Peak Chart vendor component with violet a…
vpn-cli Nov 19, 2026
af0febb
feat(registry): register TrendChart component with strict Zod schema …
vpn-cli Nov 19, 2026
987810d
feat(hero): integrate TrendChart in hero demo with honest AST config …
vpn-cli Nov 19, 2026
e9d5763
test(hero): update data-table-icons test to use buildHeroDemoConfig h…
vpn-cli Nov 19, 2026
aeafb07
docs(registry): document TrendChart integration in progress-tracker a…
vpn-cli Nov 19, 2026
3b381d4
feat(peak-chart): use build-time precomputed WebP assets and add MIT …
vpn-cli Nov 19, 2026
0ab46eb
refactor(peak-chart): remove redundant runtime canvas generators in f…
vpn-cli Nov 19, 2026
8cf612f
revert: revert TrendChart hero and peak-chart vendor integration (com…
vpn-cli Nov 19, 2026
1ecafc2
feat(hero): integrate animated sparkline in Statistic card with motio…
vpn-cli Nov 19, 2026
ce72ca5
feat(copilot): bump PROMPT_VERSION to v1.3.0 and document strict vali…
vpn-cli Nov 19, 2026
889622d
feat(scripts): enforce secure credential reading and interactive prom…
vpn-cli Nov 19, 2026
031fafd
docs(runbook): add pre-merge live config audit, pg_dump backup, and d…
vpn-cli Nov 19, 2026
29c54a5
docs(progress): record shader interaction optimization, 3-run Lightho…
vpn-cli Nov 19, 2026
b840f85
docs: update apply-to-live runbook with landing-redesign branch and p…
vpn-cli Nov 19, 2026
ce0da24
build: sync package-lock.json with pg and @types/pg dependencies
vpn-cli Nov 19, 2026
be80198
fix(shader): avoid accessing ref during render in HeroMeshShader
vpn-cli Nov 19, 2026
52836df
feat(hero): enforce equal card heights with lg:h-full and default to …
vpn-cli Nov 19, 2026
a5cc66b
feat(test): centralize test database safety guard allowlist in vitest…
vpn-cli Nov 20, 2026
2faa995
docs: revert release branch reference and add Windows PowerShell dock…
vpn-cli Nov 20, 2026
4b5027b
docs: mark earlier lighthouse numbers as superseded by 71 to 86 mobil…
vpn-cli Nov 20, 2026
ea0725f
style(a11y): bump light code string token to #92400E for WCAG AA cont…
vpn-cli Nov 20, 2026
304416c
feat(statistic): compute trend chip from series and render final valu…
vpn-cli Nov 20, 2026
4e06572
feat(scripts): add modular check-live-configs auditor with cli creden…
vpn-cli Nov 20, 2026
998d705
feat(validation): cap trend.series at max 100 entries with unit test
vpn-cli Nov 20, 2026
084e5a3
test(middleware): verify server auth bypass and client useAuth isolat…
vpn-cli Nov 20, 2026
8d9a626
docs: record className on public apps as known limitation and update …
vpn-cli Nov 20, 2026
de3f6a2
feat(routes): guard test endpoints with 404 in production, canonicali…
vpn-cli Nov 20, 2026
d918f4a
feat(auth): require auth on /apps page, update clerk redirects to /ap…
vpn-cli Nov 20, 2026
c9fadf0
docs: add .env.example with /apps clerk redirect routes
vpn-cli Nov 20, 2026
40d7f26
docs: update progress tracker with item 27 production auth hardening
vpn-cli Nov 20, 2026
aa89bdb
feat(backgrounds): add /dev/backgrounds candidate benchmark suite wit…
vpn-cli Nov 20, 2026
3f64871
docs: update progress-tracker and ui-registry for Part 1 backgrounds …
vpn-cli Nov 20, 2026
1caaa90
fix(story): update framer-motion imports across interactive story com…
vpn-cli Nov 20, 2026
e3b4322
build: configure @next/bundle-analyzer for client bundle inspection
vpn-cli Nov 20, 2026
5da934b
fix(landing): apply central text-fade mask, light pastel palette, and…
vpn-cli Nov 20, 2026
49cd36e
feat(candidates): optimize Candidate D with 254KB video and mobile po…
vpn-cli Nov 20, 2026
080a450
test(audit): add rigorous CDP contrast and mobile Lighthouse comparis…
vpn-cli Nov 20, 2026
0a80bc6
docs: update progress tracker with background shootout benchmark status
vpn-cli Nov 20, 2026
d0d1a3c
chore(landing): remove candidate backgrounds, clean up assets and pin…
vpn-cli Nov 20, 2026
7e48560
docs(legal): add third-party notice for Paper Shaders and credit in f…
vpn-cli Nov 20, 2026
bc37adc
style(theme): update mesh gradient color tokens and glass card opacity
vpn-cli Nov 20, 2026
af6d8aa
feat(hero): implement paper shaders mesh gradient background with gua…
vpn-cli Nov 20, 2026
eaa466d
feat(hero): expand code panel with full honest AST and interactive fo…
vpn-cli Nov 20, 2026
ae2860b
fix(statistic): preserve attached units in value and restrict auto-sp…
vpn-cli Nov 20, 2026
b919fb0
feat(landing): lock Option 1 mesh gradient with strengthened button b…
vpn-cli Nov 20, 2026
89cc022
chore(prompt): bump PROMPT_VERSION to v1.4.0 and document valueSuffix…
vpn-cli Nov 20, 2026
475b16b
feat(landing): tune whole-hero mesh gradient flow, shrink scrim, and …
vpn-cli Nov 20, 2026
28795c9
feat(landing): centralize shader tokens, tune light-mode motion, and …
vpn-cli Nov 20, 2026
ad77ad4
docs(landing): document shipped paper shaders mesh gradient in progre…
vpn-cli Nov 20, 2026
c5f5205
chore: ignore .recordings directory and clean public recordings/scree…
vpn-cli Nov 20, 2026
b913fdb
fix(scripts): restore scripts/print-supabase-host.mjs for dev and sta…
vpn-cli Nov 20, 2026
b9600d9
feat(landing): map mesh colors to existing tokens, add shader warmup …
vpn-cli Nov 20, 2026
9b53916
feat(builder): apply glass surface system and static mesh gradient ba…
vpn-cli Nov 20, 2026
d996f4d
feat(motion): implement motion system for all interactions, sliding n…
vpn-cli Nov 20, 2026
d70f32d
docs: update progress tracker with Part 3 and Part 4 milestones
vpn-cli Nov 20, 2026
2db39c0
fix(review): remove experimental viewTransition, harden reduced motio…
vpn-cli Nov 20, 2026
0e383cc
refactor(proxy): extract route helpers to lib/proxy-helpers.ts to sat…
vpn-cli Nov 20, 2026
a66c8cd
chore(config): remove output standalone to ensure reliable next start…
vpn-cli Nov 20, 2026
b617617
test(ci): move DB-backed check-live-configs tests to database project…
vpn-cli Nov 21, 2026
c089a9c
docs(runbook): run repair-missing-tables before smoke test
vpn-cli Nov 21, 2026
ca56a30
docs(runbook): target live supabase host for anon curl and add post-r…
vpn-cli Nov 21, 2026
cc5c34f
chore(backgrounds): remove benchmark route, card component, and candi…
vpn-cli Nov 21, 2026
8a5ba6e
fix(docker): restore standalone output in next.config.ts and update .…
vpn-cli Nov 21, 2026
eb9a0d9
fix(deps): upgrade Next to 16.4.6 and fix non-breaking audit vulnerab…
vpn-cli Nov 21, 2026
3162a7f
chore(deps): move shadcn to devDependencies
vpn-cli Nov 21, 2026
7e01047
fix(tests): redact TEST_DATABASE_URL credentials from test safety guards
vpn-cli Nov 21, 2026
1bcf981
feat(landing): replace Paper Shaders with custom native mesh shader (…
vpn-cli Nov 22, 2026
7e9148f
chore(deps): remove Paper Shaders dependency, legal notice, and foote…
vpn-cli Nov 22, 2026
0027696
test(gate): add Gate (b) benchmark suite, control comparison results,…
vpn-cli Nov 22, 2026
8745013
Merge remote-tracking branch 'origin/master' into feat/landing-redesign
vpn-cli Nov 23, 2026
bd4229e
chore(scripts): remove benchmark and capture scripts and gitignore them
vpn-cli Nov 24, 2026
0ecb417
chore(deps): remove unused @paper-design/shaders-react dependency
vpn-cli Nov 24, 2026
00e648a
fix(lock): restore cross-platform optional deps; remove Paper entries
vpn-cli Nov 24, 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
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
# production
/build

# database backups
backups/
/backups/

# misc
.DS_Store
*.pem
Expand Down Expand Up @@ -51,6 +55,7 @@ agent_skills
claude.md
agents.md
# Screenshots & Visual Audits
.recordings/
.screenshots/
public/audit-screenshots/
.taste-skill/
Expand All @@ -63,3 +68,12 @@ AGENTS.md
# References
infrasity_ref/

# Temporary Benchmark & Measurement Artifacts
scripts/*.json
scripts/*.py
scripts/capture-*
scripts/record-*
scripts/measure-*
scripts/verify-landing-complete.js
scripts/fetch-21st-components.mjs

12 changes: 9 additions & 3 deletions EVALS.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# AppForge Generation Evaluation Harness Report

**Evaluation Timestamp:** 2026-11-18T00:15:12Z
**Current Prompt Version:** `v1.2.1-backend` (dynamic reflection from `lib/copilot-prompt.ts`)
**Current Prompt Version:** `v1.4.0` (bumped from `v1.3.0` in `lib/copilot-prompt.ts`)
**Reproduction Command:** `node scripts/run-evals.mjs`
**Resumption Command (for 120b after quota reset):** `node scripts/run-evals.mjs 120b-only`

> [!NOTE]
> **Schema & Prompt Version Notice (`v1.2.1-backend`):** `PROMPT_VERSION` is set to `v1.2.1-backend` for the interview-hardening branch. It reflects strict per-component schemas with native AST types (`Header`, `Statistic`, `DataTable`, `Card`, `Grid`, `ButtonAction`) without landing-redesign UI extensions (such as status/icon columns or gradient variants). Historical evaluation benchmarks recorded below predate this version and are not directly comparable to `v1.3.0` or `v1.4.0`. No new LLM evals have been run under `v1.2.1-backend`.
> **Schema & Prompt Version Notice (`v1.3.0` → `v1.4.0` & Statistic `valueSuffix` Addition):** `PROMPT_VERSION` bumped to `v1.4.0` following the addition of `valueSuffix` (and `suffix` alias) to `StatisticSchema` in `lib/validation.ts`. This dynamically updates the schema-derived Copilot system prompt specification to declare `valueSuffix?: string`. Evaluation results recorded below predate this prompt version.

> [!NOTE]
> **Schema & Prompt Version Notice (`v1.2.0` → `v1.3.0` & Strict Validation Defense):** All recorded evaluation results below predate the `PROMPT_VERSION` bump to `v1.3.0`. In `v1.3.0`, component AST validation across all schemas (`HeaderSchema`, `StatisticSchema`, `DataTableSchema`, `CardSchema`, `GridSchema`, `ButtonActionSchema`) and `AppConfigSchema` transitioned to `.strict()`. Unrecognized or extra keys that previously passed through or were ignored now strictly fail validation. Consequently, evaluation pass rates, node validity percentages, and benchmark results recorded prior to `v1.3.0` are not comparable with results produced under this version. No new LLM evals have been run under `v1.3.0`.

> [!NOTE]
> **Historical Schema Notice (`v1.1.0` → `v1.2.0`):** Evaluation datasets below were originally executed under `v1.1.0` before `DataTableSchema` added `type: "status"` and `colors?: Record<string, "success" | "warning" | "danger" | "info" | "neutral" | "violet">`.

---

Expand Down Expand Up @@ -64,7 +70,7 @@ A node is considered **Valid** if and only if:
2. `node` strictly satisfies its component-specific Zod schema via `schema.safeParse(node).success === true`:
* `HeaderSchema`: Requires valid string `title`, optional `subtitle`, and `size` strictly in `["sm", "md", "lg"]`.
* `StatisticSchema`: Requires numeric/string `value`, valid `label` or `title`, and optional `trend` strictly adhering to trend union schemas (`up | down | neutral` or `{ value, label, direction, sentiment }`).
* `DataTableSchema`: Requires structured `columns` (`string` or `{ key, label, type, align }`) and `data` or `rows` records.
* `DataTableSchema`: Requires structured `columns` (`string` or `{ key, label, type, colors, align }`, where `type` supports `"status"` and `colors` maps status values to `"success" | "warning" | "danger" | "info" | "neutral" | "violet"`) and `data` or `rows` records. *(Note: historical `v1.1.0` runs below used the prior schema without `type: "status"` or `colors`.)*
* `ButtonActionSchema`: Requires `label` and `variant` strictly in `["default", "outline", "secondary", "ghost"]`.
* `CardSchema` / `GridSchema`: Recursively validates that all child `content`, `footer`, or `items` are themselves valid component nodes.

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ The enterprise pipeline heavily restricts branches. It is comprised strictly of
---

## Known Limitations / TODO
- **AST `className` on Public Apps (UI Redress & Defacement Concern)**: Component schemas currently accept an optional `className?: string` property (e.g. on `Header`, `Statistic`, `Card`, `Grid`, and `ButtonAction`) validated only as a generic string without class-name whitelisting or sanitization. While dangerous raw HTML attributes (`dangerouslySetInnerHTML`, `style`, event handlers like `onClick`) are strictly rejected by the component Zod schemas, arbitrary Tailwind utility classes can still be supplied in the application config JSON. On publicly published apps (`/apps/[appId]`), a malicious author could inject viewport-covering classes (e.g., `fixed inset-0 z-50 bg-background`), misleading overlay banners, phishing overlays, or destructive styling that obscures application chrome. *Resolution planned for post-freeze:* Introduce a strict CSS utility whitelist or sanitizer in `RenderNode` for public app routes to strip layout-breaking positioning (`fixed`, `absolute`, `z-[...]`) and arbitrary value brackets (`[...]`).
- **Security & Database Access Model**: Server-only DB access with app-level ownership checks; RLS blocks anonymous key access only. Native Clerk Third-Party Auth (JWKS token validation) is not configured in Supabase PostgREST. All database queries and mutations from authenticated users execute server-side in Next.js Server Actions and Route Handlers using the Supabase Service Role key (`SUPABASE_SERVICE_ROLE_KEY`), with tenant isolation verified by Clerk `auth()` (`eq('user_id', userId)`). Postgres Row-Level Security (RLS) is active strictly to block anonymous key access (`anon`), restricting public reads solely to published applications (`published_config IS NOT NULL`). Direct authenticated PostgREST calls with Clerk JWTs return `PGRST301` without Supabase Dashboard JWKS configuration.
- **TODO / Verify (React Testing Layer):** There is currently no active e2e testing interface. Adding `Playwright` to strictly verify DOM layout alignment output from generic JSON structures would guarantee a vastly more secure build layer.
- **TODO / Verify:** AI Provider Failover Logic is extremely simplistic. Migrating to a complex load-balancer tracking API quota exhaustions heavily per key natively rather than sequential cascading fallbacks.
Expand Down
Loading
Loading