Skip to content

[q] create issue with agent tasks instead of inlining checklist #41706

Description

@github-actions

Q Workflow Optimization Report

Triggered by @pelikhan on discussion #41686: "/q update to create issue with agent tasks, rather than inlining in body."

Change Summary

typist.md — Implementation Checklist → GitHub Issue

The Typist workflow previously inlined an Implementation Checklist section directly in the discussion body. This made task tracking difficult since checkboxes in discussions are not actionable for @copilot.

Changes made:

  1. Added safe-outputs: create-issue config (expires 1d, labels code-quality/automated-analysis/cookie, assignee copilot, max 1)
  2. Replaced the inline checklist in the Phase 4 discussion template with a reference link [#aw_typist_issue] that resolves to the newly created issue
  3. Added Phase 5 instructing the agent to create a GitHub issue with prioritized implementation tasks (using temporary_id: aw_typist_issue) assigned to @copilot
  4. Updated success criteria to include issue creation as a required step

No issues: write permission was needed — the safe-outputs framework handles the write operation safely within the strict: true constraint.

Expected Improvements

  • Refactoring tasks from each Typist run are now tracked as a discrete, actionable GitHub issue assigned to @copilot
  • The discussion body links to the issue rather than containing a flat checklist
  • Tasks carry file-path context so @copilot can act without re-running the analysis

Validation

All modified workflows compiled successfully:

  • typist (valid: true, no errors)

Note: .lock.yml will be regenerated automatically after merge.

References


Warning

Protected Files — Push Permission Denied

This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.

Protected files

The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.

Create the pull request manually
# Download the patch from the workflow run
gh run download 28240315718 -n agent -D /tmp/agent-28240315718

# Create a new branch
git checkout -b q/typist-create-issue-tasks-1d05cd32a49af326 main

# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-28240315718/aw-q-typist-create-issue-tasks.patch

# Push the branch and create the pull request
git push origin q/typist-create-issue-tasks-1d05cd32a49af326
gh pr create --title '[q] create issue with agent tasks instead of inlining checklist' --base main --head q/typist-create-issue-tasks-1d05cd32a49af326 --repo github/gh-aw

🎩 Equipped by Q · 69.9 AIC · ⌖ 7.66 AIC · ⊞ 7.8K ·

  • expires on Jun 28, 2026, 5:22 AM UTC-08:00

Metadata

Metadata

Type

No type
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