← Back to Pull requests

F07: Fair Play rules, owner number after a hold, cases and strikes #10

Re-review Required
abdulfarhath merged 14 files (1034 lines) on Oct 02, 2026 01:30 UTC
View on GitHub
abdulfarhath abdulfarhath commented on Oct 02, 2026 01:30 UTC
Author

Builds F07 from boards 1–7 of the Fair Play canvas (https://claude.ai/artifact/1a7M3JyP9Vxy2kBataCXZ5), with the 2026-10-02 follow-ups.

What changed


  • Owner, Fair Play rules: 4 rules, the strike ladder ("No fines"), a code, and "I accept". A new owner sees this right after picking "I run a hostel".

  • Tenant, owner card on the hostel page:

  • - before a hold: masked number, the explainer, and "Ask on WhatsApp", saved with an HZ code (F05)
    - after a hold: the number, "You held …", Call and WhatsApp
  • Tenant, "Did you join?" (after a hold ends) and a private report sheet. The report opens a new case.

  • Owner, case screen: 48-hour banner and the evidence timeline. Change to Via Hostelzy fixes the mistake, which closes the case with no strike; 3 fixes = 1 warning. Or explain, then Send my reply.

  • Owner, strike notice for strikes 1, 2 and 3. Strikes now have real effects:

  • - strike 2 hides the hostel's deals
    - strike 3 removes the hostel from Explore
    - every strike lowers F08's rank
  • Founder, Fair Play cases:

  • - New / Waiting / Decide / Closed queue
    - each case shows its signals, the owner's reply, the tenant's answer and the owner's history
    - decisions: Close · no issue / Ask for more / Strike N
    - the design is a 1440 px desk screen; in the app it's one column, reached from the all-screens page

    Checks


    flutter analyze clean, flutter test 22/22, including a new F07 flow test. Screens compared against the mockups.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01X1wPgcaJAS2vJrbpzPfiPq

    ---
    _Generated by Claude Code_

    Diff: 1034 lines (+998 / -36) across 14 files Reviewer: copilot-pull-request-reviewer[bot] Review duration: 0m
    Review confidence threshold not met — re-review recommended
    Residual risk 0.82 = Change Risk (0.92) × (1 − Review Confidence (0.11)). Flagged for follow-up review before production rollout.
    Model 1 · Change Risk (XGBoost)
    Score: 0.92 · 1034 lines diff across 14 files
    0.92
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 0% · Reviewer familiarity: 35%
    10%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.400
    Shallow Review Depth shallow_review_depth
    0.344
    Wip Merged wip_merged
    0.150
    Rapid Merge rapid_merge
    0.100
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    2 items
    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Oct 02, 2026 01:30 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

    Assignees
    abdulfarhath abdulfarhath
    Labels
    risk: high confidence: 10.5% needs-re-review
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 92% (HIGH) · Higher = larger blast radius
    92%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 10.5% · Lower = rushed or shallow review
    10.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 82.4% · Re-review required
    82.4%