agentleFS
UlisesCmUlisesCm/navori-owl/.agents/skills/resolve-ticket/SKILL.md

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.

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
  1. Very specific:

    The problem is the contract: Verify it in the repo with evidence (file:line, a repro, a query) before writing code.

    line 38
  2. Distinctive:

    Size is measured, not assumed: Before calling something small, run the command that proves it (call sites, files touched, layers crossed).

    line 41

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- navori:managed id="resolve-ticket" hash="dc429b17" 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.

PhaseWho covers itArtifact / Gate
1 · Triageyou: mem_search, cat progress/current.md, git status/logTrivial → 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 · AUDITauditor (ticket encargo) — ONE, or one per area, only when the orchestration table's disparadores fireaudit_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 · Designsolution-design skill + ONE fresh-context auditor challengeOnly 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 · ImplementationONE implementer agent, verify-before-done inside itReads 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 · Reviewreviewer agent + review-diff skillreview_<feature>.md. Two-pass; Pass 1 fails → CHANGES_REQUESTED, back to 4. APPROVED → continue.
6 · Publishpublisher agentPR 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 spawn_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 proceed and proceed-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 proceed or proceed-differently, give the compact resumen de decisión in chat per formato-respuesta.md before 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.md at idle, stop — asking permission to do nothing turns a finished pipeline into a stalled one. Only proceed / proceed-differently hold for the user, right before code gets written.
  • A tracker comment is opt-in, per cycle, on request — publisher drafts 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 publisher and its URL to the user.
  • A cycle closed at phase 2 ends with its verdict + evidence and no PR.
  • Either way, progress/current.md at idle.
<!-- /navori:managed id="resolve-ticket" -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.