skillhub/openspec/README.md
XiaoSeS b52a7cd50e docs: close the #1168 drift audit
Fix the remaining documentation drift and record the status of the
product findings:

- API docs: CLI canonical endpoints now list validate and delete; the
  `/api/v1/*` block is marked as the ClawHub compatibility layer.
- Avatar moderation defaults, roadmap status, private-SSO handler
  ownership, SMTP defaults, module tree, Web coordinates, API_PORT,
  version grammar and route guards now match the code.
- OpenAPI gains the CLI validate, publish and delete paths.
- Review guides list the detail/file/attempt endpoints; quickstarts
  point at Swagger UI.
- Historical plans and PRDs carry a status banner, and OpenSpec now
  documents its archive convention.

The remaining product findings are either already fixed (F-05/F-06) or
by design: version strings are intentionally not strict SemVer
(generated `yyyyMMdd.HHmmss` versions must stay valid), invalid CSRF is
already asserted as 403 in the E2E suite, and the namespace listing
guard is a Web presentation choice documented here.

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
2026-12-04 11:36:11 +08:00

878 B

OpenSpec conventions

  • openspec/specs/ holds the current, authoritative capability specifications.
  • openspec/changes/ holds active change proposals. A change stays here until its implementation, validation and acceptance are complete.
  • Move a finished change with openspec archive <change>; archived changes live under openspec/changes/archive/<date>-<name>/ and keep their proposal, design, tasks and delta specs as history.
  • Validate before archiving: openspec validate <change> --type change; validate the resulting capability with openspec validate <capability> --type spec.
  • A completed change must not stay in openspec/changes/ as an alternative source of truth. If its behavior is superseded, archive it and update the capability spec instead.
  • archive/ is history: do not edit archived proposals to describe current behavior; edit the main spec.