Skip to content

docs: professionalize bilingual README and archive historical design docs - #13

Merged
voidvec merged 2 commits into
masterfrom
docs/readme-professionalization-and-archive
Jul 31, 2026
Merged

voidvec merged 2 commits into
masterfrom
docs/readme-professionalization-and-archive

Conversation

@voidvec

@voidvec voidvec commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

Batches 3+4 of the documentation professionalization plan (follow-up to #12).

Batch 3 - README professionalization (2ad1296)

  • Bilingual README overhaul (EN + zh-CN, structurally mirrored):
    • New badges (Release / C++17 / Conan 2.x), product + SDK dual positioning
    • Mermaid SDK layering diagram (8 CMake packages)
    • Three-path Quick Start: Docker Compose / source build via conan+preset / SDK find_package
    • Deployment section (Compose dev/prod + Helm) and Releases & Supply Chain Security section (cosign verify + sha256sum)
    • Audience-grouped documentation index
  • New CONTRIBUTING.md (build variants, code conventions, CI gates, api-diff baseline guidance)
  • New SECURITY.md (supported versions, private vulnerability reporting, SLA, artifact verification)

Batch 4 - Docs archive + portal rewrite (a157660)

  • git mv historical docs into docs/history/ (41 renames, full traceability):
    • PRD/ -> docs/history/PRD/ (13 files)
    • docs/design/ -> docs/history/design/ (26 files incl. superpowers records)
    • 2 legacy frontend design docs -> docs/history/frontend/
  • docs/history/README.md marks archived content as frozen (stale paths intentional)
  • docs/README.md rewritten as audience-grouped portal (Evaluating / Integrating / Operating / Contributing / Archive)
  • CODEBUDDY.md reduced to a pointer at CLAUDE.md
  • Removed obsolete openspec/config.yaml
  • Inbound link fixes (ci-cd-guide.md, ScopeDecision.h comment)
  • check-doc-links.sh now excludes docs/history/ (frozen content)

Verification

  • bash scripts/check-doc-links.sh passes (exit 0)
  • All new README/portal link targets verified to exist
  • No source code behavior changes (only a comment path fix in ScopeDecision.h)

voidvec added 2 commits July 31, 2026 14:24
… policy

- README/README.zh-CN: Release/C++17/Conan badges, mermaid SDK layering
  diagram (arch-guard enforced), three-path Quick Start (Docker Compose /
  canonical Conan+preset source build / SDK find_package), new Deployment
  and Releases & Supply Chain Security sections (cosign verify, SBOM,
  sha256), audience-grouped documentation index
- CONTRIBUTING.md: build/test variants, code conventions, Conventional
  Commits, CI gate table, api-diff baseline guidance
- SECURITY.md: private vulnerability reporting, response SLAs, artifact
  verification, hardening doc links
…docs portal

- git mv PRD/, docs/design/, and legacy frontend design docs into docs/history/ (41 renames, traceability preserved)
- add docs/history/README.md marking archived content as frozen
- rewrite docs/README.md as an audience-grouped documentation portal
- reduce CODEBUDDY.md to a pointer at CLAUDE.md (single source of truth)
- remove obsolete openspec/config.yaml
- fix inbound links (ci-cd-guide.md, ScopeDecision.h comment)
- exclude docs/history/ from check-doc-links.sh (archived content is frozen)
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@voidvec voidvec closed this Jul 31, 2026
@voidvec voidvec reopened this Jul 31, 2026
@voidvec
voidvec merged commit f97e565 into master Jul 31, 2026
14 of 15 checks passed
@voidvec
voidvec deleted the docs/readme-professionalization-and-archive branch July 31, 2026 10:21
voidvec added a commit that referenced this pull request Aug 30, 2026
…loor, bootstrap self-heal, review cleanups

Address PR #141 review (1 must-fix, 8 should-fix, quick considers):

- #1 consent_csrf declared as a required query parameter in openapi.yaml
  and the C++ endpoint doc registration; apps/server/docs/api/openapi.json
  regenerated from a live server run; Python/Go clients regenerated.
- #2 nonce one-shot is now atomic: the find/verify/erase sequence is
  serialized by a process-wide mutex (consent traffic is tiny; in-process
  session storage).
- #3 identity AuthService no longer captures this in the async validateUser
  callback — the legacy-hash policy flag is value-captured
  (db-operations rule 4).
- #4/#12 AdminBootstrapper reworked as ensure-* steps: an existing admin
  user row is reused and role/mapping completed (partial failures self-heal
  on restart); the random password is printed only after the insert
  succeeded; a mapping failure no longer reports created=true.
- #5 POST /api/admin/users enforces auth.min_password_length
  (VALIDATION_PASSWORD_TOO_SHORT) — closing the admin bypass.
- #6 consent integration tests reworked: missing-nonce now drives the real
  authorize-minted slot (400), deny-to-unregistered-uri (400, no Location)
  and deny-to-registered-uri (302 access_denied) branches are covered.
- #7/#8 deployment.md: auto-bootstrap wording fixed, bogus ADMIN_SALT
  removed (PBKDF2 keeps salt empty); website i18n error table mirrored
  (3014/4007).
- #9 main.cc bootstrap probes with backoff (5 attempts) and LOG_WARN on
  failure instead of a single silent 2s probe.
- #13 unique-violation detection layered (SqlError 23505 -> constraint
  name -> english/zh localized text), mirroring the
  PostgresSocialAccountRepository pattern.
- #11 gate-4 comment corrected; #15 CHANGELOG duplicate Unreleased merged;
  #17 AGENTS.md consent.csp entry removed.

Considered-but-not-taken: #10 multi-slot nonces (tracked follow-up), #14
admin UI hardcode (server now enforces; hint stays), #18 MFA-pending
session through consent (pre-existing authorize behavior, tracked).
voidvec added a commit that referenced this pull request Aug 30, 2026
…loor, bootstrap self-heal, review cleanups

Address PR #141 review (1 must-fix, 8 should-fix, quick considers):

- #1 consent_csrf declared as a required query parameter in openapi.yaml
  and the C++ endpoint doc registration; apps/server/docs/api/openapi.json
  regenerated from a live server run; Python/Go clients regenerated.
- #2 nonce one-shot is now atomic: the find/verify/erase sequence is
  serialized by a process-wide mutex (consent traffic is tiny; in-process
  session storage).
- #3 identity AuthService no longer captures this in the async validateUser
  callback — the legacy-hash policy flag is value-captured
  (db-operations rule 4).
- #4/#12 AdminBootstrapper reworked as ensure-* steps: an existing admin
  user row is reused and role/mapping completed (partial failures self-heal
  on restart); the random password is printed only after the insert
  succeeded; a mapping failure no longer reports created=true.
- #5 POST /api/admin/users enforces auth.min_password_length
  (VALIDATION_PASSWORD_TOO_SHORT) — closing the admin bypass.
- #6 consent integration tests reworked: missing-nonce now drives the real
  authorize-minted slot (400), deny-to-unregistered-uri (400, no Location)
  and deny-to-registered-uri (302 access_denied) branches are covered.
- #7/#8 deployment.md: auto-bootstrap wording fixed, bogus ADMIN_SALT
  removed (PBKDF2 keeps salt empty); website i18n error table mirrored
  (3014/4007).
- #9 main.cc bootstrap probes with backoff (5 attempts) and LOG_WARN on
  failure instead of a single silent 2s probe.
- #13 unique-violation detection layered (SqlError 23505 -> constraint
  name -> english/zh localized text), mirroring the
  PostgresSocialAccountRepository pattern.
- #11 gate-4 comment corrected; #15 CHANGELOG duplicate Unreleased merged;
  #17 AGENTS.md consent.csp entry removed.

Considered-but-not-taken: #10 multi-slot nonces (tracked follow-up), #14
admin UI hardcode (server now enforces; hint stays), #18 MFA-pending
session through consent (pre-existing authorize behavior, tracked).
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