Feature/waygate Reasoning Persistence#5
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.phpnow 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.Admin UI and Developer Tooling:
class-admin.phpintroduces 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.Versioning and Documentation:
waygate.phpbumpsWAYGATE_VERSIONand the plugin header to0.5.0in accordance with the version bump checklist.Files Changed:
CHANGELOG.md(Modified)README.md(Modified)includes/class-admin.php(Modified)includes/class-ai-integration.php(Modified)waygate.php(Modified)