Repository navigation
Description
This is the claude-plugins slice of the Fluree Companion program (the hub anchor with the full objective is the solo issue linked below). The short version: users increasingly onboard to Fluree AI through Claude Code, each customer's stack runs its own version, so knowledge has to live in the stack and the binary — and the plugin layer carries choreography and doctrine only. Which is to say: the fluree-cli plugin already got the architecture right, and this program's plugin work is a second application of its pattern, not a rethink. Probe-first doctrine, a small contract file for every fact the prose hard-codes, CI validation against a producer-published artifact — all of that extends as-is.
The new plugin: fluree-companion. A stack-first sibling to fluree-cli:
- E1 — skills covering the connection choreography (
/.well-known/fluree.jsondiscovery → device-code auth → registering the stack's MCP server), story playbooks that defer to stack-hosted knowledge (the stack will growdocs_search/docs_get/docs_treeMCP tools and a public/api/docs/search— solo-side work, tracked there), safety rails, and the division of labor between CLI, stack MCP, and UI. The seed for most of this already exists as prose inplugins/fluree-cli/skills/fluree-cli/references/remote-fluree-ai.md; the Companion packages it and goes further. - E2 — a guided
/fluree-companion:connectcommand: fresh machine → connected session exercisingdocs_searchagainst the user's own stack, with the human-in-the-loop/activateapproval called out the way the fluree-cli setup command already does. - E3 —
contract/stack-facts.json: every stack API path, tool name, and doc slug the plugin's prose hard-codes, CI-validated against solo's generated endpoint manifest and docs index (both being built solo-side as C1/B1). This closes the contract triangle: fluree/db's manifest validatescli-facts.json, and solo's artifacts validatestack-facts.json. The check runs advisory until solo publishes consumable artifacts, then flips to required — same lifecycle Flip the cli-contract CI check to required once fluree/db ships the manifest release asset #2 went through. - E4 — cross-discovery: fluree-cli ↔ fluree-companion references in both directions, so whichever plugin (or docs surface) a user finds first points at the rest.
- E5 (nice-to-have) — teach
fluree-dataset-generatorto load into a stack via CLI/API instead of the manual browser-upload flow its README currently apologizes for.
Also in scope here:
- A4 — Flip the cli-contract CI check to required once fluree/db ships the manifest release asset #2 is unblocked: fluree/db v4.1.5 shipped
fluree-cli-manifest.jsonas a release asset, so the cli-contract job's 404-warn-and-skip can become a hard failure, and the check (plusplugin-validate) should become required via a ruleset. That's scheduled as part of this program's first phase. - F1 — repositioning: the marketplace still self-describes as "Internal Claude Code plugins for Fluree demos and tooling," and the READMEs assume a Fluree employee. Rewrite for customers (install paths, mental model, per-plugin release notes). Marketing/brand review happens async and isn't a blocker.
The outcome we're after: a customer who has only a stack URL and Claude Code can install the marketplace, run /fluree-companion:connect, and be working against their stack's own version-pinned knowledge — and every fact this repo's prose asserts about the CLI or a stack is something CI can falsify.
Sibling anchors
- fluree/solo#1040 — the hub — stack-hosted knowledge plane (docs index, MCP knowledge tools, public search, ⌘K palette), UI↔API parity audits + contract gates, well-known v2, discovery surfaces
- Fluree Companion program: docs corpus scoping and the CLI↔stack contract surface db#1653 — docs corpus scoping, publishing the CLI↔stack glue docs, non-release build disambiguation
- fluree/solo-proxy#255 — manifest-pin parity for customer-driven stack updates
Activity