Files
storage/tasks/drift/remove-schema-builder.md

1.1 KiB

id, name, status, depends_on, scope, risk, impact, level
id name status depends_on scope risk impact level
drift/remove-schema-builder Remove schemaBuilder.ts — replaced by Type.Module() per ADR-009 pending
single trivial component implementation

Description

The SchemaBuilder class in src/graphs/schemaBuilder.ts is the old fluent builder pattern for constructing graph type definitions. ADR-009 and the metagraph-module.md spec explicitly replace it with Type.Module() construction. The SchemaBuilder is unreleased API — it has no consumers outside this package.

Remove the file and its re-export from src/graphs/mod.ts.

Acceptance Criteria

  • src/graphs/schemaBuilder.ts is deleted
  • src/graphs/mod.ts no longer exports from schemaBuilder.ts
  • No remaining imports of SchemaBuilder anywhere in src/ or test/
  • deno check mod.ts passes

References

  • docs/architecture/metagraph-module.md — "SchemaBuilder removed; replaced by Type.Module() construction"
  • docs/architecture/decisions/009-typebox-module-replaces-schemabuilder.md

Notes

To be filled by implementation agent

Summary

To be filled on completion