Skip to content

refactor: consume WolfXL's versioned Guard contract - #1

Closed
wolfiesch wants to merge 4 commits into
mainfrom
refactor/wolfxl-guard-contract-shim-20260831
Closed

refactor: consume WolfXL's versioned Guard contract#1
wolfiesch wants to merge 4 commits into
mainfrom
refactor/wolfxl-guard-contract-shim-20260831

Conversation

@wolfiesch

@wolfiesch wolfiesch commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Turn spreadsheet-guard into a genuinely thin package/CLI identity over WolfXL's canonical Guard contract:

  • load only wolfxl.guard_contract, not the internal wolfxl.operations module;
  • pin wolfxl-guard-contract-v1 and reject missing, older, or malformed runtimes before executing;
  • delegate policy, inspection, schema/status validation, and report/artifact binding to WolfXL;
  • retain only package-specific availability errors, the small GuardOutcome facade, and CLI exit behavior;
  • add independent Python 3.11/3.13 package, Ruff, Mypy, test, and wheel-build CI.

Dependency

Depends on SynthGL/wolfxl#581. Keep this PR draft and merge it only after that producer contract is available in the distributed WolfXL runtime.

Verification

  • 11 focused tests pass, including malformed scalar/container result statuses.
  • Exact-head CI run 33349242254 passes on Python 3.11 and 3.13 (Ruff, strict Mypy, tests, wheel build).
  • Tests prove exact contract-version rejection and fail-closed malformed-result handling without requiring a proprietary runtime in this public repository.

No package was published and no external outreach was performed.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T02:02:34.472291Z ccc9b32 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8100b6ab74

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml

Copy link
Copy Markdown
Contributor Author

@codex review

Please review exact head fd6a84728f32e8435d405f173b23f6328b107643.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fd6a84728f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/spreadsheet_guard/guard.py Outdated

Copy link
Copy Markdown
Contributor Author

@codex review

Please review exact head ccc9b32ab1541c5a7e464561c780833df21daa01, which additionally rejects non-text Guard result statuses fail-closed.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: ccc9b32ab1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wolfiesch wolfiesch closed this Aug 31, 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