Skip to content

Feature/waygate Reasoning Persistence#5

Merged
jasperf merged 3 commits into
mainfrom
feature/waygate-reasoning-persistence
May 24, 2026
Merged

Feature/waygate Reasoning Persistence#5
jasperf merged 3 commits into
mainfrom
feature/waygate-reasoning-persistence

Conversation

@jasperf
Copy link
Copy Markdown
Contributor

@jasperf jasperf commented May 24, 2026

This release introduces v0.5.0 of the Waygate plugin, adding persistence of AI-generated reasoning to post meta and a corresponding debug meta box in the WordPress admin. The core change enhances observability into the AI page generation process by capturing and storing the model's reasoning output alongside the created post, enabling developers to inspect why specific patterns were selected. The admin interface gains a new meta box that surfaces this stored reasoning data directly within the post editor. Documentation has been updated across CHANGELOG.md and README.md to reflect the new capabilities and version milestone.

AI Integration and Reasoning Persistence:

  • class-ai-integration.php now captures the AI model's reasoning output during page generation and stores it as post meta, providing a durable record of the pattern-selection logic for each generated page.
  • This change improves debuggability for site builders and developers who need to understand or audit the AI's layout decisions after the fact.

Admin UI and Developer Tooling:

  • class-admin.php introduces a debug meta box in the post editor that renders the persisted AI reasoning meta, making the stored output accessible without requiring direct database inspection.
  • The meta box is scoped to developer/debug use, providing transparency into the generation process without affecting the end-user editing experience.

Versioning and Documentation:

  • waygate.php bumps WAYGATE_VERSION and the plugin header to 0.5.0 in accordance with the version bump checklist.
  • CHANGELOG.md and README.md have been updated to document the new reasoning persistence feature and reflect the v0.5.0 release.

Files Changed:

jasperf added 3 commits May 24, 2026 14:43
Store _waygate_reasoning, _waygate_patterns, and _waygate_generated_at
on every generated page. Add a Waygate sidebar meta box that always shows
the reasoning sentence and exposes the pattern slug list and timestamp
when WP_ENV=development. Success notice also shows pattern slugs in dev mode.
@jasperf jasperf merged commit bc68d5d into main May 24, 2026
2 checks passed
@jasperf jasperf deleted the feature/waygate-reasoning-persistence branch May 24, 2026 07:45
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