Migrate from "agent task" to "agent session" terminology#9214
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot execute plan |
- Add codemod for automatic user workflow migration - Update JSON schema with new create-agent-session field - Mark create-agent-task as deprecated with backward compatibility - Rename Go files and types (CreateAgentTaskConfig -> CreateAgentSessionConfig) - Update environment variables (GITHUB_AW_AGENT_TASK_BASE -> GITHUB_AW_AGENT_SESSION_BASE) - Rename JavaScript action files and update variable names - Update tool definitions in safe_outputs_tools.json - Update output names (task_number/task_url -> session_number/session_url) - Update all test files with new terminology - Maintain backward compatibility for deprecated create-agent-task key Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Update safe-outputs.md with new terminology - Update frontmatter-full.md, tokens.md reference docs - Update guides (multirepoops.md) and examples (multi-repo.md) - Create new skills/gh-agent-session/ directory with updated skill docs - Update AGENTS.md with skill reference change - Update all specs files with new terminology - Add CHANGELOG entry documenting breaking change - Preserve gh agent-task CLI command references (external tool) Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Update safeOutputFieldMapping: CreateAgentTasks -> CreateAgentSessions - Fix test expectations for output names (task_number -> session_number) - All tests now pass with new terminology Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Executed the plan successfully! ✅ The terminology migration from "agent task" to "agent session" is complete across the entire codebase: Code Changes (commits 93c8ff9, 15711b5):
Documentation Updates (commit 867c539):
Validation:
Migration Path: |
|
@copilot merge main |
# Conflicts: # docs/src/content/docs/reference/tokens.md
Resolved merge conflict in docs/src/content/docs/reference/tokens.md by: - Keeping main's table row ordering (Copilot first, then cross-repo) - Applying agent session terminology updates to merged content - Recompiled lock files with new terminology Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Merged main successfully! ✅ Merge Details (commits cc1e634, 88b18ad):
Changes Integrated from Main:
All changes are compatible with the agent session terminology migration. |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
🤖 DIAGNOSTIC COMPLETE: Smoke Copilot No Firewall STATUS: ALL_UNITS_OPERATIONAL. MISSION_SUCCESS. |
|
📰 VERDICT: Smoke Copilot Playwright has concluded. All systems operational. This is a developing story. 🎤 |
|
✅ Firewall validation complete... Smoke Codex Firewall confirmed network sandboxing is operational. 🛡️ |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
🎉 Yo ho ho! Smoke Copilot Safe Inputs found the treasure and completed successfully! ⚓💰 |
|
✅ Smoke Test: Copilot Engine (No Firewall) - PASSED All tests completed successfully:
|
Smoke Test Results✅ File Writing: Created Overall Status: PARTIAL FAIL Note:
|
Smoke Test Results (Run 20783771321)Last 2 Merged PRs:
Test Results:
Available Tools: safeoutputs-, github-, web_fetch, bash, file tools Overall Status: ✅ PASS cc: @pelikhan (PR author)
|
|
Smoke test (Codex+AWF):
|
Smoke Test Results❌ Playwright MCP: Command not found Overall Status: ❌ FAIL Notes: Playwright not installed, safe-inputs-gh tool not configured in current workflow environment.
|
Smoke Test Results - ClaudeLast 2 Merged PRs:
Test Results:
Overall Status: PASS (5/6 core tests passed)
|
|
PRs: #9232 Add messages block to campaign-generator workflow with professional tone; #9222 Add responsive table component with CSS-only mobile card layout
|
|
@copilot format, lint go |
Auto-formatted struct field alignment in test files for consistency Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Formatted and linted Go code successfully! ✅ Results (commit 95bf6bb):
Changes:
The codebase is now fully formatted and passing all linting checks. |
Agent Sessions Terminology Migration - Complete ✅
Phase 1: Code Implementation ✅
gh aw fix)create-agent-sessionfieldcreate-agent-taskas deprecated in schemaPhase 2: Documentation ✅
Phase 3: Merge Main ✅
Phase 4: Code Quality ✅
Validation ✅
Breaking Change:
create-agent-task→create-agent-sessionMigration: Run
gh aw fix --writeto automatically update workflowsBackward Compatibility: Old key still supported with deprecation warning
External Tool:
gh agent-taskCLI name unchanged (maintained separately)Code Quality:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Changeset
create-agent-taskkey still supported with deprecation warning).