Skip to content

feat: redteam fixes and improvements#28

Merged
sacchen merged 3 commits into
mainfrom
feat/redteam-fixes
Apr 11, 2026
Merged

feat: redteam fixes and improvements#28
sacchen merged 3 commits into
mainfrom
feat/redteam-fixes

Conversation

@sacchen

@sacchen sacchen commented Apr 11, 2026

Copy link
Copy Markdown
Owner
  • Add --no-wa CLI flag to completely disable WolframAlpha fallbacks for improved OpSec.
  • Update parse_options and REPL inline option parsing to support --no-wa.
  • Improve solve() ambiguity detection and provide clearer diagnostics.
  • Prevent matrix keyword arguments from crashing solve().
  • Update README.md to clarify solve() behavior.
  • Suppress RuntimeWarning caused by test suite execution of the __main__ entrypoint.
  • Add comprehensive test coverage for --no-wa and solve() enhancements.
  • Add REDTEAM_REPORT.md containing security and architectural review.

sacchen and others added 3 commits April 11, 2026 02:29
…nings

- Add `--no-wa` CLI flag to completely disable WolframAlpha fallbacks for improved OpSec.
- Update `parse_options` and REPL inline option parsing to support `--no-wa`.
- Improve `solve()` ambiguity detection and provide clearer diagnostics.
- Prevent matrix keyword arguments from crashing `solve()`.
- Update `README.md` to clarify `solve()` behavior.
- Suppress `RuntimeWarning` caused by test suite execution of the `__main__` entrypoint.
- Add comprehensive test coverage for `--no-wa` and `solve()` enhancements.
- Add REDTEAM_REPORT.md containing security and architectural review.
Keep CLI docs consistent by listing --no-wa in the usage synopsis.\n\nUnify matrix-style solve rejection so assignment-wrapped inputs (for example a=solve(A=..., b=...)) return the same clear ValueError and downstream hint path as direct solve(...) calls.\n\nAdd regression coverage for the updated help text, assignment-wrapped matrix solve rejection, and diagnostics hint behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Restore direct solve() calls to SymPy-compatible behavior for ambiguous symbolic expressions while keeping the matrix-keyword recovery path for solve(A=..., b=...).\n\nUpdate tests and docs to match the shipped behavior so the release scope stays accurate and non-breaking.
@sacchen sacchen merged commit db6363d into main Apr 11, 2026
10 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.

1 participant