1.4 KiB
1.4 KiB
1. Trace Query API
- 1.1 Add a
DiagnosisTraceResponseDTO that represents session summary, ordered agent steps, ordered tool invocations, and derived summary counts. - 1.2 Add
DiagnosisTraceServicethat loadsDiagnosisSession,AgentStep, andToolInvocationrecords by session id and builds the response. - 1.3 Add
DiagnosisTraceControllerwithGET /api/diagnosis/{sessionId}/trace. - 1.4 Return 404 through
SessionNotFoundExceptionwhen the requested diagnosis session does not exist.
2. Demo Profile And Acceptance Case
- 2.1 Add
src/main/resources/application-mvp-demo.ymlwith MVP demo profile overlays and mock logs/metrics enabled. - 2.2 Add
mvp/demo/README.mddocumenting prerequisites, startup, chat request, trace query, and feedback submission. - 2.3 Add a concrete payment-timeout acceptance case with request/response expectations.
3. Tests And Verification
- 3.1 Add focused unit tests for
DiagnosisTraceServicesuccess and missing-session behavior. - 3.2 Run targeted tests for the new trace service.
- 3.3 Run compile verification.
- 3.4 Run GitNexus change detection before commit or handoff.
4. Notes And Flow Records
- 4.1 Update MVP engineering notes with the demo/trace decision.
- 4.2 Update OpenSpec tasks as work completes.
- 4.3 Record verification results in devflow acceptance notes.