Skip to content

feat: a skill that finds where the session's skills didn't fit and files the gaps #6417

Description

@kyle-sexton

Problem

When a skill doesn't fit the work in front of it, the session quietly works around it. That workaround is the most useful feedback a plugin can get, and today it is lost unless someone notices and files it by hand.

In the 2026-10-04 CI-performance session the owner asked for that by hand twice. Each time the coordinator reconstructed the gaps from memory and filed #6412 and #6413. The gaps it found:

  • implement-dispatch needs a PLAN.md, but the work came as scoped audit output, so workers were hand-dispatched with re-typed lifecycle rules;
  • workers stalled five times waiting on their own background work;
  • a research skill's verifier failed twice on labeling for vendor-documented facts, so the loop was stopped by judgment;
  • workers' classifier denials could not see the owner's approval, so edits were escalated to the main session.

Existing skills cover parts but not this:

  • /discipline:use-your-skills finds a skill that should have fired, not one that fired and didn't fit.
  • /plugin-quality:audit audits one named component after use, not a whole session's fit.
  • /session-flow:retro codifies session learnings, not per-skill gaps routed to their owners.

Ask

A skill the owner can fire at any point (start, middle or end), for example /plugin-quality:fit-gaps or /session-flow:skill-fit. It would:

  1. Read the session's on-disk transcript and its subagents' returns. Find each place where:
    • a skill was invoked and then bypassed or overridden;
    • a coordinator re-typed the same rules into several briefs;
    • a worker stalled, or was nudged or re-briefed for the same reason more than once;
    • a permission or classifier denial forced a workaround;
    • a verifier loop was stopped by judgment;
    • the owner asked "is there a skill for this".
      At session start, with no transcript yet, it instead lists the skills that likely apply to the stated task and their known fit limits, from open issues.
  2. Attribute each gap to its owning plugin or skill, citing transcript evidence.
  3. De-duplicate against that plugin's open issues (gh issue list --search).
  4. Present a ledger of gap, owning skill, evidence, proposed change and existing issue. File the new ones only on the owner's yes, with evidence-first bodies. That fits the org's rule that no automated process opens issues.
  5. Optionally propose a new-skill candidate when no existing skill owns a recurring pattern.

Evidence

Session dba79e68-af19-4ecc-a0ce-69d8b1dbefbb, plus #6412 and #6413, which this skill would have produced.

Activity

  1. added
    needs-triage
    on Oct 5, 2026
  2. github-actions commented on Oct 5, 2026

    @github-actions
    Contributor

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Automated triage. A maintainer reviews it.

  3. added
    needs-human
    on Oct 5, 2026
  4. removed
    needs-triage
    on Oct 12, 2026
  5. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner approved applying independently verified recommendations on 2026-10-12.

    • Build a new skill or extend running-retro's checkpoint with a skill-fit category, owner attribution and duplicate search? → extend /session-flow:running-retro
      Basis: plugins/session-flow/skills/running-retro/context/checkpoint.md:74-76 (Skill change / New-skill candidate / Tracker issue routes); plugins/session-flow/skills/running-retro/SKILL.md:134-142 (offer routing, never auto-apply), :237 ('Does not auto-file tracker issues')

    Wants a skill that reads a session transcript, finds where skills were bypassed or worked around, attributes each gap to its owning plugin, de-duplicates against open issues and files on the owner's yes. /session-flow:running-retro already reads the transcript in a fresh subagent, classifies findings with 'Skill change', 'New-skill candidate' and 'Tracker issue' routes, and offers filing without auto-filing; it lacks the specific fit-gap detectors, owning-plugin attribution and duplicate search.

    Verification notes:

    • Minor: the issue's 'at session start, list likely skills' mode is not covered by extending running-retro; /session-flow:show-options already covers it, so the extension does not need to.

    Verified by an independent fresh-context check (confirmed, risk low): gh issue view 6417 (open, no owner decision); origin/main running-retro/context/checkpoint.md:68-78 route table (Skill change, New-skill candidate, Tracker issue); origin/main running-retro/SKILL.md:134-142 offer routing, :235-238 'Does not auto-file tracker issues'; Assumption verified true: running-retro SKILL.md:80 and checkpoint.md:127 read /subagents/; gh pr/issue search: no fit-gaps skill or PR

    Admission to an agent lane stays with the work-class rules and owner ratification.

  6. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    Owner batch-ratified this admission in an attended session on 2026-10-12: work-class: scoped. Rule: class C1-C3, no trust surface, the independent check confirmed the recorded decision, and no owner step remains.

  7. added
    agent-ready
    and removed
    needs-human
    agent-ready
    on Oct 13, 2026
  8. kyle-sexton commented on Oct 18, 2026

    @kyle-sexton
    MemberAuthor

    Agent Brief

    Type: Feature
    Summary: Teach /session-flow:running-retro's checkpoint to find where a session's skills did not fit, attribute each gap to its owning plugin, and check for an existing issue before offering to file.

    Current behavior:
    The running-retro checkpoint reads the transcript and subagent returns in a fresh subagent and routes findings as Skill change, New-skill candidate or Tracker issue, offering filing without auto-filing. It has no detectors for skill-fit gaps, does not name the owning plugin, and does not search for an existing issue.

    Desired behavior:

    • The checkpoint flags: a skill invoked then bypassed or overridden; the same rules re-typed into several briefs; a worker stalled, nudged or re-briefed for the same reason more than once; a permission or classifier denial that forced a workaround; a verifier loop stopped by judgment; the owner asking whether a skill exists for something.
    • Each such finding names its owning plugin and skill, cites transcript evidence, and lists any matching open issue found through /work-items:track search.
    • Filing still happens only on the owner's yes.

    Key interfaces:

    • Checkpoint finding record: skill-fit category, owning plugin and skill, existing-issue field.
    • Duplicate search: through the work-items tracker seam, naming no provider command.

    Acceptance criteria:

    • The checkpoint reference lists the six detectors and the new finding fields.
    • The skill states that skill-fit findings are searched for duplicates through /work-items:track and never auto-filed.
    • An eval case asserts that a transcript where a skill was invoked and then bypassed yields a skill-fit finding naming that skill's plugin.
    • A changelog entry or fragment for session-flow passes scripts/check-changelog-fragments.sh.

    Out of scope:

    • A new standalone skill.
    • The session-start listing mode (/session-flow:show-options covers it).
    • Running the eval suite.

    This was generated by AI during backlog shaping. Held, not admitted: this brief is drafted and checked, but the issue lane would stop on it today. It is admitted, by adding agent-ready, once the lane can run the skill-quality check scripts (Automation Lanes' PR #7912). Held under the owner's 2026-10-18 lane-narrowing course correction.

  9. added
    needs-human
    agent-ready
    and removed
    needs-human
    on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-ready

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions