Skip to content

dx(openclaw): collapse Cortex + OpenClaw setup into one happy-path flow #321

Closed

Description

@hurttlocker

Summary

Polish the Cortex + OpenClaw onboarding path into a single obvious happy-path flow for first-time OpenClaw users.

Why

Cortex already has strong local-first fundamentals and a working OpenClaw plugin, but the setup UX is still fragmented across:

  • root README.md
  • plugin/README.md
  • docs/setup-guide.md
  • openclaw cortex setup
  • manual plugin/config/embedding steps

ByteRover's main edge here is not deeper architecture — it's that the OpenClaw pitch feels turnkey. Cortex should match that setup polish without giving up the local-first architecture.

Desired outcome

A first-time OpenClaw user should have one clear path from zero -> Cortex installed -> plugin enabled -> health verified.

Proposed scope

  • Collapse the OpenClaw path into one canonical setup flow
  • Reduce doc drift between README/plugin/setup-guide
  • Improve setup verification so missing steps produce exact next actions
  • Prefer a one-command or one-entry happy path for OpenClaw users

Acceptance criteria

  • There is one documented canonical OpenClaw setup path
  • Cortex/OpenClaw setup verifies binary, DB, embedding provider, plugin install, and config placement cleanly
  • Missing pieces yield actionable next steps instead of generic failure text
  • README + plugin docs + setup guide are aligned on the same flow
  • A first-time-user smoke test can get from clean machine -> working OpenClaw+Cortex integration without guesswork

Relevant current surfaces

  • README.md
  • plugin/README.md
  • docs/setup-guide.md
  • plugin/index.ts (openclaw cortex setup command path)
  • docs/releases/v1.2.1.md (recent adoption/setup improvements)

Out of scope

  • Adding cloud dependencies to make setup easier
  • Splitting the OpenClaw path into more competing setup docs

Activity

  1. added
    documentation
    enhancement
    dx
    on Mar 11, 2026
  2. hurttlocker commented on Mar 11, 2026

    @hurttlocker
    OwnerAuthor

    Promoting this to the next active Cortex version lane.

    Bounded scope for this sprint:

    • one canonical Cortex + OpenClaw happy-path setup flow
    • actionable setup/doctor next steps
    • detect stale installed ~/bin/cortex vs current repo/runtime expectations
    • verify plugin/runtime drift cleanly
    • verify HNSW warning+rebuild health so corrupt persisted ANN state degrades gracefully for operators

    Important context from live operator debugging:

    • the recurring cortex_search panic was not a fresh main-branch search blocker
    • it was reproduced via a stale installed cortex 1.2.3 binary plus corrupt persisted ~/.cortex/hnsw.idx
    • current main / rebuilt 1.2.4 degrades correctly: warning -> rebuild -> return results

    Out of scope for this issue:

    • no budget-aware recall packing
    • no summary store
    • no ghost cues/archive stubs
    • no cloud/vendor dependency additions
  3. hurttlocker commented on Mar 11, 2026

    @hurttlocker
    OwnerAuthor

    Closing as shipped via PR #322.

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

    documentationdxenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions