If a language model and its agent lose context, this is the tool you need.
This document summarizes how the CTX CLI is actually used in the self-hosted workspace and what to do with underused or cold commands.
The goal is not to chase coverage for its own sake.
Rule:
- first adopt what improves daily flow
- then validate what unlocks future work
- only after that cover peripheral or rare surfaces
Source:
ctx usage summaryctx usage coverage
Observed state in this repo:
totalKnownCommands:49usedCommandCount:31unusedCommandCount:21coveragePercentage:63.27
These are already part of the real product flow:
evidence addcommitstatusauditconclusion addnexthypo addhypo updatetask updategraph lineagedecision addtask add
Interpretation:
- CTX is already used strongly for traceability, cognitive closure, and consistency
- the dominant loop today is:
- observe
- record evidence
- update state
- close with a conclusion
- cognitive commit
They are used, but not yet part of the dominant loop:
loggraph summarytask listtask showgraph showgoal listhypo rankhypo showusage summaryusage coveragedecision listdiffmetrics showthread reconstructversion
Interpretation:
- these surfaces exist and are useful
- but they do not yet define the daily primary flow
- several depend on inspection or debugging needs rather than normal closure
Surfaces with no real use yet:
branchcheckoutconclusion showcontextdoctorevidence listevidence showexportgoal addgoal showgraph exporthypo listimportinitmergepacket listpacket showprovider listrunrun listrun show
Interpretation:
- some are cold because the flow does not need them yet
- some are cold because the product does not push them in real self-hosting
- some are edge capabilities, not the happy path
Update:
doctor,context,evidence list,evidence show,conclusion show, andgoal showare now promoted into the documented daily self-inspection loop- they should be used before larger work blocks, release passes, repo syncs, and agent handoffs
evidence listremains an inventory command; the decision-quality check isevidence show <evidenceId>against the exact supporting itemgapsandroadmapare now implemented as read-only planning commands so future ideas and unresolved work can be inspected without pollutingctx next
To prioritize them, separate by value.
Validate first:
goal addgoal showhypo listevidence listevidence showconclusion showdoctorcontext
Reason:
- very close to the real daily flow
- close inspection and operational gaps
- can improve daily work without heavy new complexity
Validate later:
branchcheckoutmergegraph exportexportimport
Reason:
- critical to the full CTX model
- not yet part of the daily self-hosting path
- require controlled scenarios and intentional testing
Defer:
runrun listrun showprovider listpacket listpacket show
Reason:
- depend on providers, integrations, or advanced workflows
- not the main self-hosting friction today
init
Reason:
- adds little to an already initialized repo
- value is higher in demos, onboarding, or new repos
When choosing which cold command to work on first, use this order:
- commands that reduce friction in the current daily flow
- commands that complete a family already used heavily
- commands that unlock structural system capabilities
- specialized or integration commands
Do not choose by:
- raw count of unused commands
- desire to raise coverage without operational value
Today:
goal listis usedgoal addandgoal showare not
Reading:
- the family exists but is not fully integrated into real flow
Today:
evidence addis the most used command in CTXevidence listandevidence showare not used
Reading:
- this is a clear gap
- writing is adopted, evidence inspection is not
Today:
conclusion addandconclusion updateare usedconclusion showis not
Reading:
- the closure family is alive
- but the read surface did not enter the loop
Today:
branch,checkout,mergeare unused
Reading:
- branch semantics exist in the viewer and model
- but real flow still does not use cognitive branches daily
Today:
run*andprovider listare unused
Reading:
- CTX operates strongly as a structured cognitive system
- but not yet as a routine model-run orchestrator
Validate and document:
evidence listin inventory modeevidence showgoal showconclusion showdoctorcontext
Validate whether goal add should enter the standard loop or remain a structural command for opening new work lines.
Build controlled demos or smoke tests for:
branchcheckoutmergeexportimport
Only after that push:
runprovider listpacket listpacket show
An unused command is not automatically critical debt.
It is priority debt only if:
- it belongs to a family already central to the real flow
- fixing it reduces daily friction
- or it unlocks a structural capability CTX needs to use itself