## Summary - add the first multi-app workspace foundation with a new standalone Astro website under `apps/website` - introduce repo-root pnpm workspace orchestration and migrate the platform Node workflow from npm assumptions to pnpm - update root docs, editor or agent guidance, and workspace-focused smoke tests for the new platform plus website command model - add Spec 183 artifacts for spec, plan, research, contracts, quickstart, checklist, and tasks ## Verification - `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/WorkspaceFoundation` - `cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent` - `corepack pnpm build:website` - integrated-browser smoke: verified `http://localhost/up`, `http://localhost/admin/login`, and `http://localhost:4321/` including website anchor navigation and combined root dev flow ## Notes - branch: `183-website-workspace-foundation` - commit: `6d41618d` - root command model now covers `dev:platform`, `dev:website`, `dev`, `build:platform`, and `build:website` - website port override documentation is included in the command contract, quickstart, and README Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #214
72 lines
2.8 KiB
YAML
72 lines
2.8 KiB
YAML
openapi: 3.1.0
|
|
info:
|
|
title: Website + Platform Coexistence Smoke Contract
|
|
version: 1.0.0
|
|
summary: Minimal smoke contract for the first multi-app TenantAtlas workspace
|
|
servers:
|
|
- url: http://localhost
|
|
description: Platform app via Sail on the default host port
|
|
- url: http://localhost:{platform_port}
|
|
description: Platform app via Sail when APP_PORT overrides the default host port
|
|
variables:
|
|
platform_port:
|
|
default: '8080'
|
|
description: Non-default APP_PORT value used during smoke validation
|
|
- url: http://localhost:4321
|
|
description: Website app via Astro dev server on the default port
|
|
- url: http://localhost:{website_port}
|
|
description: Website app via Astro dev server when WEBSITE_PORT or --port overrides the default port
|
|
variables:
|
|
website_port:
|
|
default: '4322'
|
|
description: Non-default website port used during smoke validation
|
|
paths:
|
|
/up:
|
|
get:
|
|
summary: Platform health endpoint responds successfully
|
|
operationId: platformHealth
|
|
servers:
|
|
- url: http://localhost
|
|
description: Platform app via Sail on the default host port
|
|
- url: http://localhost:{platform_port}
|
|
description: Platform app via Sail when APP_PORT overrides the default host port
|
|
variables:
|
|
platform_port:
|
|
default: '8080'
|
|
description: Non-default APP_PORT value used during smoke validation
|
|
responses:
|
|
'200':
|
|
description: Platform boot is healthy
|
|
/admin/login:
|
|
get:
|
|
summary: Platform admin login shell remains reachable
|
|
operationId: platformAdminLogin
|
|
servers:
|
|
- url: http://localhost
|
|
description: Platform app via Sail on the default host port
|
|
- url: http://localhost:{platform_port}
|
|
description: Platform app via Sail when APP_PORT overrides the default host port
|
|
variables:
|
|
platform_port:
|
|
default: '8080'
|
|
description: Non-default APP_PORT value used during smoke validation
|
|
responses:
|
|
'200':
|
|
description: Platform admin login page renders
|
|
/:
|
|
get:
|
|
summary: Website home page renders independently
|
|
operationId: websiteHome
|
|
servers:
|
|
- url: http://localhost:4321
|
|
description: Website app via Astro dev server on the default port
|
|
- url: http://localhost:{website_port}
|
|
description: Website app via Astro dev server when WEBSITE_PORT or --port overrides the default port
|
|
variables:
|
|
website_port:
|
|
default: '4322'
|
|
description: Non-default website port used during smoke validation
|
|
responses:
|
|
'200':
|
|
description: Website home page renders on its own dev server
|
|
components: {} |