Files
storage/tasks/drift/update-sqlite-imports.md

1.2 KiB

id, name, status, depends_on, scope, risk, impact, level
id name status depends_on scope risk impact level
drift/update-sqlite-imports Update sqlite host imports from graphs/types.ts to new module paths pending
drift/replace-types-exports
single trivial isolated implementation

Description

After types.ts is replaced, the sqlite host's one import from the graphs module (GRAPH_STATUS in src/sqlite/tables/graphs.ts) needs to point to the new location. This is a small, mechanical import path update.

Additionally, check if GraphConfigType (the Static<> type alias) is used anywhere in the sqlite host — if so, it needs to resolve from the Metagraph Module instead.

Acceptance Criteria

  • src/sqlite/tables/graphs.ts imports GRAPH_STATUS from the new module path (likely ../../graphs/modules/metagraph.ts or via re-export from ../../graphs/mod.ts)
  • No other sqlite files import from ../../graphs/types.ts
  • deno check src/sqlite/mod.ts passes

References

  • docs/architecture/sqlite-host.md — table definitions, enum pattern
  • docs/architecture/decisions/006-enum-pattern-as-const-objects.md

Notes

To be filled by implementation agent

Summary

To be filled on completion