Skip to main content

fraud-escalation

Apply the value ceiling and serial-returner / flagged-account risk gates and route cases to a human supervisor. USE FOR deciding whether a return must be escalated to the returns supervisor. DO NOT USE FOR the base eligibility check (policy-eligibility).

소스 정보

저장소
aiappsgbb/threadlight-skills
최근 소스 활동
2026년 9월 8일 13:38
감지된 SKILL.md 언어
영어
스타
2
포크
5

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
fraud-escalation
description
Apply the value ceiling and serial-returner / flagged-account risk gates and route cases to a human supervisor. USE FOR deciding whether a return must be escalated to the returns supervisor. DO NOT USE FOR the base eligibility check (policy-eligibility).
# Fraud & Escalation Gate > Implements BR-003 (escalate high-value or high-risk). Overrides an > `approve_candidate` from policy-eligibility when a gate fires. ## Operational contract - **Inputs**: the case object, completeness verdict, and eligibility verdict if available. - **Outputs**: `escalate | proceed` + a risk rationale. - **Deps**: `customer_get_profile` fields (`lifetime_return_rate`, `account_status`). - **Idempotency**: pure function of inputs. - **Failure behavior**: unknown risk data is incomplete, never permission to finalize a refund or denial. Preserve known risk from the case/order even without a profile. ## Procedure 1. **BR-003 gates** — escalate if ANY: - `refund_amount > 250` (auto-approve ceiling), OR - `lifetime_return_rate ≥ 0.40` (serial-returner risk), OR - `account_status == review_flagged`, OR - `days_since_delivery > 30` AND a plausible override reason needs human judgement. 2. If a gate fires → `escalate_to_supervisor`, even with incomplete reason/photos or a missing customer profile; require the authenticated supervisor gate. 3. If no gate fires and evidence is incomplete → `request_more_info` (BR-004). After an earlier unanswered information request, use the supervisor gate. Otherwise → `proceed` (carry the eligibility verdict forward). 4. Emit the escalation reason for the audit record (BR-005). ## Output schema ```json { "decision": "escalate | proceed", "gates_fired": ["value_ceiling", "serial_returner"], "escalation": { "reason": "Refund $1,180 > $250 ceiling", "queue": "returns-supervisors" } } ```
GitHub에서 보기