Skip to content

[S2] Enterprise maturation + consolidation #303

Description

@rickylabs

Child of the Road-to-0.0.1-stable umbrella. Consolidate the features shipped across recent waves into a coherent, mature, enterprise-grade surface and raise the whole codebase to production quality.

Scope

  • Consolidate recent waves: fresh-ui, plugins (workers/sagas/triggers/streams + -core layer), Aspire, auth (better-auth/kv-oauth/workos + auth-core), streams. AI stack (epic: NetScript AI Stack — first-class AI runtime, chat & plugin seams (anchor #219) #238) folds in as it converges — do not re-architect it mid-flight.
  • Fix plugin-service type-unsoundness (172a-2-SOUND: phantom-typed base contract seam) — this is a beta gate.
  • Enterprise surface coherence: consistent public-surface verbs, doc-linted exports, no --allow-slow-types carve-outs at publish, coherent error surface.

Acceptance criteria

  • All plugin services type-sound; deno task publish:dry-run clean with no slow-types allowances.
  • Public surface doc-lint passes for every package's full export map.
  • e2e-cli-prod + scaffold.runtime green.

Notes

Spans both milestones. Depends on S4 (doctrine) for the surface/error/versioning standards it enforces, and coordinates with S6 (stale elimination) so consolidation and deletion don't collide. DB layer carved out (ROUTE-TO-PRISMA).


Parent epic: #301

Part of #301

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions