Skip to content

dream(plan-contract): MAX_PLAN_INPUTS=16384 and MAX_PLAN_EXPECTATIONS=4096 now… - #4

Merged
jjohare merged 4 commits into
mainfrom
dream/plan-contract-2026-11-12
Nov 14, 2026
Merged

jjohare merged 4 commits into
mainfrom
dream/plan-contract-2026-11-12

Conversation

@jjohare

@jjohare jjohare commented Nov 12, 2026

Copy link
Copy Markdown
Member

Draft PR opened by the dream engine on a GATED ACCEPT night (2026-11-12-visioncraft, run 270ab8f1049a64e3).

Candidate tree 44f51b3367d38224d98ed51e185b3ac90e7d0cdc was applied in isolation and the required evaluators re-run against it: clippy=PASSED, fmt=PASSED, tests=PASSED, tests-core-only=PASSED. Witness 3061c50121ab.

A human decides the merge — evaluation is not promotion.

Finding: Given a QualityPlan today bounds only check count, aggregate deadline and aggregate capture while Subject inputs and expectations lists are admitted with no count limit, when validate() enforces MAX_PLAN_INPUTS = 16_384 on subject inputs and MAX_PLAN_EXPECTATIONS = 4_096 on expectations with boundary tests at N accepted and N+1 rejected, then both boundary tests pass, every existing test outcome is unchanged, and all REQUIRED evaluators pass on the candidate.

Gate: ACCEPT upheld: 4 required evaluator(s) passed on candidate tree 44f51b3367d3

Note: the engine ran rustfmt on the candidate's own files (src/plan.rs, tests/core.rs) as a second commit; the logic is the model's, the layout the formatter's.

codex and others added 4 commits November 12, 2026 01:30
…ceilings

PR #4 adds MAX_PLAN_INPUTS and MAX_PLAN_EXPECTATIONS to src/plan.rs, which
left docs/diagrams/generated stale and the diagrams check red. Regenerated
with CI's command (sealmap 0.4.0, --public-only --min-calls 4 --no-model).
This is a protected path, regenerated on the operator's direct instruction,
not under sweep authority.

Co-Authored-By: jjohare <github@thedreamlab.uk>
@jjohare
jjohare marked this pull request as ready for review November 14, 2026 17:22
@jjohare

jjohare commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

Merged by the agent session on the operator's direct instruction (2026-11-14). Checks green on the head. No human review recorded; this merge is not review evidence and the ledger's Reviewer/Review-minutes cells stay empty (ADR-2190). Fixup: bbeb945 regenerates docs/diagrams/generated (protected), with CI's sealmap 0.4.0 command, on the operator's instruction.

@jjohare
jjohare merged commit b9bb57e into main Nov 14, 2026
3 checks passed
@jjohare
jjohare deleted the dream/plan-contract-2026-11-12 branch November 14, 2026 17:22
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.

2 participants