Skip to content

[Ops / Security] Double-Lock Risk Flags on Cases & Tutors (V1 Manual) #441

Closed

Description

@owlstonbusiness-svg

[Ops / Security] Double-Lock Risk Flags on Cases & Tutors (V1 Manual)

Summary

Add manual risk flags so CS can mark and skim suspicious cases or tutors before heads-ups or phone unlock. V1 is visibility + audit only — no auto-block from WhatsApp metadata, no hard hide from Top 8.

Pairs with: triage #438, contact-after-fee #255, fee_marked_paid / matching #428. Desk protocol: MM-OPS-CS-005 V5.3 (CEO: no CS-006).

CEO locks (V1)

Topic Lock
Detection Manual only — never auto-set from WABA / display-name APIs
Effect Badges + notes; flags do not auto-delete or auto-archive
Shortlist BLOCKED tutors still appear with 🛑 (so agents don’t re-ping); no hard Top 8 purge yet
Authority Any CS → REVIEW; Operator confirms / sets BLOCKED
vs triage Independent of priority_tier (P2+REVIEW is valid)

1. Database

cases

  • risk_flag enum: NONE | REVIEW | BLOCKED (default NONE)
  • risk_note text nullable
  • Optional: risk_flagged_at, risk_flagged_by (agent id) if cheap — nice for audit

tutors

  • risk_flag enum: same (default NONE)
  • risk_note text nullable
  • Same optional audit columns

2. Admin UI

  • Case lists (Active Desk + Hold): badge when REVIEW (⚠️) or BLOCKED (🛑); tooltip / line shows risk_note.
  • Tutor shortlist + tutor admin profile: same badges.
  • Case + tutor admin: dropdown risk_flag + short risk_note field.
  • Optional V1 filter chip: “Hide BLOCKED” on case list / shortlist (off by default).

3. Explicit non-goals (V1)

Acceptance criteria

  • Agents can set risk_flag + risk_note on any case and any tutor (BLOCKED Operator-gated if auth is ready; else document Operator-only SOP).
  • REVIEW / BLOCKED badges show immediately on case lists and tutor shortlists.
  • New cases/tutors default to NONE.
  • No automated blocking or auto-tagging.
  • Flag state is independent of priority_tier.

Desk protocol (CS-005)

Double-Lock Security Protocol is folded into MM-OPS-CS-005 V5.3 (not a separate CS-006).

Cross-links

Activity

  1. owlstonbusiness-svg commented on Oct 24, 2026

    @owlstonbusiness-svg
    CollaboratorAuthor

    Broker Overflow #442 routes permanent broker/agency discipline through this issue’s risk_flag = BLOCKED (Operator-gated) — ghost/collapse → REVIEW; 2nd failure / poaching → BLOCKED.

  2. owlstonbusiness-svg commented on Oct 24, 2026

    @owlstonbusiness-svg
    CollaboratorAuthor

    Cross-link: #442 Overflow discipline (ghost / 2nd failure / poach) → Operator risk_flag = BLOCKED here.

  3. owlstonbusiness-svg commented on Oct 24, 2026

    @owlstonbusiness-svg
    CollaboratorAuthor

    Cross-link: V1 tutor progression #445 — two early L1 drop-offs on New tutors → set tutor risk_flag=REVIEW (manual).

  4. owlstonbusiness-svg commented on Oct 24, 2026

    @owlstonbusiness-svg
    CollaboratorAuthor

    Admin backboard will surface L1 drop-off count for REVIEW path — #448.

  5. owlstonbusiness-svg commented on Oct 25, 2026

    @owlstonbusiness-svg
    CollaboratorAuthor

    V1 must-have — marked urgent (2026-10-25 re-audit)

    Manual Double-Lock is titled V1 Manual and pairs with triage (#438) + phones-after-fee (#255). Visibility/audit flags before unlock are required for safe V1 desk ops (still no auto-block from WABA).

  6. added a commit that references this issue on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesturgentGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions