v0.1.18
MendCode v0.1.18
MendCode v0.1.18 focuses on goal-driven Loop Workflows, safer provider/runtime behavior, and cheaper GitHub Actions usage without removing the security gates.
Built from efcf5f3bbef2d0c2611aac490cec4c76ceccc9bb.
Highlights
- Loop Workflows now distinguish fixed iteration jobs, max-goal work, and unbounded monitors.
- Goal loops can stop early when their checkpoint proves completion instead of spending every available turn.
- Compaction keeps a bounded recent-tail snapshot so unfinished work survives summaries more reliably.
- Provider auth can be disconnected from the Connect Provider dialog.
- CI now uses fewer redundant Action jobs and shorter release artifact retention.
Added
- Goal-driven Loop Workflow budget modes:
fixed,max-goal, andunbounded-monitor. - Loop Workflow completion criteria, success checks, target turns, reserved verification turns, machine-readable checkpoints, and optional owner-session completion notifications.
- Provider disconnect support from the Connect Provider dialog for locally saved provider auth.
- TSM shortcut support for creating an explicit missing branch before opening it in a split MendCode pane.
Fixed
- Fix Loop Workflow execution so implementation loops that explicitly allow edits are not downgraded to report-only by a conservative background service.
- Keep loop session headers, run checkpoints, and the
/loopsdashboard aligned with the currently running iteration instead of lagging one completed run behind. - Keep Herdr loop-session panes in a working loop state between iterations and only report completion after the workflow reaches a terminal state.
- Resume active provider compaction automatically and add trigger context so compaction summaries do not falsely close unfinished work.
- Preserve a bounded snapshot of the retained recent tail during compaction so summaries keep the latest unfinished request, tool output, and resume context.
- Accept loop model variants through the
variantfield or provider/model#variant syntax for any provider. - Keep the
/loopsdashboard cursor out of read-only detail rows so theupdatedfield no longer looks editable. - Keep Herdr agent state from staying
workingafter a session finishes and no longer appears in status output. - Report clearer
--worktreeand--tsmerrors outside git repositories or before the first commit. - Strip command frontmatter metadata from opencode provider schemas/options so strict providers do not reject structured output or noop tool schemas.
Changed
- Treat
maxTurnsas an iteration budget for goal work instead of a requirement to spend every available loop turn. - Improve
/loopstimeline loading and scrolling so recent workflow events remain inspectable without overwhelming compact terminals. - Scope model variant selection to the newly selected model before deciding whether to open the variant picker.
- Refresh opencode Go/OpenRouter reasoning variant mapping for GLM-5.2, MiniMax M3, and widely supported effort levels.
- Clean up slash-command fallbacks and aliases so command names do not collide.
CI
- Skip CodeQL for docs-only, changelog-only, and public asset-only PRs while keeping CodeQL on source changes, main pushes, scheduled runs, and manual dispatch.
- Consolidate Security Guard scanners into one deep-scanner job while preserving gitleaks, OSV, zizmor, and Semgrep policy enforcement.
- Reduce release workflow artifact retention from 30 days to 7 days to cut Actions storage pressure.
Tests
- Added coverage for goal-budget loop completion/blocking, owner notifications, compaction tail snapshots, provider schema cleanup, reasoning variants, TSM/worktree shortcut edge cases, Herdr idle reporting, and structured-output schema transformation.
Install
macOS/Linux:
curl -fsSL https://raw.githubusercontent.com/MendCode/MendCode/main/src/mendcode/install | bashWindows PowerShell:
irm https://raw.githubusercontent.com/MendCode/MendCode/main/src/mendcode/install.ps1 | iexInstall a specific version:
curl -fsSL https://raw.githubusercontent.com/MendCode/MendCode/main/src/mendcode/install | bash -s -- --version 0.1.18Verify
gh release download v0.1.18 --repo MendCode/MendCode
shasum -a 256 -c SHA256SUMS
gh attestation verify --repo MendCode/MendCode mendcode-*.zip mendcode-*.tar.gz SHA256SUMS RELEASE-MANIFEST.txt mendcode.spdx.json