Skip to content

fix: preserve archive sync integrity and validate MCP inputs - #30

Merged
mstuart merged 1 commit into
mainfrom
maintenance/2026-10-29-archive
Oct 29, 2026
Merged

mstuart merged 1 commit into
mainfrom
maintenance/2026-10-29-archive

Conversation

@mstuart

@mstuart mstuart commented Oct 29, 2026

Copy link
Copy Markdown
Owner

Archive sync could report success after truncating at 500 pages, and backfills could move an existing watermark backward. Report incomplete pagination as a sync error and preserve the newer watermark. Ignore inherited nutrient names so an unknown constructor entry cannot overwrite fat grams.

MCP tools now reject impossible calendar dates before writing check-ins and return a usage error for inverted date ranges. Valid leap days, inclusive single-day ranges, and a terminal page 500 remain accepted.

Validation: five focused regressions failed against the original source; all 240 runtime tests, Ultracite check, TypeScript typecheck/build, and diff checks pass with Node 24.19.0. Fresh-eyes review completed. No dependencies or workflows changed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T05:15:30.111762Z 230def5 PR opened
🔒 Security Review ✅ Completed 2026-10-29T05:16:51.417495Z 230def5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mstuart
mstuart merged commit ae0f530 into main Oct 29, 2026
5 checks passed
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.

1 participant