@titan-design/coordinator
v0.5.3
Published
Seat config and charter policy schemas for the autonomy coordinator (pure code: zod schemas and inferred types).
Readme
@titan-design/coordinator
Tier 2 of the titan-platform DAG. Depends on @titan-design/agent-dispatch (tier 1) for
limitsSchema. May import only packages in the same tier or
below; the package-layers rule in .codewatch/check.json enforces this in CI.
Exports seatConfigSchema (zod) and its inferred types for autonomy-seat/v1 seat front
matter, charterPolicySchema and parseCharterPolicy for autonomy-charter/v1 charter
front matter, and foldSeatEvents, a pure fold from a seat's event log (seatEventSchema) to
SeatState. coordinatorConfigSchema and checkCoordinatorConfig validate a whole
titan-coordinator/v1 document and its cross-references. authoredBlockSchema, parseAuthored and
renderAuthored validate and render the seat's authored handoff block. applyEdit, diffDocuments and
verifyChain edit, diff and check a revision log of that document (configRevisionSchema). EDITABLE_FIELDS with
checkEditableValue is the allowlist of config fields an editor may change. Pure code: no fs, process, network or broker. See site/reference/coordinator.md.
The first npm publish is pending and owner-only; trusted publishing is set up after it.
