Title: feat(dashboard): scaffold SvelteKit SPA, dual data source, and Overview screen · Issue #63 · elcode-id/elcode-forge · GitHub
Open Graph Title: feat(dashboard): scaffold SvelteKit SPA, dual data source, and Overview screen · Issue #63 · elcode-id/elcode-forge
X Title: feat(dashboard): scaffold SvelteKit SPA, dual data source, and Overview screen · Issue #63 · elcode-id/elcode-forge
Description: Context & Objective Scaffold apps/dashboard as a static SPA that loads a ReportBundle either from a local file (static mode) or from eforge serve (live mode), and implement the Overview screen (PRD §32). Branch Name: feat/forge-063-dash...
Open Graph Description: Context & Objective Scaffold apps/dashboard as a static SPA that loads a ReportBundle either from a local file (static mode) or from eforge serve (live mode), and implement the Overview screen (PRD...
X Description: Context & Objective Scaffold apps/dashboard as a static SPA that loads a ReportBundle either from a local file (static mode) or from eforge serve (live mode), and implement the Overview screen ...
Opengraph URL: https://github.com/elcode-id/elcode-forge/issues/63
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(dashboard): scaffold SvelteKit SPA, dual data source, and Overview screen","articleBody":"## Context & Objective\nScaffold `apps/dashboard` as a static SPA that loads a `ReportBundle` either from a local file (static mode) or from `eforge serve` (live mode), and implement the Overview screen (PRD §32).\n\n- **Branch Name:** `feat/forge-063-dashboard-scaffold-overview`\n- **Parent Epic:** EPIC #55 (Phase 3C)\n- **DAG Dependencies:** Requires #59 (Sub-Issue 3.4), #62 (Sub-Issue 3.7)\n- **Estimated Size:** \u003c 400 LOC\n\n## File Target\n- `apps/dashboard/{package.json,svelte.config.js,vite.config.ts,tsconfig.json}` *(NEW — `adapter-static`)*\n- `apps/dashboard/src/app.html` *(NEW — strict CSP meta)*\n- `apps/dashboard/src/lib/data/{source.ts,store.svelte.ts}` *(NEW)*\n- `apps/dashboard/src/routes/{+layout.svelte,+layout.ts,+page.svelte}` *(NEW)*\n\n## Strict TypeScript Contract\n```ts\nexport type DataSource = { kind: \"file\"; name: string } | { kind: \"live\"; baseUrl: string };\nexport type LoadResult = { ok: true; bundle: ReportBundle; source: DataSource } | { ok: false; errors: string[] };\nexport async function loadFromFile(file: File): Promise\u003cLoadResult>;\nexport async function loadFromApi(baseUrl: string): Promise\u003cLoadResult>; // ?api=http://127.0.0.1:7878\n```\n\n## Overview Screen\nHealth ring + 8 dimensions with `reasons`, findings by severity, top hotspots, critical findings, revision info.\n\n## Security Requirements\n- Every bundle passes `parseReportBundle` before rendering; unsupported `schema_version` shows an explicit error.\n- Live mode accepts only `http://127.0.0.1:*` / `http://localhost:*`.\n\n## Definition of Done (Tier 4 Verification Gate)\n```bash\npnpm --filter @elcode-forge/dashboard run lint\npnpm --filter @elcode-forge/dashboard run check\npnpm --filter @elcode-forge/dashboard run test\npnpm --filter @elcode-forge/dashboard run build\n```\n## Global Invariants (AGENTS.md)\n- GitFlow: branch off `develop`, PR targets `develop`, squash-merge, update `docs/ARCHITECTURE_STATE.md`.\n- Zero-panic in `crates/forge-*` (no `unwrap/expect/panic/todo/unimplemented`); Rust core stays 100% UI-agnostic.\n- Determinism: identical repo state + config => byte-identical output (no wall-clock timestamps).\n- Repository text is hostile input: never rendered via `{@html}`, never executed.\n- Plan reference: Phase 3 Dashboard Plan (approved 2026-10-19).\r\n","author":{"url":"https://github.com/luksluki","@type":"Person","name":"luksluki"},"datePublished":"2026-10-19T07:23:28Z","url":"https://github.com/elcode-id/elcode-forge/issues/63"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:689e6acb-c2c1-d147-fba0-63d7650df8d5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82C4:2BB6A1:15EAF7:1E06BF:6B05978C |
| html-safe-nonce | 46deadc4d6cb41cd8817cf377a9f0535e5ba529063ec1f12c406ff09809530a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkM0OjJCQjZBMToxNUVBRjc6MUUwNkJGOjZCMDU5NzhDIiwidmlzaXRvcl9pZCI6IjgyMjg3MzA4MjA2MTQyNjQ3MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7cb8652bdd484174bf32eded47bb4787423bede0f37b4693077a1fd0876bb128 |
| hovercard-subject-tag | issue:5919655524 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/elcode-id/elcode-forge/63/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8a5e401c00be516f72217867a39cebbb9a111ebc120660a7c894aa968a84d93d/elcode-id/elcode-forge/issues/63 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a5e401c00be516f72217867a39cebbb9a111ebc120660a7c894aa968a84d93d/elcode-id/elcode-forge/issues/63 |
| og:image:alt | Context & Objective Scaffold apps/dashboard as a static SPA that loads a ReportBundle either from a local file (static mode) or from eforge serve (live mode), and implement the Overview screen (PRD... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | luksluki |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3b72fd2385d76a50ce0fe937d50bb4a81434432c4fd47866074a26f6cd03623f |
| turbo-cache-control | no-preview |
| go-import | github.com/elcode-id/elcode-forge git https://github.com/elcode-id/elcode-forge.git |
| octolytics-dimension-user_id | 337957755 |
| octolytics-dimension-user_login | elcode-id |
| octolytics-dimension-repository_id | 1423983661 |
| octolytics-dimension-repository_nwo | elcode-id/elcode-forge |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1423983661 |
| octolytics-dimension-repository_network_root_nwo | elcode-id/elcode-forge |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58e2bd32336f3dcee343ec627a4d09c7c444e214 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width