You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Status: v0 complete — compiles and passes all tests (12/12)
The CLI binary context implements three commands: build, resolve, inspect. All frozen exit codes (0-7) are implemented. Determinism is verified through integration tests that exercise the full build→resolve pipeline.
tests/determinism.rs 5 passed
tests/exit_codes.rs 7 passed
────────────────────────────────
Total 12 passed
Remaining Work
P1 — Functional gaps
Full cache verification for inspect — Depends on context-core verify_cache() function (context-core P1). Until that exists, valid field in inspect output is approximate (checks file existence only, not hash verification or orphan detection).
P1 — Enterprise Ingestion CLI (see context-specs/plans/enterprise_ingest_plan.md Phase 1)
Refactor build to use connector pipeline — Replace direct walkdir logic with FilesystemSource + ingest_from_source(). All 12 existing tests must pass unchanged. Determinism: old path vs new path must produce identical caches.
--source-type flag — Add to build command (default: filesystem). Dispatch to appropriate DocumentSource implementation.
--connector-config <path> flag — JSON config file for connector-specific settings (auth tokens, endpoints, pagination). Validate at startup before ingestion begins.
Exit code mapping for ConnectorError — Map connector errors to appropriate frozen exit codes (6 for IO/auth, 7 for internal).
P2 — Test gaps
Build edge cases — empty source dir, source dir with no .md files, source with non-UTF-8 files
Pretty vs JSON format test — verify both produce parseable JSON, differ only in whitespace