Skip to content

Feature/53 dispute case management#73

Merged
SudiptaPaul-31 merged 2 commits intoLumina-eX:mainfrom
mitchellecm7:feature/53-dispute-case-management
Apr 27, 2026
Merged

Feature/53 dispute case management#73
SudiptaPaul-31 merged 2 commits intoLumina-eX:mainfrom
mitchellecm7:feature/53-dispute-case-management

Conversation

@mitchellecm7
Copy link
Copy Markdown
Contributor

Closes #53

What this PR does
Adds backend endpoints to complete the dispute case management system.

New Endpoints

Method Route Purpose
POST /api/disputes/[id]/resolve Resolve dispute with resolution log
PATCH /api/disputes/[id]/contract Update contract state

Existing Endpoints (unchanged)

Method Route Purpose
POST /api/disputes Raise dispute
GET /api/disputes List disputes
GET /api/disputes/[id] Get dispute detail + evidence + comments
POST /api/disputes/[id]/evidence Submit evidence

Features

  • ✅ Secure — all routes use withAuth middleware
  • ✅ Validated — input validation with specific error codes
  • ✅ Extensible — modular route design (DAO voting ready)
  • ✅ Audit trail — resolution log tracks previous/new state + resolver
  • ✅ Contract-aware — updates escrow status on jobs table

/claim #53

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 27, 2026

@mitchellecm7 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@SudiptaPaul-31 SudiptaPaul-31 merged commit ac49e8f into Lumina-eX:main Apr 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Dispute Case Management System

2 participants