Skip to content

docs: adopt OpenSpec and restructure docs as a user manual - #19

Merged
outofcoffee merged 2 commits into
mainfrom
worktree-openspec
Jul 28, 2026
Merged

outofcoffee merged 2 commits into
mainfrom
worktree-openspec

Conversation

@outofcoffee

Copy link
Copy Markdown
Collaborator

Adopt OpenSpec for behavioural specs and rebuild the docs directory as a user manual.

Summary

  • Initialise OpenSpec (openspec/) and seed nine capability specs — provider-catalog, provider-selection, outfit-files, alias-registry, harness-management, opencode-integration, pi-integration, local-serving, shell-completion — derived from the current implementation; all pass openspec validate --specs --strict
  • Repurpose docs/ as user documentation: every subcommand now has its own page under docs/commands/, with a new docs/README.md index and a docs/getting-started.md end-to-end guide
  • Trim docs/outfit-file.md to a file-format reference — command walkthroughs moved to the command pages, behavioural detail now lives in the specs
  • Slim the root README's deep-detail sections and link the new manual from it
  • Commit the OpenSpec workflow commands and skills under .claude/ so contributors get the /opsx:* commands

Implementation details

The split of responsibilities is now: openspec/specs/ holds the behavioural contract (maintainer-facing, requirement/scenario format), docs/ speaks to users, and AGENTS.md keeps the architecture map. The specs were seeded from the code itself (cmd/outfit and the internal/ packages) rather than from the docs, then cross-checked against the existing docs/outfit-file.md before it was trimmed.

Seed nine capability specs under openspec/specs, derived from the
current behaviour of the CLI and internal packages, as the baseline
for spec-driven changes.
Give every subcommand its own page under docs/commands, add an index
and a getting-started guide, and trim outfit-file.md to a file-format
reference now that command walkthroughs live on the command pages and
behavioural detail lives in openspec/specs. Link it all from the root
README.
@outofcoffee outofcoffee added the documentation Improvements or additions to documentation label Jul 28, 2026
@outofcoffee
outofcoffee merged commit 0ac9414 into main Jul 28, 2026
1 check passed
@outofcoffee
outofcoffee deleted the worktree-openspec branch July 28, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant