When -f json (or the command’s JSON mode) is used, some commands add stable metric_type and metric_description fields so parsers and dashboards do not confuse different scores:
Command
metric_type
Role
sruja status -f json
truth_freshness
Baseline / sync / truth status (not structural health alone)
sruja health -f json
structural_health
Violations vs declared repo.sruja (0–100)
sruja context-score -f json
ai_readiness
AI preparedness (0–100)
sruja learn -f json
(see artifact_kind)
artifact_kind is learned_hypothesis — not reviewed DSL truth
As part of feature tightening (Phase T), Sruja provides canonical paths for core workflows to reduce toolbox feeling:
Workflow
Canonical Command
Deprecated Alternatives
Onboarding
sruja onboard
discover explain
Health Check
sruja status / doctor
health
Retrieval
sruja focus / MCP focus briefing
get_architecture_context, get_hydrated_context
Drift Gate
sruja drift, sruja drift-pr
deprecated check
MCP tool profiles (minimal, coding, arch, full) control which tools are available via MCP. The default coding profile provides ~15-18 tools focused on coding workflows.