trm-status
Instant status table across all TRM research topics — counts, staging backlog, extract lag, staleness, uncommitted files, next steps.
Files13
View on GitHubSKILL.mdskills/trm-status/SKILL.md
GitHubTRM Status
One-shot status dashboard for every TRM research topic in trm-vault. Answers
"what are all our TRMs and what state are they in" without a manual directory
crawl.
Trigger
"what are all our trms", "trm status", "status of the vault", "what's left to ingest", or before starting a new research session on any existing TRM.
Flow
- Call
findAllTopics(vaultRoot)— walks<vaultRoot>/topics/**and returns every leaf directory that has both atopic.jsonand asources/dir (container nodes like the person-levelcharlie/are excluded). - For each topic dir, call
scanTopicDir(dir)to get source/extract counts, staging-batch dirs, and vision-analysis/trm-ingest/crosslink presence. - Call
deriveStatus(stats)to classify state:stub— zero sources (new placeholder topic, awaiting a research trip)staging-pending— has_staging-batch*dirs not yet ingestedextract-lag— extracts < 50% of sources (ingest ran, extraction didn't keep up)stale— fully caught up buttopic.json.updated_atis >14 days oldactive— caught up and recently touched
- Call
attachGitInfo(vaultRoot, statuses)to append an uncommitted-file warning per topic (viagit status --porcelain -- <relPath>), per [[feedback_trm_vault_commit_per_run]]. - Call
renderTable(statuses)and print it.
Creating a new TRM later (new person, new research thread) is normal — a
stub state is not a problem to fix, just a placeholder waiting for intake.
Input Schema
interface Input {
vaultRoot?: string; // defaults to C:\Users\soren\trm-vault
}
Output Schema
interface Output {
statusTable: string; // tab-separated: TRM, STATE, COUNTS, NEXT STEPS
}
Full reference: See Skill Operator Guide.
For detailed workflow: See docs/USAGE.md.