Skip to content

feat(eval): add SvelteKit PMS eval fixture - #56

Merged
itelo merged 1 commit into
mainfrom
itelo/eng-2921-add-sveltekit-pms-eval-fixture
Aug 24, 2026
Merged

feat(eval): add SvelteKit PMS eval fixture#56
itelo merged 1 commit into
mainfrom
itelo/eng-2921-add-sveltekit-pms-eval-fixture

Conversation

@itelo

@itelo itelo commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a new eval fixture at eval/fixtures/sveltekit-pms/ — a SvelteKit 2 + Svelte 5 (runes) property-management app that is a faithful cross-framework analog of the existing nextjs-pms fixture.

It models the same domain (spaces, reservations, derived guests), the same availability rules (half-open [check_in, check_out) intervals, cancelled stays release the space, lexicographic ISO-date comparison, assertSpaceBookable), and the same operations (create/assign/status/delete reservations; create/update/archive/restore spaces). The /reservations front-desk view is the integration hook: each card shows the guest, status, dates, and assigned space — where an integration agent will later surface access (e.g. a PIN).

Framework specifics

  • better-sqlite3 for data in src/lib/server/db.ts (schema created + seeded on import).
  • Zod validation in src/lib/schemas.ts.
  • Server-only data access under src/lib/server/; pages use +page.server.ts load + form actions, progressively enhanced with use:enhance.
  • fixture.json declares { name: sveltekit-pms, sdk: javascript, framework: SvelteKit }.

Faithful analog of nextjs-pms

Same domain and behavior as nextjs-pms, ported to idiomatic SvelteKit (load functions, form actions, runes, a shared SpaceForm.svelte). 28 files, all under eval/fixtures/sveltekit-pms/.

Part of ENG-2920

Implements ENG-2921.

Testing

Fixtures are fully excluded from the wizard's lint/tsc/tests by construction (eslint globalIgnores(['eval/fixtures/**']), tsc doesn't include fixtures, .prettierignore covers eval/fixtures/, vitest never touches fixtures) — no wizard CI impact. The eval never runs the app; the fixture is written to be coherent for an AI agent + LLM judge to read and extend.

Security & Compliance

No security impact (.env.example only, no secrets).

🤖 Generated with Claude Code

@itelo
itelo requested a review from razor-x as a code owner August 24, 2026 18:02
Faithful analog of nextjs-pms; same spaces/reservations/guests domain,
availability rules, and the reservations front-desk view. Part of ENG-2920.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@itelo
itelo force-pushed the itelo/eng-2921-add-sveltekit-pms-eval-fixture branch from 21baba4 to c886b4c Compare August 24, 2026 18:16
@itelo
itelo merged commit 6012544 into main Aug 24, 2026
11 checks passed
@itelo
itelo deleted the itelo/eng-2921-add-sveltekit-pms-eval-fixture branch August 24, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant