Skip to content

Verify assign-to-agent temporary ID support is already implemented#12478

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/allow-temp-id-for-assignment
Closed

Verify assign-to-agent temporary ID support is already implemented#12478
Copilot wants to merge 1 commit intomainfrom
copilot/allow-temp-id-for-assignment

Conversation

Copy link
Contributor

Copilot AI commented Jan 29, 2026

The assign_to_agent safe output already supports temporary IDs from create_issue. No code changes required.

Implementation

Validation: issue_number field has IssueNumberOrTemporaryID: true in safe_output_validation_config.go:104

Resolution: JavaScript resolves temp IDs via resolveRepoIssueTarget() in assign_to_agent.cjs:142

Environment: GH_AW_TEMPORARY_ID_MAP passed from process_safe_outputs.outputs.temporary_id_map in compiler_safe_outputs_specialized.go:54

Usage

safe-outputs:
  create-issue:
    max: 1
  assign-to-agent:
    max: 1
    target: "*"
{"type": "create_issue", "temporary_id": "aw_abc123", "title": "Issue"}
{"type": "assign_to_agent", "issue_number": "aw_abc123", "agent": "copilot"}

The temporary ID resolves to the actual issue number during safe output processing in the consolidated job.

Evidence

  • Test coverage exists: collect_ndjson_output.test.cjs:1532
  • Production usage: security-alert-burndown.md
  • Compiled workflows contain correct env vars
Original prompt

Assign to agent step should allow for temp Id to be passed: https://github.com/githubnext/gh-aw/actions/runs/21468546447


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@mnkiefer mnkiefer marked this pull request as ready for review January 29, 2026 07:27
Copilot AI changed the title [WIP] Add ability to pass temp Id in assign to agent step Verify assign-to-agent temporary ID support is already implemented Jan 29, 2026
Copilot AI requested a review from mnkiefer January 29, 2026 07:28
@mnkiefer mnkiefer closed this Jan 29, 2026
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.

2 participants