Skip to content

Add proof-producing policy sessions - #9071

Draft
kim-em wants to merge 7 commits into
agent/interval-package-replayfrom
agent/interval-payload-policy-session
Draft

Add proof-producing policy sessions#9071
kim-em wants to merge 7 commits into
agent/interval-package-replayfrom
agent/interval-payload-policy-session

Conversation

@kim-em

@kim-em kim-em commented Jul 29, 2026

Copy link
Copy Markdown
Owner

What changed

  • adds a private-constructor policy session which owns the policy state and engine, exact heterogeneous package registry, immutable payload arena, and all limits;
  • routes selected invocation and retry plans through the exact handler-owned sealed ReplaySnapshot.freeze operation and commits the arena only after policy-state admission;
  • supports invocation, retry, centered instantiation, equality contraction, dismissal, and split choices without accepting separable engine, registry, or arena inputs;
  • preserves the merged generic completeness invariant through shared Suggestion.affectsClosure and the engine-owned exact kept/dropped suggestion boundary;
  • treats malformed evidence and package-local payload uses, atom, and schema excess as consumed failed replies which remain live and incomplete, while whole-run entries and bodyCells exhaustion is fatal.

Conformance

The policy-owned end-to-end canary instantiates the centered form, admits and contracts its equality, exercises every choice class, retains exact fact/instance/equality recipes, rolls back an engine-rejected prospective freeze, rejects malformed and undeclared formats atomically, distinguishes all five payload resource classes, and proves an empty failed frontier is incomplete rather than saturated.

Validation

  • lake build HexInterval.PolicyConformance HexInterval.PolicyDriverConformance HexInterval.PolicyFrontierConformance HexInterval.PackageRegistryConformance HexInterval.PayloadArenaConformance HexInterval.PayloadSessionConformance HexInterval.DyadicIntervalConformance HexInterval.DyadicRulesConformance HexInterval.PolicySessionConformance HexIntervalExperiment
  • git diff --check origin/agent/interval-package-replay
  • added-line and touched-Lean scans for native_decide, axiom, and sorry

Stack

Draft stacked on #9040 (agent/interval-package-replay).

@kim-em
kim-em force-pushed the agent/interval-package-replay branch 3 times, most recently from 39c20ec to 2e85abd Compare July 29, 2026 06:13
@kim-em
kim-em force-pushed the agent/interval-payload-policy-session branch from 42015ae to ee7cbca Compare July 29, 2026 06:21
@kim-em
kim-em force-pushed the agent/interval-package-replay branch from 2e85abd to d152dc5 Compare July 29, 2026 06:26
@kim-em
kim-em force-pushed the agent/interval-payload-policy-session branch from ee7cbca to c31a238 Compare July 29, 2026 06:27
@kim-em
kim-em force-pushed the agent/interval-package-replay branch from d152dc5 to 6ec486d Compare July 29, 2026 06:50
@kim-em
kim-em force-pushed the agent/interval-payload-policy-session branch from c31a238 to 636f6d7 Compare July 29, 2026 06:52
@kim-em
kim-em force-pushed the agent/interval-package-replay branch from 6ec486d to 79e3c9f Compare July 29, 2026 07:14
Kim Morrison added 7 commits July 29, 2026 07:14
Progress: progress/20260728T055329Z.md
Progress: progress/20260728T060219Z.md
Includes progress/20260729T052733Z.md.
Record the completed restack and validation in progress/20260729T062058Z.md.
Record the refreshed stack and validation in progress/20260729T062719Z.md.
Record the final lower-stack migration in progress/20260729T065149Z.md.
Record the final framework migration in progress/20260729T071511Z.md.
@kim-em
kim-em force-pushed the agent/interval-payload-policy-session branch from 636f6d7 to 3cfe404 Compare July 29, 2026 07:15
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