Skip to content
wiki.fftac.org

Test Plan - Source Excerpt 01 - Test Plan

Back to Test Plan

Summary

This source excerpt begins near Test Plan and preserves the surrounding evidence from Spiralist/.uai/test-plan.uai.

**Source path:** Spiralist/.uai/test-plan.uai

---
uai: "1.0"
type: test-plan
title: "Spiralist.org Verification Plan"
created: "2026-05-01"
updated: "2026-06-22"
status: active
source: "https://uaix.org/en-us/specification/project-handoff/"
---

# Test Plan

## Start Here

Use this file as the hot verification guide. The former `docs/verification.md` was moved into Wiki.FFTAC.org long memory; consult `WP-FFTAC/Wiki.FFTAC.org/wiki/projects/spiralist.org/docs-archive-2026-05-10.md` only when archival detail is needed. Pick the smallest check set that covers changed files, then broaden before release-scoped changes.

## Common Targeted Checks

- Memory/docs cleanup: active bucket listing, JSON parse for `.uai/exports/*.json`, `.uai` extension scan through `npm.cmd run check:project-handoff`, stale active-memory wording scan, `npm.cmd run check:project-handoff`, `npm.cmd run quality:site` when site-facing memory or manifests changed, and `git diff --check` for touched memory/doc files.
- Root-static staging: verify `Spiralist-Publish/ROOT-FILES/SHA256SUMS.txt`, parse JSON snapshots, parse `sitemap.xml`, and inspect the root ZIP entries when `.well-known/` paths matter.
- PHP syntax: `php -l path\to\file.php`
- JSON syntax: `node -e "JSON.parse(require('fs').readFileSync('path','utf8'))"`
- Project Handoff validation: `npm.cmd run check:project-handoff`
- UAI prepublish gate: `npm.cmd run check:uai-prepublish`
- Site quality sweep: `npm.cmd run quality:site`
- Spiralist i18n completeness gate: `npm.cmd run test:i18n` (same strict sweep, named for translation release checks; validates active English/French/Chinese/Spanish dictionaries for exact key order, blanks, placeholders, mojibake, English fallback, cheat strings, SEO translations, reviewed Prompt/Persona/Agent Setup Wizard glossary quality, and standalone French/Spanish `IA` usage while preserving `Spiralist AI`)
- Governed external publishing contract regression: `npm.cmd run test:governed-publishing`
- AI Agent Setup Wizard regression: `npm.cmd run test:agent-wizard`
- AI Agent Setup Wizard browser regression: `npm.cmd run test:agent-wizard:browser`
- Unit tests when PHP extensions are available: `vendor\bin\phpunit.bat -c phpunit.xml.dist`
- Static analysis with higher memory if needed: `php -d memory_limit=512M vendor\bin\phpstan analyse ...`

## Known Local Environment Risks

- `composer` may not be on PATH even when `vendor\bin` tools exist.
- `php` is not on PATH in the current shell, so PHP syntax, PHPUnit, PHPCS, and PHPStan are blocked until PHP is available.
- PHPUnit requires PHP extensions including `mbstring`.
- PHPCS may fail if standards are not installed correctly.
- The site quality sweep can fail for unrelated locale-key gaps in a dirty worktree.

## Done Means

- Changed files are named.
- Targeted checks have run or the blocker is explicit.
- Release or packaging checks are only claimed if actually run.
- Handoff files are updated when durable project truth changes.

## Last Memory/Docs Cleanup

- 2026-06-22: v3.28.0 coordinated WP-FFTAC / Spiralist ZIP build checks passed. Checks run: `powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\build-workspace-production-zips.ps1 -DeploymentVersion 3.28.0`; built-in Agent File Handoff audit passed for all WP-FFTAC sites; 5753 wiki memory pages generated; 5850 reviewed content pages counted; wiki content quality passed `3/0`; Antichrist localization rendering passed; `powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\test-workspace-seo-source-coverage.ps1` passed `274/0/0` against `v3.28.0`; root-static support was refreshed to `spiralist-root-static-v3.28.0.zip`; root-static ZIP entries were inspected; `ROOT-FILES/SHA256SUMS.txt` verified; and `Spiralist-Publish/workspace-deployment-manifest.json` plus `workspace-wordpress-deployment-manifest.json` point at the v3.28 root-static ZIP/map. Package-ready Spiralist upload ZIPs exist under `WP-FFTAC/Spiralist-Publish\UPLOAD-THEME` and `WP-FFTAC/Spiralist-Publish\UPLOAD-PLUGIN`. No live upload, production root copy, cache purge, or post-upload Spiralist.org route verification was run.

- 2026-06-22: Spiralist publish-prep, translation, SEO, UAIX, and memory cleanup checks passed before the next official package build. Checks run: `npm.cmd run test:i18n` with 1768 runtime translation keys and quality sweep passed; `npm.cmd run check:uai-prepublish` with PHP on `C:\php` passed Project Handoff, i18n quality, and PHPUnit with 196 tests / 1162 assertions; `npm.cmd run test:uaix-spec`; `npm.cmd run test:agent-wizard`; WP-FFTAC `test-workspace-seo-sweep.ps1` passed `67/0/0`; WP-FFTAC `test-workspace-seo-source-coverage.ps1` passed `274/0/0`; WP-FFTAC Agent File Handoff audit passed for all sites; `.uai/archives` JSON parse passed; unsupported `.uai` extension scan found no results; and `npm.cmd run check:project-handoff` passed. Memory cleanup preserved the missing prompt-deployment UX raw source in Wiki.FFTAC.org, verified all 26 local `.human` raw duplicates against Wiki.FFTAC.org raw evidence, retired them from `.uai/archives/`, and recorded the result in `.uai/archives/2026-06-22-local-raw-archive-retirement/manifest.json`. No production upload, root copy, cache purge, or live route verification was run.

- 2026-06-21: UAIX specification implementation checks passed for Spiralist.org source. Implemented current UAIX UAI-1 catalog/registry/schema/example/validator/mock-exchange/adoption-kit/OpenAPI and well-known discovery surfaces, then dogfooded the live UAIX upstream discovery drift into UAIX memory. Checks run: PHP lint for `wp-content\plugins\uai-1-wordpress\includes\class-uai1-routes.php`, `wp-content\plugins\uai-1-wordpress\includes\class-uai1-validator.php`, `wp-content\themes\spiralist\inc\machine-manifests.php`, and `wp-content\themes\spiralist\inc\helpers.php`; `node --check tests\uaix-spec-implementation-test.js`; `npm.cmd run test:uaix-spec`; `node --check tests\ai-agent-setup-wizard-test.js`; `npm.cmd run test:agent-wizard`; `npm.cmd run check:project-handoff`; `npm.cmd run quality:site`; UAIX `powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\lint-uaix-handoff.ps1`; UAIX next-recursive JSON parse; active Spiralist handoff listing; and `git diff --check` for touched Spiralist/UAIX files with line-ending notices only. No package build, production upload, root-static copy, cache purge, or live Spiralist.org route verification was run.

- 2026-06-21: v3.27.0 coordinated WP-FFTAC / Spiralist ZIP build checks passed. Checks run: duplicate/misplaced UAIX AI-Ready Web reports in Spiralist active `agent-file-handoff/Improvement/` were preserved to Wiki.FFTAC.org raw evidence and local `.uai/archives/`, then removed from active intake; `powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\audit-agent-file-handoff.ps1 -FailOnActive -FailOnMissingSetup` passed for all WP-FFTAC sites; `powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\build-workspace-production-zips.ps1 -DeploymentVersion 3.27.0` passed; the build generated 5899 wiki memory pages, counted 5996 reviewed content pages, passed wiki content quality `3/0`, and passed Antichrist localization rendering. Package-ready Spiralist upload ZIPs exist under `WP-FFTAC/Spiralist-Publish\UPLOAD-THEME` and `WP-FFTAC/Spiralist-Publish\UPLOAD-PLUGIN`. No live upload, production root copy, cache purge, or post-upload Spiralist.org route verification was run.

- 2026-06-14: Prompt Generator Spiralist AI/editable delimiter source checks passed except for local browser execution blocked by unhealthy wp-env HTTP. Checks run: active handoff listing confirmed `.gitkeep` only; `node --check wp-content\themes\spiralist\assets\js\spiralist-prompt-workbench.js`; `node --check tests\prompt-editability-contract-test.js`; `node --check tests\e2e\specs\anonymous.spec.js`; `C:\php\php.exe -l wp-content\themes\spiralist\page-run-a-prompt.php`; `npm.cmd run test:prompt-editability`; `npm.cmd run check:project-handoff`; `npm.cmd run quality:site`; `.uai` unsupported-extension scan; and `git diff --check` returned line-ending notices only. Attempted focused Playwright `npx playwright test tests/e2e/specs/anonymous.spec.js --grep "character prompt builder|Auto-Architect packet"` first failed with `ECONNREFUSED ::1:8889`; after `npm.cmd run wp-env:start`, `npm.cmd run wp-env:seed` timed out and `curl` to `local Studio route/` and container-local `http://localhost/` timed out with Apache workers stuck in uninterruptible I/O, so browser verification remains environment-blocked, not passed. No package build, production write, upload, or live route verification was run.