Skip to main content

Module commands

Module commands 

Source

Modules§

agent_policies
tracevault agent-policies — fetch agent-readable Markdown instructions rendered server-side from the active policies for the current repo.
catch_up
The catch-up sweep for Claude Code’s cost-state report (VIS-1108).
check
claude_telemetry
Claude Code OpenTelemetry export to TraceVault (VIS-1081): init --claude-telemetry and tracevault otel-headers. On by default since VIS-1109; --no-claude-telemetry removes our settings again (uninstall).
commit_push
context
flush
init
login
tracevault login — interactive human sign-in via Keycloak’s RFC 8628 device authorization grant.
logout
tracevault logout — drop the local credential, and for a Keycloak session also revoke the refresh token at the IdP.
migrate
Directory-scoped project binding (VIS-1256): resolving a project NAME to the project_id a .tracevault/config.toml carries, and migrating the legacy default_project name to it.
project
tracevault project — workspace/detached-mode project-attribution commands. Mirrors commands::repo’s switch/status structure, but binds the project-attribution axis (design §7/Task 7) rather than the repo axis.
proxy
tracevault proxy info — print the TraceVault LLM proxy configuration a user needs to point their AI tool (Claude Code, GSD2, Cursor, etc.) at the proxy.
repo
tracevault repo — workspace/detached-mode repo binding commands.
session_hooks
Shared helpers for the SessionStart / UserPromptSubmit hook commands (sub-plan C): the Claude Code hook-output JSON shape for injecting context, the pure decision logic for when to inject, and the shared resolve-binding-then-inject flow used by both hook commands.
session_start
tracevault session-start — the Claude Code SessionStart hook.
stats
status
tracevault status — surface every piece of state a user might need to debug “why doesn’t it work”. The command runs read-only checks across credentials, the project tree, and the server, and prints a grouped report with ✓ / ✗ / ! markers. Exits non-zero if anything actionable is broken.
stream
sync
upgrade
The one-time step a newer CLI runs on an existing install (VIS-1109).
user_prompt
tracevault user-prompt — the Claude Code UserPromptSubmit hook.
verification_phase
verify