You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 2026-09-05 continuation audit (PR #55, head 3d87379) found concentrated web ownership:
web/src/routes/drafts/[id]/+page.svelte: 1,585 lines, covering draft editing and the subsequent record workflow.
web/src/routes/enrollments/[id]/+page.svelte: 1,284 lines, covering enrollment and its related workflows.
web/src/lib/api.ts: 1,271 lines, containing the shared request/error boundary alongside program, user, enrollment, training-session, draft, finalized-record, signoff, and export contracts.
The audit's existing browser scenarios passed. This is a maintainability follow-up, not a claim of a demonstrated UI regression. No existing open or closed issue owns the decomposition.
Proposed ownership and scope
Extract cohesive workflow sections into domain components as each page next changes. Keep route loading/coordination in the page and give editing state/autosave one explicit owner; do not duplicate state across fragments.
Separate domain-specific API contracts/functions from the shared request, session, and typed-error transport. Preserve compatibility imports if needed; avoid generic schema-driven UI or new client-side authorization authority.
Start the implementation PR with a concrete move/new-owner/impact/test plan. Proposed section boundaries must be reviewed against current code, not treated as an approved design.
Both pages and the API client have focused domain owners and no duplicated request/error policy or competing autosave state.
Preserve route URLs, HTTP payloads, typed refusal handling, role/capability behavior, accessibility, and persisted record behavior. No schema or server authorization change.
Run npm check/build, all browser scenarios, and the CONTRIBUTING.md repository gates; update docs/development.md to route to the new owners.
Refs #53, #55. Source: docs/audits/2026-09-05.md, “Web ownership is concentrated.” Deliver in focused linked slices when these owners next change; no whole-interface rewrite is requested.
Evidence
The 2026-09-05 continuation audit (PR #55, head 3d87379) found concentrated web ownership:
web/src/routes/drafts/[id]/+page.svelte: 1,585 lines, covering draft editing and the subsequent record workflow.web/src/routes/enrollments/[id]/+page.svelte: 1,284 lines, covering enrollment and its related workflows.web/src/lib/api.ts: 1,271 lines, containing the shared request/error boundary alongside program, user, enrollment, training-session, draft, finalized-record, signoff, and export contracts.The audit's existing browser scenarios passed. This is a maintainability follow-up, not a claim of a demonstrated UI regression. No existing open or closed issue owns the decomposition.
Proposed ownership and scope
Acceptance criteria and proof
Refs #53, #55. Source: docs/audits/2026-09-05.md, “Web ownership is concentrated.” Deliver in focused linked slices when these owners next change; no whole-interface rewrite is requested.