Skip to content

docs: fix stale code/doc inconsistencies + 2 script bugs - #11

Merged
important-new merged 1 commit into
mainfrom
docs/fix-stale-references
Jun 14, 2026
Merged

docs: fix stale code/doc inconsistencies + 2 script bugs#11
important-new merged 1 commit into
mainfrom
docs/fix-stale-references

Conversation

@important-new

Copy link
Copy Markdown
Owner

Follow-up to a doc-vs-code audit. Fixes verified inconsistencies (each checked against the actual code/templates) plus two real script bugs.

Backend docs (docs/ + docs/zh-CN/)

  • API_CONFIGURATION: the "tenant business interface" section was written against the pre-refactor server/tenant-template.yaml (no longer exists). Re-pointed to the real split files, fixed CodeUri (OrderService/src/), cross-stack ARN wiring (!Ref GetOrdersFunctionArn), ReservedConcurrentExecutions, and CreateTenantAdminUser CodeUri. Snippets now match templates verbatim.
  • THROTTLING_AND_MONITORING: corrected the metric-filter file/line reference.

Frontend docs/code

  • Admin README + modules.md: Angular 14→20, removed Flex Layout, v4 Auth.currentSession() snippets → v6 fetchAuthSession(), fixed component names, dropped broken screenshot links.
  • Application/Landing README: Angular CLI 14.0.5→20.x; boilerplate ng e2e → Playwright.
  • cypress/README.md: marked legacy, pointed to canonical Playwright e2e/, fixed stale repo path.
  • Landing/.../register.component.html: removed dead fxLayout directive.

Script bugs (functional)

  • generate-env-config.js: was querying a non-existent API Gateway name (always failed) → now reads the AdminApi output from saas-control-stack, mirroring get-login-info.js.
  • DEPLOYMENT_GUIDE.md: replaced a fictional multi-env tutorial (deploy-all.sh, --config-env prod/dev/stage, suffixed stacks — none exist) with the real ./deployment.sh + ./geturl.sh flow.

Governance

  • CONTRIBUTING: documents main branch protection (PR required, CI gating).
  • SECURITY + CHANGELOG: reconciled to "no tagged releases" (the tag was deleted); removed broken compare/tag links.
  • CHANGELOG: "per-service tests" → product/order only; added [Unreleased] entry for branch protection + full-CI-on-PR.
  • README.zh-CN: deep-dive link text now matches the docs/zh-CN/... targets.
  • PR template: repo-relative CONTRIBUTING.md link.

🤖 Generated with Claude Code

…x 2 script bugs

Doc-vs-code audit follow-up. Corrections:

API docs (docs/ + docs/zh-CN/):
- API_CONFIGURATION: re-point the tenant-business-interface section away from
  the non-existent server/tenant-template.yaml to the real split files
  (services/tenant-api/template.yaml + services/order-service/template.yaml);
  fix GetOrdersFunction CodeUri (OrderService/ -> src/), the cross-stack ARN
  wiring (!Ref GetOrdersFunctionArn), the ReservedConcurrentExecutions expr,
  and CreateTenantAdminUser CodeUri (../TenantManagementService/ -> ../tenant-management/).
  Snippets now match the templates verbatim.
- THROTTLING_AND_MONITORING: fix the metric-filter file/line reference.

Frontend docs/code:
- Admin README + modules.md: Angular 14 -> 20, drop Flex Layout, v4 Auth
  snippets -> v6 fetchAuthSession, fix component names, drop broken screenshot links.
- Application/Landing README: Angular CLI 14.0.5 -> 20.x; e2e text -> Playwright.
- cypress/README: mark Cypress legacy, point to canonical Playwright e2e/, fix stale repo path.
- Landing register.component.html: remove dead fxLayout directive (flex-layout was removed).

Scripts (code bugs):
- generate-env-config.js: query a non-existent API GW name -> read AdminApi
  output from saas-control-stack (mirrors get-login-info.js).
- DEPLOYMENT_GUIDE.md: rewrite the fictional multi-env guide to the real
  ./deployment.sh + ./geturl.sh flow.

Governance:
- CONTRIBUTING: document main branch protection (PR required, CI gating).
- SECURITY + CHANGELOG: reconcile to "no tagged releases" (tag was deleted);
  remove broken compare/tag links.
- CHANGELOG: "per-service tests" -> product/order only; add Unreleased entry.
- README.zh-CN: fix deep-dive link text to match zh-CN targets.
- PR template: use repo-relative CONTRIBUTING.md link.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@important-new
important-new merged commit ed7de7a into main Jun 14, 2026
4 checks passed
@important-new
important-new deleted the docs/fix-stale-references branch June 14, 2026 09:50
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