Write convention-sveltekit-spa convention note #51
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-docs-app#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Related to
phase-pal-e-platform-29-sveltekit-convention— Phase 29 Deliverable 1.Repo
forgejo_admin/pal-e-appUser Story
As a developer building SvelteKit apps on the platform
I want a single convention note documenting the required stack, auth, CSS, data fetching, and routing patterns
So that every app follows the same proven architecture
Context
The SvelteKit SPA pattern is already proven in mcd-tracker-app (adapter-static, keycloak-js + PKCE, client-side fetch, nginx Dockerfile) but it's not documented anywhere. Phase 29 of plan-pal-e-platform calls for creating
convention-sveltekit-spa. Theproject-capacitor-mobilenote has an emptysveltekit-spa-configurationsection waiting for this content. Without the convention codified, each new SvelteKit app reinvents the pattern.File Targets
No code files — this is a pal-e-docs knowledge artifact created via MCP tools.
Reference files to extract the pattern from:
~/mcd-tracker-app/svelte.config.js— adapter-static config~/mcd-tracker-app/src/lib/keycloak.js— auth pattern~/mcd-tracker-app/src/lib/api.js— client-side fetch pattern~/mcd-tracker-app/Dockerfile— nginx serving patternFiles the agent should NOT touch:
Acceptance Criteria
convention-sveltekit-spanote exists in pal-e-docs with note_typeconventionproject-capacitor-mobile>sveltekit-spa-configurationsection is filledTest Expectations
get_note(slug="convention-sveltekit-spa")returns the noteget_section(slug="project-capacitor-mobile", anchor_id="sveltekit-spa-configuration")returns non-empty contentConstraints
convention-frontend-cssfor format reference)Checklist
Related
project-capacitor-mobile— blocked on this conventionphase-pal-e-platform-29-sveltekit-convention— parent phaseconvention-frontend-css— sibling conventionsop-capacitor-mobile-lifecycle— pipeline contextScope Review: NEEDS_REFINEMENT
Review note:
review-412-2026-03-26Well-scoped documentation ticket with all template sections present and all 4 reference files verified. Two fixable issues found before this can move to next_up.
story:label on board item #412 (hastype:feature,arch:conventionbut no story traceability)depends:412labelConvention note created in pal-e-docs:
convention-sveltekit-spaWhat was done:
Created
convention-sveltekit-spa— full convention note underpal-e-agencyproject with tagsconvention, active. Covers:Filled empty
sveltekit-spa-configurationsection onproject-capacitor-mobile— added intro paragraph + summary table referencing the full convention note.Updated
project-capacitor-mobilekey-conventions list — addedconvention-sveltekit-spareference.Pattern proven in mcd-tracker-app, now documented for platform-wide adoption.