Skip to content

Commit 55eb8fd

Browse files
committed
docs: fix links in specs
Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>
1 parent 52bb4bf commit 55eb8fd

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Common Message Format (CMF) Specification
22

33
**Version**: 2.0
4-
**Related**: [Plugin Framework Specification](../docs/plugin-framework-spec.md)
4+
**Related**: [Plugin Framework Specification](../docs/specs/plugin-framework-spec.md)
55

66
## Introduction
77

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Plugin Framework (CPEX) Specification
22

33
**Version**: 2.0
4-
**Related**: [CMF Message Specification](cdm-message-spec.md)
4+
**Related**: [CMF Message Specification](../docs/specs/cmf-message-spec.md)
55

66
## Introduction
77

@@ -16,7 +16,7 @@ The framework separates four concerns:
1616

1717
The framework operates on any `PluginPayload` subclass. CMF `Message` and `MessageView` are built-in payload types for the common case of message-level policy enforcement, but the same plugin model, scheduling, and capability gating apply to any domain-specific payload.
1818

19-
For the canonical message model, extensions, and `MessageView` abstraction, see the [CMF Message Specification](cdm-message-spec-v2.md).
19+
For the canonical message model, extensions, and `MessageView` abstraction, see the [CMF Message Specification](../docs/specs/cmf-message-spec.md).
2020

2121
## Table of Contents
2222

@@ -70,7 +70,7 @@ This section introduces the type system that the rest of the specification build
7070

7171
| Type | Role |
7272
|------|------|
73-
| `PluginPayload` | Base type for all hook payloads. Frozen (immutable) Pydantic model with optional extensions. Plugins use `model_copy(update={...})` to propose modifications. CMF [Message](cdm-message-spec-v2.md) defines a canonical representation for messages. |
73+
| `PluginPayload` | Base type for all hook payloads. Frozen (immutable) Pydantic model with optional extensions. Plugins use `model_copy(update={...})` to propose modifications. CMF [Message](../docs/specs/cmf-message-spec.md) defines a canonical representation for messages. |
7474
| `PluginResult[T]` | Generic result: `continue_processing`, `modified_payload`, `violation`, `metadata`. |
7575
| `PipelineResult[T]` | Aggregate result from a full hook invocation. Wraps `PluginResult` with factory methods (`allowed`, `denied`). |
7676
| `PluginViolation` | Structured policy failure: `reason`, `description`, `code`, `details`. |
@@ -497,7 +497,7 @@ Only `modify` plugins receive mutable payloads. All modifications use copy-on-wr
497497
* Modified copies propagate forward
498498
* Original remains available for audit and rollback
499499

500-
For payloads that carry extensions, COW copies respect extension mutability tiers: immutable extensions are shared by reference, monotonic extensions are validated add-only, guarded extensions require write capabilities. See [CMF Message Specification — Mutability Tiers](cdm-message-spec-v2.md#31-mutability-tiers). Payloads without extensions skip tier enforcement.
500+
For payloads that carry extensions, COW copies respect extension mutability tiers: immutable extensions are shared by reference, monotonic extensions are validated add-only, guarded extensions require write capabilities. See [CMF Message Specification — Mutability Tiers](../docs/specs/cmf-message-spec.md#31-mutability-tiers). Payloads without extensions skip tier enforcement.
501501

502502
This ensures:
503503

@@ -758,7 +758,7 @@ This ensures negligible overhead when the framework is unused.
758758

759759
Plugins declare which extensions they need. The pipeline builds payload views with only the granted extensions visible — ungated extensions appear as `None`. Capability gating applies to any `PluginPayload` that carries extensions, not only CMF messages.
760760

761-
For the full extension model and mutability tiers, see [CMF Message Specification — Extensions](cdm-message-spec-v2.md#3-extensions).
761+
For the full extension model and mutability tiers, see [CMF Message Specification — Extensions](../docs/specs/cmf-message-spec.md#3-extensions).
762762

763763
### 6.1 Capability Model
764764

0 commit comments

Comments
 (0)