Add CF7 rate limit smoke test and migrate Vibe CLI to AGENTS.md#112
Merged
Conversation
Playwright script that fills and submits a Contact Form 7 form, then verifies all three CF7 API requests (schema, feedback, refill) return 200. Exits non-zero on failure for CI integration.
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 PR introduces a Playwright-based smoke test for verifying Contact Form 7 submissions after Nginx rate limit deployments and consolidates Mistral Vibe CLI configuration by replacing the custom system prompt with the built-in default. The CF7 smoke test navigates to a contact page, fills and submits the form, intercepts all CF7 REST API responses, and exits with an appropriate code for CI integration. On the tooling side, the Vibe CLI now uses its native
cliprompt instead of a customwp-opsprompt, with all repository-specific rules migrated intoAGENTS.mdwhere both Vibe and Claude Code can read them. These changes affect 7 files with 170 insertions and 69 deletions.New Monitoring Tool:
scripts/monitoring/cf7-smoke-test.js, a Playwright script that submits a Contact Form 7 form, captures the CF7 REST API requests (schema, feedback, refill), and verifies all return HTTP 200--name,--email,--subject,--message) for customization and returns exit code 0/1 for use in post-deploy hooks or CI pipelinesVibe CLI Configuration Consolidation:
.vibe/config.tomlfrom the customsystem_prompt_id = "wp-ops"to the built-in"cli"prompt, removing the need for a separate prompt file.vibe/prompts/wp-ops.mdentirely, migrating its useful content (branch naming conventions, CHANGELOG versioning workflow,create-pr.shusage, co-author prohibition) intoAGENTS.mdDeveloper Guidance Updates:
AGENTS.mdwith branch naming conventions (add/,fix/,feature/prefixes), atomic commit guidance, CHANGELOG versioning rules (SemVer bumps with dates), andcreate-pr.shusage patternsAGENTS.mdfor identifying the relevant category, existing conventions, and companion documentation needs before starting workCHANGELOG.mdwith a new[2.14.0]release entry documenting both the smoke test addition and the Vibe configuration changesFiles Changed:
.vibe/config.toml(Modified)AGENTS.md(Modified)CHANGELOG.md(Modified)CLAUDE.md(Modified)scripts/README.md(Modified)scripts/monitoring/cf7-smoke-test.js(Added).vibe/prompts/wp-ops.md(Deleted)