Skip to content

feat(child-agents): typed handoff + mandatory verify gate for child agents #383

Closed

Description

@ajianaz

Goal

Adopt jcode's DAG-first insights for tole's child agents (tier C — design only): typed handoff artifacts between children, and a mandatory verify gate before a child closes. Explicitly WITHOUT a DAG engine — that is over-scope for a chat-first harness.

Acceptance criteria

  • Typed-handoff schema: artifact reference format ("built in <path>, commit <rev>") — downstream children read the artifact by reference, not through the parent.
  • Node-role vocabulary for child agents: explore / implement / verify / fix, each producing/consuming the handoff schema.
  • Verify gate: an implement/fix child MUST run verification before closing; a failed verify spawns a fix child instead of closing silently.
  • Explicit anti-goal in docs: full DAG scheduler / dependency engine stays out of scope for chat-first tole.
  • Docs + CHANGELOG entry.

Testing

  • Unit: handoff schema serialization + validation (bad refs rejected).
  • Integration: multi-child mission where child B consumes child A's artifact by reference; verify gate demonstrably blocks an unverified close and spawns a fix child.
  • Live E2E: real child agents, artifact handoff end-to-end.

Reference

jcode (MIT, https://github.com/1jehuang/jcode) — "the dependency edge IS the data channel" + critique/verify gates. Design adopted; no engine code copied.

Activity

  1. added
    enhancement
    harness
    on Oct 16, 2026
  2. ajianaz commented on Nov 3, 2026

    @ajianaz
    ContributorAuthor

    Verified SHIPPED against develop @ 3ec70f4: the feature exists in code (CHANGELOG entries + module/endpoint present — soft-interrupt queue in cancel.rs + POST /sessions/{id}/interrupt + MCP tool for #377, doctor-ledger.json for #378, per-turn usage_report for #379, sibling_watch for #380, tole_core::handoff + verify gate for #383). The acceptance checkboxes were never ticked even though the work shipped (known board-sync defect class). Closing with this evidence comment. Remaining gaps, if any, are tracked by follow-up issues instead.

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

    enhancementharness

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions