{
  "schema": "archastro-feedback-reconciliation-delta/v1",
  "generated": "2026-09-15",
  "revision": 7,
  "note": "A delta on revision 6, carrying ONE new item. Everything in status.json still stands unchanged - this file exists so a reader who already joined status.json can take the difference alone. If you are joining for the first time, read status.json first, then this.",
  "new_items": [
    {
      "id": "AAF-081",
      "title": "A `schedule.cron` run is enqueued on time and only executes when the routine's NEXT tick fires",
      "their_status": "Never sent. New.",
      "my_status": "new",
      "delta": "The scheduler does its half: the run row is created on time, to the second. No worker ever picks it up. It sits queued until the routine's next scheduled tick arrives, and that tick drains the PREVIOUS run instead of executing its own. The queue is permanently one period behind, so every weekly digest is delivered a week late carrying a week-old as_of.",
      "measured_2026_09_15": {
        "method": "list agentroutineruns and describe agentroutinerun only. Read-only, free, no drives and no model calls.",
        "setup": "Four live cadence routines, all active, handler_type: script, schedule '0 8 * * MON'. Monday was 2026-09-14.",
        "on_time": "All four created a run row at 08:00:01Z.",
        "still_pending_27h_later": {
          "status": "pending",
          "worker": {"status": "queued", "max_attempts": 3, "attempt": 0},
          "started_at": null,
          "completed_at": null,
          "duration_ms": null,
          "result": null,
          "error": null
        },
        "the_load_bearing_field": "attempt: 0. Not a retry backoff and not a failure - no worker has ever picked the job up. `error` is null because nothing went wrong; nothing happened at all.",
        "the_previous_runs_did_execute": "They are completed and carry a real result - keys include alerts_written, delivered, delivered_to, delivery_status, due_this_week, gap_open_count. The script works. WHEN they executed is the finding.",
        "duration_ms_measures_creation_to_completion": [
          {"tenant": "BlueBearCo", "created": "2026-09-11T03:16:08Z", "duration_h": 76.73, "completed": "2026-09-14T08:00:13Z"},
          {"tenant": "Syntera", "created": "2026-09-11T03:21:54Z", "duration_h": 76.64, "completed": "2026-09-14T08:00:08Z"},
          {"tenant": "Northwind", "created": "2026-09-11T02:38:57Z", "duration_h": 77.35, "completed": "2026-09-14T08:00:07Z"},
          {"tenant": "Verification 2", "created": "2026-09-10T13:26:07Z", "duration_h": 90.57, "completed": "2026-09-14T08:00:06Z"}
        ],
        "the_pattern": "Four runs created up to 90 hours apart, all completing within TWELVE SECONDS of 2026-09-14T08:00:01Z - the exact moment the next tick fired."
      },
      "no_manual_drain": "`invoke agentroutine` cannot flush a queued cron run: it requires -m/--message, which is the wrong shape for a schedule.cron routine. There is no operator recovery for a stuck tick short of waiting a full period.",
      "consequence": "Monday's four digests are due 2026-09-21, reporting the week to 2026-09-14. For a feature whose job is 'be told the moment spend, work or numbers drift', a week's delay is the whole value gone.",
      "a_second_question": "duration_ms appears to measure queue time rather than execution time - a 76-hour wait reads as a 76-hour run. That is how this hid for a week. Is that intended?",
      "what_i_cannot_say": "Whether this is a stalled worker pool on my app specifically or the scheduler's intended behaviour. I can see the queue and not the runner.",
      "action_archastro": "Two questions: why does a queued cron run wait for the next tick instead of being picked up, and is duration_ms meant to include queue time?",
      "action_christoph": "Re-checking 2026-09-21 to confirm the one-tick-late pattern holds. Evidence published; free to re-run on request."
    }
  ],
  "everything_else": "Unchanged. See status.json for the full reconciliation and reports.html / missing-reports.html for the report bodies."
}
