32 lines
1.4 KiB
Markdown
32 lines
1.4 KiB
Markdown
# Tasks: enterprise-overview
|
|
|
|
## 1. Scaffold
|
|
- [x] 1.1 Create `universal/docs/overview/` with package.json, tsconfig(.lib).json, vite+vitest configs, README skeleton.
|
|
- [x] 1.2 100/100/100/100 coverage thresholds; istanbul provider.
|
|
- [x] 1.3 Cross-cutting guard tests.
|
|
- [x] 1.4 Add to root `CLAUDE.md`, `README.md`, `FOLDERS.yml`.
|
|
|
|
## 2. Schemas + errors
|
|
- [x] 2.1 `src/schemas/manifest.schema.ts` — `CategorySchema`, `PackageSchema`, `ManifestSchema`.
|
|
- [x] 2.2 `src/errors/overview-error.ts` — codes `OVERVIEW.MANIFEST_INVALID`, `OVERVIEW.CYCLE_DETECTED`, `OVERVIEW.PACKAGE_NOT_FOUND`.
|
|
|
|
## 3. Runtime API
|
|
- [x] 3.1 `src/load/load.ts` — `loadManifest`, `validateManifest`.
|
|
- [x] 3.2 `src/graph/graph.ts` — `layerFor`, `dependentsOf`, `dependenciesOf`; cycle detection.
|
|
- [x] 3.3 Co-located `.md` docs.
|
|
- [x] 3.4 Property tests: random DAG → topo layers monotone; cycles detected.
|
|
|
|
## 4. Generator script
|
|
- [x] 4.1 `scripts/generate-manifest.ts` — walks workspace, parses `FOLDERS.yml`, writes `manifest.json` at repo root.
|
|
- [x] 4.2 CI task + pre-commit hook to regenerate on `package.json` change.
|
|
|
|
## 5. Docs + exports
|
|
- [x] 5.1 Subpath exports per feature.
|
|
- [x] 5.2 Root `README.md`.
|
|
|
|
## 6. Benchmarks
|
|
- [x] 6.1 `src/__benchmarks__/layer.bench.ts` — layerFor on a 300-package manifest.
|
|
|
|
## 7. Ship gate
|
|
- [x] 7.1 Pre-ship verification sequence green; fold spec; archive.
|