Skip to content

Configure final output contracts for handoff workflows - #18

Merged
DrDrewCain merged 1 commit into
mainfrom
feature/handoff-output-contracts
Sep 13, 2026
Merged

DrDrewCain merged 1 commit into
mainfrom
feature/handoff-output-contracts

Conversation

@DrDrewCain

Copy link
Copy Markdown
Contributor

Handoff workflow authors can now configure a final text or JSON/schema contract while agents exchange ordinary prose notes. The editor preserves authored schemas through save/reload, marks invalid schema drafts unsaved, and keeps each agent's selected model and allowed targets.

Requires the independent agents.handoffs.output_requirements capability; task contract support alone does not enable these controls. Older hosts retain the existing editor. Loaded contracts are preserved and cannot be saved through unsupported capabilities. Result text remains a string and the native host enforces the final contract.

Validation: 479 unit tests passed, followed by 27 focused capability/contract checks including the additional explicit capability case; strict TypeScript, build, and packaged assets passed. Four real packaged-console/native HTTP desktop/mobile journeys passed, covering task and two-hop handoff execution, exact schemas, rejected output, invalid draft/discard behavior, and encrypted journal restart without inference. Both handoff screenshots inspected. Independent review: eight focused tests/types and four additional source-editor browser scenarios passed, including legacy and unsupported hosts. Existing bundle-size advisory remains.

Depends on Web17 and native ProjectScone PR79. Actual Fable exact-head consultation and all CI remain required before merge.

@DrDrewCain
DrDrewCain changed the base branch from feature/task-output-contracts to main September 13, 2026 13:13
@DrDrewCain
DrDrewCain merged commit 368ac2b into main Sep 13, 2026
2 checks passed
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