Repository navigation
docs(governance): Phase A — contradiction fixes, triage, six merges, 12 ADRs, audience navigation - #114
Merged
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
wangrh0909
approved these changes
Aug 27, 2026
…tion A1 (12-item contradiction register, hard errors only): - credentials adjudicated against seed SQL (admin/admin, admin@example.com) across verification-checklist + deployment-windows - end_session id_token_hint verification semantics fixed in api-reference + configuration-guide (was contradicting their own error tables, pre-#78 wording) - JWKS route canonicalized to /.well-known/jwks.json (oidc-guide, configuration-guide); Google route to /api/google/login - configuration-guide: PG15->17, Redis L2 cache 'future work' -> shipped config block, env-var staleness noted - rbac-guide: JWT roles 'future' -> shipped; docker-guide: leftover oauth2-{service} naming; testing-guide: stale counts annotated - verification-checklist: invented dev nginx row, wrong migration table name, hardcoded Redis password, fabricated table list -> real schema, table threshold -> measured 21 A4 (triage per governance v2): - untrack productization-evolution (21 files, local-only) EXCEPT the CHANGELOG-linked compliance audit; untrack branding/rename-candidates (unregistered-domain intel at the time, now moot but internal) - untrack 36 history process docs (tasks/requirements/plans/superpowers session artifacts); delete PRD/frontend_design.md (strict subset of the later design, diff-verified) - competitor-benchmark-design.md -> docs/benchmark/ (three public links updated; its outbound links to now-local docs neutralized) - rename-impact-fulla.md sanitized for archive (machine paths, workspace keys, pre-registration asset-grab steps genericized; domain row updated to registered)
…gation A2 merges (six source docs retired, unique content preserved in targets): - docker-guide -> docker-deployment (naming conventions, debug env, automated verification scripts) - plugin-integration -> sdk-integration-guide (Drogon-host quickstart: config.json plugin activation + AuthorizationFilter mounting) - google-guide + wechat-guide -> social-login.md (GitHub as the wired reference path; Google/WeChat as backend-ready patterns; fixes the 'no button yet click the button' self-contradiction) - security-hardening + ops/security-checklist -> security-architecture (security headers; Hodor rate limiting with corrected prod numbers and the Hodor-vs-F-018 relationship finally explained; ops checklist distilled; April snapshots and dangling refs dropped) - data-consistency -> data-persistence (consistency section + new delayed-double-delete cache coherence subsection, #79/#80) - database-encoding-guide untracked (single-machine troubleshooting note) A3: docs/adr/ADR-0001..0012 — twelve decision records converted from the history mine per the governance list (SDK layering, link strategy, ErrorCatalog, opaque tokens, email-first, async lifetime, MFA binding, SPA credential exposure, ORM immutability, Hodor, test platform tiers, no-coroutines), each with context/decision/consequences + current-state cross-check from the deep review. A5: docs/README.md rewritten as five-zone audience navigation (evaluate / integrate / operate / contribute / archive), reflecting the post-triage tree; stale index summaries (e.g. the withdrawn session-leak wording) and the missing postgresql-major-upgrade entry fixed.
…-A had reverted Part 1's git rm --cached was followed by git add -A in the same commit, which re-staged the newly-untracked files (history locals + encoding guide had no .gitignore cover, unlike productization/branding). This time they are also physically moved to docs-local/ (site-source hygiene: Docusaurus scans disk, not git) and committed WITHOUT a blanket add.
… sourcing website/ (Docusaurus 3.10) with the core governance decision honored: docs.path = ../docs — the repo's docs/ tree IS the site source, no copies, no sync. Sidebar mirrors the five-zone audience navigation; mermaid enabled (history archive uses it); CNAME = fulla.dev (registered 2026-08-26); landing page + intro doc. .github/workflows/website.yml: path-filtered (docs/** + website/**), PR builds as a check, master pushes deploy to GitHub Pages via OIDC; onBrokenLinks=throw is the dead-link gate the governance called for — it already caught and forced the following fixes during local bring-up: - MDX JSX collisions fixed across 12 files (numeric comparisons <N, set-notation braces, HttpController<T,false>, User<->Role arrows, table-cell regex pipes) - 47 dead relative links in archive zones neutralized to plain text; 6 live-zone links to retired docs repointed to their merge targets; /docs/adr index-less directory links repointed to ADR-0001 - site-source hygiene: 60 untracked local-only docs physically moved to docs-local/ (gitignored) so the disk tree equals the tracked set Local verification: npm run build exit=0 (full MDX + SSG + broken-link gates). Note for deploy: GitHub Pages must be enabled once in repo settings with Source = GitHub Actions.
… follow-up)
Answers the review challenge 'why would users see these' — they
shouldn't. The ARCHIVE-in-repo verdict had conflated 'worth keeping in
git' with 'worth showing on the site'; and the tree was still
legacy-shaped (backend/ops/admin bins) rather than IA-shaped.
Archive policy revision:
- history/ (23), branding/ (2), compliance audit, ddd proposal,
documentation-standards, performance-optimization/ (7) all leave docs/
for docs-local/ — users get their decisions via the 12 ADRs; full
texts remain in git history. AGENTS.md repointed to
documentation-governance.md; AGENTS link to the old audit fixed.
- swagger-ui static assets move to apps/server/static/ (server-owned
runtime asset, not user docs; CMake copy path updated)
IA-shaped tree (docs/ = user-facing only, 39 files):
architecture/ (overview, security, data-persistence)
domains/ (api-reference, oidc, social-login, rbac)
sdk/ (integration guide, runtime contract)
operate/ (deployment x3, configuration, observability, lockout,
pg-upgrade, verification)
contribute/ (testing, ci-cd, versioning, 3 frontend test docs)
adr/ + benchmark/ + intro.md + README.md (audience index)
29+ cross-zone links remapped; site rebuilt green (exit=0) with the
broken-link gate catching every miss during the move.
… restructure The docs governance restructure (7e5cd55) moved api-reference.md from docs/backend/ to docs/domains/, but the ErrorCatalog doc-validator test still read the old path: both ErrorCatalogDoc cases failed on all three CI platforms (empty file -> REQUIRE(!doc.empty())), and the failed-run teardown then segfaulted on Windows/macOS. Point the compile-time path at the new location and fix the three remaining stale docs/backend/* comment references (test header, ILogger.h, release.yml).
Three-zone deep audit follow-up before the fulla.dev launch: - verification-checklist.md rework: PKCE token flow (admin-console is PUBLIC, no password grant exists), form-encoded introspect/revoke, real SQL tables/columns (oauth2_clients.name, oauth2_scopes.name, users has no role column), real metric names, 21-table baseline, discovery-endpoint script check, dated placeholders refreshed - deployment-windows: unified 59/52 all-pass caliber, removed the 'partial failures are normal' guidance, PKCE-correct PS method - deployment.md: neutralized 5 dead docs/performance-optimization links (moved to docs-local), drogon#278 links - language unification: architecture-overview + configuration-guide translated to Chinese (mermaid sequence diagram added); fulla.dev is a Chinese-primary site - data-persistence: token columns marked as SHA-256 hashes (ADR-0004), Redis storage deprecation warning moved to section head, §6 traditional->simplified, full cache metric names - ADR hygiene x12: Accepted status, dead docs/history source lines annotated as archived, body H1 dedup, 5-config count, 8-package wording precision - sdk-integration-guide: dead .kiro source line removed; official Python (PyPI fulla-oauth2) + Go clients section added - trace cleanup: governance-merge annotations, [DOC]/[PASS]/[+] markers, superpowers broken link, U+FE0F variants, stale OAuth2Admin/ACCOUNT_LOCKOUT refs, e2e stats 16 files/174 cases
…flow - convert the traditional-Chinese blocks (end_session, scope mapping, client management, nonce sections) to simplified; site language is now uniformly simplified Chinese - section 6 rewritten: openapi.yaml is the single source of truth with the oasdiff breaking-change gate (replaces the stale openapi.json generation workflow that contradicted spec governance M0)
…l search - landing page: hero with brand mark + badges, quick-start terminal, six feature cards, five-scenario benchmark strip (real numbers from benchmarks/competitors/results/COMPARISON.md), closing CTA - theme: deep-violet brand palette matching the favicon, Chinese-first font stack, navbar/footer polish, table & code-block & mermaid styling - config: zh-CN locale, structured footer, docs/API/benchmark/ADR navbar, prism docker+powershell, dark-mode palette - search: @cmfcmf/docusaurus-search-local v2 with @node-rs/jieba Chinese tokenization (offline, no Algolia); 580 docs indexed - website.yml: workflow_dispatch trigger + deploy condition so the site can go live from this branch once Pages source is switched to GitHub Actions - governance doc v3: three-layer IA model (docs/ = site source, repo-only assets, docs-local/), Chinese-primary language policy, Phase A/B done + Phase C backlog Local verification: npm run build exit=0 (SSG + broken-link gate + search index); homepage content spot-checked in built HTML.
Phase A4 execution gap closed: the compliance audit (oauth-oidc, 2026-08-07 baseline, 31/31 fixed), the sanitized rename-impact analysis, and the repo-professionalization audit were left in docs-local/ despite the governance verdict keeping them in-repo. - docs/adr/ gains three archive entries with snapshot/status frontmatter and reader guidance; CHANGELOG.md's two public references to their old paths are repointed (acceptance criterion: zero broken links from CHANGELOG) - rename-impact: one maintainer-machine line generalized before import - docs/README ADR section and governance Phase A log updated
README.md / README.zh-CN.md / CONTRIBUTING.md / SECURITY.md / CHANGELOG still linked docs/backend/*, docs/ops/*, docs/admin/* paths that no longer exist after the restructure — all repointed to the new zone layout; both READMEs now lead their docs section with fulla.dev. CHANGELOG historical prose untouched (only link targets fixed).
voidvec
added a commit
that referenced
this pull request
Aug 27, 2026
Supply-chain posture now matches the repo's own standards (cosign signing + SBOMs already in release.yml, whose org action-allowlist docs expect commit-SHA pinning): - Every 'uses:' across .github/workflows/*.yml (incl. the website workflow from PR #114) is pinned to its tag's commit SHA with a '# vX.Y.Z' comment, resolved via git ls-remote at pin time: checkout v4.4.0, cache v4.3.0, upload/download-artifact v4.6.2/v4.3.0, setup-node v4.4.0, setup-python v5.6.0, setup-go v5.6.0, docker setup-buildx v3.9.0 / login v3.7.0 / build-push v6.9.0, cosign-installer v3.9.2, sbom-action/download-syft v0.9.0, git-cliff-action v4.8.0, configure-pages v5.0.0, deploy-pages v4.0.5, upload-pages-artifact v3.0.1. - .github/dependabot.yml: github-actions (/), npm (frontends/user, frontends/admin), gomod (clients/go), pip (clients/python) -- weekly (pip monthly), minor+patch grouped. Conan has no dependabot support: noted in the header; conan.lock refreshes stay manual PRs, with the security.yml dependency-EOL scan gating known-EOL versions in the meantime. Workflows newly added later in this PR (sanitizer/coverage/e2e) pin their own uses: entries the same way.
wangrh0909
pushed a commit
that referenced
this pull request
Aug 27, 2026
…rite rule in CONTRIBUTING, changelog entry - README.zh-CN.md: all 25 docs/ links now point at their fulla.dev/zh-CN counterparts (Chinese readers no longer land on English repo files) - CONTRIBUTING.md: documentation changes require a same-PR dual write (docs/ English canonical + website/i18n/zh-CN/ mirror), per governance v4 §4 - CHANGELOG.md: Unreleased entry recording the docs-governance conclusion (PR #114/#116) and the bilingual fulla.dev launch
3 tasks
voidvec
added a commit
that referenced
this pull request
Aug 28, 2026
Supply-chain posture now matches the repo's own standards (cosign signing + SBOMs already in release.yml, whose org action-allowlist docs expect commit-SHA pinning): - Every 'uses:' across .github/workflows/*.yml (incl. the website workflow from PR #114) is pinned to its tag's commit SHA with a '# vX.Y.Z' comment, resolved via git ls-remote at pin time: checkout v4.4.0, cache v4.3.0, upload/download-artifact v4.6.2/v4.3.0, setup-node v4.4.0, setup-python v5.6.0, setup-go v5.6.0, docker setup-buildx v3.9.0 / login v3.7.0 / build-push v6.9.0, cosign-installer v3.9.2, sbom-action/download-syft v0.9.0, git-cliff-action v4.8.0, configure-pages v5.0.0, deploy-pages v4.0.5, upload-pages-artifact v3.0.1. - .github/dependabot.yml: github-actions (/), npm (frontends/user, frontends/admin), gomod (clients/go), pip (clients/python) -- weekly (pip monthly), minor+patch grouped. Conan has no dependabot support: noted in the header; conan.lock refreshes stay manual PRs, with the security.yml dependency-EOL scan gating known-EOL versions in the meantime. Workflows newly added later in this PR (sanitizer/coverage/e2e) pin their own uses: entries the same way.
voidvec
added a commit
that referenced
this pull request
Aug 28, 2026
Supply-chain posture now matches the repo's own standards (cosign signing + SBOMs already in release.yml, whose org action-allowlist docs expect commit-SHA pinning): - Every 'uses:' across .github/workflows/*.yml (incl. the website workflow from PR #114) is pinned to its tag's commit SHA with a '# vX.Y.Z' comment, resolved via git ls-remote at pin time: checkout v4.4.0, cache v4.3.0, upload/download-artifact v4.6.2/v4.3.0, setup-node v4.4.0, setup-python v5.6.0, setup-go v5.6.0, docker setup-buildx v3.9.0 / login v3.7.0 / build-push v6.9.0, cosign-installer v3.9.2, sbom-action/download-syft v0.9.0, git-cliff-action v4.8.0, configure-pages v5.0.0, deploy-pages v4.0.5, upload-pages-artifact v3.0.1. - .github/dependabot.yml: github-actions (/), npm (frontends/user, frontends/admin), gomod (clients/go), pip (clients/python) -- weekly (pip monthly), minor+patch grouped. Conan has no dependabot support: noted in the header; conan.lock refreshes stay manual PRs, with the security.yml dependency-EOL scan gating known-EOL versions in the meantime. Workflows newly added later in this PR (sanitizer/coverage/e2e) pin their own uses: entries the same way.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Executes documentation-governance.md Phase A (both parts) — the content-level cleanup from the four-way deep review.
A1 — 12-item contradiction register (hard errors)
Credentials adjudicated against seed SQL (admin/admin); end_session verification semantics fixed in two docs that contradicted their own error tables; JWKS/Google routes canonicalized; PG15→17; 'cache is future work'→shipped config block; invented nginx row / wrong migration table / hardcoded Redis password / fabricated table list in verification-checklist → real schema (measured 21 tables); stale test counts annotated.
A2 — six merges (sources retired, unique content preserved)
docker-guide→docker-deployment · plugin-integration→sdk-integration-guide · google+wechat→social-login.md (new) · security-hardening+ops/security-checklist→security-architecture (Hodor vs F-018 relationship finally explained, prod numbers corrected) · data-consistency→data-persistence (+new delayed-double-delete subsection).
A3 — docs/adr/ADR-0001..0012
Twelve decision records converted from the history mine (SDK layering & dependency iron-law, link strategy, ErrorCatalog, opaque tokens + hashed credentials, email-first, async lifetime, MFA binding, SPA credential exposure, ORM immutability, Hodor, test platform tiers, no-coroutines), each with current-state cross-check.
A4 — triage execution
Untracked: productization-evolution (21 files, compliance audit kept — CHANGELOG link), rename-candidates (domain intel), 36 history process docs, database-encoding-guide. Deleted: PRD/frontend_design.md (strict subset, diff-verified). Moved: competitor-benchmark-design → docs/benchmark/ (3 public links updated). rename-impact sanitized for archive.
A5 — docs/README.md
Five-zone audience navigation; stale index summaries fixed; postgresql-major-upgrade now indexed.
Diff is large but reviewable per-commit: 8783c8e (A1+A4) then 6049e3d (A2+A3+A5).