notice_publish
Announce changes other files must react to—renames, moves, removals, signature or behavior shifts—with affected paths. Affected agents get the notice at once; others see it in their next claim.
Instructions
Announce a change other files must react to: a rename, signature change, removal, move or behavior change, with from, to and the affected_paths. Use after changing something used outside the paths you claimed; not for interface shapes, which contract_publish versions and announces itself. Every other agent holding an affected path gets it in its inbox at once, and the rest see it in the brief of their next claim there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The new name, location, or shape. | |
| from | No | The old name, location, or shape. | |
| kind | Yes | One of `rename`, `signature`, `removed`, `moved`, `behavior`. | |
| agent | Yes | Your stable agent name. | |
| summary | Yes | One-line summary, for example `renamed session_id to token`. | |
| contract_id | No | Related contract id, if any. | |
| affected_paths | Yes | Paths whose code must react. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | No | id, kind, summary, from, to, affected_paths, contract_id, published_by, published_at. | |
| status | Yes | ok. not_found: an unknown contract_id. invalid: bad kind or input. | |
| message | No | Human-readable detail, on most outcomes other than ok. |