update_finding
Apply a partial patch to an existing finding. For corrections, overwrite the incorrect value; for superseding, back up the previous value before replacing it.
Instructions
기존 finding 을 부분 갱신한다 (같은 발견의 갱신은 record 대신 이것).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | { set: {...}, remove: [...] } — set 은 서버관리 필드 (finding_id/created_at/updated_at/created_by/_superseded/ _provenance) 를 제외한 모든 Finding 필드 허용. Finding 은 properties 가 없어 remove 는 에러. | |
| reason | No | 왜 바꾸는지 ([24]). 생략=일반 갱신. 'correction'=기존 값이 틀렸다 → 덮어쓰고 틀린 값은 안 남긴다(변경 사실만 기록). 'supersede'=기존 값이 유효했으나 낡았다 → 이전 값을 이력에 백업한 뒤 덮어쓴다. | |
| finding_id | Yes | 대상 finding |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||