Skip to content

Claude/release readiness audit q7 ux c#13

Merged
TheAmericanMaker merged 2 commits into
mainfrom
claude/release-readiness-audit-Q7UxC
Apr 5, 2026
Merged

Claude/release readiness audit q7 ux c#13
TheAmericanMaker merged 2 commits into
mainfrom
claude/release-readiness-audit-Q7UxC

Conversation

@TheAmericanMaker

Copy link
Copy Markdown
Member

Summary

Describe the change in a few sentences.

Checklist

  • Tests added or updated for behavior changes
  • Docs updated for user-visible changes
  • Install, CLI, or JSON output changes were checked for drift
  • make release-check passes locally

Notes

Add any reviewer context, risks, or follow-up items here.

claude added 2 commits April 5, 2026 05:31
…ackend safety

P0 fixes:
- Fix dict mutation in consensus.py, voting.py, conflicts.py: copy
  backend_kwargs instead of aliasing, matching synthesize.py pattern
- Fix budget off-by-one: record() now uses >= to match exhausted
  property, consistently enforcing the boundary
- Fix JSON extraction: _try_extract_object now tracks string literals
  so braces inside JSON string values don't break brace matching

P1 fixes:
- Ollama backend: catch ValueError from response.json() and raise
  a clear RuntimeError instead of opaque JSONDecodeError
- OpenAI backend: explicitly pass stream=False, fix operator
  precedence in response handling to guard against None message

Tests:
- Add budget exact-boundary test
- Add backend_kwargs mutation tests for consensus and voting
- Add JSON parsing tests for braces inside string values

https://claude.ai/code/session_01H1AP8Drr8SE7QFevAookwL
The validator treated recommended_n > 10 as a validation error with the
text "Are you sure?" — which blocked legitimate task files while using
language that suggested it should be a soft warning. Changed to emit a
warnings.warn() instead, matching scatter.py's pattern for high n values.

https://claude.ai/code/session_01H1AP8Drr8SE7QFevAookwL
@TheAmericanMaker
TheAmericanMaker merged commit 9739ee8 into main Apr 5, 2026
4 checks passed
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.

2 participants