{"version":"2.1.323","anchor":"plan-approval-handles-plan-digest-mismatch","canonical_anchor":"plan-approval-handles-plan-digest-mismatch","heading":"Teammate plan approvals are now tied to the exact plan sent","tier":"notice","area":"Agent Teams","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/plan-approval-handles-plan-digest-mismatch","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Teammate plan approvals are now tied to the exact plan sent\n\nA lead's plan approval must now match a digest of the plan the teammate sent, and lead messages are checked against a verify key\n\n**What**\n\nIn a team of Claude Code agents, a lead agent directs teammate agents, also called workers, and a worker can ask the lead to approve its plan before acting. That approval is now tied to the exact plan the worker sent, and messages from the lead are checked more strictly.\n\n- `planDigest`: a worker's plan-approval request now stores a digest, a short fingerprint of the plan it mailed to the lead.\n\n- `plan_digest_mismatch`: a lead's verdict that does not carry the digest of that plan gets this result. It is handled the same way as the existing \"mismatch\" result, so the worker's wait ends as a rejection.\n\n- No waiting request: when a lead verify key is present, a verdict that arrives while no plan request is waiting is refused with \"No plan request is waiting for this verdict\".\n\n- `leadVerifyKey`: the teammate mailbox now accepts a message from the lead as verified when it checks out against this key. Message IDs (`msg_ids`) can be used only once, and forged messages are flagged.\n\nBefore, only the request ID was compared, with the results mismatch, already_answered and unbound, and a mailbox message counted as verified only through a check against the record of what had been written.\n\n**Why**\n\nA worker now goes ahead only on an approval for the plan it actually sent. A verdict meant for a different plan, an out-of-date one, or a message that only pretends to come from the lead now ends as a rejection instead of being accepted.\n\n- Area: Agent Teams\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}