Skip to content

feat: budget grace, settlement grammar, observability parity (0.0.41) - #40

Merged
okisdev merged 7 commits into
mainfrom
fix/mining-fix-campaign-0-0-41
Jul 27, 2026
Merged

feat: budget grace, settlement grammar, observability parity (0.0.41)#40
okisdev merged 7 commits into
mainfrom
fix/mining-fix-campaign-0-0-41

Conversation

@okisdev

@okisdev okisdev commented Jul 27, 2026

Copy link
Copy Markdown
Owner

summary

  • workers get a token budget wind down at 85 percent and one post-limit grace Write, so a budget trip no longer eats the final deliverable; peer wrapper ledger records derive packageType instead of defaulting to consult, and the stop gate rereads cancellation records before demanding TaskStop
  • settlement grammar accepts the bare report invocation and multi pair --record; codex SKU telemetry adds a near cap share, and terminal ledger records keep timeoutMs and failureKind so ledger recovered timeouts stop understating timeoutShare
  • the codex companion warns on an implicit subdirectory cwd and skips oversized JSONL events instead of dying (removes the broken pipe exit 143 race); grok jobs gain model-audit.jsonl rows and repositoryKey on token rows, and --prune-dead sweeps the orphaned acceptance.jsonl sidecars
  • the narrow wave advisory suppresses its nudge when a fleet-decline: line follows the last user message while the audit warn keeps declineStated: true, breaker-check tests are hermetic, and the orchestration rules state that claude worker briefs are envelope first

test plan

already verified

  • npm test -> 999 tests, 998 pass, 0 fail, 1 skip (pre existing)
  • per package suite reruns in a full environment after each merge: codex-companion + codex-state 119/119, codex-exec family 175/175, fusion-stats + transport suites 112/112, stats + monitor + observer 146/146, worker lifecycle suites 125/125, inline-delegation-guard 69/69, breaker-check 25/25, rules-sync + routing-policy 20/20
  • node plugins/fusion/scripts/generate-rules-manifest.mjs regenerated the manifest and its staleness test passes

reviewer should verify

  • node plugins/fusion/scripts/fusion-stats.mjs with no arguments renders the plain report instead of the raw-args transport TypeError

notes

  • the fixes come from mining the live 0.0.39 and 0.0.40 usage window; they reach live sessions only after this release lands and the plugin caches plus the fusion setup rules sync refresh

@okisdev
okisdev merged commit 4c516a8 into main Jul 27, 2026
6 checks passed
@okisdev
okisdev deleted the fix/mining-fix-campaign-0-0-41 branch July 27, 2026 05: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