Skip to content

Ship a first-run trust loop instead of a repository setup exercise #118

Description

@George-RD

What to build

First-run experience must not require cloning a Git repo or running OpenSpec tools. Replace the repository setup exercise with a single-command trust loop: one trusted principal, one session, one outcome.

Acceptance criteria

  1. Remove repository setup ceremony. 2. Implement single-command startup (e.g., 'openspine init --owner'). 3. Document the trust ceremony (seed key, approval, test). 4. Verify bootstrap works end-to-end.

Blocked by

None (parallel work)

Original report

Why

The Growth Arsenal value-equation audit found that OpenSpine's strongest variable is the dream outcome and its weakest variables are time to first value and setup effort.

The current public path asks a new user to configure Docker, socket permissions, Telegram, a model provider, Gmail OAuth, mailbox identity, and a copied Gmail thread ID before they can see the core product promise. The agent-OS sequence also records richer onboarding as deferred until a second deployment exists.

That deferral now conflicts with the product need. Onboarding is not cosmetic. It is how a user learns that OpenSpine is the assistant system, Lyra is the assistant, and the runtime is protecting the first real task.

Product goal

A technical self-hoster should reach one visible, governed result quickly and understand:

  1. what Lyra is about to do;
  2. what the task may and may not access;
  3. which credentials stay outside the worker;
  4. where approval is required;
  5. what receipt proves after the task.

Scope

  • Add a single supported first-run command or guided flow.
  • Preflight Docker, socket access, data ownership, Lyra package availability, provider auth, Telegram, Gmail, and the selected mailbox.
  • Show failures with one cause and one recovery action rather than raw subsystem errors.
  • Replace copied thread IDs with a minimal owner-controlled thread selector or recent-thread picker.
  • Show the task boundary in plain language before the first run.
  • After completion, show a compact receipt: verified source, selected target, allowed/asked/denied actions, and audit reference.
  • Preserve the current deterministic authority pipeline. The onboarding UI may explain the grant; it must not construct or override it.

Done when

  • A fresh technical user can reach a successful Lyra draft without reading multiple implementation documents.
  • The setup flow distinguishes required configuration, optional capability, and current alpha limits.
  • The user sees a real denial or approval boundary during the first successful workflow.
  • The flow is exercised at desktop terminal width and a narrow terminal or web surface where applicable.
  • Automated tests cover preflight results and the first-run state transitions.

Relationship to architecture

Do not wait for a second deployment target. Keep deployment-specific setup adapters separate from the runtime, but treat the first-run product experience as a current roadmap track.

Roadmap relationship after the progressive-delegation audit

This issue owns time to the first bounded task, not reusable authority itself.

first bounded result (#118)
        +
reviewed reusable responsibility (#130)
        =
first credible OpenSpine experience

Do not block this issue on the full package store in #117. A bundled/default Lyra path may be used until package installation is productized, provided the setup flow remains truthful about the current source-checkout/package state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions