fix(inbox): resubmissions return to their bucket, new CVEs end a snooze, secrets stay for today (#950) #970

Merged
sharang merged 2 commits from feat/950-inbox-rules into main 2026-11-10 20:17:18 +00:00
Owner

Follow-up to #965 for #950: the three inbox decisions.

  • A due resubmission returns to its own bucket. A card snoozed from "Heute" comes back in "Heute" once its date is reached.
  • A new CVE ends a snooze early. A snooze now records the card's items and whether it was KEV. If a new item joins the card, or the card becomes KEV, the snooze ends and the card shows in its natural bucket with the reason "Neu seit Wiedervorlage am {date}". Snoozes saved before this change (no items recorded) hold until their date.
  • A secret in code always lands in "Heute", even when the AI dismissed it. The card keeps the AI actions (Fehlalarm bestätigen / Doch echt).

The snooze endpoint now resolves the card first and answers 409 if it no longer exists.

Tests: core inbox (20, 2 new), the agent --test inbox integration test against MongoDB 7, dashboard tests.

🤖 Generated with Claude Code

Follow-up to #965 for #950: the three inbox decisions. - **A due resubmission returns to its own bucket.** A card snoozed from "Heute" comes back in "Heute" once its date is reached. - **A new CVE ends a snooze early.** A snooze now records the card's items and whether it was KEV. If a new item joins the card, or the card becomes KEV, the snooze ends and the card shows in its natural bucket with the reason "Neu seit Wiedervorlage am {date}". Snoozes saved before this change (no items recorded) hold until their date. - **A secret in code always lands in "Heute"**, even when the AI dismissed it. The card keeps the AI actions (Fehlalarm bestätigen / Doch echt). The snooze endpoint now resolves the card first and answers 409 if it no longer exists. Tests: core inbox (20, 2 new), the agent `--test inbox` integration test against MongoDB 7, dashboard tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sharang added 1 commit 2026-11-10 17:47:32 +00:00
fix(inbox): resubmissions return to their bucket, new CVEs end a snooze, secrets stay for today (#950)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 3m58s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Failing after 7m43s
8c5d44ca30
Three rules the user decided after reviewing #965:

- A resubmission that is due comes back in the bucket it was put off from,
  not under "Später", so nothing urgent waits among the medium findings.
- A snooze records the card's items and whether it was KEV. When a new CVE
  joins the package, or it becomes KEV, the card is back at once in its own
  bucket with a "Neu seit Wiedervorlage" chip. Snoozes stored before this
  have no items and hold until their date, as before.
- A secret in the product's code is for today even when the AI dismissed
  it: a real secret missed costs more than a click. The card keeps the AI's
  actions (confirm the false alarm, or not a false alarm).

Snoozing a card that has nothing undecided left is now 409, because the
snooze reads the card to record it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang added 1 commit 2026-11-10 19:28:17 +00:00
test(inbox): compare the snoozed items as a slice (#950)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m32s
CI / Check (pull_request) Successful in 20m9s
26a98837f8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang merged commit 5017c6286e into main 2026-11-10 20:17:18 +00:00
Sign in to join this conversation.