Skip to content

docs(openspec): backfill base specs for shipping behavior#324

Merged
drn merged 1 commit into
masterfrom
backfill-openspec-base-specs
Jun 24, 2026
Merged

docs(openspec): backfill base specs for shipping behavior#324
drn merged 1 commit into
masterfrom
backfill-openspec-base-specs

Conversation

@drn

@drn drn commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Why

openspec/specs/ was empty after the OpenSpec policy was adopted in #323, so future change proposals had no baseline to diff against. This backfills base specs documenting the current, already-shipping behavior of the dots CLI, its install components, the agents/skills/hooks system, and the standalone cmd/ utilities.

This is a backfill of existing code, not a change proposal — so it writes directly to openspec/specs/<capability>/spec.md with no changes/ folder.

Capabilities

Capability Scope
cli-framework Cobra entry/command tree, component registry + dispatch, process-exit error model, pkg/run, pkg/path, cli/link, pkg/cache, cli/is
component-install dots install selection, install-all orchestration, each per-component installer (shell, editor, fonts, packages, languages, macOS defaults, tools, pi.dev)
agent-config-install dots install agents symlinks + idempotent hook & status-line registration in ~/.claude/settings.json
config-update dots update orchestration, weekly auto-clean, dots clean
system-doctor dots doctor read-only diagnostics + remediation hints
cli-utilities the 25 standalone cmd/ binaries

Notes

  • Documents current truth, warts included — destructive no-backup symlinks, the os.Exit error model, explicit-slice (not reflection) installer dispatch.
  • The in-flight improve-code-quality change proposes to modify cli-framework; this base spec describes what ships today, which that proposal diffs against.
  • Specs are local docs only — not wired into CI.
  • All six pass openspec validate --strict. Full Pre-Completion Checklist green (build, revive, go test, skill tests, skill linter, agnix 0 errors, qlty clean on changed files).

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

`openspec/specs/` was empty after the OpenSpec policy adoption (#323), so
change proposals had no baseline to diff against. This backfills base specs
documenting the CURRENT, already-shipping behavior of the dots CLI.

Capabilities:
- cli-framework: Cobra entry/command tree, component registry + dispatch,
  process-exit error model, pkg/run, pkg/path, cli/link, pkg/cache, cli/is
- component-install: `dots install` selection, install-all orchestration, and
  each per-component installer (shell, editor, fonts, packages, languages,
  macOS defaults, tools, pi.dev)
- agent-config-install: `dots install agents` symlinks + idempotent hook and
  status-line registration in ~/.claude/settings.json
- config-update: `dots update` orchestration, weekly auto-clean, `dots clean`
- system-doctor: `dots doctor` read-only diagnostics + remediation hints
- cli-utilities: the 25 standalone cmd/ binaries

Documents current truth (warts included: destructive no-backup symlinks,
os.Exit error model). Specs are local docs only — not wired into CI.
All six pass `openspec validate --strict`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@drn drn merged commit 7d39b45 into master Jun 24, 2026
1 check passed
@drn drn deleted the backfill-openspec-base-specs branch June 24, 2026 22:04
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