You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relay tasks currently receive preceding answers as generic historical data. The next employee does not receive a structured, inspectable record of its place in the relay, its explicitly assigned work, source turns, and the material actually included. The same predecessor can also be included through both group history and the supplemental handoff path.
Scope and readiness
The requester reviewed the local “RoleWeave 任务交接说明与协作者上下文方案” and explicitly requested implementation, an Issue, a PR, and review by Hu. This issue tracks phase one: relay handoff notes. It is a subset of task-level collaborator context; delegation, review workflows, live parallel coordination, and cross-task memory remain follow-up work.
Acceptance criteria
Allow optional, explicit per-step instructions for a relay; do not infer responsibilities or acceptance from job titles.
Before each relay step, assemble a bounded snapshot containing the original task excerpt, current recipient/step and instructions, next recipient when present, and completed predecessor excerpts with source identities/timestamps.
Persist the same handoff snapshot that entered model input and show it in a collapsible client view, including missing instructions, truncation/redaction and omitted-source notices.
Deduplicate predecessor turns against ordinary group history; preserve the existing context/input budgets and prioritize the immediate predecessor.
Preserve failed/interrupted predecessor blocking and group/workspace isolation. Completed output must not be presented as accepted/approved work.
Keep personal tasks, parallel groups and historical records without the new optional data compatible.
Components and dependencies
Shared group/turn contracts, group request/store validation, thread-context assembly, group renderer and localization. Reuse existing relay sequencing, trusted completion records and turn storage. No extra model summarization call, new external service or permission transfer.
Validation
Deterministic context tests (source deduplication, budgets, sanitization and exact persisted-input matching); group API/storage tests (instructions, invalid input, relay sequence, failure and isolation); renderer tests (composer instructions and persisted handoff display); TypeScript builds and repository checks; browser QA for expanded/collapsed handoff notes. Record unavailable platform checks and CI status in the PR.
Risks and rollback
Optional durable fields require current readers; retain workspace backups when reverting to older strict readers. Summaries remain bounded excerpts with explicit source references. Revert the implementation without editing historical records to fabricate compatibility.
Maintenance cross-check from #607: retain this as the relay handoff slice, not a duplicate negotiation runtime (#452) or durable enterprise memory (#327/#328).
#608 owns the generic personal-task rejection/repair path and deliberately skips group repair injection. Reuse the existing thread-context sanitizer/budgets, turn evidence and group sequencing here; do not introduce a second task/approval store. Keep explicit step instructions separate from untrusted predecessor excerpts. The persisted handoff must match what entered model input, and predecessor output is execution evidence, not human acceptance. Preserve the bounded failure outcome when mandatory context exceeds budget rather than silently dropping human/failure instructions.
No closure or product acceptance is implied by this routing note. Factory receivables/customer-follow-up code remains in workbench-examples; enterprise facts/ontology/evidence belong to Enterprise Context.
Activity
PeterGuy326 commentedon Oct 20, 2026
Maintenance cross-check from #607: retain this as the relay handoff slice, not a duplicate negotiation runtime (#452) or durable enterprise memory (#327/#328).
#608 owns the generic personal-task rejection/repair path and deliberately skips group repair injection. Reuse the existing thread-context sanitizer/budgets, turn evidence and group sequencing here; do not introduce a second task/approval store. Keep explicit step instructions separate from untrusted predecessor excerpts. The persisted handoff must match what entered model input, and predecessor output is execution evidence, not human acceptance. Preserve the bounded failure outcome when mandatory context exceeds budget rather than silently dropping human/failure instructions.
No closure or product acceptance is implied by this routing note. Factory receivables/customer-follow-up code remains in workbench-examples; enterprise facts/ontology/evidence belong to Enterprise Context.
feat(groups): persist traceable relay handoff notes (#617) (#618)