update_edge
Update a graph edge by applying a partial patch, using 'correction' to overwrite incorrect data or 'supersede' to archive outdated values.
Instructions
엣지를 부분 갱신한다. patch/reason 규약은 update_node 와 같다.
[23-C] RN7 ZZ(1): patch is required, as [5-A] declares it. It had
drifted to | None = None, which made this the one updater that
accepted a missing patch — and the falsy-to-{} degradation that used
to hide behind it reported ok:True while changing nothing but
updated_at, publishing an edge.update for an edit that never
happened. Keyword-only because key carries a default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| patch | Yes | ||
| reason | No | 왜 바꾸는지 ([24]). 생략=일반 갱신. 'correction'=기존 값이 틀렸다 → 덮어쓰고 틀린 값은 안 남긴다(변경 사실만 기록). 'supersede'=기존 값이 유효했으나 낡았다 → 이전 값을 이력에 백업한 뒤 덮어쓴다. | |
| source | Yes | ||
| target | Yes | ||
| relation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||