Add deal framework for formal verification with release no-ops#167
Add deal framework for formal verification with release no-ops#167
Conversation
Added `deal` and `crosshair-tool` to pyproject.toml dev dependencies. Created `plugin/framework/deal_compat.py` to conditionally load `deal` decorators during development while substituting them with robust, zero-overhead no-op functions in release builds (detected by the absence of the `plugin/tests/` directory). Updated AGENTS.md to document the correct usage of this compatibility layer. Co-authored-by: KeithCu <662157+KeithCu@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Added `deal` and `crosshair-tool` to pyproject.toml dev dependencies. Vendored the `deal` library into `plugin/contrib/deal/` to ensure compatibility with the LibreOffice embedded Python runtime without requiring external installation by users. Created `plugin/framework/deal_compat.py` to conditionally load `deal` decorators (trying the vendored version first) during development while substituting them with robust, zero-overhead no-op functions in release builds (detected by the absence of the `plugin/tests/` directory). Updated AGENTS.md to document the correct usage of this compatibility layer. Co-authored-by: KeithCu <662157+KeithCu@users.noreply.github.com>
This commit introduces the infrastructure needed to begin formal verification using the
deallibrary. It includes the necessary dependencies inpyproject.tomland provides a compatibility wrapper (plugin/framework/deal_compat.py) that safely aliases decorators in debug builds while stubbing them out in release builds so end-users don't incur performance overhead or need to installdeal.PR created automatically by Jules for task 2851407568774976233 started by @KeithCu