# -*- coding: utf-8 -*-
"""只操作本程序创建的临时对象；全部数据为合成样本。"""
import os, sys, json, sqlite3, tempfile, pathlib, subprocess, time, socket, stat
from pathlib import Path
def emit(**kw):
    print(json.dumps(kw, ensure_ascii=False, sort_keys=True))
from datetime import date,timedelta
last=date(2026,10,20); today=date(2026,10,24)
def missing(done,end):
    out=[]; d=done+timedelta(days=1)
    while d<end: out.append(d.isoformat()); d+=timedelta(days=1)
    return out
plan=missing(last,today); empty=missing(today,today)
assert plan==['2026-10-21','2026-10-22','2026-10-23'] and empty==[]
emit(one_handler_plan=plan,already_caught_up=empty,scope='处理器缺日规划；未注册或声称实测systemd timer')
