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
7 changes: 7 additions & 0 deletions .changes/architecture/docs-7537-b-move-79fe0a5c.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- Synced contract copies name their canonical source at `docs/contracts/<name>/`, where the plugin contracts moved from `docs/conventions/<name>/`.
7 changes: 7 additions & 0 deletions .changes/code-tidying/docs-7537-b-move-6a1e612e.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- Synced contract copies name their canonical source at `docs/contracts/<name>/`, where the plugin contracts moved from `docs/conventions/<name>/`.
7 changes: 7 additions & 0 deletions .changes/corrections/docs-7537-b-move-37e46d5c.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- Synced contract copies name their canonical source at `docs/contracts/<name>/`, where the plugin contracts moved from `docs/conventions/<name>/`.
7 changes: 7 additions & 0 deletions .changes/coupling/docs-7537-b-move-01e76014.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- Synced contract copies name their canonical source at `docs/contracts/<name>/`, where the plugin contracts moved from `docs/conventions/<name>/`.
7 changes: 7 additions & 0 deletions .changes/harness-config/docs-7537-b-move-d8691153.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- Synced contract copies name their canonical source at `docs/contracts/<name>/`, where the plugin contracts moved from `docs/conventions/<name>/`.
7 changes: 7 additions & 0 deletions .changes/improvement/docs-7537-b-move-ca5d7691.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- Synced contract copies name their canonical source at `docs/contracts/<name>/`, where the plugin contracts moved from `docs/conventions/<name>/`.
7 changes: 7 additions & 0 deletions .changes/planning/docs-7537-b-move-6b23c863.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- Synced contract copies name their canonical source at `docs/contracts/<name>/`, where the plugin contracts moved from `docs/conventions/<name>/`.
7 changes: 7 additions & 0 deletions .changes/review/docs-7537-b-move-a00661b7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- Synced contract copies name their canonical source at `docs/contracts/<name>/`, where the plugin contracts moved from `docs/conventions/<name>/`.
7 changes: 7 additions & 0 deletions .changes/session-flow/docs-7537-b-move-0b0a75ac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- Synced contract copies name their canonical source at `docs/contracts/<name>/`, where the plugin contracts moved from `docs/conventions/<name>/`.
8 changes: 4 additions & 4 deletions docs/conformance-dimensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ not resolve, or whose lane or checks cell is empty.
| id | concern | owner | lane | checks | ci | scope |
|---|---|---|---|---|---|---|
| dim-8 | A plugin that declares `userConfig`, an external prerequisite or non-trivial configuration ships a check-centric setup skill | docs/plugin-philosophy.md#Setup is explicit and repeatable | `node scripts/validate-plugin-contracts.mjs`, findings filtered to `plugins/<plugin>/`; then judgment: does this plugin meet the setup criteria, and if so does its setup skill offer `check` and `apply`, idempotent and safe to rerun? | `scripts/validate-plugin-contracts.mjs`, judgment | yes | plugin |
| dim-9 | Hook status, failure and skip paths are visible: `statusMessage` on every handler, a `systemMessage` on every missing-prerequisite skip (the owner section states the cadence) | docs/conventions/hook-observability/README.md#Conformance | judgment: for each wired hook in `plugins/<plugin>/hooks/hooks.json`, does it meet every bullet of the owner section? | judgment | no | plugin |
| dim-11 | Every cross-plugin reference is presence-gated with a stated fallback, with no marketplace qualification outside an install recipe | docs/conventions/seam-phrasing/README.md#Conformance | judgment: list each reference this plugin makes to another plugin's skill or agent and say whether the gate and fallback are present | judgment | no | plugin |
| dim-9 | Hook status, failure and skip paths are visible: `statusMessage` on every handler, a `systemMessage` on every missing-prerequisite skip (the owner section states the cadence) | docs/contracts/hook-observability/README.md#Conformance | judgment: for each wired hook in `plugins/<plugin>/hooks/hooks.json`, does it meet every bullet of the owner section? | judgment | no | plugin |
| dim-11 | Every cross-plugin reference is presence-gated with a stated fallback, with no marketplace qualification outside an install recipe | docs/contracts/seam-phrasing/README.md#Conformance | judgment: list each reference this plugin makes to another plugin's skill or agent and say whether the gate and fallback are present | judgment | no | plugin |
| dim-12 | The plugin's category fits the taxonomy and the plugin is one cohesive capability | docs/catalog-taxonomy.md#Assignment principle | `bash scripts/check-plugin-manifest-presence.sh`, findings filtered to `plugins/<plugin>/`; then judgment: does the subject-wins-if-salient test pick this category, is the plugin one capability, and has any trigger in the Trigger register fired? | `scripts/check-plugin-manifest-presence.sh`, `scripts/validate-plugins.sh`, judgment | yes | plugin |
| dim-13 | Skill names are imperative verb phrases with the fixed verb meanings; leaf collisions are registered | docs/plugin-philosophy.md#Naming | `bash scripts/check-skill-leaf-names.sh`, findings filtered to this plugin; then judgment: does any skill use a word another plugin uses with a different meaning (check `docs/glossary.md`)? | `scripts/check-skill-leaf-names.sh`, judgment | yes | plugin |
| dim-14 | A natural request reaches the right skill and no other skill catches it too | docs/plugin-philosophy.md#Naming | judgment: in a fresh subagent given only the skill descriptions of this plugin and of every plugin in the same category, which skill does each of five natural requests for this plugin reach, and does a second skill claim it? | `/harness-ops:audit-native-overlap`, judgment | no | plugin |
Expand All @@ -41,5 +41,5 @@ not resolve, or whose lane or checks cell is empty.
| dim-20 | A second plugin needing teardown first moves the shared teardown shape into an owner doc | docs/plugin-philosophy.md#Setup is explicit and repeatable | judgment: which plugins ship an `apply remove` or other teardown operation, and if two or more do, does an owner doc define the shared shape? | judgment | no | fleet |
| dim-21 | A plugin that adopts a registered convention conforms to its owner doc; a convention two plugins share has an owner doc | docs/plugin-philosophy.md#Convention registry | judgment: for each Convention registry row this plugin adopts, does it meet the owner doc's Conformance section? | judgment | no | plugin |
| dim-22 | Interactive HTML artifacts carry the reply affordance | docs/finding-your-unknowns.md#Reply-affordance convention | judgment: do this plugin's interactive HTML templates carry the structured capture and reply template the owner section requires? (applies to `prototype`) | judgment | no | plugin |
| dim-23 | Every guardrails hook fix pins its over-fire as a stay-quiet test case | docs/conventions/hook-precision/README.md#Conformance | judgment: for each hook under `plugins/guardrails/hooks/`, does its co-located test carry a stay-quiet case for each over-fire fix? (applies to `guardrails`) | judgment | no | plugin |
| dim-24 | No plugin states a pre-PR step order that conflicts with the canonical one | docs/conventions/pre-pr-ordering/README.md#Conformance | judgment: does any surface in this plugin list pre-PR steps, and if so does it cite the sequence instead of re-listing it in another order? | judgment | no | plugin |
| dim-23 | Every guardrails hook fix pins its over-fire as a stay-quiet test case | docs/contracts/hook-precision/README.md#Conformance | judgment: for each hook under `plugins/guardrails/hooks/`, does its co-located test carry a stay-quiet case for each over-fire fix? (applies to `guardrails`) | judgment | no | plugin |
| dim-24 | No plugin states a pre-PR step order that conflicts with the canonical one | docs/contracts/pre-pr-ordering/README.md#Conformance | judgment: does any surface in this plugin list pre-PR steps, and if so does it cite the sequence instead of re-listing it in another order? | judgment | no | plugin |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Migrate active references before moving the contract paths

This move leaves active consumers pointed at paths it deletes: docs/plugin-philosophy.md still links all seven moved contracts under docs/conventions/, and the /source-control:pull-request ready flow still instructs users to read docs/conventions/pre-pr-ordering/README.md. Those references no longer resolve at this commit, so the flow loses its canonical ordering source. Update the remaining links and repository path guidance, or retain compatibility stubs. The root guidance still places marketplace plugin contracts under docs/conventions/.

AGENTS.md reference: AGENTS.md:L109-L110

Useful? React with 👍 / 👎.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/melodic-software/claude-code-plugins/blob/main/docs/conventions/standards/standards.schema.json",
"$id": "https://github.com/melodic-software/claude-code-plugins/blob/main/docs/contracts/standards/standards.schema.json",
"title": "Standards concern file (.claude/standards.yaml)",
"description": "Consumer-side single source of truth for the standards convention. Every key is optional; absent keys mean the documented defaults.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
enforcement-ladder: 2.0.0
---

<!-- GENERATED from docs/conventions/enforcement-ladder/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/enforcement-ladder/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# Enforcement ladder
Expand Down
2 changes: 1 addition & 1 deletion plugins/code-tidying/reference/pr-scope-budget.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- GENERATED from docs/conventions/pr-scope-budget/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/pr-scope-budget/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# PR scope budget: how big an agent-authored improvement PR may be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
enforcement-ladder: 2.0.0
---

<!-- GENERATED from docs/conventions/enforcement-ladder/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/enforcement-ladder/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# Enforcement ladder
Expand Down
2 changes: 1 addition & 1 deletion plugins/coupling/reference/pr-scope-budget.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- GENERATED from docs/conventions/pr-scope-budget/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/pr-scope-budget/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# PR scope budget: how big an agent-authored improvement PR may be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
enforcement-ladder: 2.0.0
---

<!-- GENERATED from docs/conventions/enforcement-ladder/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/enforcement-ladder/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# Enforcement ladder
Expand Down
2 changes: 1 addition & 1 deletion plugins/improvement/reference/pr-scope-budget.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- GENERATED from docs/conventions/pr-scope-budget/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/pr-scope-budget/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# PR scope budget: how big an agent-authored improvement PR may be
Expand Down
2 changes: 1 addition & 1 deletion plugins/improvement/reference/standards-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
standards-contract: 1.1.1
---

<!-- GENERATED from docs/conventions/standards/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/standards/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# Standards Convention
Expand Down
2 changes: 1 addition & 1 deletion plugins/planning/reference/standards-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
standards-contract: 1.1.1
---

<!-- GENERATED from docs/conventions/standards/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/standards/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# Standards Convention
Expand Down
2 changes: 1 addition & 1 deletion plugins/review/context/enforcement-ladder.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
enforcement-ladder: 2.0.0
---

<!-- GENERATED from docs/conventions/enforcement-ladder/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/enforcement-ladder/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# Enforcement ladder
Expand Down
2 changes: 1 addition & 1 deletion plugins/review/reference/standards-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
standards-contract: 1.1.1
---

<!-- GENERATED from docs/conventions/standards/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/standards/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# Standards Convention
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
enforcement-ladder: 2.0.0
---

<!-- GENERATED from docs/conventions/enforcement-ladder/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
<!-- GENERATED from docs/contracts/enforcement-ladder/README.md by scripts/sync-shared-copies.sh. Do not edit this copy:
edit the canonical source, then rerun the script. -->

# Enforcement ladder
Expand Down
8 changes: 4 additions & 4 deletions scripts/cross-plugin-source-registry.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ lib/rewrite-guard.sh -> plugins/*/hooks/rewrite-guard.sh
reference/artifact-protocol.md

# Dedicated check: scripts/sync-shared-copies.sh --check. Canonical:
# docs/conventions/standards/README.md.
# docs/contracts/standards/README.md.
reference/standards-contract.md

# Dedicated check: scripts/sync-shared-copies.sh --check. Cluster line for the
# duplication audit: the canonical contract and the copies.
docs/conventions/standards/README.md -> plugins/*/reference/standards-contract.md
docs/contracts/standards/README.md -> plugins/*/reference/standards-contract.md

# Dedicated check: scripts/sync-shared-copies.sh --check. Canonical:
# docs/conventions/pr-scope-budget/README.md.
# docs/contracts/pr-scope-budget/README.md.
reference/pr-scope-budget.md

# Dedicated check: scripts/sync-shared-copies.sh --check. Cluster line for the
# duplication audit: the canonical convention and the copies.
docs/conventions/pr-scope-budget/README.md -> plugins/*/reference/pr-scope-budget.md
docs/contracts/pr-scope-budget/README.md -> plugins/*/reference/pr-scope-budget.md

# Dedicated check: scripts/sync-shared-copies.sh --check. Canonical:
# lib/managed-scope.sh.
Expand Down
14 changes: 7 additions & 7 deletions scripts/em-dash-purged-paths.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ docs/contracts/config-cascade/*.md
docs/contracts/consumer-config-layering/*.md
docs/contracts/detector-findings/*.md
docs/contracts/ecosystem-commands/*.md
docs/conventions/enforcement-ladder/*.md
docs/contracts/enforcement-ladder/*.md
docs/contracts/finding-suppression/*.md
docs/contracts/hook-budget/*.md
docs/contracts/hook-config-delivery/*.md
docs/contracts/hook-input-rewriting/*.md
docs/conventions/hook-observability/*.md
docs/conventions/hook-precision/*.md
docs/contracts/hook-observability/*.md
docs/contracts/hook-precision/*.md
docs/contracts/hook-telemetry/*.md
docs/conventions/instruction-exception-register/*.md
docs/contracts/invocation-mode/*.md
Expand All @@ -86,13 +86,13 @@ docs/contracts/permission-rule-hygiene/*.md
docs/contracts/plugin-data-report-keying/*.md
docs/contracts/plugin-reconfiguration/*.md
docs/contracts/pr-body-convention/*.md
docs/conventions/pre-pr-ordering/*.md
docs/contracts/pre-pr-ordering/*.md
docs/conventions/rendered-views/*.md
docs/contracts/retired-conventions/*.md
docs/conventions/seam-phrasing/*.md
docs/contracts/seam-phrasing/*.md
docs/contracts/shell-test-helpers/*.md
docs/conventions/standards/*.md
docs/conventions/standards/examples/*.md
docs/contracts/standards/*.md
docs/contracts/standards/examples/*.md
docs/contracts/tracker-reference-form/*.md
docs/conventions/untrusted-content/*.md
docs/contracts/upstream-drift/*.md
Expand Down
22 changes: 11 additions & 11 deletions scripts/shared-copies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,17 @@ lib/docs-lookup-procedure.md plugins/session-flow/reference/docs-lookup-procedur
lib/managed-scope.sh plugins/harness-config/lib/managed-scope.sh
lib/managed-scope.sh plugins/harness-memory/lib/managed-scope.sh
lib/managed-scope.sh plugins/harness-ops/lib/managed-scope.sh
docs/conventions/standards/README.md plugins/planning/reference/standards-contract.md
docs/conventions/standards/README.md plugins/review/reference/standards-contract.md
docs/conventions/enforcement-ladder/README.md plugins/review/context/enforcement-ladder.md
docs/conventions/enforcement-ladder/README.md plugins/session-flow/skills/retro/reference/enforcement-ladder.md
docs/conventions/enforcement-ladder/README.md plugins/harness-config/skills/audit-automation-gaps/context/enforcement-ladder.md
docs/conventions/enforcement-ladder/README.md plugins/architecture/skills/improve/research/enforcement-ladder.md
docs/conventions/enforcement-ladder/README.md plugins/corrections/skills/codify/reference/enforcement-ladder.md
docs/conventions/standards/README.md plugins/improvement/reference/standards-contract.md
docs/conventions/pr-scope-budget/README.md plugins/improvement/reference/pr-scope-budget.md
docs/conventions/pr-scope-budget/README.md plugins/code-tidying/reference/pr-scope-budget.md
docs/conventions/pr-scope-budget/README.md plugins/coupling/reference/pr-scope-budget.md
docs/contracts/standards/README.md plugins/planning/reference/standards-contract.md
docs/contracts/standards/README.md plugins/review/reference/standards-contract.md
docs/contracts/enforcement-ladder/README.md plugins/review/context/enforcement-ladder.md
docs/contracts/enforcement-ladder/README.md plugins/session-flow/skills/retro/reference/enforcement-ladder.md
docs/contracts/enforcement-ladder/README.md plugins/harness-config/skills/audit-automation-gaps/context/enforcement-ladder.md
docs/contracts/enforcement-ladder/README.md plugins/architecture/skills/improve/research/enforcement-ladder.md
docs/contracts/enforcement-ladder/README.md plugins/corrections/skills/codify/reference/enforcement-ladder.md
docs/contracts/standards/README.md plugins/improvement/reference/standards-contract.md
docs/contracts/pr-scope-budget/README.md plugins/improvement/reference/pr-scope-budget.md
docs/contracts/pr-scope-budget/README.md plugins/code-tidying/reference/pr-scope-budget.md
docs/contracts/pr-scope-budget/README.md plugins/coupling/reference/pr-scope-budget.md
lib/resolve-convention-home.sh plugins/harness-config/lib/resolve-convention-home.sh
lib/resolve-convention-home.sh plugins/plugin-quality/lib/resolve-convention-home.sh
lib/resolve-convention-home.sh plugins/architecture/lib/resolve-convention-home.sh
Expand Down
Loading