@raishin/vanguard-frontier-agentic 3.2.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +7 -1
- package/.cursor-plugin/plugin.json +7 -1
- package/.github/plugin/marketplace.json +1 -1
- package/README.md +11 -11
- package/agents/cross-functional/revenue-critical-journey-integrity-agent/AGENT.md +112 -0
- package/agents/cross-functional/revenue-critical-journey-integrity-agent/harnesses/claude-code.agent.md +111 -0
- package/agents/cross-functional/revenue-critical-journey-integrity-agent/harnesses/codex.toml +37 -0
- package/agents/cross-functional/revenue-critical-journey-integrity-agent/harnesses/copilot.agent.md +120 -0
- package/agents/cross-functional/revenue-critical-journey-integrity-agent/harnesses/cursor.agent.md +112 -0
- package/agents/cross-functional/revenue-critical-journey-integrity-agent/harnesses/gemini.agent.md +112 -0
- package/agents/cross-functional/revenue-critical-journey-integrity-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/cross-functional/revenue-critical-journey-integrity-agent/harnesses/kiro-ide.agent.md +111 -0
- package/agents/cross-functional/revenue-critical-journey-integrity-agent/metadata.json +42 -0
- package/agents/php/composer-supply-chain-agent/AGENT.md +114 -0
- package/agents/php/composer-supply-chain-agent/harnesses/claude-code.agent.md +113 -0
- package/agents/php/composer-supply-chain-agent/harnesses/codex.toml +119 -0
- package/agents/php/composer-supply-chain-agent/harnesses/copilot.agent.md +122 -0
- package/agents/php/composer-supply-chain-agent/harnesses/cursor.agent.md +114 -0
- package/agents/php/composer-supply-chain-agent/harnesses/gemini.agent.md +114 -0
- package/agents/php/composer-supply-chain-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/php/composer-supply-chain-agent/harnesses/kiro-ide.agent.md +113 -0
- package/agents/php/composer-supply-chain-agent/metadata.json +31 -0
- package/agents/php/php-application-security-agent/AGENT.md +113 -0
- package/agents/php/php-application-security-agent/harnesses/claude-code.agent.md +112 -0
- package/agents/php/php-application-security-agent/harnesses/codex.toml +118 -0
- package/agents/php/php-application-security-agent/harnesses/copilot.agent.md +121 -0
- package/agents/php/php-application-security-agent/harnesses/cursor.agent.md +113 -0
- package/agents/php/php-application-security-agent/harnesses/gemini.agent.md +113 -0
- package/agents/php/php-application-security-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/php/php-application-security-agent/harnesses/kiro-ide.agent.md +112 -0
- package/agents/php/php-application-security-agent/metadata.json +31 -0
- package/agents/php/php-maestro-agent/AGENT.md +81 -0
- package/agents/php/php-maestro-agent/harnesses/claude-code.agent.md +80 -0
- package/agents/php/php-maestro-agent/harnesses/codex.toml +86 -0
- package/agents/php/php-maestro-agent/harnesses/copilot.agent.md +89 -0
- package/agents/php/php-maestro-agent/harnesses/cursor.agent.md +81 -0
- package/agents/php/php-maestro-agent/harnesses/gemini.agent.md +81 -0
- package/agents/php/php-maestro-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/php/php-maestro-agent/harnesses/kiro-ide.agent.md +80 -0
- package/agents/php/php-maestro-agent/metadata.json +31 -0
- package/agents/php/php-runtime-upgrade-readiness-agent/AGENT.md +117 -0
- package/agents/php/php-runtime-upgrade-readiness-agent/harnesses/claude-code.agent.md +116 -0
- package/agents/php/php-runtime-upgrade-readiness-agent/harnesses/codex.toml +122 -0
- package/agents/php/php-runtime-upgrade-readiness-agent/harnesses/copilot.agent.md +125 -0
- package/agents/php/php-runtime-upgrade-readiness-agent/harnesses/cursor.agent.md +117 -0
- package/agents/php/php-runtime-upgrade-readiness-agent/harnesses/gemini.agent.md +117 -0
- package/agents/php/php-runtime-upgrade-readiness-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/php/php-runtime-upgrade-readiness-agent/harnesses/kiro-ide.agent.md +116 -0
- package/agents/php/php-runtime-upgrade-readiness-agent/metadata.json +30 -0
- package/agents/php/wordpress-security-agent/AGENT.md +107 -0
- package/agents/php/wordpress-security-agent/harnesses/claude-code.agent.md +106 -0
- package/agents/php/wordpress-security-agent/harnesses/codex.toml +112 -0
- package/agents/php/wordpress-security-agent/harnesses/copilot.agent.md +115 -0
- package/agents/php/wordpress-security-agent/harnesses/cursor.agent.md +107 -0
- package/agents/php/wordpress-security-agent/harnesses/gemini.agent.md +107 -0
- package/agents/php/wordpress-security-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/php/wordpress-security-agent/harnesses/kiro-ide.agent.md +106 -0
- package/agents/php/wordpress-security-agent/metadata.json +31 -0
- package/catalog/agents.json +175 -0
- package/catalog/asset-integrity.json +463 -43
- package/catalog/install-roles.json +26 -4
- package/catalog/model-assignments.json +198 -0
- package/catalog/skill-manifest.json +202 -0
- package/catalog/skills.json +163 -0
- package/package.json +1 -1
- package/plugins/vanguard-frontier-agentic/.codex-plugin/plugin.json +1 -1
- package/powers/README.md +3 -2
- package/powers/vanguard-generic/POWER.md +1 -1
- package/powers/vanguard-php/POWER.md +40 -0
- package/schemas/agent.schema.json +2 -1
- package/schemas/skill.schema.json +2 -1
- package/scripts/generate-docs-data.mjs +1 -1
- package/skills/cross-functional/revenue-critical-journey-integrity-review/SKILL.md +108 -0
- package/skills/cross-functional/revenue-critical-journey-integrity-review/metadata.json +29 -0
- package/skills/cross-functional/revenue-critical-journey-integrity-review/references/idempotency-and-safe-retries.md +155 -0
- package/skills/cross-functional/revenue-critical-journey-integrity-review/references/official-sources.md +71 -0
- package/skills/cross-functional/revenue-critical-journey-integrity-review/references/pci-saq-scope-boundaries.md +118 -0
- package/skills/cross-functional/revenue-critical-journey-integrity-review/references/server-side-revalidation-trust-boundary.md +134 -0
- package/skills/cross-functional/revenue-critical-journey-integrity-review/references/webhook-delivery-dedup-ordering.md +146 -0
- package/skills/cross-functional/revenue-critical-journey-integrity-review/references/workflow-and-output.md +100 -0
- package/skills/php/composer-audit-supply-chain-review/SKILL.md +108 -0
- package/skills/php/composer-audit-supply-chain-review/metadata.json +20 -0
- package/skills/php/composer-audit-supply-chain-review/references/abandoned-and-advisory-governance.md +30 -0
- package/skills/php/composer-audit-supply-chain-review/references/composer-audit-policy.md +35 -0
- package/skills/php/composer-audit-supply-chain-review/references/lockfile-integrity.md +27 -0
- package/skills/php/php-maestro/SKILL.md +51 -0
- package/skills/php/php-maestro/metadata.json +20 -0
- package/skills/php/php-maestro/references/hard-gates-and-escalation.md +67 -0
- package/skills/php/php-maestro/references/routing-and-dispatch.md +91 -0
- package/skills/php/php-runtime-eol-opcache-fpm-review/SKILL.md +109 -0
- package/skills/php/php-runtime-eol-opcache-fpm-review/metadata.json +19 -0
- package/skills/php/php-runtime-eol-opcache-fpm-review/references/opcache-production-config.md +91 -0
- package/skills/php/php-runtime-eol-opcache-fpm-review/references/php-fpm-pool-tuning.md +87 -0
- package/skills/php/php-runtime-eol-opcache-fpm-review/references/php-version-lifecycle.md +102 -0
- package/skills/php/php-session-upload-deserialization-review/SKILL.md +111 -0
- package/skills/php/php-session-upload-deserialization-review/metadata.json +20 -0
- package/skills/php/php-session-upload-deserialization-review/references/file-upload-security.md +119 -0
- package/skills/php/php-session-upload-deserialization-review/references/session-security.md +126 -0
- package/skills/php/php-session-upload-deserialization-review/references/unserialize-object-injection.md +121 -0
- package/skills/php/wordpress-rest-block-security-review/SKILL.md +106 -0
- package/skills/php/wordpress-rest-block-security-review/metadata.json +20 -0
- package/skills/php/wordpress-rest-block-security-review/references/dynamic-block-output-escaping.md +42 -0
- package/skills/php/wordpress-rest-block-security-review/references/input-sanitize-output-escape.md +52 -0
- package/skills/php/wordpress-rest-block-security-review/references/rest-api-permission-callback.md +48 -0
- package/tests/fixtures/php-maestro-routing/expected/001-happy-application-security.json +6 -0
- package/tests/fixtures/php-maestro-routing/expected/002-happy-composer-supply-chain.json +6 -0
- package/tests/fixtures/php-maestro-routing/expected/003-happy-runtime-upgrade-readiness.json +6 -0
- package/tests/fixtures/php-maestro-routing/expected/004-happy-wordpress-security.json +6 -0
- package/tests/fixtures/php-maestro-routing/expected/005-happy-unserialize-session.json +6 -0
- package/tests/fixtures/php-maestro-routing/expected/006-happy-fpm-opcache.json +6 -0
- package/tests/fixtures/php-maestro-routing/expected/007-happy-composer-audit.json +6 -0
- package/tests/fixtures/php-maestro-routing/expected/008-happy-wp-permission-callback.json +6 -0
- package/tests/fixtures/php-maestro-routing/expected/adv-ambiguous.json +4 -0
- package/tests/fixtures/php-maestro-routing/expected/adv-instruction-injection.json +6 -0
- package/tests/fixtures/php-maestro-routing/expected/adv-liveguard-db-migration-prod.json +4 -0
- package/tests/fixtures/php-maestro-routing/expected/adv-liveguard-deploy-prod.json +4 -0
- package/tests/fixtures/php-maestro-routing/expected/adv-persona-replacement.json +6 -0
- package/tests/fixtures/php-maestro-routing/expected/adv-secrets-bait.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/001-happy-application-security.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/002-happy-composer-supply-chain.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/003-happy-runtime-upgrade-readiness.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/004-happy-wordpress-security.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/005-happy-unserialize-session.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/006-happy-fpm-opcache.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/007-happy-composer-audit.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/008-happy-wp-permission-callback.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/adv-ambiguous.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/adv-instruction-injection.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/adv-liveguard-db-migration-prod.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/adv-liveguard-deploy-prod.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/adv-persona-replacement.json +7 -0
- package/tests/fixtures/php-maestro-routing/inputs/adv-secrets-bait.json +7 -0
- package/tests/fixtures/php-maestro-routing/taxonomy.json +69 -0
- package/tests/validate-catalog.py +1 -0
package/catalog/skills.json
CHANGED
|
@@ -4294,6 +4294,33 @@
|
|
|
4294
4294
|
"version": "0.1.0",
|
|
4295
4295
|
"author": "github: Raishin"
|
|
4296
4296
|
},
|
|
4297
|
+
{
|
|
4298
|
+
"id": "composer-audit-supply-chain-review",
|
|
4299
|
+
"name": "Composer Audit & Supply-Chain Review",
|
|
4300
|
+
"type": "skill",
|
|
4301
|
+
"provider": "php",
|
|
4302
|
+
"harnesses": [
|
|
4303
|
+
"claude-code",
|
|
4304
|
+
"cursor",
|
|
4305
|
+
"codex",
|
|
4306
|
+
"gemini",
|
|
4307
|
+
"kiro",
|
|
4308
|
+
"other"
|
|
4309
|
+
],
|
|
4310
|
+
"summary": "Skill for reviewing Composer dependency supply-chain posture: composer audit advisory scanning and CI exit-code gating, config.policy advisory/abandoned settings, and composer.lock integrity and drift, so a vulnerable or abandoned Packagist dependency cannot reach production ungated.",
|
|
4311
|
+
"source_type": "original",
|
|
4312
|
+
"official_docs": [
|
|
4313
|
+
"https://getcomposer.org/doc/03-cli.md",
|
|
4314
|
+
"https://getcomposer.org/doc/06-config.md",
|
|
4315
|
+
"https://getcomposer.org/doc/01-basic-usage.md",
|
|
4316
|
+
"https://owasp.org/www-project-top-ten/"
|
|
4317
|
+
],
|
|
4318
|
+
"security_notes": "Static-review-only skill: Read/Grep/Glob, no execution and no network mutation. Never installs, updates, or requires packages. Reports composer audit posture from configuration and lockfile evidence, never fabricates advisory identifiers, and treats any credential in auth.json or configuration as a redact-and-flag finding.",
|
|
4319
|
+
"last_verified": "2026-07-16",
|
|
4320
|
+
"path": "skills/php/composer-audit-supply-chain-review",
|
|
4321
|
+
"version": "0.1.0",
|
|
4322
|
+
"author": "github: Raishin"
|
|
4323
|
+
},
|
|
4297
4324
|
{
|
|
4298
4325
|
"id": "consolidation-intercompany-advisor",
|
|
4299
4326
|
"name": "Consolidation & Intercompany Advisor",
|
|
@@ -13606,6 +13633,86 @@
|
|
|
13606
13633
|
"version": "0.1.0",
|
|
13607
13634
|
"author": "github: Raishin"
|
|
13608
13635
|
},
|
|
13636
|
+
{
|
|
13637
|
+
"id": "php-maestro",
|
|
13638
|
+
"name": "PHP Maestro",
|
|
13639
|
+
"type": "skill",
|
|
13640
|
+
"provider": "php",
|
|
13641
|
+
"harnesses": [
|
|
13642
|
+
"claude-code",
|
|
13643
|
+
"cursor",
|
|
13644
|
+
"codex",
|
|
13645
|
+
"gemini",
|
|
13646
|
+
"kiro",
|
|
13647
|
+
"other"
|
|
13648
|
+
],
|
|
13649
|
+
"summary": "Routing skill for the PHP board: classifies an incoming PHP task and dispatches to the narrowest specialist (application security, Composer supply-chain, runtime/EOL and OPcache/FPM, or WordPress security), caps parallel dispatch, enforces the blocking hard-gate taxonomy, and refuses live-mutation requests.",
|
|
13650
|
+
"source_type": "original",
|
|
13651
|
+
"official_docs": [
|
|
13652
|
+
"https://www.php.net/docs.php",
|
|
13653
|
+
"https://www.php.net/supported-versions.php",
|
|
13654
|
+
"https://getcomposer.org/doc/03-cli.md",
|
|
13655
|
+
"https://developer.wordpress.org/apis/security/"
|
|
13656
|
+
],
|
|
13657
|
+
"security_notes": "Routing only; performs no review and makes no code changes. Refuses destructive/live-mutation requests and requires human confirmation. Never fabricates a routing target outside the registered PHP board, preserves specialist evidence labels, and never requests or echoes secrets or customer data.",
|
|
13658
|
+
"last_verified": "2026-07-16",
|
|
13659
|
+
"path": "skills/php/php-maestro",
|
|
13660
|
+
"version": "0.1.0",
|
|
13661
|
+
"author": "github: Raishin"
|
|
13662
|
+
},
|
|
13663
|
+
{
|
|
13664
|
+
"id": "php-runtime-eol-opcache-fpm-review",
|
|
13665
|
+
"name": "PHP Runtime EOL, OPcache & PHP-FPM Review",
|
|
13666
|
+
"type": "skill",
|
|
13667
|
+
"provider": "php",
|
|
13668
|
+
"harnesses": [
|
|
13669
|
+
"claude-code",
|
|
13670
|
+
"cursor",
|
|
13671
|
+
"codex",
|
|
13672
|
+
"gemini",
|
|
13673
|
+
"kiro",
|
|
13674
|
+
"other"
|
|
13675
|
+
],
|
|
13676
|
+
"summary": "Skill for reviewing PHP runtime upgrade readiness and production hardening: EOL and security-only version exposure against php.net's four-year support lifecycle, OPcache production configuration (validate_timestamps, memory sizing), and PHP-FPM pool tuning (pm, max_children, max_requests), treating an EOL runtime as a blocking finding.",
|
|
13677
|
+
"source_type": "original",
|
|
13678
|
+
"official_docs": [
|
|
13679
|
+
"https://www.php.net/supported-versions.php",
|
|
13680
|
+
"https://www.php.net/manual/en/opcache.configuration.php",
|
|
13681
|
+
"https://www.php.net/manual/en/install.fpm.configuration.php"
|
|
13682
|
+
],
|
|
13683
|
+
"security_notes": "Static-review-only skill: Read/Grep/Glob, no execution and no configuration changes. PHP version lifecycle dates are encoded only from php.net's supported-versions page as fixed ground truth (never invented, rounded, or extrapolated); a version's current lifecycle phase is determined by comparing those published dates against the review date.",
|
|
13684
|
+
"last_verified": "2026-07-16",
|
|
13685
|
+
"path": "skills/php/php-runtime-eol-opcache-fpm-review",
|
|
13686
|
+
"version": "0.1.0",
|
|
13687
|
+
"author": "github: Raishin"
|
|
13688
|
+
},
|
|
13689
|
+
{
|
|
13690
|
+
"id": "php-session-upload-deserialization-review",
|
|
13691
|
+
"name": "PHP Session, Upload & Deserialization Security Review",
|
|
13692
|
+
"type": "skill",
|
|
13693
|
+
"provider": "php",
|
|
13694
|
+
"harnesses": [
|
|
13695
|
+
"claude-code",
|
|
13696
|
+
"cursor",
|
|
13697
|
+
"codex",
|
|
13698
|
+
"gemini",
|
|
13699
|
+
"kiro",
|
|
13700
|
+
"other"
|
|
13701
|
+
],
|
|
13702
|
+
"summary": "Skill for reviewing PHP application-security seams: user-reachable unserialize() object injection (allowed_classes is insufficient), session fixation/hijacking hardening (session_regenerate_id, use_strict_mode, cookie flags), and unsafe file-upload handling, each mapped to an OWASP category and the php.net-documented fix.",
|
|
13703
|
+
"source_type": "original",
|
|
13704
|
+
"official_docs": [
|
|
13705
|
+
"https://www.php.net/manual/en/function.unserialize.php",
|
|
13706
|
+
"https://www.php.net/manual/en/session.security.php",
|
|
13707
|
+
"https://www.php.net/manual/en/features.file-upload.common-pitfalls.php",
|
|
13708
|
+
"https://owasp.org/www-project-top-ten/"
|
|
13709
|
+
],
|
|
13710
|
+
"security_notes": "Static-review-only skill: Read/Grep/Glob, no execution and no network. Never runs deserialization payloads, uploads, or exploits against any live or staging system. Any credential- or PII-shaped string is a redact-and-flag finding, never echoed. Every unserialize()/session/upload claim is grounded in current php.net documentation, not memory.",
|
|
13711
|
+
"last_verified": "2026-07-16",
|
|
13712
|
+
"path": "skills/php/php-session-upload-deserialization-review",
|
|
13713
|
+
"version": "0.1.0",
|
|
13714
|
+
"author": "github: Raishin"
|
|
13715
|
+
},
|
|
13609
13716
|
{
|
|
13610
13717
|
"id": "playwright-e2e-execution-run",
|
|
13611
13718
|
"name": "Playwright E2E Execution Run",
|
|
@@ -14062,6 +14169,35 @@
|
|
|
14062
14169
|
"version": "0.1.0",
|
|
14063
14170
|
"author": "github: Raishin"
|
|
14064
14171
|
},
|
|
14172
|
+
{
|
|
14173
|
+
"id": "revenue-critical-journey-integrity-review",
|
|
14174
|
+
"name": "Revenue-Critical Journey Integrity Review",
|
|
14175
|
+
"type": "skill",
|
|
14176
|
+
"provider": "generic",
|
|
14177
|
+
"harnesses": [
|
|
14178
|
+
"claude-code",
|
|
14179
|
+
"cursor",
|
|
14180
|
+
"codex",
|
|
14181
|
+
"gemini",
|
|
14182
|
+
"kiro",
|
|
14183
|
+
"other"
|
|
14184
|
+
],
|
|
14185
|
+
"summary": "Skill for reviewing the cross-tier seams of revenue-critical journeys (checkout, payment, account creation, login): idempotency of money-moving and account-creating requests, server-side re-validation of client-enforced rules, webhook duplicate/out-of-order handling, retry-storm safeguards, and advisory PCI DSS SAQ-scope judgment for the integration model in use.",
|
|
14186
|
+
"source_type": "original",
|
|
14187
|
+
"official_docs": [
|
|
14188
|
+
"https://docs.stripe.com/api/idempotent_requests",
|
|
14189
|
+
"https://docs.stripe.com/webhooks/best-practices",
|
|
14190
|
+
"https://www.pcisecuritystandards.org/faqs/1443/",
|
|
14191
|
+
"https://blog.pcisecuritystandards.org/important-updates-announced-for-merchants-validating-to-self-assessment-questionnaire-a",
|
|
14192
|
+
"https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/rel_mitigate_interaction_failure_limit_retries.html",
|
|
14193
|
+
"https://baymard.com/lists/cart-abandonment-rate"
|
|
14194
|
+
],
|
|
14195
|
+
"security_notes": "Static-review-only skill: Read/Grep/Glob, no execution and no network egress to any payment system. Never requests, transmits, stores, or reproduces cardholder data (PAN/CVV), API keys, session tokens, or webhook signing secrets — any such string is a redact-and-flag finding, never echoed. PCI DSS SAQ-scope output is an advisory scoping opinion to inform a Qualified Security Assessor or the merchant's own validation, never a compliance attestation or assessment of record. Never executes payment flows or replays webhooks against live, sandbox, or staging systems.",
|
|
14196
|
+
"last_verified": "2026-07-16",
|
|
14197
|
+
"path": "skills/cross-functional/revenue-critical-journey-integrity-review",
|
|
14198
|
+
"version": "0.1.0",
|
|
14199
|
+
"author": "github: Raishin"
|
|
14200
|
+
},
|
|
14065
14201
|
{
|
|
14066
14202
|
"id": "revenue-recognition-advisor",
|
|
14067
14203
|
"name": "Revenue Recognition Advisor",
|
|
@@ -17996,6 +18132,33 @@
|
|
|
17996
18132
|
"version": "0.1.0",
|
|
17997
18133
|
"author": "github: Raishin"
|
|
17998
18134
|
},
|
|
18135
|
+
{
|
|
18136
|
+
"id": "wordpress-rest-block-security-review",
|
|
18137
|
+
"name": "WordPress REST & Block Security Review",
|
|
18138
|
+
"type": "skill",
|
|
18139
|
+
"provider": "php",
|
|
18140
|
+
"harnesses": [
|
|
18141
|
+
"claude-code",
|
|
18142
|
+
"cursor",
|
|
18143
|
+
"codex",
|
|
18144
|
+
"gemini",
|
|
18145
|
+
"kiro",
|
|
18146
|
+
"other"
|
|
18147
|
+
],
|
|
18148
|
+
"summary": "Skill for reviewing WordPress plugin and theme security: REST register_rest_route permission_callback enforcement (required since WordPress 5.5) and nonce/capability checks, dynamic-block render_callback output escaping, and the validate-on-input, escape-on-output discipline behind the plugin-dominated WordPress CVE surface.",
|
|
18149
|
+
"source_type": "original",
|
|
18150
|
+
"official_docs": [
|
|
18151
|
+
"https://developer.wordpress.org/apis/security/",
|
|
18152
|
+
"https://developer.wordpress.org/rest-api/extending-the-rest-api/routes-and-endpoints/",
|
|
18153
|
+
"https://developer.wordpress.org/block-editor/getting-started/fundamentals/static-dynamic-rendering/",
|
|
18154
|
+
"https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/"
|
|
18155
|
+
],
|
|
18156
|
+
"security_notes": "Static-review-only skill: Read/Grep/Glob, no execution and no live WordPress access. Flags missing permission_callback, unescaped output, and missing nonce/capability checks from source only; treats any credential- or PII-shaped string as a redact-and-flag finding; grounds REST and block-editor API claims in current developer.wordpress.org documentation.",
|
|
18157
|
+
"last_verified": "2026-07-16",
|
|
18158
|
+
"path": "skills/php/wordpress-rest-block-security-review",
|
|
18159
|
+
"version": "0.1.0",
|
|
18160
|
+
"author": "github: Raishin"
|
|
18161
|
+
},
|
|
17999
18162
|
{
|
|
18000
18163
|
"id": "working-capital-advisor",
|
|
18001
18164
|
"name": "Finance Working Capital Advisor",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raishin/vanguard-frontier-agentic",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Cloud and zero-trust agentic workflow marketplace for skills, agents, rules, MCP references, and compliance-aware architecture.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vanguard-frontier-agentic",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Curated marketplace for cloud and zero-trust AI workflows. 331 agents, 286 skills, and rules across AWS, Azure, OCI, GCP, Alibaba Cloud, Huawei Cloud, Kubernetes, and Terraform.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Raishin",
|
package/powers/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `powers/` — Kiro Powers
|
|
2
2
|
|
|
3
|
-
This directory holds **
|
|
3
|
+
This directory holds **41 Kiro Powers** for `vanguard-frontier-agentic`, one
|
|
4
4
|
per cloud/platform/IaC provider. Each Power is a directory containing a
|
|
5
5
|
`POWER.md` file with strict-5 frontmatter and steering content.
|
|
6
6
|
|
|
@@ -41,6 +41,7 @@ powers/
|
|
|
41
41
|
├── vanguard-oci/POWER.md
|
|
42
42
|
├── vanguard-opentelemetry/POWER.md
|
|
43
43
|
├── vanguard-ovhcloud/POWER.md
|
|
44
|
+
├── vanguard-php/POWER.md
|
|
44
45
|
├── vanguard-prometheus/POWER.md
|
|
45
46
|
├── vanguard-salesforce/POWER.md
|
|
46
47
|
├── vanguard-sap/POWER.md
|
|
@@ -84,7 +85,7 @@ cd vanguard-frontier-agentic
|
|
|
84
85
|
## How to update
|
|
85
86
|
|
|
86
87
|
```bash
|
|
87
|
-
# Regenerate the
|
|
88
|
+
# Regenerate the 41 Powers from catalog/agents.json + per-provider config:
|
|
88
89
|
npm run kiro-powers:write
|
|
89
90
|
|
|
90
91
|
# Then verify everything is in sync:
|
|
@@ -32,7 +32,7 @@ Live-guard agents enforce approval, target confirmation, evidence capture, and r
|
|
|
32
32
|
|
|
33
33
|
## Where the agents live
|
|
34
34
|
|
|
35
|
-
Agent specs and adapters are part of the [Vanguard Frontier Agentic](https://github.com/Raishin/vanguard-frontier-agentic) marketplace. For this provider, see `agents/generic/` in that repository.
|
|
35
|
+
Agent specs and adapters are part of the [Vanguard Frontier Agentic](https://github.com/Raishin/vanguard-frontier-agentic) marketplace. For this provider, see `agents/generic/` in that repository. 10 of 11 agents in this provider ship a Kiro adapter; the rest provide steering context only.
|
|
36
36
|
|
|
37
37
|
## Companion install paths
|
|
38
38
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "vanguard-php"
|
|
3
|
+
displayName: "Vanguard Frontier — Php"
|
|
4
|
+
description: "Curated Php agents for composer supply chain, php application security, php runtime upgrade readiness, wordpress security. Routes via php-maestro-agent to specialist agents based on task scope. Static review only; no live mutations."
|
|
5
|
+
keywords: ["php", "static-review", "configuration-audit", "best-practices"]
|
|
6
|
+
author: "Raishin"
|
|
7
|
+
---
|
|
8
|
+
# Vanguard Frontier — Php
|
|
9
|
+
|
|
10
|
+
Curated Php agents for composer supply chain, php application security, php runtime upgrade readiness, wordpress security. Routes via php-maestro-agent to specialist agents based on task scope. Static review only; no live mutations.
|
|
11
|
+
|
|
12
|
+
## When to engage this Power
|
|
13
|
+
|
|
14
|
+
Activate when the task references Php services, resources, or operations. Do not activate on unrelated requests — narrow keyword matching is required to avoid false activations (Kiro Powers convention).
|
|
15
|
+
|
|
16
|
+
## Routing pattern
|
|
17
|
+
|
|
18
|
+
- **`php-maestro-agent`** — classifies and routes the task to the right specialist
|
|
19
|
+
|
|
20
|
+
Use the maestro as the entry point: classify the task, then dispatch to one specialist or a parallel team of specialists. Never have the maestro itself execute a live mutation.
|
|
21
|
+
|
|
22
|
+
## Live-guard agents (gate_mode only)
|
|
23
|
+
|
|
24
|
+
- *(none — this provider has no live-mutation guards in the catalog)*
|
|
25
|
+
|
|
26
|
+
Live-guard agents enforce approval, target confirmation, evidence capture, and rollback plans before executing a mutation. They are never auto-dispatched — the maestro must place them in `live-guard-gate` or `runtime-evidence-gate` mode.
|
|
27
|
+
|
|
28
|
+
## Invariants
|
|
29
|
+
|
|
30
|
+
- Route all tasks through php-maestro-agent for proper classification and dispatch.
|
|
31
|
+
- Static review only -- agents analyze configuration and provide findings without mutating live systems.
|
|
32
|
+
|
|
33
|
+
## Where the agents live
|
|
34
|
+
|
|
35
|
+
Agent specs and adapters are part of the [Vanguard Frontier Agentic](https://github.com/Raishin/vanguard-frontier-agentic) marketplace. For this provider, see `agents/php/` in that repository. All 5 agents in this provider ship a Kiro adapter (`harnesses/kiro-ide.agent.md`, `kiro-cli.agent.json`).
|
|
36
|
+
|
|
37
|
+
## Companion install paths
|
|
38
|
+
|
|
39
|
+
- **Claude Code:** `/plugin marketplace add Raishin/vanguard-frontier-agentic` then `/plugin install vanguard-frontier-agentic@vanguard-frontier-agentic`
|
|
40
|
+
- **Codex / Copilot / Cursor / Gemini CLI / Kiro (file export):** `npx vfa-export-agents --platform <harness> --provider php --repo .`
|
|
@@ -56,7 +56,7 @@ const taxonomy = [
|
|
|
56
56
|
{ category: 'Infrastructure as Code', providers: ['terraform'] },
|
|
57
57
|
{ category: 'AI & Compute', providers: ['nvidia'] },
|
|
58
58
|
{ category: 'Frontend & Web', providers: ['frontend'] },
|
|
59
|
-
{ category: 'Developer Platforms', providers: ['backstage', 'dotnet', 'generic', 'multi-cloud'] },
|
|
59
|
+
{ category: 'Developer Platforms', providers: ['backstage', 'dotnet', 'php', 'generic', 'multi-cloud'] },
|
|
60
60
|
{ category: 'ERP & Finance', providers: ['netsuite', 'accounting', 'finance', 'sap'] },
|
|
61
61
|
{ category: 'Business Functions', providers: ['salesforce', 'legal', 'hr', 'marketing'] },
|
|
62
62
|
{ category: 'Microsoft 365 & Dynamics 365', providers: ['microsoft'] },
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: revenue-critical-journey-integrity-review
|
|
3
|
+
description: Use this skill to review the cross-tier seams of revenue-critical journeys — checkout, payment submission, account creation, and login — for idempotency of money-moving and account-creating requests, server-side re-validation of client-enforced rules, webhook duplicate/out-of-order handling, retry-storm safeguards, and PCI DSS SAQ-scope judgment. Use when a request crosses client-to-server, system-to-processor, or webhook-back-into-system and a failure at that seam would double-charge, double-fulfill, bypass a required step, drop revenue, or misjudge PCI scope. Static review only; it does not execute payment flows and its PCI SAQ output is an advisory scoping opinion, never a compliance attestation.
|
|
4
|
+
allowed-tools: Read Grep Glob
|
|
5
|
+
metadata:
|
|
6
|
+
author: "github: Raishin"
|
|
7
|
+
version: "0.1.0"
|
|
8
|
+
updated: "2026-07-16"
|
|
9
|
+
category: resilience
|
|
10
|
+
lifecycle: experimental
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Revenue-Critical Journey Integrity Review
|
|
14
|
+
|
|
15
|
+
## Purpose
|
|
16
|
+
|
|
17
|
+
Review the seams of revenue-critical journeys — the points where a request crosses from client to server, from your system to a payment processor, or from a webhook back into your system — so a journey that looks correct in any one tier does not break where the tiers meet. The dominant seam failures are non-idempotent money-moving requests, client-enforced rules the server never re-validates, webhook consumers that assume exactly-once/in-order delivery, unbounded retries that become retry storms, and PCI DSS SAQ-scope misjudgment.
|
|
18
|
+
|
|
19
|
+
## When to use
|
|
20
|
+
|
|
21
|
+
Use this skill when the user asks to:
|
|
22
|
+
|
|
23
|
+
- review whether a checkout, payment, subscription, coupon, or account-creation request is safe to retry (idempotency at money-moving seams),
|
|
24
|
+
- confirm the server re-validates rules the client enforces (price, discount, quantity, eligibility, step-completion),
|
|
25
|
+
- review a webhook consumer for duplicate-delivery and out-of-order handling,
|
|
26
|
+
- review retry/backoff/circuit-breaker safety at a revenue-critical seam across web, mobile, or backend consumers,
|
|
27
|
+
- get an advisory PCI DSS SAQ-scope opinion for the payment integration model actually in the code.
|
|
28
|
+
|
|
29
|
+
## When not to use
|
|
30
|
+
|
|
31
|
+
Do not use this skill for:
|
|
32
|
+
|
|
33
|
+
- tier-internal review that an owning specialist owns — DOM XSS/CSP and client injection (use the frontend security review), backend authorization-model design, mobile-platform specifics, or infrastructure hardening. This skill reviews the seam, not the interior; hand tier-internal findings to the owning agent.
|
|
34
|
+
- issuing a PCI compliance attestation, signing an SAQ, or acting as an assessment of record. SAQ-scope output here is advisory only.
|
|
35
|
+
- any live exercise of a payment system — executing flows, replaying webhooks, or sending requests to live/sandbox/staging processors. This skill is static review only.
|
|
36
|
+
|
|
37
|
+
## Preconditions
|
|
38
|
+
|
|
39
|
+
- The money-moving and account-creating request paths in scope, across whichever tiers exist.
|
|
40
|
+
- The webhook consumer code and the event types it acts on.
|
|
41
|
+
- The retry configuration (max attempts, backoff, jitter, timeout, circuit breaker) for the seams in scope.
|
|
42
|
+
- The payment integration model (redirect, iframe/hosted fields, direct post/custom form) if a SAQ-scope opinion is requested.
|
|
43
|
+
- The processor/SDK and version in scope, so idempotency and webhook guidance matches the real API surface.
|
|
44
|
+
|
|
45
|
+
## Lean operating rules
|
|
46
|
+
|
|
47
|
+
- Confirm retry/replay reachability before flagging an idempotency gap; a genuinely non-retryable internal call is not a finding.
|
|
48
|
+
- Treat the server as the only enforcement boundary; a client-only check is UX, not enforcement.
|
|
49
|
+
- Require webhook consumers to be both idempotent (dedupe by event id or business key) and order-tolerant.
|
|
50
|
+
- Require bounded, backoff-with-jitter retries with a timeout at every revenue seam; add a circuit breaker or dead-letter path for backend/queue consumers.
|
|
51
|
+
- Give a PCI SAQ-scope opinion only against the integration model present in the code, name the candidate SAQ, and label it advisory.
|
|
52
|
+
- Never request, echo, store, or reproduce cardholder data, API keys, session tokens, or webhook signing secrets; redact-and-flag any that appear.
|
|
53
|
+
- Label every claim `repo evidence`, `context7-grounded`, `documentation-based`, or `inference`.
|
|
54
|
+
|
|
55
|
+
## Context7 documentation protocol
|
|
56
|
+
|
|
57
|
+
Processor idempotency semantics, webhook retry windows, event ordering, and signature verification are version-sensitive. The bundled [official sources](references/official-sources.md) are the versioned ground truth for this skill: every processor-specific claim must trace to them and is labeled `documentation-based`, and the ledger records the version and last-verified date so a claim can be re-checked. This static-review skill's own tool grant is read-only (`Read Grep Glob`); when the invoking harness additionally provides Context7 or official-documentation tools, use them to confirm the current behavior against the bundled snapshot (`resolve-library-id` then `query-docs`, labeled `context7-grounded`) and to cover a processor the bundle does not. For a processor with no bundled or fetched coverage, say so and treat the claim as `inference` — never rely on memorized API details.
|
|
58
|
+
|
|
59
|
+
## Workflow
|
|
60
|
+
|
|
61
|
+
Follow the step-by-step review and output contract in [workflow and output](references/workflow-and-output.md). At a high level: (1) map the seams in scope; (2) for each money-moving/account-creating request, check idempotency against reachable retry/replay; (3) check server re-validation of every client-enforced rule; (4) check webhook consumers for idempotency + order-tolerance; (5) check retry safety; (6) if requested, form the advisory SAQ-scope opinion; (7) emit findings with evidence tiers and tier-internal handoffs.
|
|
62
|
+
|
|
63
|
+
## Decision gates
|
|
64
|
+
|
|
65
|
+
- Block only on a seam failure with a demonstrated reachable retry/replay/bypass path.
|
|
66
|
+
- Every processor-specific claim is Context7-grounded or documentation-based, never memory.
|
|
67
|
+
- Every SAQ-scope statement is advisory and tied to the integration model in the code.
|
|
68
|
+
- Every tier-internal finding is handed off, not adjudicated.
|
|
69
|
+
|
|
70
|
+
## Evidence classification
|
|
71
|
+
|
|
72
|
+
Label each finding `repo evidence` (seen in the code), `context7-grounded` (current provider docs via Context7), `documentation-based` (official docs), or `inference`. Documentation never proves a specific deployment's live behavior — say so.
|
|
73
|
+
|
|
74
|
+
## Security and privacy constraints
|
|
75
|
+
|
|
76
|
+
Static review only. Never transmit, request, store, or reproduce cardholder data (PAN/CVV), API keys, session tokens, or webhook signing secrets; treat any such string as a redact-and-flag finding. Never execute payment flows or contact any live/sandbox/staging payment system. PCI SAQ-scope output is an advisory opinion, never an attestation.
|
|
77
|
+
|
|
78
|
+
## Escalation conditions
|
|
79
|
+
|
|
80
|
+
Escalate to incident response on any evidence of a live failure (duplicate charges in logs, replayed webhooks, retry amplification). Escalate SAQ-scope opinions to the merchant's compliance owner or a QSA as advisory input.
|
|
81
|
+
|
|
82
|
+
## References
|
|
83
|
+
|
|
84
|
+
Load these only when needed:
|
|
85
|
+
|
|
86
|
+
- [Workflow and output](references/workflow-and-output.md) — the end-to-end review steps and the finding/output contract.
|
|
87
|
+
- [Idempotency and safe retries](references/idempotency-and-safe-retries.md) — idempotency keys at money-moving seams and bounded backoff-with-jitter retry design.
|
|
88
|
+
- [Webhook delivery: dedup and ordering](references/webhook-delivery-dedup-ordering.md) — duplicate-delivery and out-of-order handling for webhook consumers.
|
|
89
|
+
- [Server-side re-validation and the client trust boundary](references/server-side-revalidation-trust-boundary.md) — why the server is the only enforcement boundary and what to re-check.
|
|
90
|
+
- [PCI DSS SAQ scope boundaries](references/pci-saq-scope-boundaries.md) — SAQ A vs A-EP vs D by integration model and the 6.4.3/11.6.1 payment-page expectations.
|
|
91
|
+
- [Official sources](references/official-sources.md) — the primary-source ledger for every claim in this skill.
|
|
92
|
+
|
|
93
|
+
## Response minimum
|
|
94
|
+
|
|
95
|
+
Return, at minimum:
|
|
96
|
+
|
|
97
|
+
- the seam(s) in scope and, per finding, the failure class and evidence tier;
|
|
98
|
+
- the cross-tier failure narrative (how a retry, replay, or bypass reaches a wrong outcome);
|
|
99
|
+
- concrete remediation and an exact verification step;
|
|
100
|
+
- the advisory SAQ-scope opinion when requested, labeled advisory;
|
|
101
|
+
- tier-internal handoffs and any incident-response escalation.
|
|
102
|
+
|
|
103
|
+
## Anti-goals
|
|
104
|
+
|
|
105
|
+
- Do not expand into tier-internal review; own the seam, hand off the interior.
|
|
106
|
+
- Do not present a SAQ-scope opinion as a compliance determination.
|
|
107
|
+
- Do not exercise any live payment system or reproduce any secret or PAN.
|
|
108
|
+
- Do not assert processor behavior from memory.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "revenue-critical-journey-integrity-review",
|
|
3
|
+
"name": "Revenue-Critical Journey Integrity Review",
|
|
4
|
+
"type": "skill",
|
|
5
|
+
"provider": "generic",
|
|
6
|
+
"harnesses": [
|
|
7
|
+
"claude-code",
|
|
8
|
+
"cursor",
|
|
9
|
+
"codex",
|
|
10
|
+
"gemini",
|
|
11
|
+
"kiro",
|
|
12
|
+
"other"
|
|
13
|
+
],
|
|
14
|
+
"summary": "Skill for reviewing the cross-tier seams of revenue-critical journeys (checkout, payment, account creation, login): idempotency of money-moving and account-creating requests, server-side re-validation of client-enforced rules, webhook duplicate/out-of-order handling, retry-storm safeguards, and advisory PCI DSS SAQ-scope judgment for the integration model in use.",
|
|
15
|
+
"source_type": "original",
|
|
16
|
+
"official_docs": [
|
|
17
|
+
"https://docs.stripe.com/api/idempotent_requests",
|
|
18
|
+
"https://docs.stripe.com/webhooks/best-practices",
|
|
19
|
+
"https://www.pcisecuritystandards.org/faqs/1443/",
|
|
20
|
+
"https://blog.pcisecuritystandards.org/important-updates-announced-for-merchants-validating-to-self-assessment-questionnaire-a",
|
|
21
|
+
"https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/rel_mitigate_interaction_failure_limit_retries.html",
|
|
22
|
+
"https://baymard.com/lists/cart-abandonment-rate"
|
|
23
|
+
],
|
|
24
|
+
"security_notes": "Static-review-only skill: Read/Grep/Glob, no execution and no network egress to any payment system. Never requests, transmits, stores, or reproduces cardholder data (PAN/CVV), API keys, session tokens, or webhook signing secrets — any such string is a redact-and-flag finding, never echoed. PCI DSS SAQ-scope output is an advisory scoping opinion to inform a Qualified Security Assessor or the merchant's own validation, never a compliance attestation or assessment of record. Never executes payment flows or replays webhooks against live, sandbox, or staging systems.",
|
|
25
|
+
"last_verified": "2026-07-16",
|
|
26
|
+
"path": "skills/cross-functional/revenue-critical-journey-integrity-review",
|
|
27
|
+
"author": "github: Raishin",
|
|
28
|
+
"version": "0.1.0"
|
|
29
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Idempotency and safe retries
|
|
2
|
+
|
|
3
|
+
## Why this matters
|
|
4
|
+
|
|
5
|
+
Every money-moving or account-creating request that can be retried — by a client
|
|
6
|
+
double-submit, a gateway timeout-then-retry, or a user hitting back/refresh — is a
|
|
7
|
+
duplicate-charge or duplicate-account risk unless the seam is explicitly made safe
|
|
8
|
+
to repeat. This is a seam failure, not a tier-internal bug: the client, server,
|
|
9
|
+
and processor can each look correct in isolation while the combination
|
|
10
|
+
double-charges a customer. Idempotency keys close the money-moving side;
|
|
11
|
+
bounded backoff-with-jitter retries close the availability side by preventing a
|
|
12
|
+
single downstream blip from becoming a self-inflicted retry storm.
|
|
13
|
+
|
|
14
|
+
## Where an idempotency mechanism is required
|
|
15
|
+
|
|
16
|
+
An idempotency mechanism is required at any request that both (a) moves money
|
|
17
|
+
or creates a billable resource (create charge, create payment intent, create
|
|
18
|
+
subscription, apply a coupon), and (b) is reachable by at least one
|
|
19
|
+
retry/replay path: client double-submit (double click, back-button resubmit),
|
|
20
|
+
gateway or SDK-level automatic retry on connection error/timeout, or a user
|
|
21
|
+
manually resubmitting after an ambiguous response.
|
|
22
|
+
|
|
23
|
+
A genuinely non-retryable internal call (no client retry, no gateway retry
|
|
24
|
+
configured, no user-facing resubmit path) is not a finding — confirm
|
|
25
|
+
reachability before flagging, per the skill's lean operating rules.
|
|
26
|
+
|
|
27
|
+
## NORMATIVE: what Stripe requires and provides
|
|
28
|
+
|
|
29
|
+
Per Stripe's API reference on idempotent requests (`documentation-based`;
|
|
30
|
+
Context7 was attempted first and returned a monthly-quota error, so this was
|
|
31
|
+
grounded via direct WebFetch of the official page):
|
|
32
|
+
|
|
33
|
+
- A client generates and attaches an idempotency key to a `POST` request (e.g.
|
|
34
|
+
create charge, create customer). This lets the request be retried safely
|
|
35
|
+
after a connection error without performing the operation twice.
|
|
36
|
+
- Stripe caches the first response for that key — including a 5xx error
|
|
37
|
+
response — for **at least 24 hours**.
|
|
38
|
+
- A replay with the same key returns the cached first result rather than
|
|
39
|
+
re-executing the operation.
|
|
40
|
+
- If a retry sends the same key with **different parameters** than the
|
|
41
|
+
original request, Stripe returns an error rather than silently applying the
|
|
42
|
+
new parameters. The key scopes to the exact original request, not just the
|
|
43
|
+
endpoint.
|
|
44
|
+
|
|
45
|
+
These are processor-documented behaviors, not general recommendations — do not
|
|
46
|
+
generalize them to a processor without checking that processor's own docs.
|
|
47
|
+
|
|
48
|
+
## RECOMMENDATION: how to implement idempotency at your own seams
|
|
49
|
+
|
|
50
|
+
For a seam the merchant's own server owns (e.g. an internal "create order" call
|
|
51
|
+
in front of the processor call), the same pattern applies as a design
|
|
52
|
+
recommendation, not a processor mandate:
|
|
53
|
+
|
|
54
|
+
- **Client-generated key** — a UUID generated once per logical operation
|
|
55
|
+
attempt, not per HTTP retry, sent in a header or body field.
|
|
56
|
+
- **Server-side unique constraint** — the server stores the key in a table
|
|
57
|
+
with a unique constraint (e.g. a unique index on `idempotency_key`)
|
|
58
|
+
alongside the operation's result. The insert-or-conflict on that constraint
|
|
59
|
+
is the correctness mechanism, not an application-level `SELECT`-then-`INSERT`
|
|
60
|
+
check, which races under concurrent retries.
|
|
61
|
+
- **Return the cached first result on replay** — on a unique-constraint
|
|
62
|
+
conflict, look up the stored result for that key and return it unchanged,
|
|
63
|
+
rather than re-running the operation.
|
|
64
|
+
- **Scope keys to exact request parameters**, mirroring Stripe's behavior:
|
|
65
|
+
reject (or explicitly document accepting) a replay whose parameters differ
|
|
66
|
+
from the original.
|
|
67
|
+
|
|
68
|
+
## Reviewer evidence criteria
|
|
69
|
+
|
|
70
|
+
For each money-moving or account-creating request in scope, check for:
|
|
71
|
+
|
|
72
|
+
- A client-generated idempotency key attached to the request (header or body
|
|
73
|
+
field), generated once per user-intent attempt, not regenerated on every
|
|
74
|
+
retry.
|
|
75
|
+
- A server-side store (table/cache) keyed on that value with a **unique
|
|
76
|
+
constraint**, not merely an in-memory or best-effort check.
|
|
77
|
+
- Confirmation that a replay with the same key returns the original stored
|
|
78
|
+
result rather than re-invoking the money-moving/account-creating operation.
|
|
79
|
+
- Confirmation that a replay with the same key but different parameters is
|
|
80
|
+
rejected or explicitly handled, not silently accepted.
|
|
81
|
+
- For calls that pass through to Stripe (or another processor) directly,
|
|
82
|
+
confirmation the processor's own idempotency-key parameter is used on the
|
|
83
|
+
outbound call, in addition to (not instead of) any client-facing key.
|
|
84
|
+
|
|
85
|
+
Absence of all of the above at a seam where retry/replay is reachable is a
|
|
86
|
+
blocking finding per the skill's decision gates.
|
|
87
|
+
|
|
88
|
+
## Retry design: bounded backoff, jitter, and the retry-storm failure
|
|
89
|
+
|
|
90
|
+
Retry-storm mitigation is not a processor-documented requirement — no
|
|
91
|
+
NORMATIVE claim applies here. It is a reliability-engineering recommendation
|
|
92
|
+
grounded in AWS's Well-Architected Reliability Pillar guidance
|
|
93
|
+
(`documentation-based`).
|
|
94
|
+
|
|
95
|
+
## RECOMMENDATION: bounded, backoff-with-jitter retries
|
|
96
|
+
|
|
97
|
+
Per AWS's Well-Architected Reliability Pillar guidance on limiting retries, a
|
|
98
|
+
**retry storm** occurs when retries compound across multiple layers of a stack
|
|
99
|
+
under failure — each layer retrying independently — so the failing service
|
|
100
|
+
receives new requests plus every layer's retries simultaneously, saturating it
|
|
101
|
+
and reducing availability further rather than recovering it. The documented
|
|
102
|
+
mitigation is client-side exponential backoff, jitter, and a maximum retry cap.
|
|
103
|
+
A second AWS primary source, the Builders' Library article "Timeouts, retries,
|
|
104
|
+
and backoff with jitter," covers the same pattern in more implementation depth
|
|
105
|
+
and may be cited alongside it.
|
|
106
|
+
|
|
107
|
+
For every retry path at a revenue-critical seam (web client, mobile client, or
|
|
108
|
+
backend/queue consumer), check for:
|
|
109
|
+
|
|
110
|
+
- **Maximum attempt cap** — retries stop after a fixed, small number of
|
|
111
|
+
attempts rather than continuing indefinitely.
|
|
112
|
+
- **Exponential backoff** — each successive retry waits longer than the last
|
|
113
|
+
(e.g. doubling), rather than retrying at a fixed interval.
|
|
114
|
+
- **Jitter** — the wait interval is randomized within a range rather than
|
|
115
|
+
deterministic, so many clients failing at once do not retry in lockstep and
|
|
116
|
+
re-collide on the recovering service.
|
|
117
|
+
- **Request timeout** — each attempt has an explicit timeout rather than
|
|
118
|
+
waiting indefinitely for a hung connection, so a stuck attempt does not
|
|
119
|
+
block the retry budget.
|
|
120
|
+
- **Circuit breaker or dead-letter path for backend/queue consumers** — once
|
|
121
|
+
failures exceed a threshold, the consumer stops retrying and either trips a
|
|
122
|
+
circuit (short-circuits further calls for a cooldown period) or routes the
|
|
123
|
+
message to a dead-letter queue, instead of retrying forever against a
|
|
124
|
+
downstream that is already down.
|
|
125
|
+
- **No cross-tier amplification** — if a mobile client retries and the API
|
|
126
|
+
gateway it calls also retries independently, confirm the combination is
|
|
127
|
+
still bounded; check the effective worst-case request multiplier across all
|
|
128
|
+
layers, not one layer's configuration in isolation.
|
|
129
|
+
|
|
130
|
+
Unbounded retries, retries with no backoff, or fixed-interval retries with no
|
|
131
|
+
jitter at a revenue-critical seam are retry-storm-risk findings, citable
|
|
132
|
+
against the AWS Well-Architected reference.
|
|
133
|
+
|
|
134
|
+
## Applicable versions
|
|
135
|
+
|
|
136
|
+
- Stripe idempotent-request behavior described here reflects the current
|
|
137
|
+
Stripe API reference page as of this review; idempotency-key retention
|
|
138
|
+
windows and behavior are processor-specific and must be re-verified against
|
|
139
|
+
the exact processor/SDK version in scope, per the skill's Context7
|
|
140
|
+
documentation protocol.
|
|
141
|
+
- The AWS Well-Architected Reliability Pillar guidance is framework-level
|
|
142
|
+
(not tied to a specific AWS service version) and applies to any retry
|
|
143
|
+
design, not only AWS-hosted systems.
|
|
144
|
+
- Documentation describes intended behavior only; whether a specific
|
|
145
|
+
deployment actually implements a unique constraint, a bounded backoff
|
|
146
|
+
policy, or a circuit breaker is an `inference` from code review, never
|
|
147
|
+
proven by the existence of these docs.
|
|
148
|
+
|
|
149
|
+
## Sources
|
|
150
|
+
|
|
151
|
+
- [Stripe API reference — Idempotent requests](https://docs.stripe.com/api/idempotent_requests) — supports the client-generated-key mechanism, the 24-hour-minimum cache of the first response (including 5xx), and the error-on-differing-parameters behavior.
|
|
152
|
+
- [AWS Well-Architected Reliability Pillar — Limit retries](https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/rel_mitigate_interaction_failure_limit_retries.html) — supports the retry-storm definition and the exponential-backoff/jitter/max-retry-cap mitigation.
|
|
153
|
+
- [AWS Builders' Library — Timeouts, retries, and backoff with jitter](https://aws.amazon.com/builders-library/timeouts-retries-and-backoff-with-jitter/) — supplementary primary source on backoff-with-jitter implementation.
|
|
154
|
+
|
|
155
|
+
Last verified: 2026-07-16.
|