evan188199-tech
f0348731de
test(co-writer): lock router contract for CRUD, 4xx payloads, export failures (#1768)
Coverage gap: deeptutor/api/routers/co_writer.py had 246 missing lines
(40.0%). Add tests/api/routers/test_co_writer_contract.py (40 cases):
document CRUD request/response shapes, illegal-payload 4xx handling,
export/import failure branches, edit/automark agent passthrough, and
history/tool-calls endpoints. All storage and agent work is stubbed to
tmp_path; no product code changed.
Evidence: evidence/co-writer-tests-20261003/ (40 passed on
origin/main ef2d9e5c3; no failing cases, contract currently holds).
Co-authored-by: XZH <cto@xzh.ai>
2026-10-07 20:14:11 +08:00
..
2026-10-07 20:14:11 +08:00
2026-04-20 19:46:41 +08:00
2026-09-03 15:20:13 +08:00
2026-06-11 20:03:34 +08:00
2026-07-14 19:59:23 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-23 11:12:04 +08:00
2026-09-29 02:17:28 -07:00
2026-09-02 04:09:11 +08:00
2026-09-03 15:20:13 +08:00
2026-09-01 22:24:29 +08:00
2026-09-28 19:02:48 -07:00
2026-09-01 22:24:29 +08:00
2026-09-02 02:00:14 +00:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-14 01:28:50 +08:00
2026-09-27 02:56:13 +08:00
2026-09-01 22:24:29 +08:00
2026-09-30 00:01:29 +08:00
2026-09-11 16:46:46 +08:00
2026-09-02 04:09:11 +08:00
2026-10-04 18:04:10 +08:00
2026-05-27 23:16:00 +08:00
2026-09-23 10:49:20 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-10-01 09:15:57 -07:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-21 14:50:02 +08:00
2026-09-25 19:35:32 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 22:24:29 +08:00
2026-09-23 13:34:08 +08:00
2026-09-22 21:36:27 +08:00
2026-09-21 14:50:02 +08:00
2026-09-21 14:50:02 +08:00
2026-10-07 20:12:37 +08:00
2026-09-29 06:17:54 -07:00
2026-06-21 14:43:41 +08:00
2026-09-23 10:47:53 +08:00
2026-08-26 02:25:23 +08:00
2026-09-14 01:28:46 +08:00
2026-10-01 09:15:57 -07:00
2026-09-14 01:43:35 +08:00
2026-09-27 04:55:15 +08:00
2026-08-28 03:09:00 -07:00
2026-09-03 01:38:54 +08:00
2026-09-23 10:47:52 +08:00
2026-10-04 15:13:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-28 08:17:00 -07:00
2026-09-27 11:38:29 +08:00
2026-08-02 13:07:32 +08:00
2026-08-16 19:21:33 +08:00
2026-09-27 11:17:47 +08:00
2026-09-01 22:24:29 +08:00
2026-10-04 16:21:59 +08:00
2026-09-21 02:30:40 +08:00
2026-08-07 21:09:20 +08:00
2026-09-01 22:24:29 +08:00
2026-10-04 21:35:00 +08:00
2026-10-04 21:35:00 +08:00
2026-09-28 14:58:51 -07:00
2026-09-03 15:20:13 +08:00
2026-09-23 12:17:12 +08:00