Skip to content

fix(provider-command-code): drop provider-owned system prompt for llm-router 1.4.13 - #909

Merged
rohitg00 merged 1 commit into
mainfrom
fix/provider-command-code-mot-4542-migration
Aug 24, 2026
Merged

rohitg00 merged 1 commit into
mainfrom
fix/provider-command-code-mot-4542-migration

Conversation

@rohitg00

Copy link
Copy Markdown
Contributor

Release run 32714463600 for provider-command-code/v0.1.2-experimental failed on every binary target:

error[E0560]: struct `ProviderDeclaration` has no field named `system_prompt`

MOT-4542 (#891) removed ProviderDeclaration.system_prompt and every provider's prompts/identity.txt. #883 branched before that refactor and its CI ran on the stale merge base, so provider-command-code landed still declaring the field and does not compile against llm-router 1.4.13 on main. (#907 fixed the lockfile half; this is the remaining source half — it was pushed to that branch minutes after the merge.)

Changes, same shape as #891 applied to the other providers:

  • Drop the system_prompt declaration from src/register.rs and the declaration_ships_the_identity_prompt test.
  • Delete provider-command-code/prompts/identity.txt.
  • Sync crates/provider-integration-testkit/Cargo.lock path-dep versions (9 stale entries, provider-command-code now 0.1.2-experimental) so the provider contract gate passes --locked.

Verified locally on rustc 1.97.1 (CI toolchain): cargo fmt --check, cargo clippy --all-targets --locked -- -D warnings, cargo test --locked, and cargo metadata --locked for both lockfiles.

After merge the release needs a fresh re-request through Release Control (next version); tags provider-command-code/v0.1.1-experimental and v0.1.2-experimental plus the v0.1.2 GitHub Release point at broken trees and are candidates for cleanup.

…-router 1.4.13

MOT-4542 removed ProviderDeclaration.system_prompt; this provider merged after that refactor still declaring it. Also syncs provider-integration-testkit Cargo.lock path-dep versions so the contract gate passes --locked.
@rohitg00 rohitg00 added the no-ticket PR deliberately has no Linear ticket (bump/typo/CI-only) label Aug 24, 2026
@vercel

vercel Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
workers Ready Ready Preview Aug 24, 2026 10:11am
workers-tech-spec Ready Ready Preview Aug 24, 2026 10:11am

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

skill-check — worker

0 verified, 64 skipped (no docs/).

Layer Result
structure ✓
vale ✓
ai ✓
render ✓

Four for four. Nicely done.

@rohitg00
rohitg00 merged commit 63efd74 into main Aug 24, 2026
30 checks passed
@rohitg00
rohitg00 deleted the fix/provider-command-code-mot-4542-migration branch August 24, 2026 10:13

This branch was successfully deployed

2 active deployments
Preview – workers — d67a3d67 Deployed Aug 24, 2026 by vercel[bot]
Preview – workers-tech-spec — d67a3d67 Deployed Aug 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-ticket PR deliberately has no Linear ticket (bump/typo/CI-only)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant