Skip to content

Fluree Companion program: the fluree-companion plugin #3

Open

Description

@aaj3f

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.json discovery → device-code auth → registering the stack's MCP server), story playbooks that defer to stack-hosted knowledge (the stack will grow docs_search/docs_get/docs_tree MCP 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 in plugins/fluree-cli/skills/fluree-cli/references/remote-fluree-ai.md; the Companion packages it and goes further.
  • E2 — a guided /fluree-companion:connect command: fresh machine → connected session exercising docs_search against the user's own stack, with the human-in-the-loop /activate approval 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 validates cli-facts.json, and solo's artifacts validate stack-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-generator to 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.json as a release asset, so the cli-contract job's 404-warn-and-skip can become a hard failure, and the check (plus plugin-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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions