Skip to content

fix(daily-checkin): flag skipped days in the archived window - #196

Merged
harlan-zw merged 5 commits into
mainfrom
fix/issue-195
Sep 14, 2026
Merged

harlan-zw merged 5 commits into
mainfrom
fix/issue-195

Conversation

@harlan-github-agent

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Closes #195

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

The check-in routine does not run every day, and when it skips days the archive still reads as one ordinary overnight window. The only trace of the skip was a raw since timestamp nobody derived from, so a six-day gap got its rates compared against single-day windows in past verdicts.

The archived doc now carries the derived window next to since:

"baseline": { "_tag": "stale", "gapHours": 144 }

A window past 36 hours is stale, so one fully missed day flags while ordinary cadence jitter stays fresh. A corrupted or future baseline reads as invalid rather than a confident negative gap, since state.json is hand-editable. The check-in skill gates on the tag, so the morning verdict names the wider window and compares rates per day.

The 36-hour cut is a judgement call, and it is the one thing worth a reviewer's eye: a run twelve hours late flags, a run a few hours late does not.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 9, 2026
@harlan-github-agent

harlan-github-agent Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-09-14 09:18 UTC.

GitHub merged this pull request.

No material findings were recorded.

Review completed. No material findings.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-blocked The automated Review found a material defect in this head commit. harlan-agent-running An Agent holds a Task on this issue or pull request right now. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. harlan-agent-blocked The automated Review found a material defect in this head commit. labels Sep 9, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-blocked The automated Review found a material defect in this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-blocked The automated Review found a material defect in this head commit. labels Sep 9, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-pending The automated Review is waiting on a gate for this head commit. harlan-agent-blocked The automated Review found a material defect in this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-pending The automated Review is waiting on a gate for this head commit. labels Sep 9, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. and removed harlan-agent-blocked The automated Review found a material defect in this head commit. labels Sep 14, 2026
@harlan-zw
harlan-zw merged commit 1cd517c into main Sep 14, 2026
5 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-running An Agent holds a Task on this issue or pull request right now. label Sep 14, 2026
harlan-zw added a commit that referenced this pull request Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No stale-baseline flag when the routine skips days

1 participant