Commands
Commands
Detailed command guides for every executable RAGit CLI command
The commands group is the new home for detailed command documentation.
Each leaf page explains one executable CLI command from the user point of view and the agent integration point of view.
Rendering diagram...
Start Here
- Read
initwhen you are setting up RAGit in a repository. - Read
logwhen you want to understand how snapshot-scoped knowledge, beliefs, and open loops changed across commits. - Read
timelinewhen you want the operational time axis for session, memory, harness, and ingest events. - Read
driftwhen you want to know which knowledge objects should be revalidated at the currentHEAD. - Read
repairwhen you want a conservative action plan, or safe automatic execution, from currentdriftresults. - Read
security auditwhen you want to inspect whether secret-like content or unsafe remote egress posture leaked into RAGit-owned state. - Read
querywhen you want direct retrieval hits from indexed knowledge. - Read
context packwhen you want a compact prompt packet for the next agent step. - Read
memory recallwhen you want to resume active work instead of doing a general search. - Read
session materializewhen you want to extract session artifacts from transcripts and tool traces. - Read
harness runwhen you want to execute a stored harness suite and collect deterministic evaluation results.
Command Families
- Top-level commands:
init,log,timeline,drift,repair,describe,ingest,query,status,doctor - Doc:
doc - Config:
config - Context:
context - Hooks:
hooks - Security:
security - Session:
session - Artifact:
artifact - Harness:
harness - Memory:
memory - Migrate:
migrate
How To Read These Pages
- Every leaf page uses the same structure so you can find syntax, options, payload examples, and cautions quickly.
- Commands that support
--input <path|->include a JSON payload example. - Commands that support
--viewexplain the difference betweenminimal,default, andfull. - Commands that support
--dry-runexplain what is validated before any real mutation happens.
Fast Mappings
queryanswers: "What indexed knowledge matches this question?"loganswers: "What changed semantically across snapshot history, and what should the next agent still believe?"timelineanswers: "What happened across session, memory, harness, and ingest workflows?"driftanswers: "Which knowledge objects are still trustworthy at the current HEAD, and which ones need review?"repairanswers: "Given current drift, what conservative repair actions should I plan or safely apply?"security auditanswers: "Has raw-looking sensitive content or unsafe remote egress posture leaked into RAGit-owned state?"context packanswers: "What is the smallest useful prompt packet for this goal?"memory wrapanswers: "What should I record before stopping?"memory recallanswers: "What should I load before resuming?"memory promoteanswers: "What should become durable project knowledge?"
If you still prefer the old entry point, the legacy CLI Reference page now redirects you into this group.