Files
LLeMbas-Android/contract/schedule_watching.json
T
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

95 lines
2.2 KiB
JSON

{
"schedule": {
"id": "sched2",
"title": "Mallorn price",
"instruction": "Say the new price.",
"request": "every hour, when the page changes",
"rule": {
"every": {
"minutes": 60
}
},
"description": "Every 1 hour",
"timezone": "UTC",
"enabled": true,
"next_run": "2026-01-02T04:04:05+00:00",
"next_runs": [],
"target": "chat",
"mode": "fresh",
"notify": "when",
"notify_when": "",
"notify_default": "something needs my attention",
"save_file": false,
"catch_up": "one",
"grace_minutes": null,
"model": null,
"effort": null,
"agents": null,
"tools": [
"files",
"recall",
"search",
"fetch",
"memory",
"skills",
"plan"
],
"origin": "user",
"chat_id": null,
"fired_count": 7,
"failure_streak": 0,
"watch": {
"kind": "url",
"url": "https://shop.example/mallorn",
"target": "https://shop.example/mallorn",
"changed_at": "2026-01-02T03:04:05+00:00"
},
"runs_on": null,
"last_error": null,
"last_run": {
"id": "run4",
"schedule_id": "sched2",
"status": "unchanged",
"timing": "on_time",
"missed": 0,
"due_at": "2026-01-02T03:04:05+00:00",
"started_at": "2026-01-02T03:04:05+00:00",
"finished_at": "2026-01-02T03:04:05+00:00",
"waiting_for": null,
"retry_at": null,
"progress": null,
"attempts": 1,
"model": {
"id": null,
"name": null,
"reason": null,
"switched_from": null
},
"tokens": {
"prompt": 0,
"completion": 0
},
"cost": null,
"chat_id": null,
"message_id": null,
"report_path": null,
"report": null,
"note": "",
"preview": "",
"error": null,
"notified": false,
"notification": null,
"watch": {
"kind": "url",
"changed": false,
"first": false,
"hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"bytes": 5120,
"error": null
}
},
"running": false,
"created_at": "2026-01-02T03:04:05+00:00"
}
}