Title: build(forge-schema): bootstrap pnpm workspace, generated TS types, and path-filtered ci-web.yml · Issue #59 · elcode-id/elcode-forge · GitHub
Open Graph Title: build(forge-schema): bootstrap pnpm workspace, generated TS types, and path-filtered ci-web.yml · Issue #59 · elcode-id/elcode-forge
X Title: build(forge-schema): bootstrap pnpm workspace, generated TS types, and path-filtered ci-web.yml · Issue #59 · elcode-id/elcode-forge
Description: Context & Objective Bootstrap the TypeScript side of the monorepo (PRD §47) and publish the ReportBundle contract as generated TS types plus a runtime validator. Closes EPIC 3A. Branch Name: build/forge-059-pnpm-workspace-forge-schema P...
Open Graph Description: Context & Objective Bootstrap the TypeScript side of the monorepo (PRD §47) and publish the ReportBundle contract as generated TS types plus a runtime validator. Closes EPIC 3A. Branch Name: build...
X Description: Context & Objective Bootstrap the TypeScript side of the monorepo (PRD §47) and publish the ReportBundle contract as generated TS types plus a runtime validator. Closes EPIC 3A. Branch Name: b...
Opengraph URL: https://github.com/elcode-id/elcode-forge/issues/59
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"build(forge-schema): bootstrap pnpm workspace, generated TS types, and path-filtered ci-web.yml","articleBody":"## Context & Objective\nBootstrap the TypeScript side of the monorepo (PRD §47) and publish the `ReportBundle` contract as generated TS types plus a runtime validator. Closes EPIC 3A.\n\n- **Branch Name:** `build/forge-059-pnpm-workspace-forge-schema`\n- **Parent Epic:** EPIC #53 (Phase 3A)\n- **DAG Dependencies:** Requires #58 (Sub-Issue 3.3)\n- **Estimated Size:** \u003c 300 LOC (excluding generated files)\n\n## File Target\n- `package.json`, `pnpm-workspace.yaml`, `.npmrc`, `.gitignore` *(NEW/MODIFY)*\n- `packages/forge-schema/{package.json,tsconfig.json}` *(NEW)*\n- `packages/forge-schema/schema/report-bundle.schema.json` *(NEW — output of `eforge schema`)*\n- `packages/forge-schema/scripts/generate.mjs` *(NEW — `json-schema-to-typescript`)*\n- `packages/forge-schema/src/{index.ts,validate.ts,generated.ts}` *(NEW)*\n- `packages/forge-schema/tests/validate.test.ts` *(NEW)*\n- `.github/workflows/ci-web.yml` *(NEW)*\n\n## Strict TypeScript Contract\n```ts\nexport type { ReportBundle, Finding, Module, HealthScore, Repository } from \"./generated\";\nexport const SUPPORTED_SCHEMA_VERSION = 1;\nexport function parseReportBundle(\n input: unknown,\n): { ok: true; bundle: ReportBundle } | { ok: false; errors: string[] };\n```\n\n## CI (`ci-web.yml`, AGENTS.md Matrix B)\n- Triggers only on `apps/**`, `packages/**`, `pnpm-lock.yaml`.\n- Drift job: `cargo run --bin eforge -- schema` must equal `packages/forge-schema/schema/report-bundle.schema.json`.\n\n## Definition of Done (Tier 4 Verification Gate)\n```bash\npnpm install --frozen-lockfile\npnpm --filter @elcode-forge/schema run lint\npnpm --filter @elcode-forge/schema run check\npnpm --filter @elcode-forge/schema run test\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:13Z","url":"https://github.com/elcode-id/elcode-forge/issues/59"}
| 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:699a8cf6-a3b2-504a-066b-170575035b4f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7C4:ADAFB:1919B8:223CC9:6B059810 |
| html-safe-nonce | 8d6d00fe8939c80aa6373a5bc5f38898fdd63bea8ca193ff1bc206c3cf0fade4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0M0OkFEQUZCOjE5MTlCODoyMjNDQzk6NkIwNTk4MTAiLCJ2aXNpdG9yX2lkIjoiMzE5NzI3ODUyMjg1OTQyNzg1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c6c1e8d70c0ff1b83fb8d8197a029f0228cbe09933c07b174abe3856c8417e95 |
| hovercard-subject-tag | issue:5919652456 |
| 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/59/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f03d125f60ced701b06bfbd2278361373cd1f0cd44296c58e2f9e2c4149ba8e3/elcode-id/elcode-forge/issues/59 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f03d125f60ced701b06bfbd2278361373cd1f0cd44296c58e2f9e2c4149ba8e3/elcode-id/elcode-forge/issues/59 |
| og:image:alt | Context & Objective Bootstrap the TypeScript side of the monorepo (PRD §47) and publish the ReportBundle contract as generated TS types plus a runtime validator. Closes EPIC 3A. Branch Name: build... |
| 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