Skip to content

docs: fix README inaccuracies#67

Merged
lIang70 merged 1 commit into
mainfrom
fix/readme-accuracy
May 7, 2026
Merged

docs: fix README inaccuracies#67
lIang70 merged 1 commit into
mainfrom
fix/readme-accuracy

Conversation

@lIang70

@lIang70 lIang70 commented May 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Audit-driven fixes to `README.md` (and the matching `examples/vesseld-multi-vessel/README.md`). Every code snippet, CLI invocation, and HTTP example was verified against tip-of-main. Seven issues found, listed in commit message; highlights:

# Issue Fix
1 SDK quickstart used fictional symbols (`agent.Card`, `AgentCard.System`, `llm.Register`, `model.UserText`, `Message.Text`, no-arg `runner.New`) Replaced with pointers to real, compilable examples; the library path genuinely needs graph DAG + node factory + LLM resolver, too much for an inline 20-line snippet without misleading readers
2 CLI used `vesseld start` Subcommand is `vesseld run`
3 Voice example used `voice.Config{...}` struct Real signature is positional `NewPipeline(stt, tts, eng, ag, opts...)`
4 curl examples used `/tmp/vesseld.sock` Example daemon.yaml declares `/tmp/vesseld-multi-vessel.sock`
5 Architecture diagram had sdk/ in the middle and sdkx/ at the bottom Redrawn with sdk at the bottom — it's the foundation; sdkx/vessel/voice are sibling layers above
6 "Pluggable persistence (in-memory, SQLite, Postgres + pgvector)" In-tree backend is in-memory only — reworded
7 "Combined via Reciprocal Rank Fusion" Real merger uses entity-boost + TTL, not RRF

Test plan

  • `grep "vesseld start" .` empty across both README files
  • All inline links verified to resolve to existing in-tree paths
  • All Go symbols in code examples verified against actual exports (`grep -r` against package source)
  • All HTTP routes verified against `cmd/vesseld/api/server.go` route table

Made with Cursor

Several issues found while auditing every code/CLI example for
correctness against tip-of-main:

  1. SDK quickstart was fictional — referenced non-existent
     symbols (agent.Card, agent.Card.System, llm.Register,
     model.UserText, Message.Text, runner.New() with no args).
     Replaced with pointers to real, compilable examples in
     sdk/agent/run_test.go, tests/quality/vessel/, and
     examples/voice-pipeline/setup.go. The library path needs a
     graph DAG + node.Factory + LLM resolver — too much for an
     inline 20-line snippet without misleading readers.

  2. CLI subcommand was wrong: vesseld uses `run`, not `start`.
     Fixed in both README.md and examples/vesseld-multi-vessel/
     README.md.

  3. Voice example used voice.Config{...} which doesn't exist;
     the real signature is positional (NewPipeline(stt, tts,
     eng, ag, opts...)). Replaced with the real wiring shape.

  4. HTTP curl examples used /tmp/vesseld.sock as the unix
     socket path, but examples/vesseld-multi-vessel/daemon.yaml
     declares /tmp/vesseld-multi-vessel.sock. Captured the path
     in a SOCK shell var so the discrepancy is visible.

  5. Architecture diagram had sdk/ in the middle and sdkx/ at
     the bottom — but sdkx imports sdk, vessel imports sdk,
     voice imports sdk; sdk is the foundation. Redrawn with
     sdk at the bottom and sdkx/vessel/voice as siblings on
     top of it. vesseld composes vessel + sdkx (single arrow
     captures the actual dep direction).

  6. Recall feature claim "Pluggable persistence (in-memory,
     SQLite, Postgres + pgvector)" overstated the in-tree
     coverage — the in-tree backend is in-memory only; SQLite
     is used for the recall job queue, not the index. Reworded
     to "Pluggable retrieval.Index backend; in-tree
     implementation is in-memory."

  7. "Combined via Reciprocal Rank Fusion" overstated the
     algorithm — the merger uses entity-boost + TTL filtering,
     not RRF. Reworded.

Co-authored-by: Cursor <cursoragent@cursor.com>
@lIang70
lIang70 merged commit ee41f25 into main May 7, 2026
10 checks passed
@lIang70
lIang70 deleted the fix/readme-accuracy branch May 7, 2026 08:25
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