Skip to content

Secure docs runtime and publish trilingual audit resources - #3

Merged
lessthanno merged 2 commits into
mainfrom
codex/update-litepaper-tokenomics
Aug 31, 2026
Merged

Secure docs runtime and publish trilingual audit resources#3
lessthanno merged 2 commits into
mainfrom
codex/update-litepaper-tokenomics

Conversation

@lessthanno

Copy link
Copy Markdown
Contributor

What

Publish the original PeckShield audit PDF with English, Japanese, and Korean contract/security pages, localized resources and disclaimers, and synchronized changelogs. Upgrade stable compatible dependencies and fix locale validation, missing-file errors, search indexing, and update timestamps.

Why

The user approved production publication and thorough dependency modernization after the previous release gate found 5 high and 2 moderate dependency advisories.

Test plan

  • Clean npm ci on Node 24.20.0; production build and Pagefind indexing of all 36 documents.
  • Formatting, ESLint with zero warnings, TypeScript, locale manifest, and two timestamp unit tests pass.
  • All 51 HTTP regression tests pass, including malicious locale cookies, 404 responses, timestamps, search assets and exact audit PDF bytes/headers.
  • Full npm audit: zero advisories, including dev dependencies.
  • In-app browser: English/Japanese/Korean searches, result navigation, language switching, keyboard search selection, Japanese 390px layout, and a PDF download event verified.
  • Staged private-key/common credential pattern scan: no matches. Pre-landing review found no blocking issues.

Risk and rollback

Public read-only docs; no contract, wallet, allocation or whitepaper source changes. TypeScript 7 and Zod 4.5 were tested and rejected for upstream incompatibility; compatible TypeScript 6.0.3 and existing Zod 4.3.6 are used. An XML parser patch override removes an upstream critical-issue deprecation. No forced installs or audit suppression.

Existing GitHub-to-Netlify main deployment only. Verify live routes, search and audit PDF after merge. If a regression occurs, retain/restore the previous successful deploy or revert with owner approval. Detailed evidence and compatibility decisions are in docs/maintenance/2026-08-security-update.md.

@netlify

netlify Bot commented Aug 31, 2026

Copy link
Copy Markdown

Deploy Preview for xagentdocs ready!

Name Link
🔨 Latest commit 3bda415
🔍 Latest deploy log https://app.netlify.com/projects/xagentdocs/deploys/6a9512ead576e900082a1c2d
😎 Deploy Preview https://deploy-preview-3--xagentdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@lessthanno
lessthanno merged commit ec656ed into main Aug 31, 2026
5 checks passed
@lessthanno

Copy link
Copy Markdown
Contributor Author

Production verification completed on 2026-08-31. Merge commit ec656ed has the same tree as verified candidate 3bda415. Main CI passed: https://github.com/xagentAI/xagent-docs/actions/runs/33361269134 . The unchanged 51-test smoke suite now passes against both the Netlify preview and https://docs.xagt.ai, including all36 document routes, invalid locale cookies, missing files, search index, timestamps, and audit download headers/checksum. In-app browser on production verified Korean audit content/date, an actual PDF download event, Japanese language switching and localized search results. The first preview exposed a missing CDN attachment header; netlify.toml fixed it before the production merge. No remaining known failing release checks.

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