Anto01
b94f9dff56
feat(api): PATCH /entities/{id} + /v1/engineering/* aliases
PATCH lets users edit an active entity's description, properties,
confidence, and source_refs without cloning — closes the duplicate-trap
half-fixed by /invalidate + /supersede. Issue D just adds the
/engineering/* query surface to the /v1 allowlist.
- engineering/service.py: update_entity supports description replace,
properties shallow merge with null-delete semantics, confidence
0..1 bounds check, source_refs dedup-append. Writes audit row
- api/routes.py: PATCH /entities/{id} with EntityPatchRequest
- main.py: engineering/* query endpoints aliased under /v1 (Issue D)
- tests/test_patch_entity.py: 12 tests (merge, null-delete, bounds,
dedup, 404, audit, v1 alias)
- DEV-LEDGER.md: session log + test_count 509 -> 521
Forbidden fields via PATCH (by design): entity_type, project, name,
status. Use supersede+create or the dedicated status endpoints.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 09:02:13 -04:00
..
2026-04-05 09:21:27 -04:00
2026-04-05 09:21:27 -04:00
2026-04-07 08:29:33 -04:00
2026-04-16 21:54:10 -04:00
2026-04-08 20:25:32 -04:00
2026-04-21 21:46:52 -04:00
2026-04-08 16:09:42 -04:00
2026-04-11 09:46:46 -04:00
2026-04-11 10:58:56 -04:00
2026-04-05 09:21:27 -04:00
2026-04-18 16:50:20 -04:00
2026-04-06 18:42:19 -04:00
2026-04-11 12:47:05 -04:00
2026-04-08 19:02:57 -04:00
2026-04-17 07:18:46 -04:00
2026-04-17 07:53:03 -04:00
2026-04-17 07:01:28 -04:00
2026-04-15 10:47:01 -04:00
2026-04-13 17:16:04 -04:00
2026-04-06 21:24:17 -04:00
2026-04-21 20:17:32 -04:00
2026-04-05 17:53:23 -04:00
2026-04-19 12:01:41 -04:00
2026-04-07 08:29:33 -04:00
2026-04-21 21:56:24 -04:00
2026-04-05 18:33:52 -04:00
2026-04-21 16:18:00 -04:00
2026-04-16 21:54:10 -04:00
2026-04-08 15:52:44 -04:00
2026-04-22 09:02:13 -04:00
2026-04-18 08:08:55 -04:00
2026-04-06 18:42:19 -04:00
2026-04-07 20:14:19 -04:00
2026-04-11 11:20:03 -04:00
2026-04-06 18:37:07 -04:00
2026-04-05 18:33:52 -04:00
2026-04-19 09:41:02 -04:00
2026-04-17 09:09:58 -04:00
2026-04-21 20:04:46 -04:00
2026-04-19 12:01:41 -04:00