Skip to content

Bind interval packages to proof payload sessions - #9038

Draft
kim-em wants to merge 10 commits into
agent/interval-payload-arenafrom
agent/interval-payload-session
Draft

Bind interval packages to proof payload sessions#9038
kim-em wants to merge 10 commits into
agent/interval-payload-arenafrom
agent/interval-payload-session

Conversation

@kim-em

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

Copy link
Copy Markdown
Owner

Purpose

Make proof-producing execution over arbitrary function packages own one coherent engine, registry, and immutable evidence arena.

What this establishes

  • callbacks return an outcome plus exact reply-local proof drafts;
  • a private-constructor session assembles the matching registry and engine itself;
  • invocation, bounded payload validation/relocation, reply admission, and arena commit form one transition;
  • generic engine preflight bounds the program before package-specific scans;
  • outer reply lists are checked against engine bounds before arena traversal, and session start checks coherent per-reply use limits;
  • the engine exposes one exact retained/dropped suggestion split, shared with completeness accounting;
  • package-local use, atom, and schema excess consumes a failed reply, preserves independent work, and permanently withholds completeness;
  • whole-run arena entry/body exhaustion and engine-invalid transitions remain fatal and non-resumable;
  • rejected replies cannot commit prospective evidence;
  • malformed package evidence becomes a failed live rule transition, preserves other work, and permanently prevents a false saturation report;
  • the durable droppedWork field is distinct from the exported Session.complete fixed-point predicate;
  • Run has a private constructor, so stop classifications cannot be paired with arbitrary sessions;
  • nested instantiation and equality payloads relocate atomically; honest admission/execution is intentionally left to the private policy-session layer.

The FIFO session is an ownership and transaction experiment. External policy selection and package-owned semantic replay are the next stacked layers. The eager arena entry budget is deliberately documented as an action/draft waste bound rather than an accepted-fact bound.

Verification

  • lake build HexInterval.Experiment.PayloadSession HexInterval.PayloadSessionConformance HexIntervalExperiment
  • git diff --check
  • no added native_decide, axiom, or sorry

Stacked on #9035.

@kim-em
kim-em force-pushed the agent/interval-payload-session branch 3 times, most recently from e574b22 to d8ba179 Compare July 28, 2026 05:52
@kim-em
kim-em force-pushed the agent/interval-payload-session branch from acba9d6 to 59520ca Compare July 28, 2026 06:05
@kim-em
kim-em force-pushed the agent/interval-payload-arena branch from 04a985d to 9f08b17 Compare July 29, 2026 05:28
@kim-em
kim-em force-pushed the agent/interval-payload-session branch from 59520ca to 32ae124 Compare July 29, 2026 05:32
@kim-em
kim-em force-pushed the agent/interval-payload-arena branch from 9f08b17 to 7d37887 Compare July 29, 2026 06:18
@kim-em
kim-em force-pushed the agent/interval-payload-session branch from b6b7d0d to cf11011 Compare July 29, 2026 06:24
@kim-em
kim-em force-pushed the agent/interval-payload-arena branch from 7d37887 to cd03a36 Compare July 29, 2026 06:43
@kim-em
kim-em force-pushed the agent/interval-payload-session branch from fa232f2 to e8a787a Compare July 29, 2026 06:47
@kim-em
kim-em force-pushed the agent/interval-payload-arena branch from cd03a36 to e58c7df Compare July 29, 2026 07:08
Kim Morrison added 10 commits July 29, 2026 07:09
Address policy and payload-session review findings, including exact closure relevance, reply-local recovery limits, stable resource classification, and conformance canaries.\n\nProgress: progress/20260729T055315Z.md
Keep malformed reply-local evidence recoverable after earlier arena commits, and bound exact coverage by the per-reply use cap.\n\nProgress: progress/20260729T060908Z.md
Record the refreshed stack and validation in progress/20260729T062352Z.md.
Record the review fixes and validation in progress/20260729T064252Z.md.
Record the final lower-stack migration in progress/20260729T064721Z.md.
Record the final framework migration in progress/20260729T071129Z.md.
@kim-em
kim-em force-pushed the agent/interval-payload-session branch from e8a787a to 019ce52 Compare July 29, 2026 07:12
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