Skip to content

zn v0.8.1: finished task notes stay on a Custom status board; zn mcp instructions match the desktop - #12

Merged
adibhanna merged 2 commits into
mainfrom
zn-0.8.1
Oct 19, 2026
Merged

adibhanna merged 2 commits into
mainfrom
zn-0.8.1

Conversation

@adibhanna

Copy link
Copy Markdown
Contributor

The zn half of ZenNotes 2.71.0, released as v0.8.1.

  • Finished task notes stay on a Custom status board (434bc15): on the Kanban board grouped by field:status, a task note with status: done now stays in a configured done column instead of vanishing, mirroring [Bug] Custom status Kanban hides completed task notes from the configured Done column zennotes#949 (desktop ab15a36d). Only kanban_statuses columns hold finished notes; checked checkbox tasks still leave the board.
  • zn mcp gives assistants the desktop's instructions again (241abbc): DefaultInstructions is regenerated from the desktop MCP instructions at ZenNotes/zennotes c4a38631 (D2, the Mermaid label rule, collapsible callouts, the comments section). The initialize response is byte-identical to the desktop's text (14,089 characters).

Tests: go vet ./... and go test ./... pass locally; the new board test fails without its fix. All six GOOS/GOARCH targets build, goreleaser check and a snapshot release pass, and the Homebrew updater tests pass. In zn tui on a scratch vault, v0.8.0's done column is empty while this branch shows the status: done note in it.

On the board grouped by field:status, a task note with `status: done`
vanished, even with `done` listed in kanban_statuses. The field board
skipped every checked, cancelled or forwarded task before it read the
field, and a task note's checked state comes from that same `status:`:
the value that names its column was the value that took it off the
board. The desktop app had the same filter (ZenNotes/zennotes#949).

A task note whose value is one of the configured columns now stays in
that column. Only configured values count: a discovered column would turn
every finished task note in the vault into a column of its own. A
configured `cancelled` column holds cancelled task notes the same way.
Checkbox tasks keep the rule, since a status they inherit from the note's
frontmatter would pull every checked subtask of an in-progress note into
In progress.

One test, which fails without the change.
DefaultInstructions is meant to be a verbatim copy of the desktop MCP
server's instructions, so an agent behaves the same whichever binary
serves the vault. It had drifted three times: it lacked the rule that
Mermaid labels are plain text, the collapsible callout syntax, and the
whole section on reviewing a note through comment threads, although
zn mcp has had list_comments, add_comment, reply_to_comment and
resolve_comment since e5550a3. Desktop 2.71.0 also adds D2 to the
renderers an agent should use.

The constant is regenerated from the desktop text at ZenNotes/zennotes
c4a38631, one quoted line per source line as before (the same generator
reproduces the old constant exactly), and zn mcp's initialize now returns
that text unchanged.
@adibhanna
adibhanna merged commit 241abbc into main Oct 19, 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