Skip to content

v0.4.0: docs sync, health_check tool, A2A protocol, and CLI scan/split#113

Merged
jeffgreendesign merged 2 commits into
mainfrom
claude/docs-sync-cleanup-gn2n6j
Jun 13, 2026
Merged

v0.4.0: docs sync, health_check tool, A2A protocol, and CLI scan/split#113
jeffgreendesign merged 2 commits into
mainfrom
claude/docs-sync-cleanup-gn2n6j

Conversation

@jeffgreendesign

Copy link
Copy Markdown
Owner

Summary

Complete documentation sync for v0.4.0 release, including new MCP health_check tool, A2A protocol discovery endpoint, and CLI scan/split commands. Updates all references from Supabase to Neon PostgreSQL, corrects Google AI embedding model to gemini-embedding-2-preview (3072d), and archives completed implementation plans.

Changes

  • Documentation sync (Phase 1–4 complete)

    • Replaced all Supabase setup instructions with Neon / DATABASE_URL across installation, configuration, RUNBOOK, guides, and error tables
    • Updated Google AI embedding model from text-embedding-004 (768d) to gemini-embedding-2-preview (3072d) in architecture and configuration docs
    • Corrected default EXTRACTION_MODEL to claude-haiku-4-5-20251001
    • Updated tool count from 25 to 26 in MCP tools overview
  • New documentation pages

    • docs/mcp-tools/health-check.mdx — Per-component diagnostic tool (database, documents, chunks, memory, conversations, insights)
    • docs/architecture/a2a-protocol.mdx — Agent-to-Agent discovery protocol via /.well-known/agent.json and task delegation endpoint
    • docs/cli/scan.mdx — Analyze converted markdown for upload readiness and flag oversized files
    • docs/cli/split.mdx — Break large markdown files into uploadable parts at heading boundaries
  • CLI documentation updates

    • Added scan and split command entries to CLI index
    • Added four new social export converters (Spotify, Reddit, Facebook, Instagram) to converter table
  • Metadata and navigation

    • Updated docs/mcp-tools/meta.json to include health-check under new "Stats & Diagnostics" section
    • Updated docs/cli/meta.json to include scan and split pages
    • Updated docs/architecture/meta.json to include a2a-protocol page
  • Archived implementation plans

    • Moved completed Phase 1–6 planning documents to docs/archive/
    • Simplified TODO.md to focus on remaining Memory System Roadmap
  • Version bump

    • Updated package.json version to 0.4.0
    • Updated CHANGELOG.md with v0.4.0 release notes
  • Miscellaneous updates

    • Updated llms.txt and llms-full.txt to reference Neon instead of Supabase
    • Updated CONTRIBUTING.md to reference Neon setup
    • Updated AGENTS.md and CLAUDE.md to remove Supabase references
    • Updated docs/ENV.md with corrected Google AI model name
    • Updated docs/concepts/index.mdx with correct embedding dimensions
    • Updated guide references and batch-upload descriptions

Type of Change

  • Documentation update
  • New feature (health_check tool, A2A protocol, scan/split CLI docs)

Checklist

  • Documentation is accurate and complete
  • New pages follow existing MDX structure and conventions
  • Navigation metadata updated (meta.json files)
  • Version bumped to 0.4.0
  • CHANGELOG.md updated with release notes
  • All Supabase references replaced with Neon/DATABASE_URL
  • Google AI embedding model corrected throughout

Related Issues

Closes documentation sync backlog (Phases 1–4 complete per CHANGELOG v0.4.0)

https://claude.ai/code/session_01Cq9wB4tnXXsmw524qDp7MF

Bring the documentation in line with the current codebase and record the
work that shipped since 0.3.0.

Docs sync (was TODO.md Phases 1-4, now complete):
- Supabase -> Neon / DATABASE_URL across the remaining stale instructional
  references (architecture, concepts, CLI, ENV, llms.txt/llms-full.txt,
  AGENTS.md, CLAUDE.md, CONTRIBUTING.md); legitimate cross-provider and
  historical mentions left intact
- Google AI embeddings corrected to gemini-embedding-2-preview (3072d)
- EXTRACTION_MODEL default corrected to claude-haiku-4-5-20251001
- Add health_check tool reference and bump tool count 25 -> 26
- Add scan/split CLI pages and document spotify/reddit/facebook/instagram
  converters
- Add Agent-to-Agent (A2A) protocol reference page

Changelog & tracking:
- Add CHANGELOG [0.4.0] covering the shipped large-upload pipeline (GCS
  resumable, Cloud Tasks, Cloud Run, zip handler registry, dashboard UX),
  provider retries, and the docs sync; bump package.json to 0.4.0
- Trim TODO.md to the remaining Memory System Roadmap (Phases 5-14)
- Archive completed plans and the improvement tracker to docs/archive/;
  update inbound references

Verified: tool-sync-check, docs-check, markdownlint, and docs:build all pass.
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dashboard Building Building Preview, Comment Jun 13, 2026 4:16am
textrawl Ready Ready Preview, Comment Jun 13, 2026 4:16am

Request Review

@coderabbitai

coderabbitai Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3eaad929-e947-476d-aeba-9920f1173517

📥 Commits

Reviewing files that changed from the base of the PR and between 122c708 and 6d8be43.

📒 Files selected for processing (1)
  • docs/cli/split.mdx
✅ Files skipped from review due to trivial changes (1)
  • docs/cli/split.mdx

Walkthrough

This PR is a comprehensive documentation release for version 0.4.0 that updates 30+ documentation files and configuration references to reflect infrastructure and feature changes. The package version is bumped to 0.4.0 with detailed CHANGELOG entries. The primary infrastructure change migrates database backing from Supabase PostgreSQL to Neon PostgreSQL with pgvector. Default embedding models are updated from text-embedding-004 (768 dimensions) to gemini-embedding-2-preview (3072 dimensions). New documentation is added for the health_check MCP tool (bringing tool count to 26), new CLI commands (scan and split for markdown file analysis and splitting), and the A2A protocol for agent-to-agent task delegation. Documentation references to planning artifacts are consolidated from docs/plans/ to docs/archive/.

sequenceDiagram
  participant ExternalAgent
  participant TextrawlAgent
  participant SearchPipeline
  participant Postgres
  ExternalAgent->>TextrawlAgent: GET /.well-known/agent.json
  TextrawlAgent-->>ExternalAgent: agent card
  ExternalAgent->>TextrawlAgent: POST /.well-known/agent/tasks (bearer)
  TextrawlAgent->>SearchPipeline: route task text
  SearchPipeline->>Postgres: query documents/chunks
  Postgres-->>SearchPipeline: results
  SearchPipeline-->>TextrawlAgent: task response
  TextrawlAgent-->>ExternalAgent: delegated task result
Loading
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The PR title comprehensively and clearly summarizes all four major aspects of the changeset: version bump to 0.4.0, documentation sync, new health_check MCP tool, A2A protocol documentation, and new CLI scan/split commands.
Description check ✅ Passed The PR description fully follows the repository template with all required sections: Summary, Changes, Type of Change, Checklist, and Related Issues. It provides detailed, well-organized information covering all major documentation updates, new pages, metadata changes, version bump, and archiving of completed plans.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/docs-sync-cleanup-gn2n6j

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/guides/large-upload-e2e-preflight.md (1)

139-140: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Inconsistent archive path reference within the same file.

The "Sources of truth" section (line 28) correctly updates the reference to 2026-06-06-phase4-cloud-run-activation.md to use the docs/archive/ path, but the inline markdown link in the "Cloud Run env activation" section (line 140) still references the old ../plans/ path for the same file. This creates a broken link.

  • docs/guides/large-upload-e2e-preflight.md#L28-L29: Archive path correctly uses ../archive/2026-06-06-phase4-cloud-run-activation.md — no change needed.
  • docs/guides/large-upload-e2e-preflight.md#L139-L140: Update inline link from ../plans/2026-06-06-phase4-cloud-run-activation.md to ../archive/2026-06-06-phase4-cloud-run-activation.md to match the "Sources of truth" reference.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/guides/large-upload-e2e-preflight.md` around lines 139 - 140, Update the
inline markdown link in the "Cloud Run env activation" section of
docs/guides/large-upload-e2e-preflight.md by replacing the old
../plans/2026-06-06-phase4-cloud-run-activation.md path with the correct
../archive/2026-06-06-phase4-cloud-run-activation.md so it matches the "Sources
of truth" reference; locate the link text in the Cloud Run env activation
paragraph (the existing ../plans/... string) and update it to ../archive/... to
fix the broken link.
🧹 Nitpick comments (2)
docs/architecture/index.mdx (1)

19-43: ⚡ Quick win

Specify language for text diagram block.

Code block at lines 19–43 should have a language specified for consistency and syntax highlighting. Use ```text or ```ascii to mark it as a text diagram.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/architecture/index.mdx` around lines 19 - 43, The ASCII diagram's fenced
code block is missing a language specifier; update the opening fence that
contains the MCP/Express/Tool/DB diagram to include a language (e.g., replace
``` with ```text or ```ascii) so the block is marked as a text diagram for
consistent rendering and highlighting.

Source: Coding guidelines

docs/architecture/a2a-protocol.mdx (1)

10-12: 💤 Low value

Consider using http language for HTTP method code blocks.

The blocks showing GET /.well-known/agent.json and POST /.well-known/agent/tasks use text as the language specifier. While technically compliant with the markup guideline, using http would enable better syntax highlighting for these HTTP methods.

Optional: improve code block language specs
-```text
+```http
 GET /.well-known/agent.json
-```
+```

-```text
+```http
 POST /.well-known/agent/tasks
-```
+```

Also applies to: 44-46

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/architecture/a2a-protocol.mdx` around lines 10 - 12, Update the fenced
code blocks that contain the HTTP examples "GET /.well-known/agent.json" and
"POST /.well-known/agent/tasks" (and the other occurrence at lines 44-46) to use
the http language specifier instead of text; locate the three code fences that
start with ```text and change them to ```http so the HTTP methods receive proper
syntax highlighting while leaving the block contents unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/cli/split.mdx`:
- Around line 25-40: The docs table for the split command lists `--output <dir>`
default as `./converted` but the CLI treats `./converted` as a sentinel in
scripts/cli/split.ts (checking `options.output === './converted'` and passing
undefined to the splitter so output falls back to dirname(filePath)); update the
docs or code: either change the docs entry for `--output` to show the effective
default of "alongside source (defaults to source directory)" or modify the CLI
logic in scripts/cli/split.ts to stop treating `'./converted'` as a sentinel and
always pass `options.output` to the splitter; reference `options.output`,
`scripts/cli/split.ts`, and `createBaseCommand` when making the change so
behavior and docs stay consistent.

---

Outside diff comments:
In `@docs/guides/large-upload-e2e-preflight.md`:
- Around line 139-140: Update the inline markdown link in the "Cloud Run env
activation" section of docs/guides/large-upload-e2e-preflight.md by replacing
the old ../plans/2026-06-06-phase4-cloud-run-activation.md path with the correct
../archive/2026-06-06-phase4-cloud-run-activation.md so it matches the "Sources
of truth" reference; locate the link text in the Cloud Run env activation
paragraph (the existing ../plans/... string) and update it to ../archive/... to
fix the broken link.

---

Nitpick comments:
In `@docs/architecture/a2a-protocol.mdx`:
- Around line 10-12: Update the fenced code blocks that contain the HTTP
examples "GET /.well-known/agent.json" and "POST /.well-known/agent/tasks" (and
the other occurrence at lines 44-46) to use the http language specifier instead
of text; locate the three code fences that start with ```text and change them to
```http so the HTTP methods receive proper syntax highlighting while leaving the
block contents unchanged.

In `@docs/architecture/index.mdx`:
- Around line 19-43: The ASCII diagram's fenced code block is missing a language
specifier; update the opening fence that contains the MCP/Express/Tool/DB
diagram to include a language (e.g., replace ``` with ```text or ```ascii) so
the block is marked as a text diagram for consistent rendering and highlighting.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9f768f03-c4ec-40a4-ab93-f6bee5dc48cb

📥 Commits

Reviewing files that changed from the base of the PR and between 09863ae and 122c708.

📒 Files selected for processing (36)
  • AGENTS.md
  • CHANGELOG.md
  • CLAUDE.md
  • CONTRIBUTING.md
  • TODO.md
  • docs/ENV.md
  • docs/architecture/a2a-protocol.mdx
  • docs/architecture/embeddings.mdx
  • docs/architecture/index.mdx
  • docs/architecture/meta.json
  • docs/archive/2026-05-31-large-upload-gcs-resumable-plan.md
  • docs/archive/2026-06-01-phase4-cloud-tasks-impl.md
  • docs/archive/2026-06-06-phase4-cloud-run-activation.md
  • docs/archive/2026-06-10-phase5-handler-registry-zip-impl.md
  • docs/archive/2026-06-10-phase6-dashboard-upload-ux-impl.md
  • docs/archive/IMPROVEMENT_TRACKER.md
  • docs/cli/batch-upload.mdx
  • docs/cli/index.mdx
  • docs/cli/meta.json
  • docs/cli/scan.mdx
  • docs/cli/split.mdx
  • docs/concepts/index.mdx
  • docs/getting-started/configuration.mdx
  • docs/getting-started/introduction.mdx
  • docs/guides/email-import.mdx
  • docs/guides/large-upload-e2e-preflight.md
  • docs/mcp-tools/health-check.mdx
  • docs/mcp-tools/index.mdx
  • docs/mcp-tools/meta.json
  • docs/mcp-tools/pg-analyze.mdx
  • docs/mcp-tools/pg-recommendations.mdx
  • infra/cloud-tasks/README.md
  • infra/gcs/README.md
  • llms-full.txt
  • llms.txt
  • package.json

Comment thread docs/cli/split.mdx
scripts/cli/split.ts treats --output './converted' as a sentinel and passes
undefined to the splitter, so the effective output is the source file's
directory. Update the split.mdx options table so the Default column reflects
that rather than the misleading './converted'.

Addresses CodeRabbit review on PR #113.
@jeffgreendesign jeffgreendesign merged commit fbdac20 into main Jun 13, 2026
7 of 8 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.

2 participants