docs(skills): regenerate schema summaries and run indirectly reached tests before pushing

Ten of 28 failing PR CI runs in a recent window came from schema changes
pushed without the regenerated advertised-schema summary, and two main
regressions passed their own PR CI because CI selects only tests that
import a changed file directly. rea-bug-fix gains a short before-pushing
section for both; rea-tool-design already named the summary command and
now notes the selection limit.
This commit is contained in:
morluto
2026-12-01 00:22:39 -05:00
parent c18e77607a
commit 06f063a538
2 changed files with 13 additions and 1 deletions
+10
View File
@@ -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.
+3 -1
View File
@@ -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