Skip to content

fix(mcp): align the drop-in surface with the official server and harden the store - #26

Merged
sequico merged 23 commits into
mainfrom
cycles
Dec 2, 2026
Merged

sequico merged 23 commits into
mainfrom
cycles

Conversation

@sequico

@sequico sequico commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Twenty review cycles over the whole tree, one commit each, plus the changelog cut. Everything is a
compatibility or correctness fix except the two additive read options, which bring the nine back in
line with the official server's own surface.

Drop-in surface (the nine)

  • add_observations collapses a content repeated in one request, as the official server does.
  • create_entities reports the names it skipped, with the official notice.
  • read_graph takes entityTypes; every read takes observationLimit (+observationCount).
  • set_observations reports unchanged when the key already holds the value.
  • find_nodes keeps every field ahead of every position (a late name prefix beats an exact type).

Store and compaction

  • A malformed last line that ends with a newline is corruption, not a torn append: a rewrite refuses
    to erase it.
  • doctor counts only a winning relation add whose endpoint is gone (0 on the live mesh), and names
    it.
  • export --keep validates its value; 0 keeps every snapshot.

Replication

  • A shard is served in sequence order, so a paged pull cannot skip an operation.
  • A page with no complete operation is refused instead of a silent empty pull; a broken response no
    longer ends the daemon.
  • A peer frontier may only name a safe node id (it would otherwise make the daemon refuse its own
    file on restart).
  • A daemon that fails to start leaves no ownership record behind (a port clash no longer blocks
    collection for ever).

Resources, packaging, docs

  • memory://changes{?since} refuses a malformed moment, as the tool does.
  • The MCPB bundle and the image carry LICENSE and NOTICE; the notice names the documents that
    exist.
  • The repo skills have valid YAML front matter (both are advertised again); CONTRIBUTING and the
    skill state the gate rule as the project has it.
  • README, plan and protocol say a certificate revives a peer, a header never does.
  • scaling.md points at docs/plan.md; the protocol table row is repaired.

Gate on the pushed tree: audit 0 vulnerabilities, Biome clean (124 files), typecheck clean,
426 tests passed, build clean.

@sequico
sequico merged commit 3343588 into main Dec 2, 2026
7 checks passed
@sequico
sequico deleted the cycles branch December 2, 2026 23:29
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