v0.4.1
Fix
The root command accepted positional arguments and used them as the working directory. Running supermodel (which defaults to watch mode) would misresolve the project path, causing the daemon to create and read from a wrong directory. The daemon would load a 1-node cache instead of the full graph from analyze.
Before: supermodel daemon loads 1 node, incremental updates produce empty shards.
After: supermodel daemon correctly loads the full cache (17,877 nodes on Directus), incremental updates work end-to-end.
Change
cmd/root.go: Switch from positional[path]arg to--dirflag (defaults to.)- 1 file changed, 5 lines added, 6 removed
Tested
Full production E2E on Directus (17,877 nodes, 4,664 files):
- Full generate → daemon loads cache → 2 stacked incremental updates
- 99% node stability, 0 dangling edges, domains preserved across all states
- Incremental uploads: 1-3 KB vs 8.5 MB full (0.03%)
Fixes #108