Skip to content

Reconcile plugin onto KB-root state model (Phase A) - #9

Merged
crowcreation merged 2 commits into
mainfrom
reconcile-plugin-phase-a
Jun 20, 2026
Merged

Reconcile plugin onto KB-root state model (Phase A)#9
crowcreation merged 2 commits into
mainfrom
reconcile-plugin-phase-a

Conversation

@crowcreation

Copy link
Copy Markdown
Owner

Phase A of the plugin reconciliation (plan: discipline-first / KB-root convergence). Converges the plugin off the old .nexus/ state model so install → scaffold → /done /status /idea /failure all hit ONE root structure. Launch-blocking fix before the Ranj/Andy operator handoff.

What changed

  • /failure + /field-report → root failure-log.md; /failure is format-tolerant (matches the log's existing shape, never forces the category table on a plain-line log).
  • 3 hooks → find_state_dir() = <git-toplevel>/.claude/session-state; pre-flight message rewritten to KB-root reality.
  • /nexus-onboard retired (the setup-prompt's living universe.md interview replaces it); dead templates/config.json removed.
  • /nexus-init repurposed → idempotent KB-root foundations bootstrap (root failure-log.md, KB/ PARA + READMEs, .gitignore/.env.example), no .nexus/.
  • README + both manifests + templates/universe.md reconciled; version 0.5.0 → 0.6.0.
  • New docs/cowork-setup.md — single Cowork story (two old snippets folded into pointers).

Verified (static)

  • grep -rn "\.nexus/" . → only the allowed historical note in ROADMAP's retired-commands section.
  • All 3 hooks compile; reference .claude/session-state.
  • docs/cowork-setup.md honestly flags the desktop GUI click-path as [unverified] and states plainly that a pure-GUI third-party-marketplace add is unconfirmed (may need a one-time CLI /plugin marketplace add).

NOT done — do before merge

  • Live dry-run E2E (A8): scratch repo → paste setup-prompt → /done /status /idea /failure all hit one root structure; /nexus-init in a second scratch repo; hooks write .claude/session-state/, create no .nexus/.
  • A9 Cowork GUI click-path confirmation (greenfield desktop install).

Follow-up

  • Phase B (separate PR, not launch-blocking): nexus.structure.json + coherence check + CI + CHANGELOG + updating doc + offline staleness surface.

Do not merge until the dry-run confirms the live behaviour.

Converge the plugin off the old .nexus/ directory model onto the canonical
KB-root model so install -> scaffold -> /done /status /idea /failure all hit
one root structure.

- /failure: read/append root failure-log.md (was .nexus/), format-tolerant —
  detect plain-line vs categorised shape and append in kind; categories stay
  optional, never forced onto a day-one log.
- 3 hooks: replace find_nexus_dir() with find_state_dir() ->
  <git-toplevel>/.claude/session-state; session_preflight message points at
  KB-root reality; branch_verify echo-hint path fixed; session_save writes
  there and only inside a git repo. Stdlib-only, non-blocking, exit 0.
- /field-report: re-point reads to root failure-log.md (path only).
- Retire /nexus-onboard (removed); scrub README, ROADMAP, manifests.
- Repurpose /nexus-init into an idempotent KB-root foundations bootstrapper
  (root failure-log.md, KB/ PARA skeleton, .gitignore/.env.example) — no
  .nexus/.
- Remove dead templates/config.json; scrub templates/README row.
- README/manifests/universe.md: surviving command set, drop "onboarding",
  bump 0.5.0 -> 0.6.0, living-map framing.
- New docs/cowork-setup.md: single canonical Cowork story (greenfield
  no-terminal install via Customize panel, namespaced nexus:* commands,
  /plugin CLI-only, remove+re-add for stale). GUI click-path flagged
  unverified pending the clean dry-run; third-party marketplace GUI-add
  unconfirmed. Folds the two prior Cowork snippets into a single pointer.

Only allowed .nexus/ mention remaining is the historical note in ROADMAP's
retired-commands section. Hooks compile. Phase B not started.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nexus-deploy Ready Ready Preview, Comment Jun 20, 2026 12:18pm

… get commands

Greenfield gap surfaced in the live dry-run: operators were never told to mkdir/git init or how to obtain the commands. Adds the substrate + folder + plugin-install (or manual copy) step up front.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@crowcreation
crowcreation merged commit 07b6b37 into main Jun 20, 2026
2 checks passed
@crowcreation
crowcreation deleted the reconcile-plugin-phase-a branch June 20, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant