tasks: add drift sync tasks to align source with architecture specs
This commit is contained in:
36
tasks/drift/update-sqlite-imports.md
Normal file
36
tasks/drift/update-sqlite-imports.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
id: drift/update-sqlite-imports
|
||||
name: Update sqlite host imports from graphs/types.ts to new module paths
|
||||
status: pending
|
||||
depends_on:
|
||||
- drift/replace-types-exports
|
||||
scope: single
|
||||
risk: trivial
|
||||
impact: isolated
|
||||
level: 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
|
||||
Reference in New Issue
Block a user