Skip to content

Publish the Flect product-adoption SDK and reference products #28

Description

@robinbraemer

Outcome

Let a product team adopt Flect incrementally through stable public contracts, ship a recommended interface, expose typed product capabilities to the agent, support user-controlled or product-provided inference, and preserve local user customization and protected recovery.

Product-quality coverage

FQ-05.2 through FQ-05.7, FQ-20.3 through FQ-20.5, and FQ-21.1 through FQ-21.8.

Dependencies

Consumes capsule, capability, product-adapter, extension, installation, and native-host contracts from #2, #3, #6, #7, #10, #12, and #26.

Required behavior

  • Publish versioned Effect Schema contracts and small host adapters for product description, capabilities, authentication ownership, events, recommended interfaces, policy, compatibility, and inference options.
  • Let the same Flect agent discover and use product capabilities through typed, bounded descriptions without exposing orchestration roles to users.
  • Keep product policy and backend authorization authoritative after user approval and UI personalization.
  • Store personal forks, workspace history, and grants with the user, not the product connection.
  • Support browser-direct CORS-compatible products and an explicitly configured authenticated broker for other products without creating an unrestricted proxy.
  • Provide migration and compatibility diagnostics across Flect, interface, and product revisions.
  • Keep the running-interface, history, recovery, and capability UX identical to standalone Flect.

Acceptance criteria

  • At least three structurally different reference products adopt Flect using only public contracts: a local/offline tool, a browser-direct API product, and an authenticated brokered product.
  • Each ships a recommended interface, typed product capabilities usable by the same agent, an optional authoring integration, and a user-personalizable fork.
  • Tests prove product denial beats user approval, credentials never enter user projects or models, and inference-provider choice does not alter product authorization.
  • Product update, user fork, capability change, extension change, incompatible host, and offline states have deterministic UX.
  • A person can select and edit the product's running interface through the same workflow as any other Flect project.
  • A product can remove Flect integration without taking or corrupting user-owned exported work.
  • Documentation starts from the smallest integration and does not require understanding Flect internals.

Non-goals

  • Replacing product backends, databases, authorization, or business logic.
  • Requiring every product to run inference.
  • Granting product code control over the protected shell or agent host.
  • Creating a second product-specific editing or review workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:capabilitiesCapability contracts, permissions, and product adaptersarea:ecosystemInstallation, sharing, provenance, and framework ecosystemenhancementNew feature or requestpriority:P2Important follow-up after the core product experience worksstatus:external-gateImplementation is locally complete; closure requires credentials, hardware, review, or publication

    Type

    No type

    Projects

    Status
    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions