Skip to content

feat(intake-triage): run /work-items:triage through the skill-activity path #18859

Done

Description

@kyle-sexton

Context

Workshop 07's alignment pass decided the intake lane runs /work-items:triage in a CI mode and the rubric keeps only this repository's labels and field ids (ledger Q2011). Workshop 08's pass chose the mechanism (ledger Q2102, owner, 2026-11-24): the skill-activity path, the way the build lane runs a plugin skill in CI.

  • Today intake passes .github/scripts/intake-triage/triage-rubric.txt as instructions to the ci-workflows intake reusable (.github/workflows/intake-triage.yml:297), whose model step allows only Read Grep Glob, with no plugin directories and no Skill tool.
  • The build lane runs /work-items:work --ci through docs/conventions/pr-pipeline.yaml:386-387 and .github/actions/collect-base-activity/action.yml, which grants Skill(...) and passes plugin directories.
  • Only this repository calls the ci-workflows intake reusable (gh search code, 2026-11-23).
  • /work-items:triage has no CI mode yet (plugins/work-items/skills/triage/SKILL.md, no --ci).

Proposed work

  1. Give /work-items:triage a --ci mode that writes the verdict the intake lane posts today, with no tracker writes of its own (the lane's scripted jobs write).
  2. Move the intake lane's model job onto the skill-activity path, and cut the rubric down to this repository's labels and field ids.
  3. Leave the ci-workflows reusable as is until this runs clean here; lifting the path into ci-workflows is a later step.

Wait for #18664 and #18660 to merge first: both change collect-base-activity/action.yml.

Design decision (owner, 2026-11-25, Q69 and Q70, "go with recommendations")

The move first planned (a verdict mode in the read runner plus a no-model posting job) needed Bash and Write for the triage model. The owner chose instead:

  • The triage model keeps the read runner's read-skill tools only (Read, Glob, Grep, Skill; .github/actions/collect-base-activity/action.yml:488) and returns its verdict as structured output, as dependency-review does.
  • One verdict schema ships with the triage skill; the runner writes the repository's dimension keys into it as enums, and check-ci-verdict.mjs reads the same schema. The verdict gains an optional type so the lane keeps setting an Issue Type.
  • A scripted no-model job runs set-dimensions.sh --dry-run and check-ci-verdict.mjs, then posts the comment and labels as github-actions[bot]. A verdict that fails those checks applies nothing; the triage sweep retries within its attempt cap.
  • The trigger gate keeps today's sources only.
  • This repository's own rubric rules move to docs/conventions/work-items.md. .github/scripts/intake-triage/triage-rubric.txt is no longer passed to a model; retiring the file, which tests and merge-holds.mjs still read, is a follow-up.

Acceptance criteria

  • An intake run calls /work-items:triage --ci through the Skill tool and posts the same verdict fields as today, plus the Issue Type.
  • The model the intake run starts holds no tool beyond Read, Glob, Grep and Skill.
  • No rubric text passed to a model restates rules the skill holds; this repository's own rules live in docs/conventions/work-items.md.
  • The skill's --ci mode is covered by its tests.

References

  • Workshop 07 LANE-VETTING.md (course folder) intake row; ADR 0130.
  • session: Software Factory Part Two (workshop 08 alignment pass).

Activity

  1. added
    session-owned
    on Nov 24, 2026
  2. kyle-sexton commented on Nov 25, 2026

    @kyle-sexton
    MemberAuthor

    Design decided (owner, 2026-11-25, 'go with recommendations'): option A as first accepted needed new Bash and Write for the triage model, so the build takes A2 refined instead. The model keeps Read, Glob, Grep and Skill (collect-base-activity/action.yml:488); its verdict is structured output held to one schema the triage skill ships, with the repository's dimension keys written in as enums; the scripted no-model job runs set-dimensions.sh --dry-run and check-ci-verdict.mjs, then posts as github-actions[bot] (the dependency-review pattern, action.yml:528-547). The trigger gate keeps today's sources only. Repo-specific rubric rules move to this repository's convention home.

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

    session-owned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions