Commands
status
Summarize repository, manifest, and zvec state
What It Does
status prints the current repository state that matters to RAGit: branch, HEAD, backend, manifest count, knowledge readiness, event-ledger activity, the split between the configured embedding profile and the persisted store contract, the active embedding-cache namespace summary, and the current security posture summary.
When To Use / When Not To Use
When to use it
- You want a quick operational snapshot of the current repository.
- You want to confirm whether the store is loaded and whether retrieval should be ready.
- You want to inspect config surfaces without opening files manually.
When not to use it
- You want a deeper health diagnosis. Use
doctor. - You want to change config values. Use
config set.
Syntax
pnpm ragit status [--format text|json|both] [--cwd <path>]
Arguments And Options
--format text|json|both: Choose human text, JSON, or both.--cwd <path>: Run against another repository.
Input And Output Contract
- There is no positional input and no JSON payload input.
- JSON output includes
branch,head,backend,zvec,supported_types,docsAuthority,knowledge,events,manifests,embedding.configured,embedding.store,embedding.cache,embedding.ready,embedding.needsMigration,security, andformat. embedding.cachereportsenabled,dir,namespaceId,entryCount,batchPolicy,retryPolicy,writable, andnamespaceReadable.securityreportsmaskingConfigured,remoteEmbeddingPolicy,providerEgressClass,outputRemasking,quarantineEntries,lastAuditAt, andlegacyUnsafeState.- Agents should usually call
--format json.
Examples
Human terminal flow:
pnpm ragit status
Agent-oriented flow:
pnpm ragit status --format json
Failures And Cautions
statusis a summary, not a repair command.- A loaded store does not guarantee that your latest docs are indexed. Run
ingestafter content changes. - Event counters reflect append-only operational ledger activity, not snapshot semantic deltas. Use
timelinewhen you need the detailed time axis. - When
embedding.needsMigration=true, change the store withmigrate embeddingsbefore running write paths against the new provider contract. - When
embedding.cache.enabled=falsewhile cache is expected, inspectdoctorforembedding.cache-dirandembedding.cache-namespace.