Commit Graph
15 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
公明 5aa2c382b0 Add files via upload 2026-08-18 20:34:53 +08:00
公明 55ee5fbac9 Delete internal directory 2026-08-18 20:14:29 +08:00
公明 b07a645d34 Add files via upload 2026-08-15 02:09:57 +08:00
公明 2910289f0b Delete internal directory 2026-08-15 01:54:26 +08:00
公明 a1a62657af Add files via upload 2026-07-14 14:58:20 +08:00
公明 386ec7b835 Add files via upload 2026-07-13 19:06:02 +08:00
公明 d1d67b07d3 Add files via upload 2026-07-11 11:38:14 +08:00
公明 a145687508 Add files via upload 2026-07-10 18:50:57 +08:00
公明 bcdff06702 Add files via upload 2026-07-03 10:49:53 +08:00
公明 01b361e4a7 Add files via upload 2026-06-18 12:42:56 +08:00
公明 cf1f8515d9 Delete internal directory 2026-06-18 12:37:39 +08:00
公明 f3be355820 Add files via upload 2026-06-12 19:39:01 +08:00
公明 6bb3a73f73 Add files via upload 2026-05-27 11:44:15 +08:00
公明 f42209682a Add files via upload 2026-05-26 14:31:59 +08:00