cranot/roam-code Analysis

Pre-indexed code intelligence for AI coding agents — health scoring, quality gates, SARIF output

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 11, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: cranot/roam-code@3332a2ef65c27b8f3f30b994813fbb435ca43529 # v13.8.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
versionExact roam-code version to install; source installs this action checkout; latest requires allow-latest=trueno13.10.0
allow-latestExplicitly permit the mutable version=latest install path (true/false)nofalse
commandsSpace-separated roam commands to run (default: "health")nohealth
changed-onlyIncremental mode: adapt commands to changed files + dependents when possible (true/false)nofalse
changed-depthTransitive depth for changed-only dependent expansion (used by roam affected)no3
base-refOptional explicit base ref/SHA for changed-only mode (default: PR base SHA or push before SHA)no""
sarifUpload SARIF results to GitHub Code Scanning (true/false)nofalse
sarif-commandsSpace-separated commands to export as SARIF (`auto` = SARIF-capable subset of `commands`)noauto
sarif-categoryBase category for SARIF upload (job/python suffixes are auto-appended)noroam-code
sarif-max-runsPre-upload SARIF cap: maximum runs kept in combined payloadno20
sarif-max-resultsPre-upload SARIF cap: maximum results per runno25000
sarif-max-bytesPre-upload SARIF cap: maximum JSON bytes for combined SARIFno10000000
commentPost sticky PR comment with results (true/false)notrue
gateQuality gate expression (supports key ops + trend functions like velocity(metric)<=0). Empty = no gate.no""
cacheCache the SQLite index between runs (true/false)notrue
python-versionPython version to useno3.11
namedescription
health-scoreThe health score (0-100) if health command was run
exit-codeThe exit code from roam commands (0=success, 5=gate failure)
sarif-filePath to generated SARIF file (if sarif input is true)
sarif-categoryResolved SARIF upload category
sarif-truncatedWhether SARIF guardrails truncated runs/results before upload
sarif-resultsResult count in final SARIF payload after guardrails
changed-onlyWhether changed-only mode was enabled
base-refResolved base ref used for changed-only mode
affected-countDetected changed+dependent file count in changed-only mode