Skip to content

docs: compatibility and security pages - #229

Merged
eizedev merged 5 commits into
mainfrom
docs/compatibility-and-security
Nov 25, 2026
Merged

eizedev merged 5 commits into
mainfrom
docs/compatibility-and-security

Conversation

@eizedev

@eizedev eizedev commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

The compatibility and security pages for #217.

This branch builds on #227 (docs guards). The tested versions move from the start page's Requirements to the compatibility page, so the allow list of the release-name check changes with them. Merge #227 first. Only the last two commits belong here. This branch and #228 both add pages to nav and to the "Start" section of llms.txt in zensical.toml. The one merged second needs a small merge there.

What changes

  • docs/compatibility.md (new): what the modules work with. For PowerShell Universal, PowerShell, browsers and pivotkit's command line, the page names the versions supported, the versions tested, and how they were tested. The facts come from the old Requirements section, the manifests, ci.yml, playwright.config.mjs and Development. Not tested: the Safari app, iOS, Android and PowerShell 7.4 itself (CI uses the runner's PowerShell 7). Windows PowerShell 5.1 does not load the modules. Raising a lowest version is a breaking change, so the page links Versioning.
  • Start page, Requirements: one line with the supported versions and a link to Compatibility. The tested versions are on the compatibility page only. The #requirements anchor stays, because published module READMEs link it.
  • tests/js/compatibility.test.js: the page's PowerShell version must equal every manifest's PowerShellVersion, and the Requirements line must name the page's versions.
  • docs/security.md (new). It covers:
    • what runs on the PSU server and what in the browser;
    • what the modules treat as untrusted;
    • the network requests of each module and of the showcase apps;
    • links to each module's security notes and to SECURITY.md.
  • SECURITY.md keeps a one-line summary of the untrusted inputs and links the full list on the Security page, so the list lives in one place.
  • The README, the module READMEs, ACCESSIBILITY.md and Versioning link Compatibility instead of Requirements.

Strike list

Removed Where it lives now
index.md, Requirements: "Tested on PowerShell Universal 2026.2.5 and 2026.3.4" compatibility.md, PowerShell Universal row
index.md, Requirements: "Invoke-UDPivotReport -Engine Node tested with pivotkit-cli 0.5.0 and 0.6.0" compatibility.md, pivotkit's command line row
index.md, Requirements: "Tested in Chromium, Firefox and WebKit … not tested" compatibility.md, Browsers row and "Not tested"
SECURITY.md, Scope: the list of untrusted inputs security.md, "What the modules treat as untrusted" (SECURITY.md keeps a one-line summary)

Checks

  • npm test: 217 pass, 0 fail. npm run lint: 0 errors, the same 9 warnings as on main. npm run growth: all ok.
  • The compatibility test fails when the page's PowerShell version or the start page's PSU range is changed alone.
  • Build-Site.ps1, then zensical build --strict --clean with the pinned Zensical and design: no issues. node build/check-readme-links.js site: 56 links, no problems. The new pages' anchors exist in the built site.
  • ECharts and Perspective make no requests of their own: no HTTP call in their PowerShell (Invoke-RestMethod appears only in help text) and no fetch, XHR or WebSocket in their bundles' sources. The one exception is Perspective's map tiles, which its security notes document.

Neutral review

A read-only reviewer with a fresh brief checked every claim against the manifests, ci.yml, playwright.config.mjs, the old Requirements and the module pages. Its run: 210 pass, 6 skipped without the pivot packages. Verdict: good, with fixes first.

  1. The PSU row's "How" was stronger than the sources. Fixed: "by hand on PSU test instances, in a browser, before a change to a component is done", linking Development.
  2. The PowerShell row overstated CI: the version is not pinned, and the demo modules are not loaded. Fixed: it says so, and that 7.4 itself is not tested.
  3. "Browsers built on Chromium, Firefox and WebKit" covered more than the desktop tests. Fixed: "desktop browsers".
  4. pivotkit-cli "0.2.1 or later, with Node 24" repeated reports.md. Fixed: the cell links Two engines.
  5. The start page had lost the version range. Fixed: one line with the range, now held to the page by the test.
  6. The showcase sentence on the security page was imprecise. Fixed: the ECharts showcase's Public data page calls five services, and the Pivot showcase calls services only when Live data is on.
  7. SECURITY.md referred to a list it no longer showed. Fixed: a one-line summary and "any untrusted input".
  8. Confirmed: the test reads every module and is anchored correctly; ECharts and Perspective make no requests of their own.

Refs #217

🤖 Generated with Claude Code

Merge with #228

Both pull requests built on #227. I merged main after #228 and resolved three conflicts as the union of both: the navigation and the llms section list Upgrading, Compatibility and Security; getting-started.md keeps #228's link to the upgrading page; the release-name exceptions list upgrading.md and compatibility.md (the start page no longer names tested versions). npm test (213 pass, 0 fail), npm run growth and npm run lint passed locally; CI passed on the merged head.

eizedev and others added 4 commits November 25, 2026 21:06
… and README links

- build/docs-files.js defines the docs files once (site pages, READMEs, current-state docs);
  the growth guard and the llms.txt test use it
- tests/js/docs-pages.test.js: a blank line before every list, a description on every page,
  no release of pivotkit or a module named outside an explicit list of places
- tests/js/screenshots.test.js: every screenshot shown, light/dark pairs, alt text, the theme
  fragment on the site; the three single demo.md screenshots are listed until #213 retakes them
- build/check-readme-links.js checks README links against the built site in docs.yml
- getting-started.md: step 2 of the update list rendered as text; a blank line fixes it

Refs #217

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ards

Refs #217

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- docs/compatibility.md: the PowerShell Universal, PowerShell and browser versions the modules
  support and were tested with, and how; the start page's Requirements and the READMEs link it,
  and tests/js/compatibility.test.js holds it to every manifest's PowerShellVersion
- docs/security.md: what runs on the server and in the browser, what the modules treat as
  untrusted (moved from SECURITY.md, which links it), their network requests, and the links to
  each module's security notes

Refs #217

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #217

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base automatically changed from test/docs-guards to main November 25, 2026 20:36
# Conflicts:
#	docs/getting-started.md
#	tests/js/docs-pages.test.js
#	zensical.toml
@eizedev
eizedev merged commit 7c279f9 into main Nov 25, 2026
11 checks passed
@eizedev
eizedev deleted the docs/compatibility-and-security branch November 25, 2026 20:51
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