**Bug: `ingest` fails on any file with a `date` field — "premature end of input at line 3 column 7"**
Bug: ingest fails on any file with a date field — "premature end of input at line 3 column 7"
Version: 0.18.0 (installed via brew install silverstein/tap/minutes)
OS: macOS (Apple Silicon)
Reproduction
Create a minimal meeting file:
---
title: Test
date: 2024-05-14
type: meeting
---
Test content.
Run:
minutes ingest test_minimal.md
Result:
SKIP test_minimal.md: date: premature end of input at line 3 column 7
Also tried:
date: 2026-05-14date: "2024-05-14"date: 2026-05-14T10:00:00
All produce the identical error at line 3 column 7. Removing the date field changes the error to missing field 'date', confirming the field is required but cannot be parsed in any format.
Expected: File ingests successfully.
Workaround: None found. Knowledge base ingestion is completely blocked for manually created files.
Thanks for the crisp reproduction. You were right: this was a real ingest bug for manually-authored frontmatter, and the error message was especially unhelpful.
I reproduced the failure locally and traced it to the shared Rust frontmatter schema: date was deserializing as DateTime<Local>, which handled Minutes-generated RFC3339 timestamps but rejected common hand-written forms like YYYY-MM-DD and local timestamps without an offset. Your minimal file also exposed that duration was unnecessarily required for ingestion even though knowledge extraction does not need it.
This was not caused by the v0.18.1 audio/release changes; it dates back to the original knowledge-base ingestion path. I fixed it on main in dadb603:
date: 2024-05-14now parses as local midnightdate: "2026-05-14T10:30:45"now parses as a local timestamp- existing RFC3339 timestamps with offsets still round-trip
- missing
durationnow defaults to0sfor manually-authored files - added regression tests for those cases
I also verified your exact repro through the CLI with an isolated knowledge config:
Ingesting 1 meeting(s) into knowledge base ...
Done. 0 fact(s) written, 0 skipped, 0 error(s), 0 people updated.
Until the next release is cut, the practical workaround on 0.18.0 is to use a full RFC3339 timestamp plus a duration, for example:
date: 2024-05-14T00:00:00Z
duration: 0s
I am going to leave this issue open until the fix is available in a tagged/brew release. Thanks again for reporting it so clearly; this is exactly the kind of hand-authored-file path Minutes should support well.
v0.18.2 is now released with the ingest/frontmatter fix: https://github.com/silverstein/minutes/releases/tag/v0.18.2
The Homebrew tap is updated as well, so the CLI upgrade path is:
brew update
brew upgrade silverstein/tap/minutes
Desktop users can install the signed DMG from the release assets, and the cask has also been updated to the v0.18.2 DMG.
What shipped for this issue:
date: 2024-05-14now parses for manually-authored meeting markdown.- Local timestamps without an explicit offset are accepted.
- Existing RFC3339 timestamps still work.
- Missing
durationdefaults to0sfor ingest, so hand-authored files do not need synthetic duration metadata. - Regression tests cover the date-only, local timestamp, and RFC3339 cases.
I also re-verified your exact minimal repro against the v0.18.2 CLI before release:
minutes 0.18.2
Ingesting 1 meeting(s) into knowledge base ...
Done. 0 fact(s) written, 0 skipped, 0 error(s), 0 people updated.
Closing this as fixed/released now. If v0.18.2 still rejects a real file on your side, please comment with the frontmatter shape and I’ll reopen and dig into that case. Thanks again for the clean repro; it made this a much better fix than just papering over one parser error.
Upgraded to 0.18.2 — ingest is working. Thanks for the fast turnaround and for tracing it all the way to the root cause. The fix and the clear explanation were both appreciated.
On Wed, May 20, 2026 at 4:30 AM Mat Silverstein @.***> wrote:
silverstein left a comment (silverstein/minutes#252) https://github.com/silverstein/minutes/issues/252#issuecomment-4497908704
v0.18.2 is now released with the ingest/frontmatter fix: https://github.com/silverstein/minutes/releases/tag/v0.18.2
The Homebrew tap is updated as well, so the CLI upgrade path is:
brew update brew upgrade silverstein/tap/minutes
Desktop users can install the signed DMG from the release assets, and the cask has also been updated to the v0.18.2 DMG.
What shipped for this issue:
- date: 2024-05-14 now parses for manually-authored meeting markdown.
- Local timestamps without an explicit offset are accepted.
- Existing RFC3339 timestamps still work.
- Missing duration defaults to 0s for ingest, so hand-authored files do not need synthetic duration metadata.
- Regression tests cover the date-only, local timestamp, and RFC3339 cases.
I also re-verified your exact minimal repro against the v0.18.2 CLI before release:
minutes 0.18.2 Ingesting 1 meeting(s) into knowledge base ... Done. 0 fact(s) written, 0 skipped, 0 error(s), 0 people updated.
Closing this as fixed/released now. If v0.18.2 still rejects a real file on your side, please comment with the frontmatter shape and I’ll reopen and dig into that case. Thanks again for the clean repro; it made this a much better fix than just papering over one parser error.
— Reply to this email directly, view it on GitHub https://github.com/silverstein/minutes/issues/252#issuecomment-4497908704, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBNZJMRX6ZIA3ZJ6A2IMF4D43WJMZAVCNFSM6AAAAACZFSJEMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DIOJXHEYDQNZQGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>