Skip to content

v0.8.2 - Fallback Recommendation Preservation, In-Flight Cancellation, and Subagent Support

Choose a tag to compare

@huseyincig huseyincig released this 19 Oct 21:48
· 5 commits to main since this release

What's Changed in v0.8.2

  • Recommendation Preservation in Fallback Mode (ui.tsx, backend.ts):
    • In remediate-then-fallback policy, preserves recommended selections (including multiselect answers) across all classified questions once the remediation budget is exhausted. The V1 TUI permits that fallback instead of installing a manual-answer lock.
  • Race Condition & Duplicate Event Hardening (ui.tsx, backend.ts):
    • Keeps rejected remediation retryable when duplicate question events arrive during network transport.
    • Preserves V2 form reply ownership (pending.has(form.id)) and user-interaction cancellation across duplicate form events and asynchronous form.sync / reply completion.
  • Ambiguous Option Label Rejection (form-adapter.ts):
    • Rejects ambiguous V2 label-to-value mappings even when first-option fallback is enabled, safely classifying duplicated labels as unclassified.
  • Subagent Support & Lifecycle Cancellation (session-scope.ts, types.ts, backend.ts):
    • Adds documented includeSubagents opt-in configuration while preserving root-session isolation by default.
    • Cancels in-flight V1 question handling on session deletion, user messages, settlement, and plugin disposal; rejected history lookups cannot revive cancelled work.
  • Expanded Automated Test Suite:
    • Added 13 debugging regression tests covering remediation exhaustion, ambiguous labels, duplicate forms, and subagent session scopes.
    • 169 of 169 tests passing (100% pass) across unit, fallback, and integration scenarios.
    • 0 linter warnings / errors across 21 files.