Skip to content

v0.3.1 polish wave: SPEC + structure, doctor, MCP, dashboard - #4

Draft
mosesman831 wants to merge 8 commits into
mainfrom
cursor/overall-element-enhancement-e84d
Draft

v0.3.1 polish wave: SPEC + structure, doctor, MCP, dashboard#4
mosesman831 wants to merge 8 commits into
mainfrom
cursor/overall-element-enhancement-e84d

Conversation

@mosesman831

@mosesman831 mosesman831 commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Restores SPEC.md and ships the v0.3.1 polish wave across structure, doctor, MCP, dashboard, and capture surfaces.

Spec

  • Restored detailed SPEC.md and marked §2.1 polish items shipped
  • Config reserved/used: growth, mcp.write, tasks.render, organization

Shipped

  • Doctor: avg segments/dump guardrail + USD cost estimate (--json)
  • Tasks: checkbox / both Obsidian Tasks lines
  • Flat org: organization: flat + migrate --to-flat / --to-folders
  • Growth cap: summarize / split / off with archives
  • Merge-back: dendrite merge a b [--into] [--dry-run]
  • MCP: gated capture_note + siblings transcript via dumps.text
  • Dashboard: Ask tab + health strip
  • Capture recipes: bookmarklet + iOS Shortcuts in DOCS; webhook url/title

Test plan

  • npm run build
  • npm run test:ci (smoke including growth, merge, doctor JSON, dump text, flat path, checkbox render)
Open in Web Open in Cursor 

cursoragent and others added 8 commits July 16, 2026 15:58
Bring the detailed feature spec onto mainline work, mark shipped v0.3
items, and add config schema for the polish wave (growth policy, MCP
write gate, tasks checkbox render).

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
- Add dumps.text column (safe migration) and write_audit table
- recordDump stores optional transcript; getCaptureSiblings returns text/transcript
- Gated capture_note MCP tool when mcp.write.enabled (audit on write)
- require_review meta forces inbox routing in resolve
- CI smoke: recordDump/getCaptureSiblings transcript roundtrip

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
Implement physical note merge with section deduplication, frontmatter union,
backlink rewrite, archive of absorbed note, and index updates. Includes
keyless unit tests in ci-smoke and optional correction row recording.

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
- Report avg segments/dump from dump row vs parent counts
- Heuristic per-dump and 7-day USD cost from model price table
- Warn and fail when avg segments > 4 or embedding coverage < 50%
- Expose segment_stats, cost_estimate, warnings in --json output

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
Add Ask tab with /api/ask proxy, health strip with embedding coverage,
queue pending, and dangling links. Improve triage card readability and
empty states while keeping the existing dark monospace aesthetic.

Extend webhook to accept optional url/title in payload, stash in dump.meta
and append source lines for classifier resource extraction.

Document bookmarklet and iOS Shortcuts webhook recipes in DOCS.md.

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
Add growth.ts with summarize and split policies triggered after write
when sections or token estimate exceed configured caps. Archives pre-change
copies to brain/_dendrite/repaired/, hooks from pipeline.ts, and adds
keyless smoke tests for section counting, policy-off no-op, and
deterministic summarize stub.

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
- resolveBrainNotePath: flat notes at brain/<slug>.md; append_only stays in compartment folder
- writeNote: tasks.render checkbox/both emits Obsidian-Tasks - [ ] lines with optional due date
- migrate --to-flat/--to-folders relocates notes, archives originals to brain/_dendrite/imported/
- Document organization and tasks.render in config examples
- CI smoke: resolveBrainNotePath and renderTaskCheckboxLines unit checks

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
Update CHANGELOG, ROADMAP, SPEC, AGENTS, DOCS, and example config for
merge, growth, flat org, tasks checkbox, MCP capture_note, and doctor
cost/segment guardrails.

Co-authored-by: Moses Man <mosesman831@users.noreply.github.com>
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.

2 participants