Repository navigation
Open
Labels
WebUIApplies to the WebUI interfacedevexdocumentationImprovements or additions to documentationenhancementNew feature or request
Description
Parent: #1774. Adjacent to the empty placeholder #1772 ("Studio README: add screenshots") under #1736 — fold it in here or keep it separate, but decide rather than duplicating the README edit.
Scope
One coherent configuration surface, read end to end rather than accreted per feature PR.
- Environment.
apps/.env.exampleagainst the real matrix: everyMECATL_*(target) andSTUDIO_*(Studio-owned) variable documented once, with default, required-ness, and the fail-closed behaviour — including RFC 9728 discovery whenMECATL_RESOURCE_URLis absent,STUDIO_PUBLIC_URLderiving the cookie flags and the single OAuth callback, and the two image-only refusals (STUDIO_IMAGE=1,STUDIO_ALLOW_UNAUTHENTICATED=1). - Images.
apps/Dockerfile(multi-stage, Chainguard node runtime pinned by digest),apps/docker/mecated.Dockerfile,apps/docker-compose.yml,apps/.dockerignore: layer caching and build context size, non-root, healthcheck, and a stated owner/cadence for refreshing the digest pin. - Docs.
apps/README.mdreconciled withuser-docs/building/deployment/studio.md(docs(user-docs): Mecatl Studio web UI deployment page #1765) — one source of truth, the other a pointer, not a drifting duplicate. Screenshots per Studio README: add screenshots #1772 if folded in. - Entry points.
apps/package.jsonscripts vsapps/Taskfile.ymlvs roottask studio:*: exactly one way to run each action (dev, build, lint, typecheck, test, test:integration, generate, image). - Toolchain.
apps/biome.json,apps/tsconfig.base.jsonand the per-packagetsconfig.jsons,.node-version,.npmrc, the pnpm workspace and lockfile policy (and whether the lockfile is CI-frozen). - CI/release re-read. The
studiorelevance category and job, and thepublish-studiorelease job publishingghcr.io/stacklok/mecatl/studio, re-read against whatever the other four axes change — including when the experimental label comes off.
Human decisions
- Is
.env.examplethe source of truth for the env matrix, or is it generated from the server's config schema (apps/server/src/config.ts) so the two cannot drift? - Who owns the Chainguard digest bump — Dependabot, the release flow, or a human?
- Fold Studio README: add screenshots #1772's screenshots into
apps/README.md, or keep that issue separate?
Contract
Expected Routine/Cleanup (documentation and configuration hygiene) — but becomes Bounded for any change that alters runtime behaviour, the env contract, or the published image. Classified at plan time per docs/development-process.md.
Verification
task studio:check, task lint:actions, task docs (strict link gate) and task generate for llms.txt; a from-scratch apps/.env.example → docker compose up → login → workspace smoke on a clean machine; a no-push image build in CI.
Metadata
Metadata
Assignees
Labels
WebUIApplies to the WebUI interfacedevexdocumentationImprovements or additions to documentationenhancementNew feature or request
Activity