Skip to content

Use the task text output as the ReActV2 completion contract #270

Closed

Description

@deepfates

Implement the completion-contract slice authorized in GroveResearch/dwell#184, specifically https://github.com/GroveResearch/dwell/issues/184#issuecomment-5942331037 . Dwell's observed residents were instructed to produce task output answer but put their final in loop field next_thought; nonempty no-reply summaries were then correctly published. This issue owns the generic Imp contract, not publication policy.

For the existing single unconstrained text output specialization, derive the step's text field from the task output. Keep typed/multiple/constrained output submit behavior. Preserve arbitrary task names, saved-program restoration and historical step text, native/text tool paths, adapters, terminal tool outputs and last-request semantics. No semantic prose filters, private output channels, new social controls or scheduler changes.

Acceptance:

  • Captured requests expose the actual task text output with its description rather than a second advertised next_thought field; arbitrary output names and internal-name collisions are covered.
  • Blank replies terminate without another request; nonempty prose stays nonempty, including prose declaring silence.
  • New/saved programs and existing historical steps render consistently without lost or repeated words/tool effects; adapter/native/textual and typed submit paths remain tested.
  • Terminal replies/last actions retain validation, no double execution, deadline handling and unexecuted-call accounting.
  • Named offline regressions fail against the old implementation and pass with the change; relevant existing suites pass.

No model calls, production changes, merge or release. Deliver a draft PR for independent review; behavioral benefit still requires separately authorized live model rehearsal.

Activity

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