Skip to content

feat: M1 batch 2, cards T-0009 to T-0020 - #5

Merged
bketelsen merged 25 commits into
mainfrom
m1/batch2
Oct 16, 2026
Merged

bketelsen merged 25 commits into
mainfrom
m1/batch2

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Summary

M1's second executor batch (plan 0003, Phase 5). Codex passed all twelve cards on the first attempt. Each card was reviewed before it was merged into m1/batch2, and each started from the previous one's merge.

Card Package What
T-0009 internal/vaultgen, tools/vaultgen realistic vaults (folders, note sizes, prose, attachments) and the vaultgen command
T-0010 internal/markdown frontmatter: props, property errors, aliases, tags, property links
T-0011 internal/markdown the goldmark extension: wikilinks, embeds, tags, math, comments; replaces scan.go
T-0012 internal/markdown markdown links, headings, block IDs, tasks, words; every spec fixture
T-0013 internal/templates {{title}}, {{date}}, {{time}}, formats and offsets
T-0014 internal/store files, and re-resolving the links a file's arrival, move or deletion affects
T-0015 internal/store IndexNote: one parsed note's rows
T-0016 internal/store SearchQuery and Search with snippets
T-0017 internal/store listing by folder, tag and property; note info; links and backlinks
T-0018 internal/store versions: add, list, a deleted file's, prune
T-0019 cmd/notesctl --vault, ls, cat, search, backlinks
T-0020 cmd/notesctl write, mv, rm, versions, revert

The last commit records the batch in plan 0003.

Verification

  • make verify passes, and so do the unit tests under the race detector (go test -race).
  • Checked against Obsidian's own dump of the user's vault, with the dump and the vault kept outside the repository:
    • make obsidian-links: Resolve agrees on 179 of 179 links.
    • A scratch test (not committed; Phase 4 adds it to TestIObsidianLinkDump): Parse finds exactly Obsidian's links in all 43 notes, 179 of 179.
  • vaultgen at 666 notes now writes 89 folders and 2.6 MB of varied text. The real vault has 97 folders and 2.2 MiB.

Found in review, for Phase 4

  • The API carries note content as a JSON string, so a note with invalid UTF-8 can't be written through note.write, although the spec allows such notes on disk.
  • ListNotes with the folder / matches nothing, so notesctl ls / lists nothing. It should list the whole vault.

🤖 Generated with Claude Code

bketelsen and others added 25 commits October 16, 2026 17:14
Task card T-0009, implemented by the executor model and verified by taskrun.
Task card T-0010, implemented by the executor model and verified by taskrun.
Task card T-0011, implemented by the executor model and verified by taskrun.
Task card T-0012, implemented by the executor model and verified by taskrun.
Task card T-0013, implemented by the executor model and verified by taskrun.
Task card T-0014, implemented by the executor model and verified by taskrun.
Task card T-0015, implemented by the executor model and verified by taskrun.
Task card T-0016, implemented by the executor model and verified by taskrun.
Task card T-0017, implemented by the executor model and verified by taskrun.
Task card T-0018, implemented by the executor model and verified by taskrun.
Task card T-0019, implemented by the executor model and verified by taskrun.
Task card T-0020, implemented by the executor model and verified by taskrun.
Codex passed all twelve cards on the first attempt. Parse finds exactly
Obsidian's links in all 43 dumped notes (179 of 179), and Resolve still
agrees on all 179. Review found two points for Phase 4: content with
invalid UTF-8 cannot cross the JSON API, and ls / lists nothing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@bketelsen
bketelsen marked this pull request as ready for review October 16, 2026 23:13
@bketelsen
bketelsen merged commit aaa6902 into main Oct 16, 2026
4 checks passed
@bketelsen
bketelsen deleted the m1/batch2 branch October 17, 2026 18:37
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