|
| 1 | +# Open Ecosystem Sprint 1 Roadmap |
| 2 | + |
| 3 | +## Sprint Goal |
| 4 | + |
| 5 | +Deliver a user-friendly local-first marketplace loop that a new user can complete in one session: |
| 6 | + |
| 7 | +1. Create offer |
| 8 | +2. Create intent |
| 9 | +3. Match contract |
| 10 | +4. Trigger training round |
| 11 | +5. Release escrow |
| 12 | +6. Inspect timeline and metrics |
| 13 | + |
| 14 | +## Duration |
| 15 | + |
| 16 | +- 2 weeks |
| 17 | + |
| 18 | +## Scope |
| 19 | + |
| 20 | +### P0 (Must Deliver) |
| 21 | + |
| 22 | +1. Deterministic marketplace API error codes and messages. |
| 23 | +2. Match failure diagnostics to explain why offers did not match. |
| 24 | +3. Contract lifecycle timeline (created -> bound_to_round -> escrow_released). |
| 25 | +4. Dashboard visibility for pending contracts and marketplace summary. |
| 26 | +5. Positive and negative-path local tests. |
| 27 | +6. First-10-minutes onboarding guide. |
| 28 | + |
| 29 | +### P1 (If Capacity Allows) |
| 30 | + |
| 31 | +1. UI score breakdown view (quality, cost, trust). |
| 32 | +2. Intent status workflow guardrails in controls. |
| 33 | +3. Lightweight policy preview before matching. |
| 34 | + |
| 35 | +## User Stories |
| 36 | + |
| 37 | +1. As a data provider, I can create an offer with clear field guidance and immediate validation. |
| 38 | +2. As a model owner, I can understand exactly why matching failed. |
| 39 | +3. As an operator, I can see contract state transitions in chronological order. |
| 40 | +4. As a reviewer, I can verify ecosystem activity through metrics and operation events. |
| 41 | +5. As a new integrator, I can finish the full local flow in 10 minutes. |
| 42 | + |
| 43 | +## Acceptance Criteria |
| 44 | + |
| 45 | +1. Marketplace endpoints return stable error codes and messages on all validation failures. |
| 46 | +2. Match failure includes machine-readable rejection reasons and counts. |
| 47 | +3. Every matched contract includes timeline events. |
| 48 | +4. `training/status` includes the pending contract summary. |
| 49 | +5. `metrics_summary` includes marketplace snapshot. |
| 50 | +6. Local smoke and negative tests pass. |
| 51 | +7. Frontend build passes. |
| 52 | + |
| 53 | +## Risks and Mitigations |
| 54 | + |
| 55 | +1. Risk: ambiguous match outcomes. |
| 56 | + |
| 57 | +- Mitigation: include rejection reason counters and budget rejection count. |
| 58 | + |
| 59 | +1. Risk: accidental status misuse. |
| 60 | + |
| 61 | +- Mitigation: enforce intent status transitions server-side. |
| 62 | + |
| 63 | +1. Risk: duplicate escrow release. |
| 64 | + |
| 65 | +- Mitigation: explicit `contract_already_released` error. |
| 66 | + |
| 67 | +## Definition of Done |
| 68 | + |
| 69 | +1. Backend, frontend, tests, and docs updated. |
| 70 | +2. No diagnostics errors in touched files. |
| 71 | +3. Local backend marketplace smoke test passes. |
| 72 | +4. Local backend negative-path test passes. |
| 73 | +5. Frontend production build passes. |
| 74 | + |
| 75 | +## Demo Checklist |
| 76 | + |
| 77 | +1. Create an offer from the UI. |
| 78 | +2. Create an intent from the UI. |
| 79 | +3. Run a match and inspect status. |
| 80 | +4. Trigger one FL round and inspect contract binding. |
| 81 | +5. Release escrow and confirm updated timeline. |
| 82 | +6. Inspect marketplace section in `/metrics_summary`. |
0 commit comments