Skip to content

revert(orchestration): remove HandoffContext and validation layer (#2076, #2078)#2082

Merged
bug-ops merged 1 commit intomainfrom
feat/m27/2023-handoff-schemas
Mar 21, 2026
Merged

revert(orchestration): remove HandoffContext and validation layer (#2076, #2078)#2082
bug-ops merged 1 commit intomainfrom
feat/m27/2023-handoff-schemas

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Mar 21, 2026

Summary

Reason

The rust-agent-handoff skill (.zeph/skills/rust-agent-handoff/) is injected into every agent's system prompt and already solves the coordination problem. Agents follow the structured YAML handoff protocol via skill instructions — compile-time struct enforcement and runtime validation add complexity without meaningful benefit.

Closes #2023

Test plan

, #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
@github-actions github-actions bot added rust Rust code changes core zeph-core crate dependencies Dependency updates revert Reverts a previous change size/XL Extra large PR (500+ lines) labels Mar 21, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 21, 2026 12:44
@bug-ops bug-ops merged commit 50614b6 into main Mar 21, 2026
25 checks passed
@bug-ops bug-ops deleted the feat/m27/2023-handoff-schemas branch March 21, 2026 12:47
bug-ops added a commit that referenced this pull request Mar 21, 2026
Cover 14 new features across specs, mdbook, READMEs, and references:
- Memory: SYNAPSE spreading activation, MAGMA typed edges, semantic
  response caching, anchored summarization, compaction probe, importance
  scoring
- Tools: TAFC, schema filtering, result cache, dependency graph
- Context: HiAgent subgoal-aware compaction
- Orchestration: plan template caching
- Self-learning: multi-language FeedbackDetector
- Channels: feature parity across all 7 channels

Rewrite why-zeph.md to reflect full value proposition.
Add 7 new research references (SYNAPSE, MemOS, HiAgent, TAFC, APC,
Less is More, Speculative Tool Calls, MAST).
Rewrite handoff-skill-system spec to reflect current state after
HandoffContext revert (#2082).
Remove all stale HandoffContext references from documentation.
bug-ops added a commit that referenced this pull request Mar 21, 2026
Cover 14 new features across specs, mdbook, READMEs, and references:
- Memory: SYNAPSE spreading activation, MAGMA typed edges, semantic
  response caching, anchored summarization, compaction probe, importance
  scoring
- Tools: TAFC, schema filtering, result cache, dependency graph
- Context: HiAgent subgoal-aware compaction
- Orchestration: plan template caching
- Self-learning: multi-language FeedbackDetector
- Channels: feature parity across all 7 channels

Rewrite why-zeph.md to reflect full value proposition.
Add 7 new research references (SYNAPSE, MemOS, HiAgent, TAFC, APC,
Less is More, Speculative Tool Calls, MAST).
Rewrite handoff-skill-system spec to reflect current state after
HandoffContext revert (#2082).
Remove all stale HandoffContext references from documentation.
bug-ops added a commit that referenced this pull request Mar 21, 2026
….0 (#2085)

Cover 14 new features across specs, mdbook, READMEs, and references:
- Memory: SYNAPSE spreading activation, MAGMA typed edges, semantic
  response caching, anchored summarization, compaction probe, importance
  scoring
- Tools: TAFC, schema filtering, result cache, dependency graph
- Context: HiAgent subgoal-aware compaction
- Orchestration: plan template caching
- Self-learning: multi-language FeedbackDetector
- Channels: feature parity across all 7 channels

Rewrite why-zeph.md to reflect full value proposition.
Add 7 new research references (SYNAPSE, MemOS, HiAgent, TAFC, APC,
Less is More, Speculative Tool Calls, MAST).
Rewrite handoff-skill-system spec to reflect current state after
HandoffContext revert (#2082).
Remove all stale HandoffContext references from documentation.
bug-ops added a commit that referenced this pull request Mar 21, 2026
* docs: comprehensive documentation update for all features since v0.16.0

Cover 14 new features across specs, mdbook, READMEs, and references:
- Memory: SYNAPSE spreading activation, MAGMA typed edges, semantic
  response caching, anchored summarization, compaction probe, importance
  scoring
- Tools: TAFC, schema filtering, result cache, dependency graph
- Context: HiAgent subgoal-aware compaction
- Orchestration: plan template caching
- Self-learning: multi-language FeedbackDetector
- Channels: feature parity across all 7 channels

Rewrite why-zeph.md to reflect full value proposition.
Add 7 new research references (SYNAPSE, MemOS, HiAgent, TAFC, APC,
Less is More, Speculative Tool Calls, MAST).
Rewrite handoff-skill-system spec to reflect current state after
HandoffContext revert (#2082).
Remove all stale HandoffContext references from documentation.

* release: prepare v0.16.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core zeph-core crate dependencies Dependency updates revert Reverts a previous change rust Rust code changes size/XL Extra large PR (500+ lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

research(orchestration): MAST-informed handoff hardening to reduce multi-agent coordination failures

1 participant