actions/<Name>/action.yaml |
Composite actions, each running a PowerShell 7 entry script on ubuntu-latest: Validate (checks, effective diff, update check), Publish (gate, stage, deploy, verify), CheckForUpdates (update from the template), ScanDiagnostics (the daily diagnostic scan), ChangeRule (one override entry through a form, as a pull request), ApplyChangeSet (the change set of a dashboard issue, as a pull request). |
Validate (WP03), Publish (WP05), CheckForUpdates (WP07), ScanDiagnostics (WP08), ChangeRule (WP09) and ApplyChangeSet (WP15) written |
modules/Rulebook.*.psm1 |
PowerShell modules shared by the actions, each with a .psd1 manifest: Rulebook.Generate (level chain + stage deltas + twins setting + overrides + quarantine to sparse flat endpoints, effective diff), Rulebook.Validate (checks C1 to C16), Rulebook.Template (level, stage, twins, catalog and skeleton files of template/ from docs/rulebook/), Rulebook.Publish (staging, Pages deploy, reachability), Rulebook.Update and Rulebook.GitHub (the update and the GitHub plumbing), for the scan Rulebook.NuGet, Rulebook.Extract, Rulebook.Catalog, Rulebook.Quarantine and Rulebook.Scan, Rulebook.Edit (overrides.json, the quarantine release and the change set of the ChangeRule and ApplyChangeSet actions, with the issue body reader), Rulebook.Levels (the off level, the level pages and the level and stage page models), Rulebook.Site (the site data rulebook.json: every rule's cells with the deciding input and the fallback of override and quarantine cells), Rulebook.Action (the helpers every action entry script shares: annotations, the failure kind, the job summary and GITHUB_OUTPUT) and Rulebook.Common (the git runner and the ordinal collections several modules share). |
written (WP03 to WP10, WP14, WP15) |
template/ |
Source of the template content that the Deploy workflow copies into ALCops/rulebook@main, the release (every engine reference on main rewritten to v1, the template references left at main), and the Refresh Template workflow into ALCops/rulebook@preview, the bleeding edge (the template references rewritten to preview). Its base/, stages/ and rulesets/ are generated from docs/rulebook/. |
written (WP03 to WP09, WP13 to WP15), 99 files: settings, the workflows Validate.yaml, Publish.yaml, UpdateRulebookSystemFiles.yaml, ScanDiagnostics.yaml, ChangeRule.yaml and ApplyRulebookChange.yaml, the issue form rulebook-change.yml, the README files, empty overrides and quarantine files, the user documentation in docs/ (18 pages, 2 images), the dashboard site in site/ (33 files) and the 32 generated files |
schemas/ |
JSON schemas for every file in an organization rulebook repository (ruleset profiles, overrides, quarantine, twins, catalog, scan state, settings) and the change set the dashboard submits (WP14), served from the engine's v1 branch over raw URLs (live since WP13, #15); the tests use the local files. See docs/reference/naming.md. |
written (WP02) |
tests/ |
Pester 6 suites, one per module and action, with fixtures under tests/fixtures/: the schema suite and its fixtures under tests/fixtures/schemas/; the Generate, Validate and Validate action suites with organization rulebook fixtures under tests/fixtures/repos/ and helpers in tests/Helpers/; the Site suite with the committed site data export tests/fixtures/site-data/rulebook.json; the cart tests of the site under tests/site/ (node --test). |
a suite per module and action (WP00 to WP09, WP14); the scan suites build stub analyzer packages from tests/fixtures/stub-analyzers/ at test time |
docs/ |
Architecture, decision records (adr/), references, and docs/rulebook/ with the level content (inventory, matrix, composition spec). |
written |
tools/rulebook/ |
PowerShell scripts that extract the inventory from the analyzer sources, build the matrix (ladders, stage columns, twin pairs, counts) and verify it (Extract-Inventory.ps1, Build-Matrix.ps1, Test-Rulebook.ps1). They import Rulebook.Generate for the diagnostic sort key and build portable paths; CI runs Test-Rulebook.ps1. Build-Template.ps1 regenerates template/ from docs/rulebook/. |
written |
scripts/ |
User-facing scripts that an AL project downloads from the engine and runs, self-contained (PowerShell 7, no engine module): Get-RulebookSkeletons.ps1 reads <baseUrl>/rulebook.json and downloads the published skeletons of one level into .rulebook/, one file per stage. Linked from the index page of every published rulebook. |
written (WP06) |
.github/workflows/ |
ci.yml: the job test (PSScriptAnalyzer, the matrix checks V1 to V15, Pester) and one job per action, validate-action, publish-action, update-action, scan-action (dry runs against nuget.org), changerule-action and applychangeset-action (issue files, no GitHub call); the deploy workflow comes with WP13. |
CI written (WP00); deploy planned (WP13) |
CONTRIBUTING.md |
Conventions, running the checks locally, CI, branches, repository settings and pull request rules. |
written |