diff --git a/.agents/skills/rea-bug-fix/SKILL.md b/.agents/skills/rea-bug-fix/SKILL.md index d5436267d2..83ca22a7b2 100644 --- a/.agents/skills/rea-bug-fix/SKILL.md +++ b/.agents/skills/rea-bug-fix/SKILL.md @@ -62,5 +62,15 @@ if one seems needed, state the concrete failure mode, likelihood and cost and get agreement first. Mark output or input changes that break a previously valid call as breaking, with migration. +## Before pushing + +- If you changed a tool contract or schema, run + `npm run verify:advertised-schemas -- --update-summary` and commit the + updated summary. +- CI selects only tests that import a changed file directly. When the changed + behavior is reached through the server, CLI or setup, search the tests for + the codes and fields you changed and run those files with + `npm run test:focused`. + Report the root cause, the structural fix, the sibling paths checked, the validation you ran, and anything left for later. diff --git a/.agents/skills/rea-tool-design/SKILL.md b/.agents/skills/rea-tool-design/SKILL.md index b381776a80..98d75862bf 100644 --- a/.agents/skills/rea-tool-design/SKILL.md +++ b/.agents/skills/rea-tool-design/SKILL.md @@ -58,7 +58,9 @@ When adding or revising contracts and services: - Keep input schemas flat (avoid redundant root unions whose branches share identical fields) so compact advertised schemas stay `inline`; refresh advertised schemas (`npm run verify:advertised-schemas -- --update-summary`) - and run `npm run docs:check` after contract changes. + and run `npm run docs:check` after contract changes. CI selects only tests + that import a changed file directly, so also run the tests that reach the + changed behavior through the server, CLI or setup. - Reuse shared application runners (`executeArtifactInspection`, `executeProviderOperation`, `executeRetainedSummaryOperation`) instead of adding pass-through wrapper services, and migrate callers directly with zero