2.7 KiB
2.7 KiB
Tasks — enterprise-overview
Numbered checklist of the discrete units of work to ship @suaveplan/overview.
1. Skeleton
- Create
packages/devtools/tooling/overview/withpackage.json,tsconfig.lib.json,vite.config.ts,vitest.config.ts,README.md, andtests/setup/polyfills.ts. - Wire
package.jsonexports for.and./discover.
2. Types
src/types/types.ts—Tier,PackageRecord,PluginSummary,SuavePlanManifest,WorkspaceGraph. Siblingtypes.md.
3. Errors
src/errors/errors.ts—defineCodes("OVERVIEW", [...]),OverviewErrorsubclass, code uniqueness test, sibling.md.
4. Schemas
src/schemas/schemas.ts— Zod schemas forTier,PackageRecord,PluginSummary,SuavePlanManifest. Sibling.mdand tests.
5. Tier inference
src/tier/tier.ts—inferTier(short, pkgJson, hints?), exportedSERVER_DEP_HINTS. Sibling.mdand tests.
6. Discovery (server sub-path)
src/discover/discover.ts—discoverPackages(options), asyncdiscoverPackagesIterwithAbortSignal. Real-fs test fixture undertests/setup/fixtures/. Sibling.md.
7. Graph utilities
src/graph/graph.ts—buildGraph,topologicalOrder,detectCycles,transitiveDependencies,transitiveDependents,leafPackages,rootPackages. Sibling.mdand tests includingfast-checkproperty-based cases.
8. Roll-ups
src/rollups/rollups.ts—byPlugin,byCategory,byTier. Sibling.mdand tests.
9. Telemetry
src/telemetry/telemetry.ts— meter init, counter + histogram exports. Sibling.mdand tests using in-memory metric reader.
10. Root barrel
src/index.ts— explicit named re-exports (noexport *). README at package root documenting the API surface.
11. Gate
bunx turbo lint typecheck test build --filter=@suaveplan/overviewgreen.bunx turbo test:coverage --filter=@suaveplan/overviewreports 100/100/100/100.
12. Manifest refresh
- Run
bun scripts/folder-reorg/generate-manifest.tssoMANIFEST.mdlists the new package.
13. STATUS flip
- In
STATUS.md, change the@suaveplan/overviewrow from–to✅and update its info column to reflect the migrated surface. - Update the Counts table (+1 migrated, -1 pending).
14. Fold + archive
- Fold
openspec/changes/enterprise-overview/specs/overview/spec.mdintoopenspec/specs/overview/spec.md(canonical). - Move
openspec/changes/enterprise-overview/toopenspec/archive/2026-05-25-enterprise-overview/.