Skip to content

feat(eval): add Nuxt (Vue) PMS eval fixture - #55

Merged
itelo merged 1 commit into
mainfrom
itelo/eng-2922-add-nuxt-vue-pms-eval-fixture
Aug 24, 2026
Merged

feat(eval): add Nuxt (Vue) PMS eval fixture#55
itelo merged 1 commit into
mainfrom
itelo/eng-2922-add-nuxt-vue-pms-eval-fixture

Conversation

@itelo

@itelo itelo commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a Nuxt 3 (Vue) property-management app at eval/fixtures/nuxt-pms/, a faithful cross-framework analog of the existing nextjs-pms fixture. It manages spaces (bookable rooms, suites, cabins…), takes reservations against them, and lists the derived guests who have booked — the same domain, operations, and reservations front-desk view as the Next.js sample, so the two exercise the same integration.

What's inside

  • Framework: Nuxt 3 + Vue SFCs, TypeScript.
  • Data: raw better-sqlite3 (no ORM); connection + schema in server/utils/db.ts, created and seeded on first request.
  • Business logic: auto-imported server utils — queries.ts, availability.ts, mutations.ts — plus shared space-kinds.ts, zod schemas.ts, types.ts, and format.ts under shared/ (imported via the #shared alias by both server and pages).
  • API: Nitro route handlers under server/api/ (book.post.ts, reservations/*, spaces/*, guests/*).
  • Pages: pages/index.vue (booking form), pages/reservations.vue (front desk — the hook view), pages/spaces.vue (inventory), pages/guests.vue (directory), with layouts/default.vue nav.
  • Availability semantics match the references exactly: half-open [check_in, check_out) intervals (same-day turnover is not a conflict), cancelled releases the space, lexicographic ISO-date comparison, and a shared assertSpaceBookable guard.

Part of ENG-2920 (ENG-2922).

Testing

This fixture is fully excluded from the wizard's lint/tsc/tests (eslint globalIgnores(['eval/fixtures/**']), tsc excludes fixtures, .prettierignore covers eval/fixtures/, vitest never touches fixtures), so it has no impact on wizard CI. It is written to be coherent and idiomatic for an AI agent + LLM judge to read and extend.

Security & Compliance

No security impact — .env.example only (no secrets), and the fixture is not built or executed by CI.

🤖 Generated with Claude Code

@itelo
itelo requested a review from razor-x as a code owner August 24, 2026 18:02
Faithful analog of the nextjs-pms eval fixture, built with Nuxt 3 (Vue).
Same domain (spaces, reservations, derived guests), same operations, and
the same reservations front-desk view that the integration agent extends.

Part of ENG-2920.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@itelo
itelo force-pushed the itelo/eng-2922-add-nuxt-vue-pms-eval-fixture branch from 47739e1 to 5bf4c82 Compare August 24, 2026 18:10
@itelo
itelo merged commit fe0f7b5 into main Aug 24, 2026
11 checks passed
@itelo
itelo deleted the itelo/eng-2922-add-nuxt-vue-pms-eval-fixture branch August 24, 2026 18:12
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