Skip to content

Qualify independent read completion and mutation barriers #2893

Open

Description

@jbeda

Parent: #2664.

Outcome

The isolated composition executes read-only tools concurrently, commits a ready result while a sibling is still running, and preserves read-parallel/mutate-serial ordering.

Scope and contracts

Consume the model/tool cycle; review scheduling ownership, tool classification, completion ownership, and ordering contracts before introducing or changing scheduling consumers. Preserve dispatch semantics, including tools that can mutate the parent despite a read-only facade.

Acceptance

  • Deterministic synchronization proves multiple eligible read-only tools overlap in execution.
  • A ready read-only result is accepted while a sibling remains running; the test observes accepted history before releasing the sibling.
  • Mutating work does not overlap incompatible admitted work, and later reads do not cross an effective mutation barrier.
  • Out-of-order completions retain correct call/result correlation and do not permit premature dependent model execution.
  • New or amended scheduling contracts receive coherent review and documentation, with real-composition ordering tests rather than timing/sleep assertions.

Dependencies and exclusions

Depends on #2892. No promise of arbitrary fairness, throughput optimization, distributed scheduling, or cross-run background work. Storage-wait/cancellation responsiveness receives deeper qualification in #2894; acceptance gates and single unresolved append ownership remain required here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions