-
Notifications
You must be signed in to change notification settings - Fork 1
How to use the task and QA layer
What makes cie not-just-a-code-graph: tasks, test results, coverage and PRD hierarchy live in the same store as the code.
Embedded mode keeps three files under <root>/.cie/:
graph.db (code), tasks.db (tasks + test results + coverage),
hierarchy.db (PRD → task hierarchy). Disable per store with
--no-task-tracking / --no-hierarchy (the tools then return honest
unavailable envelopes).
-
Plan tasks:
push_tasks— write task records against file paths/symbols. -
Ask what's pending:
tasks:pending— the agent's worklist. -
Record proof:
record_test_result(pass/fail per test, per run),record_coverage_snapshot(per-file coverage). -
Ask the traceability question:
traceability_chain— task → code → test → result in one answer;traceability_orphansfinds code with no test and no contract (the honest gaps).
No other surveyed code-graph tool answers "which files implement this task, and are they tested?" as one query — they're pure retrieval. Traceability is also what the HTML snapshot surfaces ("Task & test chains", "Orphans: no test, no contract").
Tasks are per-project (per store). Cross-repo task graphs are roadmap R28, gated on a real multi-repo user.
Task & PRD-hierarchy layer (tasks.py, task_repository.py, embedded_task_repository.py, hierarchy.py)
-
AtomicTask/AtomicTaskBatch(pydantic, schema-versioned at ingest), with status/attempts write-back, artifacts, repair events, dependency cycles validation, coverage validation, API-contract validation. -
Neo4jTaskRepository(real write-behind entity cache,cie.graph_cache) orEmbeddedTaskRepository(SQLite, zero-config — sameTaskRepositoryprotocol, sameplan_pushvalidation code, no Neo4j) —NullTaskRepositoryremains available as an explicit opt-out. -
hierarchy.py: stores/traverses a PRD tree (Module → Feature → Workflow → UseCase → UserStory →REALIZED_BYAtomicTask), APOC-free Cypher — Neo4j only, not yet ported to the embedded backend (its three tools —prd_coverage/prd_orphans/prd_traceability_chain— callcie.factory.get_hierarchy_repodirectly). CLI:hierarchy:push,hierarchy:children,hierarchy:lineage.
If code and this wiki disagree, the code wins — then this wiki gets a PR. Evidence lives in the repo, not here.
Start
How-tos
- Install & serve to your MCP client
- Choose your storage backend
- Run the Neo4j team mode
- Index & keep it fresh
- Ask impact questions
- Task & QA layer
- Semantic search
- Snapshot or serve HTTP
- Policies & the write boundary
- Troubleshoot
Reference
- Extraction pipeline
- Data model
- Tool reference
- Benchmarks
- Security & determinism
- Two tiers · Project layout · Docs index
Contribute