Skip to content

Move scope and project-metadata workflows to GPT-6 Luna - #410

Merged
theletterf merged 2 commits into
mainfrom
gpt-6-luna
Oct 8, 2026
Merged

theletterf merged 2 commits into
mainfrom
gpt-6-luna

Conversation

@theletterf

Copy link
Copy Markdown
Member

GPT-6 Luna is out, so this moves our two codex-engine workflows off GPT-5.6 Luna. On OpenRouter, openai/gpt-6-luna costs $0.10 / $0.50 per 1M tokens (input / output), down from $0.20 / $1.20, with the same 1.05M context window.

The swap is the model: line in gh-aw-issue-scope.md and gh-aw-project-metadata.md, plus the model name in the scope README.

As with the Haiku 5.5 move in #409, the slug swap wasn't enough. The first sandbox round failed at the agent step with unknown_model_ai_credits: Model "gpt-6-luna" has no AI credits pricing, because our pinned AWF (v0.28.20) has no price entry for it. Both workflows now set models.default-ai-credits-pricing to the OpenRouter rates. One thing to watch: AWF v0.28.49 does add gpt-6-luna, but at $10 / $50, the same numbers as gpt-6-astra. When we bump AWF, that entry will take over from our override and inflate scope's AIC about 100x. It's still well under the 1000-AIC cap, but worth knowing.

I tested scope in elastic/docs-actions-sandbox with test-scope.yml pointed at this branch. All three runs passed, token-usage.jsonl shows openai/gpt-6-luna served every agent request with one cache miss per run, and threat detection wrote a clean detection_result.json each time:

Project-metadata is not tested. The sandbox has no caller, PROJECT_TOKEN, or profile for it. It shares the engine, model, and OpenRouter setup with scope, and callers default to dry-run: true.

After merge, this needs a release so v1 moves. Then I'll point the sandbox scope caller back at @v1.

Fixes elastic/docs-eng-team#1003

🤖 Generated with Claude Code

https://claude.ai/code/session_019mJUFrvMphNaf799PWzd6u

theletterf and others added 2 commits October 8, 2026 10:28
The pinned AWF version (v0.28.20) has no gpt-6-luna price entry, so the API
proxy rejected every request with HTTP 400.

Related to elastic/docs-eng-team#1003

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_019mJUFrvMphNaf799PWzd6u
@theletterf theletterf added the enhancement New feature or request label Oct 8, 2026
@theletterf
theletterf requested a review from a team as a code owner October 8, 2026 08:42
@theletterf
theletterf requested a review from technige October 8, 2026 08:42

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.


What is this? | From workflow: PR Review

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@theletterf
theletterf merged commit 6424787 into main Oct 8, 2026
13 of 17 checks passed
@theletterf
theletterf deleted the gpt-6-luna branch October 8, 2026 10:06
theletterf added a commit that referenced this pull request Oct 8, 2026
Restore the empty-string detection overrides from #396. Changing them to
unusable values belongs in its own PR, so project metadata goes back to
main. Escape leading code fences in summary fields so a field cannot
open a code block that swallows the later sections and the footer.

Merge main to resolve conflicts with #409 and #410.

Related to elastic/docs-eng-team#757

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants