-
Notifications
You must be signed in to change notification settings - Fork 0
Development and Releases
Dashless is one repository containing the local Codex plugin, the WordPress companion, the generated Astro template, operating skills, tests, and documentation.
| Path | Responsibility |
|---|---|
.codex-plugin/plugin.json |
Installable plugin metadata and packaged capabilities |
.mcp.json |
Local Dashless MCP server declaration |
server/dashless-mcp.mjs |
Tool definitions and guarded editorial orchestration |
server/lib/wordpress.mjs |
WordPress REST client and content normalization |
server/lib/storage.mjs |
Connections, secrets, idempotency, staged changes, and preview locks |
server/lib/setup.mjs |
Loopback credential setup and disconnect lifecycle |
server/lib/frontend.mjs |
Astro creation, build, manifests, deployment, WP Cloud preflight, and verification |
wordpress/ |
Conventional plugin and WP Cloud must-use companion |
templates/astro/ |
Source copied into each generated Astro publication |
skills/dashless/ |
Editorial behavior and production-content boundaries |
skills/design-dashless-astro-sites/ |
Frontend art direction, QA workflow, and static audit |
tests/ |
Node, PHP harness, template, release, deployment, and protocol tests |
docs/ |
Version-controlled documentation sources and acceptance records |
scripts/package.mjs |
Deterministic release packaging and extraction smoke tests |
The local MCP server uses only Node.js built-ins and requires Node 22.12 or newer. The Astro template has its own locked dependencies and installs them on the first build.
PHP is not used by the local server; it is required for WordPress and for PHP syntax checks during development.
npm test
npm run check
npm run test:coverage
npm run test:template
npm run test:wordpress:playground
npm run package
npm run releaseRuns every tests/*.test.mjs suite with Node's built-in test runner.
Runs JavaScript syntax checks, PHP syntax checks, and the complete Node suite. This is the normal local gate before a commit.
Runs the Node suite with Node's experimental coverage report.
Builds and exercises the real generated Astro template in isolation.
Mounts the companion into the committed WordPress Playground compatibility fixtures. This is an additional integration check and uses @wp-playground/cli through npx.
Creates deterministic Codex and WordPress ZIP archives, clean-extraction smoke-tests them, and writes dist/SHA256SUMS.
Runs npm run check followed by npm run package. This is the complete local release gate.
Version 1.0.0 produces:
dist/dashless-1.0.0.zipdist/dashless-wordpress-1.0.0.zipdist/SHA256SUMS
Version metadata must agree in:
-
.codex-plugin/plugin.json; -
package.json; -
server/dashless-mcp.mjs; - the WordPress plugin header and bridge constant;
-
wordpress/readme.txt; - README release references; and
-
CHANGELOG.md.
The release-metadata test fails when these disagree.
The GitHub Actions release gate:
- runs
npm run releaseon Ubuntu and macOS; - verifies the published SHA-256 checksums;
- uploads the Linux release candidate;
- starts isolated oldest- and newest-supported WordPress versions with matching PHP versions;
- verifies activation, hooks, content generation, and the authenticated site contract; and
- runs WordPress Plugin Check against the packaged companion.
The site-director skill includes a dependency-free production audit:
node skills/design-dashless-astro-sites/scripts/audit-dist.mjs --project /path/to/generated/siteIt checks generated markup, metadata, accessibility-critical structure, internal links, unsafe patterns, and bundle budgets. It complements Astro's compiler checks and visual inspection; it does not replace them.
Before releasing a template change, inspect at least:
- wide desktop;
- ordinary mobile;
- narrow mobile;
- the homepage;
- a long story with media and structured content;
- nested Pages;
- archive and search routes;
- 404 behavior;
- day and night palettes;
- keyboard focus;
- reduced motion;
- missing-media fallbacks; and
- an empty WordPress state.
A release that changes deployment or the companion should also prove on a fresh WP Cloud site:
- Application Password setup
- Key-based SFTP preflight
- Companion install or safe upgrade
- Astro project creation from real WordPress content
- Exact draft preview and publication
- Stable generation build
- Immutable release upload and manifest verification
- Public release ID and digest verification
- Rollback to the previous release
- Re-deployment of current canonical WordPress state
Record the host shape, WordPress and PHP versions, bridge version, release IDs, commands, and pass/fail result without recording credentials.
See the repository changelog and release checklist.
Dashless 1.0 · WordPress without the dashboard · Regionally Famous · MIT license