hephaestus/heph.nvim/tests/e2e
Erich Blume 0e9cfc1fd7
Some checks failed
Build / validate (pull_request) Failing after 5m1s
feat(nvim): frontmatter edit surface — diff block into RPCs on save (§8.3)
Node buffers now open with the editable YAML frontmatter block on top
(node.get {frontmatter: true}); on :w, `frontmatter.lua` parses the
block, diffs it against what was rendered, and routes each changed field
to the right RPC:
- title → node.update rename
- attention → task.set_attention
- do_date/late_on/recurrence → task.set_schedule (YYYY-MM-DD → local-ms;
  a removed line clears via null)
- project → task.set_project (resolved by name)
- tags → tag.add / tag.remove
A mistyped state surfaces the daemon's validation error; a buffer with no
block edits no metadata (deleting the block can't wipe tags). Body rides
node.update as before (the store strips any echoed frontmatter).

Body-position features are content-relative, so the prepended block
doesn't disturb them; e2e specs that targeted absolute line 1 now locate
body lines by content via a new `h.find` helper. New frontmatter_spec
covers render + the full diff→RPC round-trip. 21 nvim e2e specs green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 11:44:39 -07:00
..
backlink_spec.lua heph.nvim: RPC client + buffer editing + wiki-links + journal (slice 11a) 2026-06-01 20:33:29 -07:00
capture_spec.lua heph.nvim: make the view key-hint actually visible (header line, not virt-line) 2026-06-02 12:01:36 -07:00
follow_link_spec.lua feat(nvim): frontmatter edit surface — diff block into RPCs on save (§8.3) 2026-06-03 11:44:39 -07:00
frontmatter_spec.lua feat(nvim): frontmatter edit surface — diff block into RPCs on save (§8.3) 2026-06-03 11:44:39 -07:00
helpers.lua feat(nvim): frontmatter edit surface — diff block into RPCs on save (§8.3) 2026-06-03 11:44:39 -07:00
home_spec.lua heph.nvim: :Heph home — a base index/landing page for the zk 2026-06-02 11:14:12 -07:00
journal_picker_spec.lua heph.nvim: :Heph journals — recent-days picker with preview + @create 2026-06-02 11:26:45 -07:00
journal_spec.lua heph.nvim: RPC client + buffer editing + wiki-links + journal (slice 11a) 2026-06-01 20:33:29 -07:00
managed_daemon_spec.lua heph.nvim: rip out auto-spawn — connect-only plugin 2026-06-02 21:21:28 -07:00
promote_spec.lua feat(nvim): frontmatter edit surface — diff block into RPCs on save (§8.3) 2026-06-03 11:44:39 -07:00
recurring_spec.lua heph.nvim: task views — next/list/capture/attention/state/log (slice 11b) 2026-06-01 21:12:56 -07:00
run.lua heph.nvim: context-item promotion + Dagger headless-nvim CI (slice 11c) 2026-06-02 06:08:41 -07:00
runner.lua heph.nvim: RPC client + buffer editing + wiki-links + journal (slice 11a) 2026-06-01 20:33:29 -07:00
view_actions_spec.lua heph.nvim: make the view key-hint actually visible (header line, not virt-line) 2026-06-02 12:01:36 -07:00
view_spec.lua feat(nvim): do/late date chip (+ ↻) on task-view rows (§8) 2026-06-03 11:05:02 -07:00