Skip to content

Migrate remaining Copilot GPT-5.6 Terra pins before 16 November 2026 retirement - #76319

Merged
SivaKesava1 merged 8 commits into
mainfrom
copilot/migrate-copilot-gpt-5-6-pins
Nov 10, 2026
Merged

SivaKesava1 merged 8 commits into
mainfrom
copilot/migrate-copilot-gpt-5-6-pins

Conversation

Copilot AI commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

GitHub retires GPT-5.6 Terra in Copilot on 16 November 2026. Three workflows still pin it through Copilot, and AWF's automatic recovery for retired models doesn't map Terra. That gives no guarantee those runs keep working, and it would break the exact-identity smoke.

Changes

  • cloclo: drops the top-level copilot/gpt-5.6-terra pin and adds cost/balanced routing to the existing Codex/GitHub engine.
    • No allowed-models, so the compiler limits candidates to github-copilot/gpt-*.
    • Authentication is unchanged: still secrets.COPILOT_GITHUB_TOKEN, with no copilot-requests: write added.
  • windows: model changes to copilot/gpt-6-luna. No routing, because AWF routing requires a Linux host and this runs on windows-latest.
  • smoke-copilot-sub-agents: terra-whoami becomes luna-whoami on gpt-6-luna.
    • Updated: the agent definition, the prompt's call steps and expected answers, and the post-step's expected row ["luna-whoami", "gpt-6-luna", "exact", "/responses"].
    • Unchanged: Haiku still runs first, gpt5-whoami, SDK mode, the experiment, and the gate's strictness.
  • Locks: only the three matching .lock.yml files are regenerated, with make recompile.
  • Tests: updated only the assertions that encoded the Terra smoke case.
    • Files: smoke_copilot_sub_agents.test.cjs and model_pin_check.test.cjs.
    • The alias test's fake fallback model is now gpt-6.1-sol, so it doesn't collide with Luna's served model.
# cloclo.md
engine:
  id: codex
  model-provider: github
  model-routing:
    goal: cost
    mode: balanced

Detection and evals

Their configuration is untouched; only what they inherit changes:

Workflow Detection model Evals model
cloclo Falls back to GH_AW_MODEL_DETECTION_COPILOT → GH_AW_DEFAULT_MODEL_COPILOT → detection; not routed copilot/gpt-6-luna-decisions (unchanged)
windows copilot/gpt-6-luna copilot/gpt-6-luna-decisions (unchanged)
smoke-copilot-sub-agents gpt-5.3-codex (unchanged) copilot/gpt-6-luna-decisions (unchanged)

Case A (compile and inventory)

  • Each of the three workflows compiles with the same warnings as on main.
  • No workflow .md still has a Copilot Terra pin or terra-whoami. The remaining Terra references are out of scope:
    • openai/gpt-5.6-terra in daily-fact, windows-grower and feature-grower
    • smoke-codex-routed's allowed-models list and its matching assertion
  • Cases B–D (PR-branch dispatches) still need a maintainer-authorized run.

Known failures on main

  • make validate-otel-contract fails on main as well.
  • make fix fails on main: a codemod errors on sighthound-security-scan.md. The unrelated rewrites it makes elsewhere are not included here.

… Luna, Luna sub-agent smoke)

Co-authored-by: SivaKesava1 <11771739+SivaKesava1@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate remaining Copilot GPT-5.6 Terra pins before November 16, 2026 Migrate remaining Copilot GPT-5.6 Terra pins before 16 November 2026 retirement Nov 9, 2026
Copilot AI requested a review from SivaKesava1 November 9, 2026 22:47
Comment thread .github/workflows/cloclo.lock.yml Resolved
@SivaKesava1
SivaKesava1 marked this pull request as ready for review November 9, 2026 22:50
Copilot AI adaptive review requested due to automatic review settings November 9, 2026 22:50

Copilot AI 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.

🔵 Needs a closer look

Hosted acceptance cases B–D require maintainer-authorized runs to verify routed-model token entitlement, Windows Luna execution, and exact Luna sub-agent identity with successful /responses evidence.

No open issues 🎉

What changed in this PR

Migrates the three remaining Copilot-backed Terra pins ahead of the 16 November retirement, addressing #76318 while preserving existing authentication, permissions, and smoke-test strictness.

Changes:

  • Replaces Cloclo’s fixed model with cost/balanced routing and pins Windows to GPT-6 Luna without routing.
  • Replaces the Terra identity sub-agent with Luna and updates related regression assertions.
  • Regenerates the three matching workflow locks. Live branch-run validation remains pending.
File Description
actions/​setup/​js/​smoke_copilot_sub_agents.test.cjs Updates Luna evidence fixtures and failure assertions.
actions/​setup/​js/​model_pin_check.test.cjs Updates expected Luna identity and distinct-model checks.
.github/​workflows/​windows.md Replaces the Terra pin with GPT-6 Luna.
.github/​workflows/​windows.lock.yml Updates compiled model settings and pricing metadata.
.github/​workflows/​smoke-copilot-sub-agents.md Replaces Terra with Luna in the agent, prompt, and evidence gate.
.github/​workflows/​smoke-copilot-sub-agents.lock.yml Synchronizes compiled sub-agent metadata and assertions.
.github/​workflows/​cloclo.md Removes the Terra pin and enables cost/balanced routing.
.github/​workflows/​cloclo.lock.yml Adds routing setup, runtime model reporting, and inherited detection defaults.

Review effort: Balanced (auto)

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "70827ecf583ffb0ce467a382e712a0005005a5ea",
  "kind": "requested",
  "schema_version": "1",
  "state": "3e0c77b7879dddca9decac00ad3adbf080da9c97bbc1bc2d44d485280bafc963",
  "work": [],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · haiku45 · ~6 AIC · ⌖ ~16 AIC · ⊞ 1.3K · ◷
Comment /souschef to run again

…ot-gpt-5-6-pins

# Conflicts:
#	.github/workflows/cloclo.lock.yml
#	.github/workflows/smoke-copilot-sub-agents.lock.yml
#	.github/workflows/windows.lock.yml
#	actions/setup/js/model_pin_check.test.cjs

Co-authored-by: SivaKesava1 <11771739+SivaKesava1@users.noreply.github.com>
Comment thread .github/workflows/cloclo.lock.yml Resolved
…ot-gpt-5-6-pins

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Comment thread .github/workflows/cloclo.lock.yml Resolved
…ot-gpt-5-6-pins

# Conflicts:
#	.github/workflows/cloclo.lock.yml
#	.github/workflows/smoke-copilot-sub-agents.lock.yml
#	.github/workflows/windows.lock.yml

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:...

Merged the latest main and regenerated the conflicted workflow locks. Merge commit: 29eb5fd. Build, formatting, and impacted tests passed.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "29eb5fdc83a025684c248b17c6eecf9284a8f315",
  "kind": "requested",
  "schema_version": "1",
  "state": "d75db85d22356dc644564f0673cd4072edd1651c6bddb05fc1696212b8a28305",
  "work": [],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 6.9K · ◷
Comment /souschef to run again

…ot-gpt-5-6-pins

# Conflicts:
#	.github/workflows/cloclo.lock.yml
#	.github/workflows/smoke-copilot-sub-agents.lock.yml
#	.github/workflows/windows.lock.yml

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:...

Merged latest main using make merge-main in efef8842c4. Regenerated the three conflicted workflow locks and preserved the model migration. Build and final validation passed. No CI dispatched or PR merge performed.

@github-actions

Copy link
Copy Markdown
Contributor

Category: feature | Risk: medium | Score: 58/100 (impact 31 + urgency 15 + quality 12) | Recommended action: batch_review | Batch: pr-batch:model-routing | Notes: migrates remaining Copilot GPT-5.6 Terra pins before retirement; operationally important but part of a clear batch cluster.

Generated by 🔧 PR Triage Agent · copilot · mai11 · ~9 AIC · ⌖ ~2 AIC · ⊞ 15.8K · ◷

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

Category: feature | Risk: medium | Score: 58/100 (impact 31 + urgency 15 + quality 12) | Recommended action: batch_review | Batch: pr-batch:model-routing | Notes: migrates remaining Copilot GPT-5.6 Terra pins before retirement; operationally important but part of a clear batch cluster.

Generated by 🔧 PR Triage Agent · copilot · mai11 · ~9 AIC · ⌖ ~2 AIC · ⊞ 15.8K · ◷

@github-actions

Copy link
Copy Markdown
Contributor

Category: feature | Risk: medium | Score: 58/100 (impact 31 + urgency 15 + quality 12) | Recommended action: batch_review | Batch: pr-batch:model-routing | Notes: migrates remaining GPT-5.6 Terra pins before retirement.

Generated by 🔧 PR Triage Agent · copilot · mai11 · ~9 AIC · ⌖ ~2 AIC · ⊞ 15.8K · ◷

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

Category: feature | Risk: medium | Score: 58/100 (impact 31 + urgency 15 + quality 12) | Recommended action: batch_review | Batch: pr-batch:model-routing | Notes: migrates remaining GPT-5.6 Terra pins before retirement.

Generated by 🔧 PR Triage Agent · copilot · mai11 · ~9 AIC · ⌖ ~2 AIC · ⊞ 15.8K · ◷

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "efef8842c455639a0fbca1751c5d63d92fbe2d76",
  "kind": "requested",
  "schema_version": "1",
  "state": "5ef5e9e33d8856f049f002a6cc86b42b574015e840b8d5959418404a26ad5624",
  "work": [],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 6.9K · ◷
Comment /souschef to run again

…ot-gpt-5-6-pins

# Conflicts:
#	.github/workflows/cloclo.lock.yml
#	.github/workflows/windows.lock.yml

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:...

Merged the latest main and regenerated the conflicted Cloclo and Windows locks. Merge commit: 0e56099. Build, formatting, and final validation passed.

@SivaKesava1

Copy link
Copy Markdown
Collaborator

Branch runs: cases B–D

Dispatched on copilot/migrate-copilot-gpt-5-6-pins (AWF v0.29.11), audited with a dev build of main.

B. cloclo (run 42861951457, issue_number=76322, a closed issue): success. One agent-phase firewall.model_routing selection: github-copilot/gpt-6.1-sol, effort high (GPT family, as Codex routing requires); the classifier ran on gpt-6-luna. Agent 4.83 AIC, detection 1.25 AIC on claude-haiku-5.5 (the detection default; it no longer inherits Terra). Output: the expected no-op ("Issue #76322 is already closed as completed by merged PR #76325"). Existing COPILOT_GITHUB_TOKEN authentication unchanged.

C. windows (run 42861958630, topic=Windows runners): the agent job failed before inference. The Windows runner couldn't pull AWF's Linux images (Failed to pull ghcr.io/github/gh-aw-firewall/agent:0.29.11@sha256:… after 3 attempts, same for api-proxy, squid and mcpg). That's the pre-existing Windows infrastructure problem (main's last run, 33140830599 on 28 Aug, also failed in setup), not this change. Per case C, Luna execution on Windows is unverified; the lock selects copilot/gpt-6-luna, which the compiler accepts for Codex, and detection ran on gpt-6-luna.

D. smoke-copilot-sub-agents (run 42861966862): success, post-step check passed. model.resolution: luna-whoami exact, haiku-whoami exact, gpt5-whoami resolved, main exact. Agent requests went to gpt-6-luna, claude-haiku-4.5, gpt-5.6-luna (the gpt-5 alias) and main gpt-5.3-codex; detection stays on gpt-5.3-codex. The smoke issue was created.

E. Detection and evals: cloclo's detection moved from inherited Terra to the detection default (Haiku 5.5); windows' detection uses gpt-6-luna; the smoke's detection is unchanged.

No Copilot-backed GPT-5.6 Terra pin remains in this PR's three workflows. Ready to merge before the 16 Nov retirement.

@SivaKesava1
SivaKesava1 merged commit 41f1bb1 into main Nov 10, 2026
61 of 63 checks passed
@SivaKesava1
SivaKesava1 deleted the copilot/migrate-copilot-gpt-5-6-pins branch November 10, 2026 17:28
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Fix failing check agent (FAILURE): Check run.
  3. Fix failing check conclusion (FAILURE): Check run.

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "0e5609980082620b1fa88bc2f32ea27ce7754b15",
  "kind": "requested",
  "schema_version": "1",
  "state": "946b2ba756cbd25e55545f4ed02875ac1fadbceb59bcf2884431b040144039bd",
  "work": [
    "34f38971738f6a752a646bd7797a6c8d47fb096e4eb6f91e946a91255433c8c4",
    "51e2287c3d1ee41b7e13769862add61dcd292a623cf943abc5968c984e246bcf"
  ],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~3 AIC · ⌖ ~2 AIC · ⊞ 6.9K · ◷
Comment /souschef to run again

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.3

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate remaining Copilot GPT-5.6 Terra pins before 16 November 2026

5 participants