Skip to content

Complete a history-backed model → tool → model cycle #2892

Open

Description

@jbeda

Parent: #2664.

Outcome

A deterministic multi-step scenario executes model responses requesting tools, accepted tool invocation/results, and subsequent model requests using those results through the same isolated kernel composition.

Scope and contracts

Consume the first model execution boundary and the existing passive tool lifecycle. Review the minimum tool-execution and loop contracts before adding consumers, including call identity/correlation, final admission, input/output ownership, settlement, and what constitutes released output. Keep session facts, coordination, and external execution responsibilities distinct.

Acceptance

  • An offline scripted scenario completes multiple model/tool steps through the real kernel, not a separate demonstration loop.
  • Required model-response/requested-call facts are accepted before dependent tool dispatch; required tool outcomes are accepted before dependent model execution. Rejected/uncertain acceptance blocks each boundary without repeating an effect.
  • Harmless deterministic tools prove original requested arguments, effective invocation arguments, and released-output capture, using nontrivial differing values rather than equality-only fixtures. Private diagnostics and unreleased output cannot become model-visible capture through this seam.
  • Completed model interactions, tool dispositions, and run closeout obey the existing passive lifecycle; intermediate failures do not invent successful or settled outcomes.
  • Contract review, current code documentation, and real-composition tests qualify the introduced boundaries and any amended existing contracts.

Dependencies and exclusions

Depends on #2891. Begin with sequential tool execution; independent reads and mutation scheduling are qualified in #2893. No new generic tool framework, full host hooks/governance integration, or production provider fidelity. Coordinate concrete capture gaps with #2667 and the #2663 gap register; actionable model-safe denial/preparation detail is conditional on a demonstrated self-correction need.

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