AI Implementation feature(1086): Posted-Anniversary Dedup Store (#5)

This commit was merged in pull request #5.
This commit is contained in:
2026-08-04 18:35:28 +00:00
parent 72c2369160
commit 7d39f3a339
10 changed files with 516 additions and 86 deletions
+2 -3
View File
@@ -30,10 +30,9 @@ def _run_lines(buf: io.StringIO) -> list[dict]:
def _seed_state(data_dir: Path, ids: list[str]) -> None:
from tenbackward.state import save_posted
from tenbackward.state import mark_posted_many
state = {pid: {"posted_at": "2024-01-01T00:00:00+00:00"} for pid in ids}
save_posted(data_dir, state)
mark_posted_many(list(ids), data_dir)
def test_run_emits_one_info_summary_on_success(env_setup, data_dir, capture_logger, monkeypatch) -> None: