Skip to content

fix: preserve undeclared note status#218

Open
yibeichan wants to merge 1 commit into
mainfrom
codex/fix-search-status-default
Open

fix: preserve undeclared note status#218
yibeichan wants to merge 1 commit into
mainfrom
codex/fix-search-status-default

Conversation

@yibeichan

Copy link
Copy Markdown
Owner

Summary

  • preserve missing note status as NULL during ingestion
  • return null for undeclared statuses in MCP search/get-note paths
  • add regression coverage so status=draft filters only declared draft notes

Closes #209.

Tests

  • cd mcp-server && npm test
  • cd mcp-server && npm run build
  • cd cli && uv run --with pytest --with . python -m pytest tests/

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.

fix(mcp): notes without status: frontmatter are reported as status: "draft" in search results

1 participant