resolve-ticket
Skill1 starsChanged 37 days agoMITView on GitHub
Use when a ticket arrives (ID, URL or pasted text) and the task isn't trivial — the canonical 6-phase pipeline to process it with objective gates.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- patient/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- patient/CLAUDE.mdCLAUDE.md
- author-skillSkill
- context-intakeSkill
- debug-failureSkill
- dominioSkill
- follow-up-prsSkill
- locate-codeSkill
- master-planSkill
- plan-advancedSkill
- plan-simpleSkill
- pytestSkill
- quality-attributesSkill
- resolve-ticketSkill
- review-diffSkill
- scoped-gateSkill
- secure-by-designSkill
- security-invariantsSkill
- solution-designSkill
- spec-bootstrapSkill
- verify-before-doneSkill
- author-skillSkill
- context-intakeSkill
- debug-failureSkill
- dominioSkill
- follow-up-prsSkill
- locate-codeSkill
- master-planSkill
- plan-advancedSkill
- plan-simpleSkill
- pytestSkill
- quality-attributesSkill
- review-diffSkill
- scoped-gateSkill
- secure-by-designSkill
- security-invariantsSkill
- solution-designSkill
- spec-bootstrapSkill
- verify-before-doneSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
The problem is the contract: Verify it in the repo with evidence (file:line, a repro, a query) before writing code.
- Distinctive: line 41
Size is measured, not assumed: Before calling something small, run the command that proves it (call sites, files touched, layers crossed).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- navori:managed id="resolve-ticket" hash="9f066f93" version="0.12.3" source="@navori/core" fmkeys="name,description,metadata" -->resolve-ticket — 6-phase pipeline
Pipeline
Agents and skills chained by objective gates: what one phase pays for in tokens is written down for the next. Each phase writes to .navori/state/handoffs/; the gate is blocking. scout is used on demand inside any phase, not as a phase of its own.
| Phase | Who covers it | Artifact / Gate |
| 1 · Triage | you: mem_search, cat progress/current.md, git status/log | Trivial → skip the deeper phases; it still goes through implementer. If progress/current.md is not idle with ANOTHER ticket, ask; never two in parallel. |
| 2 · AUDIT | auditor (ticket encargo) — ONE, or one per area, only when the orchestration table's disparadores fire | audit_ticket_<ID>.md: verdict (proceed / proceed-differently / split / doesn't apply / blocked), verified problem + size, assessment of the ticket's proposed fix. Gate: only proceed and proceed-differently wait for the user's approval. Any other verdict opens no work → it closes the cycle here, unattended, with its evidence. No trigger fires → straight to 4, the ticket's own text is the audit. |
| 3 · Design | solution-design skill + ONE fresh-context auditor challenge | Only on an architectural signal (orchestration table), a proceed-differently verdict. Produces solution_<scope>.md + solution_review_<scope>.md. Gate: your verdict READY / CONCERNS / BLOCKED — CONCERNS records the risk and moves on, only BLOCKED stops. No signal → straight to 4. |
| 4 · Implementation | ONE implementer agent, verify-before-done inside it | Reads audit (if 2 ran) → solution (if 3 ran) → applicable skill. Produces impl_<feature>.md with fresh evidence at exit 0. Gate: ruff check . green in the turn. No evidence → back here. |
| 5 · Review | reviewer agent + review-diff skill | review_<feature>.md. Two-pass; Pass 1 fails → CHANGES_REQUESTED, back to 4. APPROVED → continue. |
| 6 · Publish | publisher agent | PR created and its URL to the user; a tracker comment only when the user asks for one — not a default step of the cycle. Then close the session per the closeout block. |
Phase 2 fan-out
Only when the orchestration table's fan-out row fires, never on "it feels separable": three auditors on a one-file ticket cost more than the serial run they replace. Then one auditor per area, all the Agent calls in the SAME turn, each writing audit_ticket_<ID-area>.md (e.g. audit_ticket_BTBS-138-webapp.md) so none overwrites another. You synthesize the N reports — contradictions and gaps included — into the single audit_ticket_<ID>.md every later phase reads. Never delegated.
Ticket principles
A ticket (bug or feature, from any board) describes a SYMPTOM and often ships a proposed solution. Treat them differently:
- The problem is the contract. Verify it in the repo with evidence (
file:line, a repro, a query) before writing code. If you can't confirm it, that's a finding to report — not a reason to implement anyway. - The proposed solution is a suggestion, never the spec. Evaluate it against the verified problem: it may solve it, mask it, or target something else. You have standing to propose a different path — cite why yours beats the ticket's.
- Not every ticket proceeds. Legitimate outcomes besides "implement": already solved, can't reproduce, works as intended, needs splitting into N tickets, blocked on missing info. Saying so early — with evidence — beats a polished PR for the wrong fix. None of them opens work, so none of them waits for approval: report the verdict with its evidence and close the cycle. The human gate stays for
proceedandproceed-differently, the two that open the chequebook. - Size is measured, not assumed. Before calling something small, run the command that proves it (call sites, files touched, layers crossed). A one-line description routinely hides a 13-call-site change.
Hard rules
- For
proceedorproceed-differently, give the compactresumen de decisiónin chat performato-respuesta.mdbefore asking approval; no-work verdicts close with evidence, without approval. - Phase 2 fires only on its disparadores — never skipped because you "already understood the ticket" when it does fire, and never invented when it doesn't: the audit is for the implementer, and for you in 3 days.
- No PR without
APPROVED. - A verdict that opens no work doesn't wait for approval: report it with its evidence, leave
progress/current.mdatidle, stop — asking permission to do nothing turns a finished pipeline into a stalled one. Onlyproceed/proceed-differentlyhold for the user, right before code gets written. - A tracker comment is opt-in, per cycle, on request —
publisherdrafts and posts it only when the user asks; the pipeline never assumes one is wanted.
Before declaring done
- A cycle that proceeded ends with a PR via
publisherand its URL to the user. - A cycle closed at phase 2 ends with its verdict + evidence and no PR.
- Either way,
progress/current.mdatidle.
<!-- /navori:managed id="resolve-ticket" -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

