Skip to content

[Goal by GPT-6 Astra] Update Mistral integration and add GLM model support - #2628

Merged
integry merged 4 commits into
mainfrom
goal-012588ca/gpt-6-astra-update-the-mistral-agent--20260929-1244-cw3
Sep 30, 2026
Merged

integry merged 4 commits into
mainfrom
goal-012588ca/gpt-6-astra-update-the-mistral-agent--20260929-1244-cw3

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Goal Implementation Summary

✅ Goal completed successfully.

Goal: Update the Mistral agent integration and add support for the GLM model.

Research is expected as part of this work:

  • Determine the current Mistral agent/CLI version and model lineup, and update our integration to the current supported versions and model identifiers, retiring anything that is no longer offered.
  • Add the GLM model as a supported model, wired through the same configuration paths as the other models (agent configuration, supported model lists, any model registry or display-name mapping, and defaults where appropriate).
  • Verify the models are selectable end to end and that existing agent configurations keep working.
  • Add or update tests and documentation to match.
    Branch: goal-012588ca/gpt-6-astra-update-the-mistral-agent--20260929-1244-cw3
    Goal ID: 012588ca-a2b9-46ee-85eb-6b58504beacb

Summary of Changes

I’ll inspect the integration and repository guidance, research the current Mistral and GLM options, then implement and test the configuration changes. I’ll leave commits and publishing to ProPR.

PyPI lists Mistral Vibe 2.25.8; the repository pins 2.25.4. I’m checking the released package’s model definitions to confirm which GLM identifier Vibe supports and how existing configurations should migrate.

Mistral now hosts GLM 5.3 (zai-glm-5-3) and still offers GLM 5.2. Both have a 1M context window. The released CLI needs model configuration entries for them, so adding dropdown options alone would fail at runtime. I’ll wire those entries through Vibe’s configuration and keep Mistral Medium as the default. Mistral model docs

The catalog, version pins, GLM runtime presets, and migration changes are in place; all 61 focused tests pass. I also found that migration removed custom Vibe model aliases. It now preserves those aliases and removes only the known retired Devstral defaults. Next I’ll verify label routing, selection in the installed CLI, and the browser controls.

The installed Vibe 2.25.8 package resolves both GLM presets to the Mistral provider and retains existing local/custom models. Label routing and 85 focused tests pass, and core typechecking is clean. Browser verification is underway; I’ll capture the GLM choices once the dialog checks pass.

The browser test passes: the dialog offers both GLM models and sends the selected GLM default to the configuration API. I’ve captured that state for the preview. Final review caught and fixed a migration edge case so retired Devstral defaults consistently move to Medium. UI typechecking needs generated workspace dependencies; I’m building those and rerunning it.

Implementation and validation are complete. Core and UI typechecks, focused server tests, UI model-option tests, and the browser save test pass. The preview is ready. Runtime selection was verified against the installed Vibe package; live Mistral inference was not run. I’m handing the validated files to ProPR for publishing.

{"checkpointReady":true,"message":"feat(vibe): update CLI and support Mistral-hosted GLM models","include":["Dockerfile.agent","scripts/build-images.sh","packages/shared/src/modelDefinitions.ts","packages/core/src/agents/version/types.ts","packages/core/src/agents/impl/VibeAgent.ts","packages/core/src/config/modelAliases.ts","packages/core/src/config/configManagerAgentMigrations.ts","propr-ui/src/components/ui/ProviderLogo.tsx","propr-ui/src/pages/SettingsPage/modelSelectionHelpers.test.ts","propr-ui/e2e/vibe-model-selection.pw.ts","test/modelDefinitions.test.ts","test/configManagerAgents.test.ts","test/vibeAgent.test.ts","test/vibeModelSelection.test.ts","library_docs/vibe/index.md","library_docs/vibe-cli.md","docs/docs/features/agents-and-models.md"],"summary":"Updated Vibe to 2.25.8 and added GLM 5.3/5.2 across configuration, routing, display mappings, and runtime presets. Preserved existing custom configurations and repaired retired Devstral defaults. Typechecks, focused tests, installed-CLI configuration checks, and browser selection/save verification pass. Documentation and visual preview are ready. Live inference was not run. Completed in approximately 12 minutes."}

ProPR published the checkpoint. I’ll check the current files and validation evidence for any remaining gaps.

Completed in commit 73029d8.

  • Updated Vibe to 2.25.8; added GLM 5.3 and 5.2.
  • Preserved existing configurations and migrated retired defaults.
  • Updated tests and documentation.
  • Typechecks, focused tests, installed-CLI checks, and browser selection/save verification passed.

Live inference was not run. Total elapsed time: about 12 minutes.


🤖 Implementation Details

  • Model: GPT-6 Astra
  • Time: 12m 34s
  • Tokens: 9,537,816 (9,519,641 in / 18,175 out)

💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback.


This PR description was updated automatically by ProPR after the goal completed.


Visual preview

Vibe GLM model selection

Vibe GLM model selection

The Vibe agent configuration offers GLM 5.3 and GLM 5.2 alongside Mistral Medium; GLM 5.3 is selected as the default.

Original unavailable: managed storage is unavailable or the upload has expired.

@propr-dev propr-dev Bot added the AI label Sep 29, 2026
@propr-dev

propr-dev Bot commented Sep 29, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate Changes

Please investigate and fix this CI failure.

Failure evidence

.github:8
Process completed with exit code 1.

.github:360
Process completed with exit code 1.

.github:348 — 🎭 Playwright Run Summary
134 passed (5.9m)

@github-actions

Copy link
Copy Markdown

Checks Failed

Validation failed during setup, tests, CLI packaging, linting, or build checks.

View Logs
Build check diagnostics for run 36571488346, attempt 1
Checkout outcome: success

--- GitHub Actions workflow lint ---
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667: Pulling from rhysd/actionlint
589002ba0eae: Pulling fs layer
c09af8888d6a: Pulling fs layer
4ccd7d76ca98: Pulling fs layer
b6b4b7b0e257: Pulling fs layer
b6b4b7b0e257: Waiting
589002ba0eae: Verifying Checksum
589002ba0eae: Download complete
c09af8888d6a: Verifying Checksum
c09af8888d6a: Download complete
4ccd7d76ca98: Verifying Checksum
4ccd7d76ca98: Download complete
589002ba0eae: Pull complete
b6b4b7b0e257: Verifying Checksum
b6b4b7b0e257: Download complete
c09af8888d6a: Pull complete
4ccd7d76ca98: Pull complete
b6b4b7b0e257: Pull complete
Digest: sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
Status: Downloaded newer image for rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667

--- Release shell script lint ---

--- Toolchain ---
v22.23.2
10.9.8

--- Dependency installation ---
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]

added 1119 packages, and audited 1128 packages in 15s

322 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

--- CLI release package ---
Verifying propr-cli release package...

> [email protected] cli:pack
> node packages/cli/scripts/build-publish.mjs


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc && node scripts/copy-assets.mjs

copy-assets: copied 9 file(s) into the CLI package.

Staged [email protected] at /home/runner/work/propr/propr/dist-publish/propr-cli
npm notice
npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 25.7kB README.md
npm notice 36.3kB dist/agentSkill.js
npm notice 754B dist/api/agentRuntime.js
npm notice 7.1kB dist/api/agents.js
npm notice 1.2kB dist/api/agentTank.js
npm notice 10.9kB dist/api/client.js
npm notice 4.7kB dist/api/errors.js
npm notice 5.4kB dist/api/implement.js
npm notice 2.0kB dist/api/index.js
npm notice 1.9kB dist/api/logs.js
npm notice 5.7kB dist/api/plans.js
npm notice 4.2kB dist/api/relay.js
npm notice 10.4kB dist/api/repos.js
npm notice 11.1kB dist/api/settings.js
npm notice 1.6kB dist/api/syntheticPools.js
npm notice 1.8kB dist/api/system.js
npm notice 5.8kB dist/api/tasks.js
npm notice 2.9kB dist/api/todos.js
npm notice 86B dist/api/types.js
npm notice 313B dist/api/visualPreviewAuth.js
npm notice 26.1kB dist/assets/env.example.txt
npm notice 5.7kB dist/auth/githubLogin.js
npm notice 19.5kB dist/commands/agentCommands.js
npm notice 4.2kB dist/commands/agentPoolCommands.js
npm notice 4.3kB dist/commands/agentSkillCommands.js
npm notice 28.7kB dist/commands/agentValidation.js
npm notice 65.2kB dist/commands/checkCommands.js
npm notice 8.9kB dist/commands/configCommands.js
npm notice 14.6kB dist/commands/connectCommand.js
npm notice 2.4kB dist/commands/imageCommands.js
npm notice 7.2kB dist/commands/implementCommands.js
npm notice 1.6kB dist/commands/index.js
npm notice 6.0kB dist/commands/initCommands.js
npm notice 14.1kB dist/commands/initStack.js
npm notice 6.1kB dist/commands/logCommands.js
npm notice 24.9kB dist/commands/planCommands.js
npm notice 8.4kB dist/commands/relayCommands.js
npm notice 30.1kB dist/commands/repoCommands.js
npm notice 7.5kB dist/commands/runtimeCommands.js
npm notice 16.1kB dist/commands/settingCommands.js
npm notice 4.1kB dist/commands/setup/agentHostActions.js
npm notice 123B dist/commands/setup/agents.js
npm notice 4.5kB dist/commands/setup/engine.js
npm notice 51B dist/commands/setup/github.js
npm notice 15.3kB dist/commands/setup/hostActions.js
npm notice 25.3kB dist/commands/setup/sequential.js
npm notice 51B dist/commands/setup/state.js
npm notice 51B dist/commands/setup/types.js
npm notice 10.7kB dist/commands/setupCommand.js
npm notice 4.4kB dist/commands/stackCommands.js
npm notice 1.4kB dist/commands/startCommand.js
npm notice 13.5kB dist/commands/systemCommands.js
npm notice 2.2kB dist/commands/tankCommands.js
npm notice 43.2kB dist/commands/taskCommands.js
npm notice 29.6kB dist/commands/todoCommands.js
npm notice 31.0kB dist/commands/tunnelCommand.js
npm notice 2.7kB dist/commands/uiDocsCommands.js
npm notice 8.3kB dist/completion.js
npm notice 20.0kB dist/config/ConfigManager.js
npm notice 276B dist/config/index.js
npm notice 989B dist/config/rootKey.js
npm notice 345B dist/config/types.js
npm notice 42.9kB dist/connectIdentity.js
npm notice 25.0kB dist/connectRootAuthority.js
npm notice 32.5kB dist/connectWindowsAuthority.js
npm notice 2.2kB dist/desktopDiscovery.js
npm notice 12.4kB dist/desktopLocalSetup.js
npm notice 16.3kB dist/index.js
npm notice 4.5kB dist/native/darwin-authority-broker.c
npm notice 8.9kB dist/native/directory-operations.c
npm notice 50.1kB dist/native/prebuilds/darwin-arm64/connect-authority-broker
npm notice 54.2kB dist/native/prebuilds/darwin-arm64/directory-operations.node
npm notice 17.1kB dist/native/prebuilds/darwin-x64/connect-authority-broker
npm notice 24.3kB dist/native/prebuilds/darwin-x64/directory-operations.node
npm notice 28.9kB dist/native/prebuilds/linux-arm64/directory-operations.node
npm notice 17.4kB dist/native/prebuilds/linux-x64/directory-operations.node
npm notice 1.2kB dist/native/README.md
npm notice 3.1kB dist/orchestrator/format.js
npm notice 13.4kB dist/orchestrator/index.js
npm notice 307B dist/orchestrator/manifest.json
npm notice 117.7kB dist/orchestrator/orchestrator.mjs
npm notice 408B dist/orchestrator/types.js
npm notice 237B dist/skill/propr/agents/openai.yaml
npm notice 6.1kB dist/skill/propr/SKILL.md
npm notice 4.5kB dist/tui/AgentTableApp.js
npm notice 4.5kB dist/tui/app.js
npm notice 11.6kB dist/tui/CheckApp.js
npm notice 5.1kB dist/tui/render.js
npm notice 29.9kB dist/tui/SetupApp.js
npm notice 12.6kB dist/tui/SetupApp.test.js
npm notice 8.2kB dist/tui/StartApp.js
npm notice 3.6kB dist/utils/apiErrorPresentation.js
npm notice 12.0kB dist/utils/directoryDescriptor.js
npm notice 739B dist/utils/dockerPort.js
npm notice 5.0kB dist/utils/envFile.js
npm notice 520B dist/utils/index.js
npm notice 5.7kB dist/utils/io.js
npm notice 1.5kB dist/utils/nativeArtifact.js
npm notice 544B dist/utils/parseState.js
npm notice 417B dist/utils/positiveInteger.js
npm notice 4.5kB dist/utils/privateFilesystem.js
npm notice 4.2kB dist/utils/resolveProject.js
npm notice 7.2kB dist/vendor/local-setup/agents.js
npm notice 62.7kB dist/vendor/local-setup/engine.js
npm notice 5.0kB dist/vendor/local-setup/envFile.js
npm notice 9.1kB dist/vendor/local-setup/github.js
npm notice 188B dist/vendor/local-setup/index.js
npm notice 25.1kB dist/vendor/local-setup/publicInstanceIdentity.js
npm notice 14.6kB dist/vendor/local-setup/state.js
npm notice 2.8kB dist/vendor/local-setup/types.js
npm notice 1.0kB dist/vendor/shared/accountStatusTimestamp.js
npm notice 7.6kB dist/vendor/shared/activityEvents.js
npm notice 3.4kB dist/vendor/shared/agentLogin.js
npm notice 5.1kB dist/vendor/shared/apiOrigin.js
npm notice 8.5kB dist/vendor/shared/connectDiscovery.js
npm notice 254B dist/vendor/shared/demoMode.js
npm notice 4.3kB dist/vendor/shared/desktopPairing.js
npm notice 481B dist/vendor/shared/desktopTokenRevocation.js
npm notice 8.9kB dist/vendor/shared/events.js
npm notice 1.6kB dist/vendor/shared/githubAuthMode.js
npm notice 2.0kB dist/vendor/shared/githubEventIntakeMode.js
npm notice 10.7kB dist/vendor/shared/index.js
npm notice 214B dist/vendor/shared/instanceAuthorization.js
npm notice 54B dist/vendor/shared/instanceCatalog.js
npm notice 4.0kB dist/vendor/shared/intakeModePrerequisites.js
npm notice 2.9kB dist/vendor/shared/labelUtils.js
npm notice 19.0kB dist/vendor/shared/modelDefinitions.js
npm notice 3.5kB dist/vendor/shared/notificationLinks.js
npm notice 51.3kB dist/vendor/shared/notifications.js
npm notice 866B dist/vendor/shared/projectSlug.js
npm notice 3.8kB dist/vendor/shared/proprCompatibility.js
npm notice 13.0kB dist/vendor/shared/proprServiceUrls.js
npm notice 2.2kB dist/vendor/shared/publishedVisualPreviews.js
npm notice 2.3kB dist/vendor/shared/reasoningLevels.js
npm notice 9.4kB dist/vendor/shared/reviewContextBudget.js
npm notice 5.3kB dist/vendor/shared/reviewFeedbackIds.js
npm notice 1.7kB dist/vendor/shared/reviewPrompt.js
npm notice 861B dist/vendor/shared/sessionSecret.js
npm notice 603B dist/vendor/shared/statusKeys.js
npm notice 7.5kB dist/vendor/shared/syntheticAgents.js
npm notice 2.2kB dist/vendor/shared/taskIdentifiers.js
npm notice 647B dist/vendor/shared/taskLifecycle.js
npm notice 3.7kB dist/vendor/shared/usageTips.js
npm notice 503B dist/vendor/shared/usageTypes.js
npm notice 1.1kB dist/vendor/shared/userWhitelist.js
npm notice 758B dist/vendor/shared/validateRelayUrl.js
npm notice 2.2kB dist/vendor/shared/validateRoutingUrl.js
npm notice 7.1kB dist/vendor/shared/visualPreviewCapacity.js
npm notice 9.3kB dist/vendor/shared/voice.js
npm notice 222B dist/vendor/shared/workEvidence.js
npm notice 623B package.json
npm notice Tarball Details
npm notice name: propr-cli
npm notice version: 0.8.15
npm notice filename: propr-cli-0.8.15.tgz
npm notice package size: 375.1 kB
npm notice unpacked size: 1.6 MB
npm notice shasum: fd604054c64ebaede14df2aad5bc7ca5120235f8
npm notice integrity: sha512-bpuHvJO1o9NOw[...]kJj50puRe9TlQ==
npm notice total files: 151
npm notice
propr-cli-0.8.15.tgz

Dry run only. Re-run with --publish to publish to npm.
✅ propr-cli release package verified
Starting changed-area validation process...
Reusing this job's @propr/shared build from CLI packaging.
Reusing this job's @propr/local-setup build from CLI packaging.

--- Core Service: Lint & Build ---
✅ Core Lint passed
✅ Core Source Build passed

--- UI: Typecheck, Lint & Build ---
✅ Client Package validation passed
✅ UI Typecheck passed
✅ UI Lint passed
✅ UI Build passed

--- Docs: Typecheck & Build ---
✅ Docs Typecheck passed
✅ Docs Build passed

--- Core Package: Build & Lint ---
✅ Core Package Build passed
❌ Core Package Lint FAILED

/home/runner/work/propr/propr/packages/core/src/agents/impl/VibeAgent.ts
  433:1  warning  File has too many lines (409). Maximum allowed is 400  max-lines

✖ 1 problem (0 errors, 1 warning)

ESLint found too many warnings (maximum: 0).

--- CLI: Lint ---
✅ CLI Lint passed

--- API: Build & Lint ---
✅ API Build passed
✅ API Lint passed

--- Stage outcomes ---
Workflow lint: success
Release shell lint: success
Pre-setup gate: skipped
Node setup: success
Toolchain: success
Dependency install: success
Release metadata: success
CLI packaging: success
Change detection: success
Changed-area checks: failure

View Workflow

@propr-dev

propr-dev Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 9296e95

Processed 2 comments:

  • Comment 1 by @propr-dev[bot] (ID: 5890892997✓)
  • Comment 2 by @github-actions[bot] (ID: 5890893554✓)

Summary of Changes

Fixed the CI lint failure by consolidating duplicated analysis logging in VibeAgent.ts, bringing it below the 400-line limit while preserving behavior.

Validation passed: core lint with zero warnings, core build, and 35 focused tests. One installed-Vibe test was skipped because PROPR_VIBE_PYTHON wasn’t configured.

No visual changes; no preview needed.


🤖 Implementation Details

  • Model: GPT-6 Astra (high)
  • Requested By: @propr-dev[bot], @github-actions[bot]
  • Time: 2m 56s
  • Tokens: 316,375 (313,939 in / 2,436 out)
  • Cost: $0.84

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment IDs: 5890892997✓, 5890893554✓

…sis logging in `VibeAgent.ts`, bringing it below the 400-line limit while preserving behavior.

Fixed the CI lint failure by consolidating duplicated analysis logging in `VibeAgent.ts`, bringing it below the 400-line limit while preserving behavior.

Validation passed: core lint with zero warnings, core build, and 35 focused tests. One installed-Vibe test was skipped because `PROPR_VIBE_PYTHON` wasn’t configured.

No visual changes; no preview needed.

PR: #2628
Comment by: @propr-dev[bot] (ID: 5890892997)
Comment by: @github-actions[bot] (ID: 5890893554)
Model: gpt-6-astra
@integry

integry commented Sep 30, 2026

Copy link
Copy Markdown
Owner

/merge

@propr-dev

propr-dev Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor Author

🔀 Resolved merge conflicts from main into goal-012588ca/gpt-6-astra-update-the-mistral-agent--20260929-1244-cw3 in commit 5471398

Conflicting Files

  • Dockerfile.agent
  • scripts/build-images.sh

Resolution Summary

Resolved both conflicts; no merge conflict markers remain. The full-file scan also found harmless documentation separators in dependencies.

  • Dockerfile.agent: The PR upgraded Mistral Vibe from 2.25.4 to 2.25.8, while main added Agent Tank 0.9.11 beside that setting. Kept Vibe 2.25.8 and the new Agent Tank argument, preserving the upgrade and ensuring image metadata matches the installed versions.
  • scripts/build-images.sh: The same version upgrade overlapped main’s Agent Tank default and pinning explanation. Kept both changes so build defaults remain consistent with the Dockerfile and retain Agent Tank’s version validation.

Validation passed: Bash syntax, Dockerfile instruction checks and all 11 embedded shell blocks, version consistency, whitespace checks, and 30 existing tests. A full Docker image build was not run.


🤖 Resolution Details

  • Model: gpt-6-astra
  • Time: 2m 30s

View Task Execution


System-triggered merge conflict resolution

…ate-the-mistral-agent--20260929-1244-cw3

Automatically resolved merge conflicts after merging target branch into PR branch.
Resolved conflicts in:
- Dockerfile.agent
- scripts/build-images.sh

PR: #2628
Model: gpt-6-astra
@integry

integry commented Sep 30, 2026

Copy link
Copy Markdown
Owner

/review opus

@propr-dev

propr-dev Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — opus

Overall Evaluation

This PR updates the Mistral Vibe integration from CLI 2.25.4 to 2.25.8. It adds Mistral-hosted GLM 5.3 and GLM 5.2 (zai-glm-5-3, zai-glm-5-2) through every place a model has to be registered:

  • the shared catalog
  • agent defaults
  • agent-type routing
  • provider logos
  • the CLI version pins (in three places)
  • the documentation

At runtime, Vibe 2.25.8 does not bundle GLM presets. The PR works around this by injecting a VIBE_MODELS__<id> nested-settings preset next to VIBE_ACTIVE_MODEL. It also changes the Vibe migration so it no longer removes custom or local model aliases; only a fixed set of retired Devstral IDs is removed.

I traced the migration order in configManagerAgentMigrations.ts:

  1. addMissingModels runs before removeDeprecatedModels.
  2. So mistral-medium-3.5 is always in supportedModels when a retired Vibe default is replaced.
  3. The replacement default is therefore always valid.

The GLM preset path is the same for execute and analysis runs, because both go through buildDockerEnvVars. The analyze() refactor treats all outcomes the same as before, including the case where the run succeeds but returns no text. All current-head checks pass. The PR is ready to merge. The suggestions below are optional.

✅ Custom Vibe models are no longer dropped — removeDeprecatedModels now retires only the IDs in RETIRED_VIBE_MODELS for Vibe agents. Before this change, every non-catalog alias (such as local or a private llama.cpp model) was removed on each load. The new configManagerAgents.test.ts cases cover preserved defaults, explicit CLI pins, credentials, and idempotence.

✅ GLM is wired end to end — The catalog entries, getAgentTypeFromModel (the zai-glm- prefix), ProviderLogo, label resolution (vibe-glm53, <alias>-glm53), the UI option builders, and the Playwright save test all agree on the same IDs and labels.

✅ Runtime preset does not touch host config — The GLM preset is passed as a container environment variable. The read-only ~/.vibe mount and VIBE_READ_ONLY_CONFIG analysis mode are unaffected, and the API key never appears in Docker args (the unit test asserts this).

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Derive the GLM preset from the catalog

VibeAgent.buildDockerEnvVars hardcodes two things:

  • the GLM ID check (cleanModelName === 'zai-glm-5-3' || ... 'zai-glm-5-2')
  • one pricing tuple (1.4 / 0.14 / 4.4) shared by both models

Adding the next GLM version means editing this string check as well as modelDefinitions.ts, and the two can drift apart. It is also unclear whether GLM 5.2 and 5.3 really have the same price. A small preset map, keyed by catalog ID and holding per-model prices, would keep one source of truth. The current code works for the two models it targets, so this is optional.

S2: 🟢 Warn when GLM is added to agents pinned below 2.25.8

Migration adds zai-glm-5-3 and zai-glm-5-2 to every Vibe agent, including agents explicitly pinned to 2.25.4. The test asserts this. Both catalog entries declare minAgentVersion: '2.25.8'. If that minimum is enforced at run time, selecting GLM on a pinned agent will fail only then. If it is not enforced, the models may still work, because the env-preset mechanism likely predates 2.25.8.

Either way, a save-time warning in the AI Agents dialog would make the behavior clear. The docs note ("Use the default CLI version...") partly covers this.

S3: 🟢 Note the narrowed Vibe retirement semantics

For Vibe, any stale ID that is not in RETIRED_VIBE_MODELS (for example an old hosted ID from a much earlier catalog) is now kept instead of removed. This is the right trade-off for local and custom aliases. It is worth documenting in a comment or changelog that future hosted-model retirements must be added to this set explicitly; otherwise they will linger in saved configs.

S4: 🟢 Run the installed-package contract check in CI

The PROPR_VIBE_PYTHON-gated test in test/vibeAgent.test.ts is the only automated evidence that Vibe 2.25.8 actually merges VIBE_MODELS__<id> into config.models and resolves the Mistral provider. As written it is skipped by default. Running it in a lightweight CI job, with only a pip install mistral-vibe==<pin> and no network inference, would catch schema changes when the pin is bumped next.

S5: 🟢 Keep unrelated refactors in separate commits

The analyze() restructure in VibeAgent.ts is equivalent to the old code: success now includes !!analysisText, and a single persistLlmLog call is made with conditional fields. However, it is unrelated to the model update. Splitting refactors like this out makes future reviews and bisection easier.

Score

The PR meets the objective: the CLI is bumped, GLM is added through all configuration paths, existing configurations are preserved, and tests and docs are updated. There are no verified regressions and all current-head checks pass. Remaining items are optional hardening and maintainability improvements.

Score: 8/10


🤖 Review Details

  • Model: Claude Opus 5.5
  • Time: 44s
  • Tokens: 71,672 (67,638 in / 4,034 out)
  • Cost: $0.42

View Task


💡 Next step: Comment /fix to address every F# merge blocker, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them, and they never relax a merge blocker.

🤖 Review by ProPR

@integry
integry marked this pull request as ready for review September 30, 2026 20:10
@integry
integry merged commit 4cff589 into main Sep 30, 2026
41 checks passed
@integry
integry deleted the goal-012588ca/gpt-6-astra-update-the-mistral-agent--20260929-1244-cw3 branch September 30, 2026 20:10
integry pushed a commit that referenced this pull request Sep 30, 2026
Merge docs/0.9.0-user-docs-cleanup (now containing main with #2612 and
#2628). Apply the doc fixes found for #2612 now that it has merged: list
the notifications resources (and allow the token in the observable-surface
doc test), retitle the optional-expectedHead step, drop stale epic process
text from mcp-operator-surface.md, and document that a non-empty trigger
whitelist is exclusive, ignores the [bot] suffix and skips the blacklist,
and that empty follow-up keywords trigger on every allowed comment.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant