Files
HomerandClaude Fable 5.2 613eba4154
CI / check (push) Canceled after 0s
Contract at server dev ee74edc: the reports routes, pinned
79 files; the provisional shapes held, with these taken from the fixtures:

- GET /reports carries `unread`, the count the drawer's badge shows
  (ApiClient.unreadReports); GET /reports/{id} answers {report: ...} with
  `text` (the body with each page as its one line), which Share uses.
- A schedule carries `notify_default`, the default condition in the
  account's language: what "When..." starts from and what the task's page
  says while the person wrote none.
- The events' `reports` frame (unread, newest) has its model; nothing
  follows it yet.
- push_schedule.json is gone (a finished run sends a report's push now);
  the test of an older server's payload keeps it written out.
- ReportsContractTest reads reports, report, report_reply, push_report and
  event_reports; ScheduleContractTest follows the new values (notify
  "when", the run's note and report, the frame's version).

Tokens and strings are unchanged at this ref.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 10:10:02 +00:00

30 lines
541 B
JSON

{
"report_id": "rep1",
"schedule_id": "sched1",
"run_id": "run1",
"visibility": "private",
"actions": [
"open"
],
"notification": {
"title": "Two cakes are unwrapped",
"body": "Two of the twelve cakes have lost their leaves.",
"public": {
"title": "New report",
"body": ""
},
"actions": [
"open"
],
"labels": {
"open": "Open"
},
"ask": "",
"importance": "high"
},
"title": "LLeMbas",
"body": "New report",
"url": "/reports/rep1",
"kind": "report"
}