Skip to content

Align ontology artifact relation contracts#112

Open
elasticdotventures wants to merge 9 commits into
mainfrom
task/connect-claude-obsidian-submodule
Open

Align ontology artifact relation contracts#112
elasticdotventures wants to merge 9 commits into
mainfrom
task/connect-claude-obsidian-submodule

Conversation

@elasticdotventures

Copy link
Copy Markdown
Member

Summary:

  • Aligns ontology contract expectations with artifact/relation terminology.
  • Supports parent b00t PR elasticdotventures/b00t#783 submodule pointer.

Tests:

  • timeout 300 env RUSTC_WRAPPER= cargo test -p ledgerr-mcp --test ontology_contract -- --nocapture
  • timeout 900 env RUSTC_WRAPPER= cargo test -- --nocapture

- Replace tray-icon crate with native Shell_NotifyIconW
- Replace PowerShell BurntToast with ToastNotificationManager
- Cross-platform: cfg(windows) native, non-Windows stderr
- 80 tests pass
- Replaced JSON file settings with SettingsBackend trait
- Windows: native registry (HKEY_CURRENT_USER\Software\b00t)
- Non-Windows: JSON file fallback (~/.b00t/settings.json)
- 86 tests pass
- docs/webview2-evaluation.md: analysis of webview2 as Tauri alt
- Native Shell_NotifyIconW tray for Windows (via ledgerr_host::tray::native)
- Tauri built-in tray fallback for Linux/macOS
- Programmatic 🥾 icon (RGBA, blue boot shape)
- Menu: Show Window, Version, Settings, Quit
- Window show via event emit
promptexecutionerr and others added 2 commits July 20, 2026 23:07
Specify the future Claude Desktop MCPB controller / native Windows
installer split, Office/SharePoint playbook surfaces, and the b00t
contract, then wire the new architecture into README, mcp-surface,
visualize, release-process, and the Cowork plugin marketplace docs
so it's discoverable from existing entry points.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds crates/ledgerr-desktop-agent: a real stdio JSON-RPC MCP server
(ledgrrr-mcp) exposing all 11 ledgrrr_* controller tools from PRD-10
§3.1, plus a Phase 1 user-level heartbeat process (ledgrrr-service).

- ledgrrr_status measures real local state (b00t CLI, service pid
  liveness via sysinfo, tray binary presence) — no mocked fields.
- ledgrrr_render_diagram: deterministic Mermaid/JSON/SVG output;
  PNG explicitly unsupported pending a rasterizer dependency.
- ledgrrr_simulate_pipeline: deterministic, non-LLM state-machine
  walk over a typed PlaybookModel with governance-correct gate
  blocking (a required gate without auto_approve halts traversal
  rather than silently passing).
- ledgrrr_export_office_artifact: local versioned bundle (mermaid +
  svg + json + provenance), since no Office/SharePoint tenant is
  available to publish to yet.
- ledgrrr_start_service/stop_service/open_tray: real spawn/kill of a
  user-level process via sysinfo, and launch of the existing
  host-tray/ledgerr-tauri binary if built.
- install_desktop/repair/uninstall return structured plans stating
  they require the native Windows installer, which does not exist
  yet — never a silent no-op or fabricated success (PRD-10 §7, §10).

Also publishes the seven required b00t datums (ledgrrr.cli already
existed) for ledgrrr.mcp/.service/.desktop/.office-addin/
.sharepoint-webpart/.model-runtime in the parent dotfiles _b00t_/,
each honestly marked missing/not_configured where nothing is built.

17/17 tests pass (contract, golden/determinism, gate-blocking,
JSON-RPC round-trip); clippy clean; full workspace check passes.
MCPB packaging, native installer, Office/SPFx surfaces, and local
model weights remain out of scope — they require external tenants/
signing infra not available here.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.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