Skip to content

Docs: changing-a-rule.md, overrides.md and the Change Rule workflow (WP09) - #6

Merged
Arthurvdv merged 3 commits into
mainfrom
wp09/change-rule-docs
Oct 9, 2026
Merged

Arthurvdv merged 3 commits into
mainfrom
wp09/change-rule-docs

Conversation

@Arthurvdv

Copy link
Copy Markdown
Member

Summary

  • New docs/changing-a-rule.md: the Change Rule workflow of the engine's WP09 as observed in the live run on a scratch repository. What it does, the form field by field (*, one level and one stage per run, Remove, the optional justification and that an empty one keeps the existing text), reading the pull request (the before and after table per endpoint with the provenance tokens, unchanged, justification updated, "now unlisted ... equals the analyzer default"), when nothing is written (the no-op notices, the remove miss), pull request or direct commit per commitOptions.createPullRequest with the fallback, the secret, your own levels and stages in the form after an update, and a troubleshooting table. Two screenshots from the live run (docs/images/change-rule-form.png, change-rule-pr.png).
  • New docs/overrides.md: the file and its keys, selectors (slugs or *, arrays only), which entry wins (specificity, then the later entry), precedence over twins, stage, level chain, quarantine and default, an override at the analyzer default unlists the id, editing by hand (regenerate, layout, C10).
  • docs/updating.md: update.check in the settings replaces the Validate.yaml edit for turning the update check off (Settings key to turn the Validate template update check off rulebook-engine#67); the choice-list rewrite of the Change Rule form is live, with the observed House example.
  • docs/quarantine.md, docs/al-project.md, docs/ghtokenworkflow.md, docs/README.md (both pages written) and README.md point at the workflow instead of "planned".

Merge order: after the engine pull request ALCops/rulebook-engine#76 (WP09). These pages link the engine's docs/reference/change-mechanics.md and ADR D47 on main, which exist only once #76 is merged; update.check is on main already (#74).

Closes nothing in this repository (issues are disabled); it completes the documentation of ALCops/rulebook-engine#11.

Review: two Sonnet rounds (round 1 with the code-review skill, round 2 manual), no must-fix left.

🤖 Generated with Claude Code

Arthurvdv and others added 3 commits October 9, 2026 11:46
The engine's WP09 (ALCops/rulebook-engine#11) ships the Change Rule
workflow. changing-a-rule.md describes it as observed in the live run: the
form, the pull request with its before and after table and provenance, the
no-op and remove-miss answers, pull request or direct commit per
commitOptions.createPullRequest, the secret, custom levels in the form after
an update, and troubleshooting, with two screenshots. overrides.md describes
the file: entries, selectors, which entry wins, precedence and editing by
hand. updating.md replaces the Validate.yaml edit with update.check
(ALCops/rulebook-engine#67) and states the choice-list rewrite as live;
quarantine.md, al-project.md, ghtokenworkflow.md, the index and README.md
point at the workflow.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Review round 1 of the WP09 docs. A change is written when it alters an entry
even if no endpoint changes (justification, a masked action, removed
duplicates, a remove); nothing is written only when the entry would stay as
it is or a new entry would change no endpoint (D48). A level selector
reaches only that level, never levels based on it. The precedence list folds
quarantine into the level result before the stage file (D41). Also: the
action has no default and opens on Error with * / * preselected, a
justification for a change that writes nothing is not stored, the "duplicate
entries removed" note, stale endpoints regenerated in the same pull request,
the notice versus the commit message of a direct commit, comments dropped on
the next write, the settings-step failures, and checkForUpdates on the
Validate step as a temporary edit only.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Review round 2 of the WP09 docs: the sentence read as if the endpoints
showed the requested action while a more specific entry hid it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Arthurvdv Arthurvdv added the documentation Improvements or additions to documentation label Oct 9, 2026
@Arthurvdv
Arthurvdv merged commit 0238114 into main Oct 9, 2026
@Arthurvdv
Arthurvdv deleted the wp09/change-rule-docs branch October 9, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant