Skip to content

Add qualification-only image recipe provider#42

Merged
dovvnloading merged 2 commits into
mainfrom
codex/recipe-provider
Jul 21, 2026
Merged

Add qualification-only image recipe provider#42
dovvnloading merged 2 commits into
mainfrom
codex/recipe-provider

Conversation

@dovvnloading

Copy link
Copy Markdown
Owner

Summary

  • add a qualification-only fixed-function image provider for validated PNG/JPEG/WebP bytes
  • enforce Pillow verify/load, one-frame policy, decompression/resource limits, fixed transforms, metadata stripping, output revalidation, hashing, and cancellation
  • keep provider startup disabled until an external sandbox RuntimeHealth result passes
  • pin Pillow 12.3 and document the provider qualification ADR, limits, failure taxonomy, and remaining OS sandbox gate

Scope

This is intentionally stacked on the trusted artifact-boundary stage (#41). It does not launch processes, create AppContainers/LPAC or Job Objects, use the native broker, expose a lifecycle/API route, or enable production execution.

Validation

  • Pillow 12.3.0 installed locally
  • python -m pytest tests/test_phase2_recipe_provider.py -q (17 passed)
  • python -m pytest -q (204 passed, 1 platform skip, 1 pre-existing warning)
  • python -m compileall -q backend\\cortex_backend\\execution tests
  • python tools/generate_contracts.py
  • git diff --check
  • frontend lint, typecheck, production build, and 39 frontend tests passed

The unrelated working-tree edit to Cortex.pyproj was intentionally not included.

@dovvnloading
dovvnloading changed the base branch from codex/artifact-boundary to main July 21, 2026 23:41
@dovvnloading

Copy link
Copy Markdown
Owner Author

Retargeting to main to trigger repository Quality; reopening immediately.

@dovvnloading dovvnloading reopened this Jul 21, 2026
@dovvnloading
dovvnloading marked this pull request as ready for review July 21, 2026 23:41
@dovvnloading
dovvnloading force-pushed the codex/recipe-provider branch from 767b629 to 99e9ab8 Compare July 21, 2026 23:43
@dovvnloading
dovvnloading merged commit 957603b into main Jul 21, 2026
1 check passed
@dovvnloading
dovvnloading deleted the codex/recipe-provider branch July 21, 2026 23:53
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