Commit Graph
22 Commits
Author SHA1 Message Date
Sycun 6a67364947 feat: add vulnerability retest branches with an isolated evidence log
Retesting a finding creates an independent conversation branch that
snapshots the source history and model trace, so verification can run
multi-turn without writing to the original session.

- POST /api/vulnerabilities/:id/retest creates the branch and persists the
  prompt, so a lost response, navigation or refresh can resume it
- new update_vulnerability_status tool closes the loop; a retest branch may
  only read and update its own finding
- {{vulnerability_id}}, {{conversation_id}} and {{source_conversation_id}}
  resolve on send, in the first turn and in follow-ups
- evidence appends to a read-only vulnerabilities.retest_log column instead
  of retest_notes: that field is operator-authored and the edit form
  rewrites it wholesale, so a routine edit used to erase the retest trail
- the retest prompt is prefilled with the operator's retest_notes, which
  already states how to verify the fix
- copied messages are re-bound as time.Time. Scanning a DATETIME column into
  a string yields RFC3339Nano while AddMessage writes the driver's
  space-separated format, and messages sort on the raw created_at text, so a
  branch rendered its new turn above the inherited history
2026-10-10 07:21:20 +08:00
公明 5720de0d27 Add files via upload 2026-08-18 20:36:34 +08:00
公明 55ee5fbac9 Delete internal directory 2026-08-18 20:14:29 +08:00
公明 7f8093f8b9 Add files via upload 2026-08-15 01:57:26 +08:00
公明 2910289f0b Delete internal directory 2026-08-15 01:54:26 +08:00
公明 bfe1d28650 Add files via upload 2026-07-21 20:52:43 +08:00
公明 fde6a714b8 Add files via upload 2026-07-16 19:38:32 +08:00
公明 d5a0f93c6c Add files via upload 2026-06-18 12:40:54 +08:00
公明 cf1f8515d9 Delete internal directory 2026-06-18 12:37:39 +08:00
公明 0492365430 Add files via upload 2026-06-03 17:11:44 +08:00
公明 70e9a73fc0 Add files via upload 2026-05-26 18:50:25 +08:00
公明 1b1aed1699 Add files via upload 2026-05-26 14:27:44 +08:00
公明 8185539f33 Add files via upload 2026-05-04 03:45:24 +08:00
公明 2de0bd4d31 Add files via upload 2026-04-19 01:25:30 +08:00
公明 5ef7618f44 Delete internal directory 2026-04-19 01:14:50 +08:00
公明 0fe39fb98a Add files via upload 2026-04-17 18:03:55 +08:00
公明 15c7692988 Add files via upload 2026-04-17 11:26:32 +08:00
公明 f4028ae66f Add files via upload 2026-04-13 23:17:01 +08:00
公明 1c394acd4a Add files via upload 2026-03-25 20:49:40 +08:00
公明 5e8fef0ad4 Add files via upload 2026-03-14 00:49:25 +08:00
公明 68ad2bf67a Add files via upload 2026-01-15 22:00:10 +08:00
公明 3aee7022c4 Add files via upload 2026-01-11 02:03:33 +08:00