Skip to content

Pi runtime adapter and TS facade boundary #244

@devkade

Description

@devkade

Summary

Implement the first Pi runtime adapter boundary for the #236 single-session TaskStream MVP.

Parent: #236

Scope

Create crates/runtime-pi package ilchul-runtime-pi.

Implement:

RuntimeAdapter for Pi
prompt projection from RunContract
runtime output normalization
turn/output observation
artifact inbox integration

Keep existing TS/Pi extension surfaces as facades/shims where needed.

Boundary

Pi adapter may produce RuntimeOutput, TurnObservation, artifact refs, and evidence candidates. It must not decide completion or directly mutate canonical state.

Acceptance criteria

  • Pi adapter implements core RuntimeAdapter port.
  • Prompt projection includes mission, boundary, evidence, verification, handoff.
  • Runtime output is normalized.
  • Runtime output cannot mark a run completed.
  • TS facade boundary is documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions