tracker-config
The shared read-protocol and missing-config gate for the repo's tracker layer (docs/agents/issue-tracker.md, triage-labels.md, domain.md)
- License 许可
- MIT
- 所属仓库
- HigorAlves/orc
- 最近更新
- 2026-11-07
- Stars
- ★ 7
- Forks
- 0
01 前言 Front Matter
- name
- tracker-config
- description
- The shared read-protocol and missing-config gate for the repo's tracker layer (docs/agents/issue-tracker.md, triage-labels.md, domain.md)
- when_to_use
- Use when a command needs the configured tracker, its labels, or the Jira-enabled answer — /orc:setup writes the files; this skill reads them.
02 资源文件 5
- 参考文档references/templates/DOMAIN.md1.6 KB
- 参考文档references/templates/GITHUB.md2.4 KB
- 参考文档references/templates/JIRA.md2.8 KB
- 参考文档references/templates/LOCAL.md1.6 KB
- 参考文档references/templates/TRIAGE-LABELS.md1.2 KB
03 SKILL.md 正文
Tracker Config
One read-protocol and ONE missing-config gate, shared by every tracker-aware surface (/orc:triage, /orc:wayfinder, orc:to-issues, the Jira link prompts in /orc:plan|flow, the Jira adapters). /orc:setup writes the layer; nothing else re-implements the detection or the gate.
Read protocol
- Read
docs/agents/issue-tracker.md(repo root; in workspace mode, the target repo's). Present → parse the tracker choice + conventions; no gate. Also readtriage-labels.mdwhen the caller needs labels. - Missing → check the session's settled decisions first:
orc-state decision get trackerDefaults— a prior "use defaults" answer means proceed with defaults silently (this is why the gate fires at most once per session). - Still unsettled → the one canonical gate:
> **⛔ Gate — tracker layer not configured**
>
> docs/agents/issue-tracker.md is missing — tracker-aware behavior needs it.
AskUserQuestion:
- Run /orc:setup now — the interview writes the layer, then the calling command continues.
- Continue with defaults — GitHub Issues when
ghis authenticated, else local markdown. Record it:orc-state decision set trackerDefaults <choice> --provenance asked— no tracker-aware command asks again this session. - Abort.
The Jira-enabled answer
"Does this repo use Jira?" is read, never asked: the tracker layer declares it (issue-tracker.md names Jira as the tracker, or a Jira project key is recorded). When the layer says no Jira, Jira-link prompts are dropped silently and the session records orc-state decision set jiraTicket none --provenance inferred — asking about an unconfigured tracker is noise.
Seed templates (consumed by /orc:setup)
/orc:setup Phase 4 reads ONLY the chosen tracker's template from references/templates/ — GITHUB.md, JIRA.md, LOCAL.md, plus TRIAGE-LABELS.md and DOMAIN.md — fills the bracketed slots, and trims sections that don't apply. "Other" trackers: write issue-tracker.md from scratch out of the user's description, keeping the same headings.
04 同仓库更多 Skills
writing-plans
Write a comprehensive implementation plan of bite-sized TDD tasks that an engineer with zero codebase context could execute — exact files, code, tests, and verification steps
writing-for-agents
orc's doctrine layer for writing any document an agent consumes — skills, AGENTS.md/CLAUDE.md, reference docs
workspace-mode
Use when cwd is a parent dir holding multiple sibling git repos — defines repo auto-detection, --repos/--repo/--all-repos/--this-repo precedence, per-repo dispatch, and linked-PR mechanics.
wizard
Generate an interactive bash wizard walking a human through work only they can perform — credentials, secrets, one-off migrations
wait-what
Stop and re-pitch — the last message did not land; say it again simply, in the project's own vocabulary.
vitest
Vitest fast unit testing framework powered by Vite with Jest-compatible API