Conversation
Implements typed inter-agent handoff context per MAST taxonomy (#2023). Adds HandoffContext, RoleContext (6 variants), HandoffOutput, DependencyOutput, HandoffMetrics, and no-op validation stubs in zeph-orchestration::handoff. HandoffConfig added to [orchestration.handoff] TOML section. TaskNode and TaskResult gain optional handoff fields for Phase 2 wiring. No behavior change; all validation methods are no-ops in Phase 1. 16 new unit tests: serialization round-trips, variant coverage, backward compat.
bug-ops
added a commit
that referenced
this pull request
Mar 21, 2026
, #2078) The typed HandoffContext enum, RoleContext variants, and validation layer introduced in #2076 and #2078 are superseded by the rust-agent-handoff skill. Agents follow the handoff protocol via skill instructions injected into their system prompt — no compile-time struct enforcement is needed. Reverts: - handoff.rs (deleted) - typed HandoffConfig in zeph-config - handoff fields in TaskResult/TaskNode - handoff validation metrics in OrchestrationMetrics - scheduler.rs validation/verification wiring Closes #2023
2 tasks
bug-ops
added a commit
that referenced
this pull request
Mar 21, 2026
, #2078) (#2082) The typed HandoffContext enum, RoleContext variants, and validation layer introduced in #2076 and #2078 are superseded by the rust-agent-handoff skill. Agents follow the handoff protocol via skill instructions injected into their system prompt — no compile-time struct enforcement is needed. Reverts: - handoff.rs (deleted) - typed HandoffConfig in zeph-config - handoff fields in TaskResult/TaskNode - handoff validation metrics in OrchestrationMetrics - scheduler.rs validation/verification wiring Closes #2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements Phase 1 of MAST-informed handoff hardening to reduce multi-agent coordination failures (issue #2023).
Based on MAST research (arxiv 2503.13657): coordination failures account for 36.9% of multi-agent system failures.
Phase 1: Types & Schema
New module:
crates/zeph-orchestration/src/handoff.rsUpdated TaskNode/TaskResult with optional handoff fields (backward compat)
Added HandoffConfig to experiment.rs
All 6280 tests passing, zero clippy warnings
Spec & Review
✅ Spec:
.local/specs/2023-handoff-hardening/spec.md(architect + critic approved)✅ Code review: GO (3 low-priority Phase 2 prep items, no blockers)
✅ Tests: 6280 passed, serialization and backward-compat verified