
PiersandClaude Opus 4.7
1051f6a1bb
DD-338 Phase C Wave 2 — syncthing audit_surface promotion
Promotes 4 folder-scoped multi-record tools from `audit_surface: minimal` to
`audit_surface: structured` by wrapping their client calls in `time.perf_counter()`
and emitting a `_meta` envelope via the existing `append_meta()` helper:
- `syncthing_folder_errors` — `folder=` + optional `scope=` (membership
precondition mirrors `syncthing_folder_status`; refusal carries
`redactions=["folder_outside_scope"]`).
- `syncthing_browse_folder` — `folder=` + optional `prefix=`, `levels=`.
- `syncthing_folder_need` — `folder=`, `page=`, `perpage=` (page+perpage
advance documented in tool description; `next_cursor` omitted per Wave 2 OQ-4).
- `syncthing_remote_need` — `device=`, `folder=`, `page=`, `perpage=`.
Test additions (+14): per-tool `_meta` shape + filtered_by content + scope
membership match/mismatch on `syncthing_folder_errors`; new
`TestRemoteNeed` covers `syncthing_remote_need`; N=3 byte-equal
determinism class per promoted tool in `test_determinism.py` (latency_ms
stripped before compare). Existing 4 tests updated from `json.loads(raw)`
to `split_meta` + payload parse.
165/165 tests green (151 before + 14 new).
Version: 0.6.1 → 0.7.0 (pyproject); 0.3.1 → 0.4.0 (__init__.py).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 16:37:48 +10:00
..
2026-02-15 10:13:37 +11:00
2026-05-21 21:58:19 +10:00
2026-05-23 15:27:19 +10:00
2026-02-15 10:13:37 +11:00
2026-05-23 16:37:48 +10:00
2026-05-23 12:46:47 +10:00
2026-05-21 21:58:19 +10:00
2026-02-15 10:13:37 +11:00
2026-02-17 03:44:48 +00:00
2026-05-21 21:58:19 +10:00
2026-05-23 16:37:48 +10:00
2026-05-23 15:27:19 +10:00