Skip to content

feat: add opt-in Meal Composition contract 1.1.0 - #2

Merged
PierreCsn merged 2 commits into
mainfrom
issue-1-contract-1-1
Sep 7, 2026
Merged

PierreCsn merged 2 commits into
mainfrom
issue-1-contract-1-1

Conversation

@PierreCsn

Copy link
Copy Markdown
Collaborator

Implements opt-in Meal Composition validation for contract 1.1.0 while preserving default 1.0.0 behavior and legacy error codes. Tolerates legacy benefits_from as ignored, rejects other unknown meal fields, and adds focused invariant tests. No corpus, Core, Planner, migration, or capability negotiation changes. Tests: PYTHONPATH=. /home/pierrecsn/Work/cookigram-core/.venv/bin/pytest -q (10 passed), manual checks passed. Closes #1

@PierreCsn

Copy link
Copy Markdown
Collaborator Author

Independent qualification results for current HEAD d5795b8: APPROVE_MINIMAL. Compatibility reviewer: APPROVE; default 1.0.0 behavior/error codes preserved, explicit 1.1.0 opt-in, absent meal valid, legacy benefits_from ignored. Boundary reviewer: APPROVE_MINIMAL; schema uniqueItems aligned, no dead code, migration/capability/scheduler/Core/Planner/corpus machinery absent. CI test green: 10 passed.

@PierreCsn
PierreCsn merged commit 5ae2511 into main Sep 7, 2026
1 check passed
@PierreCsn
PierreCsn deleted the issue-1-contract-1-1 branch September 7, 2026 18:16
PierreCsn added a commit that referenced this pull request Sep 7, 2026
Recovery of the final approved corrections omitted from PR #2 merge. Closes #1.
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.

Meal Composition — enforce semantic invariants in public contract

1 participant