Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Plan for adding temporary ID support to safe output jobs
Adding Temporary ID Support to Safe Output Jobs
This document outlines the implementation plan for adding temporary ID support to safe output jobs. Temporary IDs allow agents to reference newly created issues within the same workflow run before they have actual GitHub issue numbers.
Problem Statement
When an agent needs to create a parent issue and immediately link sub-issues to it in the same workflow run, the agent doesn't know the actual issue number until the create_issue job completes. Temporary IDs bridge this gap by allowing the agent to use placeholder IDs that are resolved to actual issue numbers at execution time.
Temporary ID Format
Temporary IDs follow the pattern aw_[A-Za-z0-9]{3,8} where:
aw_ is a fixed prefix identifying agentic workflow temporary IDs
XXXXXXXX is a 3-8 character alphanumeric string (A-Za-z0-9)
Example: aw_abc, aw_abc123, aw_Test123
Implementation Components
1. Shared Module: temporary_id.cjs
Location: pkg/workflow/js/temporary_id.cjs
This module provides shared utilities for temporary ID handling:
// Core functionsgenerateTemporaryId() // Generate new temporary IDisTemporaryId(value) // Check if value is a temporary IDnormalizeTemporaryId(tempId) // Normalize to lowercase for map lookups
()
(value, map)
(text, map)
loadTemporaryIdMap
// Load map from GH_AW_TEMPORARY_ID_MAP env var
resolveIssueNumber
// Resolve value to issue number (supports temp IDs)
replaceTemporaryIdReferences
// Replace #aw_XXX references in text
2. Producer Job: create_issue
The create_issue job outputs a temporary ID map that other jobs can consume:
Go changes (pkg/workflow/create_issue.go):
No changes needed - already outputs temporary_id_map