Skip to content

MCP 3.0.0rc6 — projection tick scaling

Pre-release
Pre-release

Choose a tag to compare

@Foxfire1st Foxfire1st released this 13 Jul 10:37
b120efb

Performance release: removes the observer dashboard daemon's per-tick O(contracts × tree × readers) filesystem storm.

Highlights

  • Walk-free load_contract — leaf-id normalization moved to write time plus an explicit idempotent heal-leaf-ids migration sweep; a contract load no longer walks the whole tasks tree.
  • One shared contract snapshot per projection tick — the three per-tick readers share a single enumeration, backed by a stat-identity parse cache across ticks.
  • Change-driven projection with idle heartbeat — the projector wakes on debounced coordination-input changes or a 15s heartbeat instead of unconditionally every second; the watch set never descends into worktree/container runtime, and any watch failure degrades loudly to fixed-interval ticking.

Impact

  • Observer tick read cost ~750 ms → ~9 ms.
  • Idle re-projections ~20 / 20s → ~3 / 20s; change latency ~1.2 s.
  • Steady daemon CPU ~160% → ~7–22%.

Full mcp suite 2126 passed; repository quality wrapper green; verified against a live tree with provider containers running.