Skip to content

fix(cli): fence task budget adjustments - #152

Merged
lafawnduh1966 merged 1 commit into
devfrom
codex/fix-budget-adjustment-fence
Jul 14, 2026
Merged

fix(cli): fence task budget adjustments#152
lafawnduh1966 merged 1 commit into
devfrom
codex/fix-budget-adjustment-fence

Conversation

@lafawnduh1966

Copy link
Copy Markdown

Summary

Fixes the release review blocker from Quay release PR #151:

  • fence task increase-budget writes by the observed task state and cancel_requested_at IS NULL
  • return unsafe_state without writing an audit event if the task changed between the initial read and the update
  • add a regression test for the race window
  • add task_budget_adjusted to the spec event-type contract

Validation

  • bun test packages/cli/tests/task/task_budget.test.ts: passed

Release Context

This PR should merge into dev before release PR #151 is considered ready.

@lafawnduh1966
lafawnduh1966 force-pushed the codex/fix-budget-adjustment-fence branch from c034e57 to 172a0c3 Compare July 14, 2026 14:28
@lafawnduh1966
lafawnduh1966 merged commit 960076c into dev Jul 14, 2026
1 check passed
@lafawnduh1966
lafawnduh1966 deleted the codex/fix-budget-adjustment-fence branch July 14, 2026 14:30
@lafawnduh1966 lafawnduh1966 mentioned this pull request Jul 14, 2026
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