Skip to content

epic: Open-source the complete single-user Answer Engine application #6

Description

@bradtaylorsf

Goal

Make the public Answer Engine repository own the complete single-user application and all supporting non-commercial APIs. A fresh local install must expose the same core product experience as enterprise, while the private repository adds only roles, RBAC, teams, billing, and permissions through explicit extension seams.

Non-Technical Summary

The first repository split shipped the memory engine with a six-file Memory/Ask/Import UI, while the proven library workspace application remained private. Restore the full product: content, imports, tags, libraries, answers, recipes, artifacts, reports, dashboards, batch jobs, settings, access tokens, and local audit history. No normal single-user workflow may require curl, Auth0, a manually created API key, or enterprise code.

Why This Matters

  • The public project currently presents a stripped-down replacement rather than the actual Answer Engine product.
  • Users must be able to organize imported Claude, Codex, Cowork, document, and web content into tags and libraries locally.
  • One shared core application prevents OSS and enterprise behavior from drifting.
  • The commercial boundary must be easy to explain and enforce: roles, RBAC, teams, billing, and permissions only.

Architecture Observations

  • OSS currently has 6 web UI source files; enterprise has 196 and already contains the proven library-as-workspace experience from enterprise epics #439 and #509.
  • OSS exposes only content import/list/detail/delete/lineage and agent query/retrieve/summarize/ask routes. Supporting neutral schemas, migrations, routes, services, workers, and UI must move with their product surfaces.
  • Preserve tenant_id scoping but use the existing auto-provisioned local tenant and browser session in single-user mode.
  • Enterprise must consume the pinned OSS application and inject paid navigation, routes, identity, authorization, and billing. Do not copy two independent core UIs.
  • Graphify is excluded from this workflow.

Ordered Sub-Issues

Gated Final Acceptance

Acceptance Criteria

  • Fresh @answer-engine/create install opens the complete single-user app without login or manual API-key setup.
  • Users can manage content, imports, tags, libraries, answers, recipes, artifacts, reports, dashboards, batch jobs, settings, access tokens, and local audit history through the UI.
  • Existing Claude, Codex, and Cowork history is visible, searchable, organizable, and usable in grounded answers.
  • OSS contains no roles, RBAC, teams, billing, or permission-management implementation.
  • Enterprise consumes the shared OSS UI/core and adds only paid capabilities via explicit extensions.
  • All child acceptance criteria and final epic verification pass.

Dependencies and Sequencing

Verification Expectations

  • Run pnpm verify after each integration boundary and from a clean checkout at completion.
  • Verify clean database migrate/init plus installer idempotence.
  • Use agent-browser for desktop and 375px mobile visual verification of every restored workflow.
  • Exercise create/edit/delete and error states, not merely page rendering.
  • Prove the final app against real Claude, Codex, and Cowork records and verify grounded citations plus lineage.
  • Run alpha-loop run --verify-only 6 and independently inspect issues, PRs, checklist state, learning files, and the enterprise pin before completion.

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

    enhancementNew feature or requestepicParent issue tracking a major workstreampriority:highImportant for the complete OSS product

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions