Artefact Discipline Check

Routes a change through the correct workflow when the change touches a generated artefact or a protected branch. Use before hand-editing a file that is produced by a generator (build outputs, schema dumps, taxonomies, doc portals, scorecards, lockfiles). Use before pushing directly to, force-pushing, or `reset --hard`ing a protected branch (the default branch, release branches, long-lived integration branches). Use when CI flags generated-artefact drift or a protected-branch operation. The workflow redirects to "edit source, run the generator, commit both halves" or "open a PR through the documented merge mechanism", never to "hand-edit the artefact" or "force-push past the check".

jposluns Updated

File contents

jposluns/grc_library/tree/main/guardrails/skills/artefact-discipline-check commit e8ad7a65f7

Frequently asked questions

npx skillmds@latest add jposluns/artefact-discipline-check