Skip to content

docs: align README + governance docs with current state (uninstall, files, ADR index, ship-archive) - #59

Merged
dtzp555-max merged 1 commit into
mainfrom
docs/readme-and-governance-polish
May 4, 2026
Merged

dtzp555-max merged 1 commit into
mainfrom
docs/readme-and-governance-polish

Conversation

@dtzp555-max

Copy link
Copy Markdown
Owner

Summary

One layer of doc polish (audit findings M6, M8, M9, M11, L2, L3, L6 rolled up).

README.md additions

Item Where Why
Uninstall section between Server Setup and Client Setup node uninstall.mjs exists but was undocumented
OpenClaw definition footnote Supported Tools table first README mention never defined the term
Repository Layout table before Security new contributors had no map of top-level files
LICENSE link License section added explicit link to LICENSE file

docs/adr/README.md (new)

ADR index for the three published records (0002, 0003, 0004), explanation of why numbering starts at 0002, and a "when to write a new ADR" guide.

Spec / plan housekeeping

  • Removed empty specs/.gitkeep
  • Moved shipped plans to docs/superpowers/plans/shipped/:
    • 2026-04-10-lan-mode.md (shipped: README LAN mode section is live)
    • 2026-04-25-47-sse-heartbeat-plan.md (shipped: v3.12.0 per CHANGELOG)
  • Did NOT move 2026-04-25-47-sse-heartbeat-design.md because server.mjs:565 and CHANGELOG.md:7 both link to that exact path. Moving it would require a server.mjs edit, which needs cli.js citation per ALIGNMENT.md Rule 1. Left in place; documented this caveat in AGENTS.md.

AGENTS.md updates

  • Added docs/adr/README.md, docs/superpowers/plans/, and memory/constitution.md to "Key files to know"
  • Updated Handoff item 5 from the never-existing docs/superpowers/specs/*/tasks.md to docs/superpowers/plans/

Coordination with PR #53

PR #53 (open) adds "Why OCP?", "Comparison", and "Governance" README sections. This PR deliberately avoids those areas — only edits the Supported Tools table footnote, inserts Uninstall + Repository Layout in non-overlapping spots, and updates the License footer line. Expected: no merge conflict. If conflict surfaces, this PR can rebase trivially.

Test plan

  • git status clean post-commit
  • docs/superpowers/specs/2026-04-25-47-sse-heartbeat-design.md still exists at the path server.mjs:565 and CHANGELOG.md:7 reference
  • No leftover refs to specs/ or docs/superpowers/specs/*/tasks.md
  • Reviewer: confirm Uninstall section accurately describes what uninstall.mjs does (handles legacy + current service names, does not delete ~/.openclaw/ or ~/.ocp/)
  • Reviewer: confirm Repository Layout table matches actual file list

…iles, ADR index, ship-archive)

Multiple documentation polish items rolled into one PR (one layer:
"docs alignment with current state").

### README.md

- **Uninstall section** added between Server Setup and Client Setup
  (was missing — `node uninstall.mjs` exists but went undocumented).
- **OpenClaw definition** added as a footnote on first README mention
  (the architecture diagram and Supported Tools table both reference
  OpenClaw without ever defining it).
- **Repository Layout section** added before Security — table of
  top-level files (server.mjs, setup.mjs, uninstall.mjs, keys.mjs,
  models.json, ocp/ocp-connect, dashboard.html, scripts/, .claude/skills/,
  ocp-plugin/, docs/adr/, ALIGNMENT.md, AGENTS.md, CLAUDE.md) so a new
  contributor knows what each file does.
- **LICENSE link** added to the License section footer.

### docs/adr/README.md (new)

- Index of the three published ADRs (0002, 0003, 0004) with a one-line
  description each.
- Explains the `0001` placeholder (early internal proposal that was
  superseded; numbering deliberately starts at `0002`).
- Guidance on when to write a new ADR vs. when a commit message suffices.

### Spec/plan housekeeping

- `specs/.gitkeep` removed (the empty `specs/` placeholder confused the
  picture; canonical paths are `docs/superpowers/plans/` for active plans
  and `docs/superpowers/specs/` for long-lived design docs that other
  code references).
- Shipped plans moved to `docs/superpowers/plans/shipped/`:
  - `2026-04-10-lan-mode.md` (shipped: README LAN mode section)
  - `2026-04-25-47-sse-heartbeat-plan.md` (shipped: v3.12.0 per CHANGELOG)
- `2026-04-25-47-sse-heartbeat-design.md` left in `docs/superpowers/specs/`
  unchanged because both `server.mjs:565` and `CHANGELOG.md:7` link to
  that exact path; moving it would require a `server.mjs` edit, which
  needs `cli.js` citation per ALIGNMENT.md Rule 1.

### AGENTS.md

- Updated "Key files to know" to add `docs/adr/README.md`,
  `docs/superpowers/plans/`, and `memory/constitution.md`.
- Note explaining `memory/constitution.md` is spec-kit's standard
  location, distinct from `~/.cc-rules/memory/` and `ALIGNMENT.md`.
- Updated "Handoff expectations" item 5 from `docs/superpowers/specs/*/tasks.md`
  (which never matched anything — there were no `tasks.md` files there)
  to `docs/superpowers/plans/` (excluding `shipped/`).

### Coordination with PR #53

PR #53 is open and adds "Why OCP?", "Comparison", and "Governance"
sections to README. This PR deliberately avoids those areas — only edits
the Supported Tools table footnote, inserts Uninstall before Client Setup,
inserts Repository Layout before Security, and updates the License footer.
No expected merge conflict.

Refs: audit findings M6, M8, M9, M11, L2, L3, L6.
@dtzp555-max
dtzp555-max merged commit 313cb13 into main May 4, 2026
@dtzp555-max
dtzp555-max deleted the docs/readme-and-governance-polish branch May 4, 2026 23:44
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.

2 participants