Update full_patch_test docs for 1.3.x: cover guardrails and field widget actions
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3584415. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !1484 >>> <p>[Tracker]<br> <strong>Update Summary: </strong>[One-line status update for stakeholders]<br> <strong>Short Description: </strong>The 1.3.x full patch test run script documentation is missing steps for testing guardrails and field widget actions.<br> <strong>Check-in Date: </strong>MM/DD/YYYY<br> [/Tracker]</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The contributor documentation page <a href="https://project.pages.drupalcode.org/ai/1.3.x/contribute/testing/full_patch_test/">Full patch test</a> walks reviewers through a manual smoke test of an AI module patch before it is merged. For 1.3.x the module ships two areas that are not yet covered by that runbook: guardrails and field widget actions. Reviewers following the current script can therefore sign off on a patch without ever exercising those subsystems, which makes regressions in them easy to miss.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <ul> <li>Update the 1.3.x version of the <code>contribute/testing/full_patch_test</code> page to add a guardrails testing section: enabling a guardrail, configuring it against a chat operation, triggering it with an input that should be blocked, and verifying the expected stop/blocked behavior.</li> <li>Add a field widget actions testing section: enabling the field widget actions, attaching one to a relevant field, running the action from the widget, and verifying the field is updated as expected.</li> <li>Keep the existing structure of the run script (numbered steps, expected results) so the new sections fit the same review flow.</li> <li>Confirm whether the same additions should also be backported to any other supported docs branch, or only applied to 1.3.x.</li> </ul> <h3 id="summary-ai-usage">AI usage (if applicable)</h3> <p>[x] AI Assisted Issue<br> This issue was generated with AI assistance, but was reviewed and refined by the creator.</p> <p>[ ] AI Assisted Code<br> [ ] AI Generated Code<br> [ ] Vibe Coded</p> <p>- <strong>This issue was created with the help of AI</strong></p>
issue