Skip to content

Wire issue triage workflow to reusable skill - #68871

Draft
PureWeen wants to merge 1 commit into
pureween-add-issue-triage-skillfrom
pureween-wire-issue-triage-skill
Draft

PureWeen wants to merge 1 commit into
pureween-add-issue-triage-skillfrom
pureween-wire-issue-triage-skill

Conversation

@PureWeen

@PureWeen PureWeen commented Aug 27, 2026 •

Copy link
Copy Markdown
Member

Summary

This is layer 3 of native stack #68872 and depends on #68870 at 9b92e343e3d18d49a5a64445ed3f7b80f7d9f029.

  • declares .github/skills/issue-triage as a compiler-managed local skill in the production workflow
  • invokes the skill for reusable area, type, subtype, regression, duplicate, abstention, and semantic-summary decisions
  • removes the duplicated inline area/type policy so the skill and references/areas.md are the maintainable policy source
  • preserves workflow-owned activation/fork/target guards, trusted issue and type retrieval, untrusted-content handling, tool restrictions, vulnerability comment suppression, safe-output allowlists and maxima, explicit issue-number targeting, needs-area-label removal conditions, mutation ordering, dry-run behavior, and no-op behavior
  • preserves fail-closed type handling: a failed lookup cannot authorize set-issue-type, while area/subtype/duplicate analysis continues
  • keeps the internal four-line ### Triage Decision separate from the unchanged public ### Triage Summary

The source workflow prompt is reduced from about 5,924 to 2,960 words (about 50%), with reusable classification policy removed rather than duplicated.

Validation

  • full-repository gh aw compile --strict --no-check-update with gh-aw v0.88.2: 5 workflows compiled, 0 warnings
  • focused recompilation produced no further diff; generated lock installs .github/skills/issue-triage and preserves GH_AW_ACTION_FAILURE_ISSUE_EXPIRES_HOURS: "0"
  • Vally 0.14.0 default validation, Test, and strict Lint passed; standard and smoke dry-run discovery produced 8 plans
  • dependent skill passed its exact-SHA hosted gpt-5.6-terra smoke evaluation at the 1.0 threshold (run 35015657901)
  • local merge-tree against then-current main (480b1324632716d8fa79c80331ef5dd084f92f2b) was conflict-free
  • this layer is exactly one commit and changes only .github/workflows/issue-triage-agent.md and .github/workflows/issue-triage-agent.lock.yml

Limitations

The hosted smoke run validates the isolated skill, not end-to-end execution of this production workflow. No live issue was mutated for testing. The eval runner still has an absolute-path view resolution defect; the skill's scoped missing-path fallback successfully read its required area reference in every passing skilled trajectory.

@PureWeen
PureWeen force-pushed the pureween-wire-issue-triage-skill branch from b74473f to e93d33e Compare August 27, 2026 22:08
@PureWeen
PureWeen force-pushed the pureween-wire-issue-triage-skill branch from e93d33e to ba0ebe7 Compare September 2, 2026 17:25
@PureWeen
PureWeen force-pushed the pureween-wire-issue-triage-skill branch 2 times, most recently from 37436e1 to 8912bcf Compare September 2, 2026 19:23
@PureWeen
PureWeen force-pushed the pureween-wire-issue-triage-skill branch from 8912bcf to 424c776 Compare September 2, 2026 20:34
@PureWeen
PureWeen force-pushed the pureween-wire-issue-triage-skill branch 3 times, most recently from 7cf8c26 to 16f5ed4 Compare September 6, 2026 15:56
@PureWeen
PureWeen force-pushed the pureween-wire-issue-triage-skill branch from 16f5ed4 to dd078f4 Compare September 6, 2026 16:03
@PureWeen
PureWeen force-pushed the pureween-wire-issue-triage-skill branch from dd078f4 to f66ed7d Compare September 15, 2026 17:23
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 186812b6-df80-4da8-8bfd-0e9b518560fc

@kubaflo kubaflo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current-head review — abe2630ab0a45caa7ba84ed3db486db4370ed948 (draft)

[P2] Reconcile fallback type evidence with the installed skill's lookup contract — .github/workflows/issue-triage-agent.md:316–329,343–358. The new adapter passes the current type and lookup status into a skill whose Type section requires Unknown (lookup unavailable) whenever that status is failed/unknown/missing; its summary contract likewise mandates the unknown form for a failed lookup. But these new workflow branches require Preserve plus a non-empty fallback type from issue_read while the trusted lookup status remains false, and explicitly prohibit the unknown record in that case. Lines 310–314 simultaneously require the skill's policy exactly, without override. For an initial lookup failure followed by a successful non-empty fallback, there is no single decision/summary satisfying both contracts. Explicitly normalize a separate successful semantic lookup result for the skill, while retaining the original false workflow status for the fail-closed mutation gate, or update the shared skill contract to represent this case. Confidence: high (source-level contract conflict; no model replay claimed).

The generated safe-output set-issue-type.staged expression still independently blocks mutation when the trusted workflow lookup failed, so this finding is about contradictory classification/public-summary routing, not a demonstrated unauthorized type write.

Prior feedback: Reviews, inline comments, and issue comments were all empty at collection; nothing is duplicated.

Validation and limits: Inspected the new adapter, the actual installed skill's Type/decision/summary rules, allowed tools/labels, generated skill-install plumbing, and the staged mutation expression. Generated YAML parses and git diff --check passes. The head's lint and Build Analysis checks report success; neutral/skipped product jobs are not workflow execution. Installed gh-aw is v0.86.2 versus the lock's v0.88.2, so no mismatched compilation, live triage dispatch, model replay, or issue mutation was attempted.

Scope: GPT-6.1 Sol; no model campaign or visual/browser validation, and no approval/merge-readiness claim.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants