Skip to content

release: v0.13.4 — Task worker structural compaction - #58

Merged
mai1015 merged 3 commits into
mainfrom
release/v0.13.4
Sep 25, 2026
Merged

mai1015 merged 3 commits into
mainfrom
release/v0.13.4

Conversation

@mai1015

@mai1015 mai1015 commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

Publish the native Task worker context fix as Forge v0.13.4. The v0.13.3 tag was created while this fix was still validating, so this patch release preserves the immutable v0.13.3 tag and carries only the follow-up fix.

Included fix

  • Native Task workers and planners no longer use a Task-scoped LCM timeline.
  • Their protected session continuity remains enabled, with deterministic structural compaction for older optional history and tool results.
  • Existing Task sessions rotate once when their stored capability set still advertises LCM, preventing stale LCM snapshots from being reused.
  • Reviewer attempts remain self-contained, while Main and Project Agent chats continue to use LCM.
  • End-to-end coverage proves an over-budget Task worker reaches the provider and creates no LCM timeline.

Release preparation

  • Bump workspace, lockfile workspace packages, web package, and npm bootstrapper to 0.13.4.
  • Add the dated 0.13.4 changelog section.

Local verification

  • cargo fmt --all -- --check
  • FORGE_SKIP_WEB_BUILD=1 cargo check --locked -p forge-cli
  • cargo test -p forge-agent-host task_turns_use_structural_compaction_instead_of_lcm --lib
  • cargo test -p services native_task_capabilities_keep_sessions_but_disable_lcm --lib
  • cargo test -p services --test native_chat_lcm_compaction native_task_worker_compacts_over_budget_history_without_lcm
  • cargo test -p services --test native_chat_lcm_compaction native_inquiry_refreshes_stale_capabilities_without_deleting_the_old_session
  • cargo test -p services --test native_chat_lcm_compaction native_main_chat_compacts_over_budget_history_through_lcm
  • Release version gate for all 17 workspace packages
  • Gitleaks history scan: 318 commits, no leaks
  • git diff --check

Full release verification is left to CI before merge and will run again on the exact tagged commit.

Also included

  • b8b76fc fix(workspace): a Task whose workspace was cleaned (e.g. by a role reassignment reset) is rebuilt on its next execution from the surviving task branch, or started fresh when the branch is gone, instead of failing every dispatch with "workspace for task ... is not ready". Found live on NK-1 (749064c0). Tests: cleaned_workspace_is_rebuilt_from_its_task_branch, cleaned_workspace_without_branch_starts_fresh; workspace and reassignment suites pass.

🤖 Generated with Claude Code

mai1015 and others added 3 commits September 25, 2026 18:41
A role reassignment that resets a Task cleans its workspace: the worktree
is removed and the row is marked `cleaned`. Admission only reused or
recovered `ready` rows, so every later dispatch failed with "workspace for
task ... is not ready", rolled the Task back to `todo`, and retried forever.

A `cleaned` row is now rebuilt from its surviving task branch (same row,
branch commits kept), or replaced by a fresh workspace from the default
branch when the branch is gone.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@mai1015
mai1015 merged commit b9c8db4 into main Sep 25, 2026
10 checks passed
@mai1015
mai1015 deleted the release/v0.13.4 branch September 25, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant