Skip to content

[instructions] Sync instruction files with release v0.89.21 (agy engine, model-routing fields) - #67162

Merged
pelikhan merged 1 commit into
mainfrom
instructions-janitor-sync-agy-model-routing-2a2569763470680b
Oct 9, 2026
Merged

pelikhan merged 1 commit into
mainfrom
instructions-janitor-sync-agy-model-routing-2a2569763470680b

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Ran the Instructions Janitor required audits against release v0.89.21 (2026-09-23, latest at time of run).

Release/change audit

This checkout is a shallow clone (single commit), so git log/git diff against the release tag were not usable locally. Used the GitHub MCP server instead: list_commits scoped to docs/ and .github/aw/ since 2026-09-23, which turned up 60–100+ commits in each path (very active repo). Many are already-applied [instructions] Sync ... follow-ups from prior Janitor runs, so most of the churn was already absorbed. Scanning the remaining commit titles against the current code surfaced two accuracy gaps not yet captured by any instructions-sync commit:

  • Deprecate Gemini engine in favor of experimental Agy (#66941) — the agy engine (Google Antigravity CLI, pkg/workflow/agy_engine.go / data/engines/agy.md) is a real, separately registered engine ID with its own network domain set and sub-agent placement convention, and gemini is now marked deprecated in its engine description. Neither fact was reflected in .github/aw/syntax-engine.md, network.md, or subagents.md.
  • engine.model-routing, engine.fallback-models, engine.model-provider, and engine.context-window in pkg/parser/schemas/main_workflow_schema.json — fallback-models/model-provider/context-window were entirely undocumented in syntax-engine.md, and the existing model-routing bullet incorrectly restricted the feature to "Copilot engine only" when the schema supports Copilot, Claude, Codex, and pi.

Size audit

wc -l .github/aw/*.md — all 70+ files already under the 400-line target before and after this change; largest is syntax-agentic.md at 397 lines (unchanged).

Files changed (before → after line counts)

File Before After
.github/aw/syntax-engine.md 94 99
.github/aw/network.md 206 207
.github/aw/subagents.md 211 213

Duplication audit

Caught and fixed a duplicate I introduced mid-edit: syntax-engine.md already had a model-routing bullet further down the file, so the new one was removed and the existing bullet's engine-support list was corrected instead, rather than carrying two descriptions of the same field.

Accuracy audit

Reviewed pkg/workflow/compiler_types.go (no changes needed), the safe-outputs config (now split across pkg/workflow/safe_outputs_config_*.go per docs/adr/26297-split-compiler-safe-outputs-config-by-concern.md — no instruction drift found there), and pkg/parser/schemas/main_workflow_schema.json (source of the model-routing/fallback-models/model-provider/context-window gap above). Also checked for stale "claims ledger" terminology from Rename claims ledger type and interfaces to notes (#64939) — none found in .github/aw/.

🤖 Generated with [Claude Code]((claude.com/redacted)

Generated by 🧹 Instructions Janitor · claude · sonnet50 · 393.8 AIC · ⌖ 32.1 AIC · ⊞ 6.3K · ◷

  • expires on Oct 11, 2026, 12:55 AM UTC-08:00

…lback-models fields

Fill accuracy gaps found against the current compiler and JSON schema:
engine docs still listed only copilot/claude/codex/gemini/pi with no
mention of the agy engine (Google Antigravity CLI, the experimental
successor to the now-deprecated gemini engine) and omitted the
engine.model-provider, engine.fallback-models, and engine.context-window
fields already present in main_workflow_schema.json. Also corrected the
existing engine.model-routing bullet, which restricted the feature to
"Copilot engine only" when the schema supports Copilot, Claude, Codex,
and pi.

- syntax-engine.md: add agy to the engine string/object id lists, flag
  gemini as deprecated, document model-provider/fallback-models/
  context-window in the object-format example, and fix the
  model-routing engine-support list.
- network.md: add the agy engine transport row and flag gemini as
  deprecated.
- subagents.md: add the missing Pi and Agy rows to the engine-specific
  sub-agent placement table (Agy reuses the Copilot .agents/agents/
  directory and .agent.md extension).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions github-actions Bot added automation documentation Improvements or additions to documentation instructions labels Oct 9, 2026
@pelikhan
pelikhan merged commit eca67cf into main Oct 9, 2026
2 checks passed
@pelikhan
pelikhan deleted the instructions-janitor-sync-agy-model-routing-2a2569763470680b branch October 9, 2026 14:11
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

🎉 This pull request is included in a new release.

Release: v0.91.7

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

Labels

automation documentation Improvements or additions to documentation instructions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant