Skip to content

Add FSM-based NHK PoC plugin starter#9

Open
noelsaw1 wants to merge 1 commit into
mainfrom
codex/build-modern-wordpress-plugin-starter-framework
Open

Add FSM-based NHK PoC plugin starter#9
noelsaw1 wants to merge 1 commit into
mainfrom
codex/build-modern-wordpress-plugin-starter-framework

Conversation

@noelsaw1
Copy link
Copy Markdown
Collaborator

Summary

  • scaffold NHK PoC WordPress plugin with PSR-4 autoloading
  • implement shared finite state machine for PHP and TypeScript
  • add admin menus including changelog viewer and settings link

Testing

  • composer validate
  • php -l nhk-poc.php src/...
  • npm run build

https://chatgpt.com/codex/tasks/task_b_68adce5e614c832ebb993ab5c7588385

@noelsaw1
Copy link
Copy Markdown
Collaborator Author

noelsaw1 commented Aug 26, 2025

Added a PSR-4 autoloader mapping for the NHK\Poc namespace and bootstrapped the plugin with version constants and a “Settings” action link on the plugins screen

Introduced a shared finite state machine to act as the Single Source of Truth, wiring state transitions into plugin boot and an optional admin debug panel

Registered an “NHK PoC” admin menu with Dashboard, Settings, and a versioned Changelog viewer, enqueueing a TypeScript FSM that mirrors PHP state definitions for consistent frontend/back‑end flow
Implemented a centralized AJAX handler that reports invalid transitions and exposes state history for easier debugging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant