Skip to content
Merged
10 changes: 6 additions & 4 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ Register a larger or unrelated problem as an issue in the repository that owns i

## Pull request format

Write the title and complete description using [canonical PR
Format](https://msxorg.github.io/docs/Ways-of-Working/PR-Format/).
Use its [complete description example](https://msxorg.github.io/docs/Ways-of-Working/PR-Format/#complete-description-example)
to write the record. Verify any applicable release-range and source evidence against that guidance.
Use [PR Format](https://msxorg.github.io/docs/Ways-of-Working/PR-Format/) to
write the title and complete description. Follow its
[ASD-STE100 writing rule](https://msxorg.github.io/docs/Ways-of-Working/PR-Format/#write-in-simplified-technical-english).
For a release-bound change, write the release note in the pull request only.
Use the [complete description example](https://msxorg.github.io/docs/Ways-of-Working/PR-Format/#complete-description-example)
for the description. Check the release range and source evidence that apply.

## Authoring conventions

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.0",
"version": "0.3.1",
"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.0",
"version": "0.3.1",
"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
@@ -1,6 +1,6 @@
---
name: msx-ways-of-working-consumer-upgrades
description: Apply the MSX consumer upgrade procedure when upgrading an upstream dependency or framework.
description: Apply the MSX consumer upgrade procedure when upgrading an upstream dependency or framework. Use when composing migration steps from release notes across skipped versions.
---

# Upgrade an MSX consumer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: msx-ways-of-working-pr-format
description: Format MSX pull request titles, descriptions, change types, and labels.
description: Format MSX pull request titles, descriptions, change types, and labels. Use when authoring release notes and migration instructions in a release-bound pull request.
---

# Follow the MSX pull request format
Expand Down
2 changes: 1 addition & 1 deletion src/docs/Capabilities/dependency-updates/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ This adoption obligation uses the existing review path, not another updater.
Dependency changes are collected before any repository release decision is
made. When the target route invokes [Release
Management](../release-management/design.md), that capability resolves the
repository-wide effect. Otherwise the pull request omits the `Release decisions`
repository-wide effect. Otherwise the pull request omits the `Release details`
block and all `release:*` labels.

## Review and merge
Expand Down
59 changes: 35 additions & 24 deletions src/docs/Capabilities/release-management/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,11 +433,16 @@ consume an owned alias follow [Accept moved release tags](accept-moved-release-t
## Completion announcements

Announcements are a post-completion delivery channel, not part of artifact
publication. Resolve freezes whether announcements are enabled and which
configured destinations apply. Complete freezes the canonical message context:
version, immutable release link, summary, and release-intent identity.

The summary is exactly the leading text before the single
publication. Resolve freezes announcement eligibility and the configured
destinations. A release is eligible for an announcement only when the route
enables announcements and the full
[publication-to-candidate range](../../Ways-of-Working/PR-Format.md#resolve-release-coverage-first)
has a consumer result. Do not announce a skip or a release with only internal
results. This does not change [release scope](#release-scope).

For an eligible announcement, Complete freezes the message context: version,
immutable release link, consumer summary, and release-intent identity.
The summary is the leading text before the single
`<!-- ANNOUNCEMENT STOP -->` marker required by [PR Format](../../Ways-of-Working/PR-Format.md).
Validate that boundary outside code fences before preparing the message;
missing or duplicate markers are errors, not instructions to truncate elsewhere.
Expand All @@ -455,11 +460,12 @@ post-completion task.

## Release notes and evidence {#release-notes}

Release notes preserve contributor-authored pull-request content rather than
reducing it to a generated commit list. The frozen note snapshot follows
[PR Format](../../Ways-of-Working/PR-Format.md) and covers the complete
publication-to-candidate consumer range, including earlier merged, skipped,
direct, or unshipped changes.
Contributors author the release note in the release-bound pull request. Resolve
freezes the complete reviewed title and description for the fixed source,
including all collapsed blocks. Publish uses that snapshot unchanged in the
release record. The note follows [PR Format](../../Ways-of-Working/PR-Format.md)
and covers the complete publication-to-candidate consumer range, including
earlier merged, skipped, direct, or unshipped changes.

Before writing the record or capturing its snapshot, follow [Resolve release
coverage first](../../Ways-of-Working/PR-Format.md#resolve-release-coverage-first).
Expand All @@ -478,24 +484,29 @@ a retry preserves that snapshot rather than re-resolving later metadata.
This authoring range does not change aggregate approval of the accumulated
range, version allocation, or overall destination completion.

Each result's prose and examples contain what changed, why, affected uses,
compatibility, exact actions with prerequisites, ordering, and verification, or
an explicit no-action result with its compatibility basis. Required old-to-new
instructions stay in the note, not repository migration guides or a parallel
changelog. Result-scoped technical details hold supporting evidence; internal-only
work without a classifier uses the block after the summary marker.
Each consumer result's visible prose states the change, why it matters,
affected uses and compatibility, and the required action or explicit
no-action outcome.
Keep prerequisites and deadlines that affect whether or when to upgrade
visible. Put exact adoption steps in the result's
[Migration guide](../../Ways-of-Working/PR-Format.md#write-the-migration-guide)
when they apply. Keep review evidence in the
[detail blocks](../../Ways-of-Working/PR-Format.md#add-result-details-in-order)
for the result it supports. Put
[maintainer-only sections](../../Ways-of-Working/PR-Format.md#put-maintainer-content-last)
after all consumer sections.

Verify format adherence from the actual title, complete body, source coverage,
and scoped supporting evidence. Similarity to an inherited scaffold or central
copy is not evidence. An affected product integration template still requires
its verified immutable identity and producer-compatibility evidence.
and evidence for each affected result or interface. Similarity to an inherited
scaffold or central copy is not evidence. An affected product integration template
still requires its verified immutable identity and producer-compatibility evidence.

Consumers read every applicable source-bound record after their actual consumed
baseline through the target and compose the actions in release order. Later
notes explain superseded actions while retaining required intermediate
installations or runs. Reading a record does not require installing its version
unless the note explicitly requires that operation. PRs and diffs provide
optional depth; resource docs describe supported target-state behavior and usage.
baseline through the fixed target and compose the actions in release order.
Later notes explain superseded actions while retaining required intermediate
installations or runs. Install or run an intermediate version only when the
notes require it. Diffs, links, issues, templates, and resource docs provide
context, current usage, or evidence, not missing release-specific steps.

Manual requests supply equivalent reviewed context for direct or otherwise
unaccounted changes. Resolve fails if a source revision in the range lacks
Expand Down
87 changes: 58 additions & 29 deletions src/docs/Capabilities/release-management/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,13 @@ identity and notes at each. The release MUST remain incomplete until every
required artifact and release record is published successfully. Completed
destination work MUST be recorded and reused idempotently.

Completion announcements MUST be separate from artifact publication. Delivery
progress MUST be retained per release and destination, and an unacknowledged
delivery MAY be retried with at-least-once semantics. Announcement failure MUST
NOT create another version, rebuild, republish the artifact, or revoke an
otherwise complete release.
Completion announcements MUST be separate from artifact publication. If the full
publication-to-candidate range has no consumer results, the release MUST NOT
send a completion announcement. This rule MUST NOT change publication eligibility.
Delivery progress MUST be retained per release and destination, and an
unacknowledged delivery MAY be retried with at-least-once semantics. Announcement
failure MUST NOT create another version, rebuild, republish the artifact, or
revoke an otherwise complete release.

#### FR8 scenarios

Expand All @@ -357,6 +359,13 @@ Scenario: Announcement retry does not create another release
When announcement delivery is retried
Then the same release identity and message context are reused
And no new version, build, or artifact publication occurs

Scenario: A release with only internal results completes without an announcement
Given an eligible release has no consumer results in its full publication-to-candidate range
And the route enables completion announcements
When every required destination publishes the artifact and complete release note
Then the release completes
And no completion announcement is sent
```

### FR9 — Every destination satisfies the publishing-target contract {#fr9}
Expand Down Expand Up @@ -402,25 +411,31 @@ overall release completion fails. Completing an older record MUST NOT make its
already-published artifact changes new again. Record coverage MUST NOT redefine
aggregate approval, version reservations, or completed-state discovery.

The record MUST preserve contributor-authored title, complete description,
adoption guidance, consumer-change evidence, and maintainer evidence under
[PR Format](../../Ways-of-Working/PR-Format.md), or equivalent reviewed aggregate
context for a manual release. A prerelease MUST retain the snapshot appropriate
to its immutable source, not a later description of different code.
For a release-bound pull request, the published record MUST preserve the frozen
snapshot of the complete reviewed title and description for the fixed source,
including all collapsed blocks, under [PR Format](../../Ways-of-Working/PR-Format.md).
For a manual release, the record MUST preserve equivalent reviewed aggregate
context. A prerelease MUST retain the snapshot appropriate to its immutable
source, not a later description of different code.

#### Release evidence

The complete description MUST contain exactly one announcement boundary after
its leading summary. Each result MUST explain what changed, why, affected
supported uses, compatibility, exact adoption actions with prerequisites,
ordering, and verification, or an explicit no-action result with its
compatibility basis. Supporting evidence MUST remain scoped to its result;
internal-only work without a classifier uses the supporting block after the
summary marker. Announcements MUST NOT truncate the full release record.
its leading summary. Each consumer result MUST visibly explain what changed
and why, which supported uses it affects, and whether they remain compatible.
It MUST state the required action or explain why no action is needed. Deadlines and
prerequisites that determine whether or when to upgrade MUST be visible.
When exact technical adoption steps apply, the result MUST carry them in its
[Migration guide](../../Ways-of-Working/PR-Format.md#write-the-migration-guide),
with applicability, order, and verification. Review-only evidence MUST appear
in a collapsed block for a result it supports. If the evidence also supports
other results or interfaces, the block MUST identify them. See
[PR Format](../../Ways-of-Working/PR-Format.md#add-result-details-in-order).
Announcements MUST NOT truncate the full release record.

Canonical format adherence MUST be verified from the actual title, complete
body, source coverage, and supporting evidence under
[PR Format](../../Ways-of-Working/PR-Format.md#check-readiness).
[PR Format](../../Ways-of-Working/PR-Format.md#readiness-check).
An inherited scaffold or similarity to a central copy MUST NOT substitute for
that record evidence.

Expand All @@ -431,13 +446,14 @@ today's template, or an unsupported compatibility claim MUST NOT replace that
evidence. If no template applies, record that result and its basis explicitly.

Reading every applicable source-bound release record after the actual consumed
baseline through the target in release order MUST be sufficient to compose the
required actions. Notes MUST explain superseded actions while retaining required
intermediate installations or runs; reading a record MUST NOT itself require
installing its version. PRs and diffs MAY provide optional depth but MUST NOT
replace required instructions. Missing instructions MUST block the affected
publication as evidence gaps. Resource docs describe supported target-state
behavior and usage, not version-specific migration history or a parallel changelog.
baseline through the fixed target in release order MUST be sufficient to
compose the required actions. Notes MUST explain superseded actions while
retaining required intermediate installations or runs; reading a record MUST
NOT itself require installing its version. Diffs, links, issues, templates,
and resource docs MAY provide context or evidence but MUST NOT supply missing
instructions. Missing instructions MUST block the affected publication as
evidence gaps. Resource docs describe supported target-state behavior and usage,
not version-specific migration history or a parallel changelog.

The resolved version, version baseline, product/target/channel publication
baseline, publication receipt, verified immutable artifact/source provenance,
Expand All @@ -451,11 +467,20 @@ MUST block the affected publication rather than become a no-action result.

```gherkin
Scenario: A later release includes a skipped change
Given change A was merged with a skip decision
Given change A affects a supported consumer contract
And an approved skip defers publication of A
And approved change B triggers the next release
When release notes are frozen
Then the notes and aggregate decision cover A and B exactly once

Scenario: Publication retains collapsed migration instructions
Given a fixed source has a reviewed pull request with a shareable summary
And the description includes collapsed migration instructions
When the source is published
Then the published record contains the frozen title and complete description
And the record includes the collapsed migration instructions
And any announcement takes its summary from before the boundary

Scenario: Partial destination completion does not repeat published module changes
Given module source B was successfully published to Gallery
And its later GitHub completion failed
Expand All @@ -469,9 +494,12 @@ Scenario: Partial destination completion does not repeat published module change
### FR11 — Eligibility evaluates the complete unreleased artifact scope {#fr11}

Only changes that affect the delivered artifact or a supported consumer contract
MUST produce a release. Eligibility MUST evaluate the complete unreleased range,
are eligible for release. Eligibility MUST evaluate the complete unreleased range,
including direct and transitive build inputs, rather than only the latest change.
Validation MUST still run when publication is skipped.
An [approved skip](#fr1) can defer an eligible change.
If that range affects neither the artifact nor a supported contract, Release
Management MUST NOT select a version bump, publish a release, or send a
completion announcement. Validation MUST still run when publication is skipped.

Without configured scope, every changed path MUST be treated conservatively as
release-affecting. A repository MAY narrow the scope explicitly. File categories
Expand All @@ -483,10 +511,11 @@ because they can be the product or an artifact input.
```gherkin
Scenario: An out-of-scope change validates without publishing
Given the repository declares its artifact-affecting scope
And the full unreleased range contains no matching change
And no change in the full unreleased range affects the artifact or a supported consumer contract
When release processing runs
Then validation runs
And no version or release is published
And the request does not select a version bump
And the request does not publish a release or send a completion announcement
```

### FR12 — Release requests are serialized and accounted for in source order {#fr12}
Expand Down
2 changes: 1 addition & 1 deletion src/docs/Capabilities/repository-governance/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ engine can implement it. Each implementation must satisfy the contract below.
| Branch shape matches | Do the protected branches, merge methods, and required checks match what the type declares? |
| Required local files present | Does the default branch carry the locally required baseline and type-specific files, or the explicit Unmanaged discoverability minimum, including a local contribution guide only when needed? |
| Contribution guidance available | Does effective local or shared contribution guidance resolve, with required organization defaults validated in their source repository rather than copied into consumers? |
| PR authoring and file policy | Are PR-template files absent under the [Repository Standard](../../Ways-of-Working/Repository-Standard.md#no-pr-template-files), and do actual records meet [PR Format](../../Ways-of-Working/PR-Format.md#check-readiness) with verified source coverage and supporting evidence? |
| PR authoring and file policy | Are PR-template files absent under the [Repository Standard](../../Ways-of-Working/Repository-Standard.md#no-pr-template-files), and do actual records meet [PR Format](../../Ways-of-Working/PR-Format.md#readiness-check) with verified source coverage and supporting evidence? |

### Severity decides the response

Expand Down
7 changes: 4 additions & 3 deletions src/docs/Coding-Standards/Natural-Language.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Prefer specific, observable language over vague intent.
| Prefer | Avoid |
| --- | --- |
| The workflow fails when the release decision is missing. | There may be some issues with labels. |
| On a release-managed route, add `release:skip` when documentation does not affect the artifact. | Make sure docs PRs are handled correctly. |
| On a release-managed route, add `release:skip` if the full range leaves the artifact and its supported consumer contracts unchanged. | Make sure docs PRs are handled correctly. |
| The agent reads `AGENTS.md` before editing files. | The agent should probably look at the instructions. |

Use **MUST**, **SHOULD**, and **MAY** only when a sentence is intentionally normative. If a rule is optional, say what trade-off decides it.
Expand Down Expand Up @@ -178,8 +178,9 @@ PR titles and descriptions are written for the user of the change first, then th
| `Agentic development guidance defines the framework` | `Update framework docs` |
| `Agents segment project context before loading standards.` | `Refactor AGENTS.md instructions.` |

Technical implementation details belong in the `Technical details` block for
the reader-facing result they support.
Put implementation evidence in the result's
[`Technical details` block](../Ways-of-Working/PR-Format.md#add-result-details-in-order).
Identify the result or interface the evidence supports.

## Prompts

Expand Down
Loading
Loading