Skip to content

⚙️ [Maintenance]: Process-PSModule caller fleets can be audited consistently - #515

Closed
Marius Storhaug (MariusStorhaug) wants to merge 29 commits into
mainfrom
audit-process-workflows
Closed

⚙️ [Maintenance]: Process-PSModule caller fleets can be audited consistently#515
Marius Storhaug (MariusStorhaug) wants to merge 29 commits into
mainfrom
audit-process-workflows

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Aug 15, 2026

Copy link
Copy Markdown
Member

Process-PSModule maintainers can now inventory caller workflows consistently from GitHub or local checkouts, compare the fleet with a target workflow reference, and use one documented caller and lifecycle contract when planning upgrades.

New: Refreshable caller fleet inventory

The inventory command discovers Process-PSModule callers from authenticated GitHub data or checked-out repositories and reports workflow identity, triggers, concurrency, permissions, conditions, references, inputs, secrets, and additional jobs. It produces JSON for automation and linked Markdown for review.

Discovery fails closed when results are incomplete, no matching callers exist, or any matching workflow cannot be parsed. Diagnostic reports still include malformed workflows, and target-reference compliance counts them in the denominator so an incomplete fleet cannot appear fully compliant.

New: Documented caller and lifecycle contracts

The caller contract records the common Process-PSModule job boundary, required controls, explicit credential mappings, restricted fork validation, optional TestData, and rollout prerequisites. The lifecycle specification and design define Plan authority, validation, release reconciliation, recovery, cleanup, concurrency, token boundaries, and immutable prerelease handling without changing runtime workflow code.

The calling guide also clarifies that a reusable-workflow call job cannot declare a GitHub Environment.


Technical details
Changed surface Standards checked Framework docs checked Result
.github/scripts/** MSX PowerShell naming, functions, error handling, and testing Process-PSModule repository and workflow contract Aligned
docs/content/reference/process-workflow-fleet-* MSX Markdown and documentation model Process-PSModule caller interface Aligned
docs/content/reference/process-workflow-lifecycle-* MSX spec-driven development and Markdown Process-PSModule workflow architecture Aligned
docs/content/guides/calling-the-workflow.md MSX Markdown and documentation model GitHub reusable-workflow caller constraints Fixed in this PR
docs/zensical.toml MSX documentation navigation Process-PSModule documentation structure Aligned
Relevant issues (or links)

Related work

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Aug 15, 2026

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
CSS Pass ✅
CSS_PRETTIER Pass ✅
GITHUB_ACTIONS Pass ✅
GITHUB_ACTIONS_ZIZMOR Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
HTML Pass ✅
JAVASCRIPT_ES Pass ✅
JAVASCRIPT_PRETTIER Pass ✅
MARKDOWN Pass ✅
NATURAL_LANGUAGE Pass ✅
POWERSHELL Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title ⚙️ [Maintenance]: Process workflow standards are refreshable ⚙️ [Maintenance]: Process workflow standards target controlled v8 releases Aug 15, 2026
@MariusStorhaug
Marius Storhaug (MariusStorhaug) marked this pull request as draft August 15, 2026 12:14
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title ⚙️ [Maintenance]: Process workflow standards target controlled v8 releases ⚙️ [Maintenance]: Workflow inventory supports the caller-layout decision Aug 15, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
## Summary

Defines the Process-PSModule workflow lifecycle specification and
architecture. The change documents behavior and implementation
boundaries; it does not change functional workflow code.

## Scope

- Adds behavior-driven requirements for dispatch recovery, scheduled
published-artifact validation, pull-request routing, stable aggregation,
concurrency recovery, Gallery disposition, and auditable outcomes.
- Defines Plan as the sole lifecycle-policy authority, immutable
Settings, and one release executor for stable, prerelease,
recovery/resume, cleanup-only, and no-op actions.
- Defines the caller boundary: explicit credentials, structured optional
`TestData`, narrow built-in-token use, step-scoped App tokens,
restricted fork validation, and capability-gated downstream jobs.
- Adds both lifecycle pages to the Reference navigation.

## Validation

- `npx --yes markdownlint-cli2 --config
.github/linters/.markdown-lint.yml
docs/content/reference/process-workflow-lifecycle-specification.md
docs/content/reference/process-workflow-lifecycle-design.md`
- `zensical build --clean` from `docs`

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@MariusStorhaug
Marius Storhaug (MariusStorhaug) marked this pull request as ready for review August 15, 2026 14:33
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title ⚙️ [Maintenance]: Workflow inventory supports the caller-layout decision ⚙️ [Maintenance]: Process-PSModule caller fleets can be audited consistently Aug 15, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant