Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ title and description according to
[PR Format](https://msxorg.github.io/docs/Ways-of-Working/PR-Format/).

Fix a small problem when it is directly in scope.
Register a larger or unrelated problem as an issue in the repository that owns it.
Use the [Working Agreement](../src/docs/Ways-of-Working/Working-Agreement.md)
for shared task behavior and follow-up authorization.
Propose unrelated work without adding it to the current change.

## Making a change

Expand All @@ -16,13 +18,15 @@ Register a larger or unrelated problem as an issue in the repository that owns i
[Branching and Merging](https://msxorg.github.io/docs/Ways-of-Working/Branching-and-Merging/)
defines.
2. Edit the relevant pages under `src/docs/`. Follow the authoring conventions below.
Commit and push the first coherent checkpoint, then open an early draft pull request.
Continue the change and its validation in that draft.
3. If you add or rename a page, regenerate the indexes:

```pwsh
pwsh .github/scripts/Update-DocumentationIndex.ps1
```

4. Validate links before you open a pull request.
4. Validate links at relevant checkpoints and before requesting review.
The first script resolves relative links and anchors from the checkout.
The second resolves links into other MSX repositories over the network:

Expand All @@ -47,7 +51,7 @@ Register a larger or unrelated problem as an issue in the repository that owns i

6. If you need to inspect the rendered result, preview the site. See
[Building and previewing locally](#building-and-previewing-locally).
7. Open the pull request as a draft and follow the
7. Complete the automated review loop and readiness gate in the
[Contribution Workflow](https://msxorg.github.io/docs/Ways-of-Working/Contribution-Workflow/).

## Pull request format
Expand Down
2 changes: 1 addition & 1 deletion .github/plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{
"name": "msx",
"description": "Routes reader-facing writing, coding, consumer upgrades, and work lifecycle tasks to current MSX standards.",
"version": "0.3.1",
"version": "0.3.2",
"source": ".github/plugin/msx"
}
]
Expand Down
2 changes: 1 addition & 1 deletion .github/plugin/msx/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "msx",
"version": "0.3.1",
"version": "0.3.2",
"description": "Routes reader-facing writing, coding, consumer upgrades, and work lifecycle tasks to current MSX standards.",
"author": {
"name": "MSXOrg",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: msx-ways-of-working-working-agreement
description: Apply the shared MSX working agreement when setting task scope, communication, exploration, validation, and completion expectations for humans and agents.
---

# Follow the MSX working agreement

Read and follow the [MSX Working Agreement](https://github.com/MSXOrg/docs/blob/main/src/docs/Ways-of-Working/Working-Agreement.md).
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Start at [`src/docs/index.md`](src/docs/index.md) or the [published root](https:

Readers and agents use the same structure to find the relevant document.

Start development work with the shared
[Working Agreement](src/docs/Ways-of-Working/Working-Agreement.md).
It defines task scope, communication, exploration, evidence, and completion for humans and agents.

## Repository layout

```text
Expand Down
2 changes: 1 addition & 1 deletion src/docs/Capabilities/agentic-development/conformance.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ A conformant repository MUST provide all of the following.
| **Client routes** | Every supported runtime's expected instruction path exists and resolves to the router, carrying no content of its own ([client behavior](design.md#client-behavior)) |
| **Canonical coordinates** | The router names the organization's canonical documentation location, so context is reachable without prior knowledge |
| **Freshness** | Canonical context is synchronized at the start of every session, in every runtime ([context freshness](design.md#context-freshness)) |
| **Precedence** | The router states that local files never override a standard |
| **Precedence** | Repository guidance respects the [canonical conflict precedence](design.md#pointer-files); the router reaches that guidance without copying it |

Each baseline item supports context discovery. The baseline does not assess the quality of
the repository's documentation.
Expand Down
2 changes: 0 additions & 2 deletions src/docs/Capabilities/agentic-development/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ Read in this order:

Clone each linked repository locally, keep its configuration local to that
clone, and update it before reading it.

Read nearest first. A local file never overrides a standard.
```

A router lists only destinations that exist. The example does not require that layout. When no local guide is needed, replace that entry with a link to the inherited organization default. If the repository has no documentation, omit that entry. A standards repository omits the duplicate entry when its local and organization documentation use the same tree. The router uses each path or source link literally.
Expand Down
4 changes: 2 additions & 2 deletions src/docs/Capabilities/agentic-development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ A repository adopts the framework with a router and the client routes that reach
| [Design](design.md) | How the agentic development framework is built — OKF documentation, thin repo pointers, and deterministic context resolution. |
| [AGENTS.md Template](AGENTS.template.md) | The repository-level agent router template and the guidance for applying it. |
| [MCP Servers](mcp-servers.md) | How one logical set of tool servers is defined once and declared by every runtime in its own format, so a documented procedure does not depend on which client runs it. |
| [Runtime Integration](runtime-integration.md) | How a runtime is wired into the framework — the entry file it reads, the lifecycle point where it verifies context freshness, the permissions it needs, and what a new runtime must supply to be supported. |
| [Runtime Integration](runtime-integration.md) | Requirements for a runtime's entry file, context freshness, tool declaration, identity, and permissions. |
| [Plugin Distribution](plugin-distribution.md) | How recurring workflows are packaged as named intents that point to canonical documentation, and why a packaged shortcut never carries a copy of the procedure. |
| [Plugin Marketplaces](design-plugin-marketplaces.md) | How shared and initiative-owned Agent Plugin marketplaces are named, laid out, versioned, and updated. |
| [Agent Interaction](agent-interaction.md) | How humans and agents coordinate through issues, labels, and pull requests, and why intent and implementation are kept in separate artifacts. |
| [Advisory Agents](advisory-agents.md) | The pattern for automation that analyses work and publishes its conclusion as advice, without deciding, relabelling, or committing. |
| [Advisory Agents](advisory-agents.md) | The pattern for automation that analyzes work and publishes its conclusion as advice, without deciding, relabeling, or committing. |
| [Conformance](conformance.md) | What a repository must provide to be conformant with the agentic development framework, what it may add, and the duplication checks that keep the router thin. |
| [Agentic Development decisions](decisions/index.md) | Immutable records of one-way-door choices in the agentic development framework. |

Expand Down
2 changes: 1 addition & 1 deletion src/docs/Capabilities/dependency-updates/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ release path.
| Page | Description |
| --- | --- |
| [Spec](spec.md) | Requirements for dependency updates — pinned dependencies kept current and secure through reviewed, released update pull requests. |
| [Design](design.md) | How dependency updates are handled — automated update pull requests, coverage, cooldown, security updates, and review. |
| [Design](design.md) | Automated update pull requests use manifest coverage, cooldown, security updates, and repository review controls. |

<!-- INDEX:END -->
10 changes: 5 additions & 5 deletions src/docs/Capabilities/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ A framework uses the same spec-and-design structure and documentation location a
| Section | Description |
| --- | --- |
| [Release Management](release-management/index.md) | Durable version resolution, publication, recovery, withdrawal, and consumer update policy for immutable releases. |
| [Repository Governance](repository-governance/index.md) | How every repository in an organization is classified, protected, and continuously reconciled against the controls its classification declares. |
| [Dependency Updates](dependency-updates/index.md) | How a repository's pinned dependencies are kept current and secure through automated update pull requests. |
| [Merge Automation](merge-automation/index.md) | How a pull request's required status checks become the machine-readable signal that drives automated approval and merge — green merges, red holds, nothing bypasses the gate. |
| [Repository Governance](repository-governance/index.md) | Repository classification, shared controls, and continuous comparison of declared and live configuration. |
| [Dependency Updates](dependency-updates/index.md) | Automated update pull requests keep pinned dependencies current and address known vulnerabilities. |
| [Merge Automation](merge-automation/index.md) | Required status checks control automated approval and merge without bypassing repository gates or review requirements. |
| [Downstream Release Propagation](downstream-release-propagation/index.md) | How producer releases reach dependents through verified upgrade pull requests or evidenced no-upgrade outcomes. |
| [Deployment](deployment/index.md) | How a change to managed resources is approved together with its effect and deployed exactly as approved — one spec, and one design for each combination of deploying a service provider from a CI/CD platform. |
| [VS Code Extension Framework](vscode-extension-framework/index.md) | How a VS Code extension is built, tested, versioned, packaged, and published — one GitHub-native pipeline, opt-in from a template and a single settings file. |
| [PowerShell on GitHub](powershell-on-github/index.md) | How we make GitHub a first-class platform for PowerShell through reusable modules, actions, and capability gaps we close over time. |
| [Agentic Development](agentic-development/index.md) | The framework for org-scoped documentation that gives agents project-specific standards and behavior. |
| [PowerShell on GitHub](powershell-on-github/index.md) | Reusable modules, actions, and platform advocacy define the PowerShell development capability on GitHub. |
| [Agentic Development](agentic-development/index.md) | Organization-scoped documentation for project-specific agent standards and behavior. |

<!-- INDEX:END -->

Expand Down
4 changes: 2 additions & 2 deletions src/docs/Capabilities/merge-automation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ missing. Pipeline and ruleset gates remain binding.

| Page | Description |
| --- | --- |
| [Spec](spec.md) | Requirements for merge automation — required status checks as the signal, a ruleset that enforces them, and automation that merges on green and holds on red without bypassing the gate. |
| [Design](design.md) | How merge automation is built — named checks and commit statuses, a ruleset that requires them, and a GitHub App that approves and merges on green or holds on red. |
| [Spec](spec.md) | Required status checks and repository rulesets govern automated approval and merge without bypasses. |
| [Design](design.md) | Named checks, required-check rulesets, and a GitHub App implement automated approval and merge. |

<!-- INDEX:END -->
2 changes: 1 addition & 1 deletion src/docs/Capabilities/powershell-on-github/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ copies.
| Page | Description |
| --- | --- |
| [Spec](spec.md) | Requirements and boundaries for PowerShell parity on GitHub using reusable modules, actions, and platform advocacy. |
| [Design](design.md) | Architecture and implementation model for making GitHub PowerShell-native through modules, actions, and gap-closing workflows. |
| [Design](design.md) | Reusable modules, actions, and the Process-PSModule framework implement PowerShell capability requirements on GitHub. |

<!-- INDEX:END -->
2 changes: 1 addition & 1 deletion src/docs/Capabilities/repository-governance/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ the controls its type requires.
| --- | --- |
| [Spec](spec.md) | Requirements for repository governance — classification-driven protection, a common baseline for every governed repository, explicit exemption, and continuous reconciliation. |
| [Design](design.md) | How repository governance is built — a multi-select type property, organization rulesets selected by type, and continuous drift detection with graded reconciliation. |
| [Repository Types](design-types.md) | The repository type catalogue — the branch-model types, the layering types, the exemption type, and the rules by which they compose. |
| [Repository Types](design-types.md) | The repository type catalog, including branch models, layering types, exemption, and composition rules. |

<!-- INDEX:END -->
2 changes: 1 addition & 1 deletion src/docs/Coding-Standards/PowerShell/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PowerShell-specific conventions extend the [language-agnostic baseline](../index
| Page | Description |
| --- | --- |
| [Functions](Functions.md) | Advanced functions — CmdletBinding, typed and validated parameters, pipeline blocks, ShouldProcess, and required comment-based help. |
| [Classes](Classes.md) | When to reach for a PowerShell class, and how to structure its members, constructors, and documentation. |
| [Classes](Classes.md) | When to use a PowerShell class and how to structure its members, constructors, and documentation. |
| [Scripts](Scripts.md) | Structure for standalone .ps1 scripts — requirements, parameters, help, and keeping the script thin. |
| [PowerShell Testing](Testing.md) | Pester test naming and the Simple, Standard, and Advanced profiles for PowerShell modules. |
| [Messaging](Messaging.md) | Write-Verbose for user-facing operational progress and normal troubleshooting; Write-Debug for developer-focused internals and deep diagnostics. |
Expand Down
2 changes: 1 addition & 1 deletion src/docs/Coding-Standards/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The baseline pages apply to all code and come first. The per-language standards
| [PowerShell](PowerShell/index.md) | Cross-platform PowerShell 7 — the conventions shared by every script, function, and class, with per-construct standards below. |
| [Terraform](Terraform.md) | Stack layout, version pinning, state and secrets, and the fmt/validate/tflint toolchain. |
| [TypeScript](TypeScript.md) | ES modules, strict-mode typing, pinned dependencies, and the Prettier/ESLint/Vitest toolchain for Node tooling and VS Code extensions. |
| [YAML](YAML.md) | One file extension, yamllint locally and in CI, narrowly scoped suppressions, and actionlint on top for workflow files. |
| [YAML](YAML.md) | One file extension, yamllint locally and in CI, narrowly scoped suppressions, and actionlint for workflow files. |

<!-- INDEX:END -->

Expand Down
2 changes: 1 addition & 1 deletion src/docs/Initiatives/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Target-state roles and contracts are not evidence of deployed products or contro
| [PSModule](PSModule.md) | The GitHub + PowerShell framework — reusable modules and the actions that ship them. |
| [AzActions](AzActions.md) | Reusable building blocks for automating Azure on GitHub. |
| [TFActions](TFActions.md) | Reusable building blocks for automating Terraform and infrastructure as code. |
| [VS Code Extensions](VS-Code-Extensions.md) | Editor tooling that brings the MSX way of working into VS Code. |
| [VS Code Extensions](VS-Code-Extensions.md) | Editor tools that apply the MSX ways of working in VS Code. |

<!-- INDEX:END -->

Expand Down
33 changes: 18 additions & 15 deletions src/docs/Ways-of-Working/Contribution-Workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,34 @@ This workflow takes a change from a topic branch to a review-ready pull request.
The author completes Copilot review on a **draft** before requesting human review.

This procedure applies to a repository-delivery Task or Bug.
It follows [Issue Lifecycle](Issues/Process/Lifecycle.md), [PR Format](PR-Format.md),
Shared task scope, behavior, and authority follow the [Working Agreement](Working-Agreement.md).
The procedure follows [Issue Lifecycle](Issues/Process/Lifecycle.md), [PR Format](PR-Format.md),
[Branching and Merging](Branching-and-Merging.md), and [Review Etiquette](Review-Etiquette.md).
Epic and PBI aggregates remain in planning and coordination; they do not enter this flow.

## The flow

```mermaid
flowchart TD
A[Branch and implement] --> B[Open PR as draft]
B --> C[Request Copilot review]
A[Branch and initial checkpoint] --> B[Open early draft PR]
B --> C[Implement, verify and request Copilot review]
C --> D{New comments?}
D -- in scope --> E[Fix in this PR]
D -- out of scope --> F[File an issue]
D -- out of scope --> F[Route follow-up]
E --> C
F --> C
D -- none --> G[Mark ready for review]
G --> AM[Enable auto-merge]
G --> AM[Enable authorized GitHub auto-merge]
AM --> H[Human review]
H --> M[Auto-merge lands it on approval + green checks]
```

1. **Branch and implement.** Implement one ready, unblocked Task or Bug on a
1. **Branch and create an initial checkpoint.** Start one ready, unblocked Task or Bug on a
`<type>/<issue>-<description>` branch. Keep per-change implementation detail in
that delivery issue and the pull request, not in the spec, design, or parent
aggregate.
2. **Open the pull request as a draft.** By default, an AI agent drafts and
2. **Open the pull request early as a draft.** Push the initial coherent checkpoint.
Continue implementation and verification in the draft. By default, an AI agent drafts and
updates the title and description from the evidence required by
[PR Format](PR-Format.md). A person can write or update them manually when
needed and follows the same format. Use a draft to run CI and iterate before
Expand All @@ -48,8 +50,8 @@ flowchart TD
decision block and `release:*` labels with its effective configuration. If it
does not, omit both. Then confirm the
[Definition of Ready for Review](Definition-of-Ready-and-Done.md#definition-of-ready-for-review).
5. **Enable auto-merge** so the change merges automatically when human review
approves it and all required checks pass. Human reviewers then assess the change.
5. **Enable GitHub auto-merge when merging is authorized** so the change merges
after human approval and all required checks pass. Human reviewers then assess the change.

## Why draft first

Expand Down Expand Up @@ -87,21 +89,22 @@ Copilot reviews the complete diff again each round, so a genuine false positive
Do not change correct code to silence it.
Dismiss it with a reason and treat the loop as converged on substance.

## Triage: fix in scope, file an issue for the rest
## Triage: fix in scope, propose the rest

For each piece of feedback, decide:

- **In scope** — it concerns the change under review. Address it in this pull
request and push; the next round re-checks it.
- **Out of scope** — it identifies a pre-existing gap or an adjacent improvement.
Route a follow-up through the [Issue Hierarchy](Issues/Types/Hierarchy.md) and
reference it; do not grow the pull request to cover it.
Apply the [shared follow-up rule](Working-Agreement.md#follow-up-work).
Use the [Issue Hierarchy](Issues/Types/Hierarchy.md) when issue creation is authorized.
Link the issue or report the unfiled proposal; do not grow the pull request to cover it.
- **Not actionable** — a false positive, or a matter of taste you disagree with.
Reply with the reason and resolve the thread; a documented dismissal counts as
handled ([Review Etiquette](Review-Etiquette.md)).

Separate follow-up issues keep the pull request within its delivery scope and
retain a record of each gap.
Follow-up records retain each finding without expanding the delivery scope.
They do not waive an unmet acceptance criterion or a required gate.

## Marking ready

Expand All @@ -117,7 +120,7 @@ Readiness depends on the gate, not on who verifies it.

## Enable auto-merge

After the pull request is ready, enable auto-merge (squash).
After the pull request is ready, enable GitHub auto-merge (squash) when merging is authorized.
Auto-merge waits for human approval and every required branch-protection condition before it merges the change.
These conditions include required checks, required approvals, and any other ruleset requirement.
There is no need to wait and manually select merge. See
Expand Down
Loading
Loading