Skip to content

feat(child-agents): conflict notification between sibling child agents sharing files #380

Closed

Description

@ajianaz

Goal

Sibling child agents currently work blind to each other. Adopted from jcode's "code shifting under its feet" notification (tier B): when agent A mutates a file that agent B has read, B gets notified. Cheap fix that captures most of the value without a full swarm engine.

Acceptance criteria

  • Read-set / write-set tracking per child agent (the set of paths each child reads and writes).
  • When a path in one child's read-set is mutated by a sibling, the affected child is notified at its next safe point.
  • The child may ignore the notification or re-read the file — both are valid outcomes; the notification itself is the contract.
  • Scope: depth-1 children only. Explicit anti-goal: full swarm/membership engine.
  • Docs + CHANGELOG entry.

Testing

  • Unit: read/write-set matching logic.
  • Integration: two children sharing a file → sibling mutation triggers exactly one notification at the next safe point.
  • Live E2E: run two real child agents over the same files, verify the notification path end-to-end.

Reference

jcode (MIT, https://github.com/1jehuang/jcode) — design adopted; implementation is our own.

Activity

  1. added
    enhancement
    reliability
    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

    enhancementreliability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions