Skip to content

Add the mdbase.daily-note contract and starter type - #19

Merged
callumalpass merged 1 commit into
mainfrom
feat/daily-note-contract
Nov 9, 2026
Merged

callumalpass merged 1 commit into
mainfrom
feat/daily-note-contract

Conversation

@callumalpass

@callumalpass callumalpass commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds mdbase.daily-note 1.0.0: contract, schema, pack, starter type and catalog entry.
  • The starter type uses Daily/{date}.md with collection.path.fields: [date] and unique on date.

Path-stored fields (mdbase-dev/mdbase-spec#66) ship in mdbase-connect v0.1.0-beta.160 and later, and are verified here on the runtime engine (#21).

@callumalpass
callumalpass force-pushed the feat/daily-note-contract branch from be4f0da to 1b90562 Compare November 9, 2026 13:43
A daily note is one record per date. The contract covers only `date`, and the
starter type stores it in the path with `Daily/{date}.md` and
`collection.path.fields`, so filenames stay the type's concern.

Needs an engine that implements mdbase spec 0.3.0-rc.6 path-stored fields.
@callumalpass
callumalpass force-pushed the feat/daily-note-contract branch from 1b90562 to 5c531ed Compare November 9, 2026 13:47
@callumalpass
callumalpass marked this pull request as ready for review November 9, 2026 13:47
@callumalpass
callumalpass merged commit 4aebda5 into main Nov 9, 2026
1 check passed
@callumalpass
callumalpass deleted the feat/daily-note-contract branch November 9, 2026 13:51
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