Sensorium Patch Policy v1¶
Source schema: doc/schemas/sensorium-patch-policy.v1.schema.json
Closed, content-addressable admission policy for Workbench patches. It names every admitted target by a logical root and a relative path, the admitted change operations, and a line-oriented content shape. It does not apply patches; the Workbench enforces it before staging.
Governing Basis¶
doc/project/40-proposals/071-sensorium-workbench.mddoc/project/40-proposals/094-operator-task-packs-for-bounded-problem-solving.md
Project Lineage¶
Requirements¶
doc/project/50-requirements/requirements-006-node-networking-mvp.mddoc/project/50-requirements/requirements-010-middleware-executor.mddoc/project/50-requirements/requirements-011-dator-arca-contracts.mddoc/project/50-requirements/requirements-014-resource-opinions.md
Stories¶
doc/project/30-stories/story-001-swarm-node-onboarding.mddoc/project/30-stories/story-004-pod-client-onboarding.mddoc/project/30-stories/story-005-whisper-rumor-intake.mddoc/project/30-stories/story-006-buyer-node-components.mddoc/project/30-stories/story-006-voluntary-swarm-exchange.mddoc/project/30-stories/story-007-settlement-capable-node.mddoc/project/30-stories/story-008-cool-site-comment.mddoc/project/30-stories/story-009-bielik-blog-arca.md
Fields¶
| Field | Required | Shape | Description |
|---|---|---|---|
schema |
yes |
const: sensorium-patch-policy.v1 |
|
schema/v |
yes |
const: 1 |
|
patch-policy/ref |
yes |
ref: #/$defs/ref |
|
targets |
yes |
array | |
patch/max-bytes |
yes |
integer | Largest total content, in bytes, of one patch across all its written files. Each written file is also bounded by it and by its target's max-bytes; a Workbench that stages one file at a time can enforce only the per-file bound, so plan compilation enforces the total. |
Definitions¶
| Definition | Shape | Description |
|---|---|---|
ref |
string | |
relativePath |
string | Relative path below the logical root: components of [A-Za-z0-9._-] separated by single slashes, with no leading slash and no . or .. component. A leading dot is admitted (for example alias/.qmail-root); globs, backslashes and whitespace are not. |
target |
object | |
| ## Field Semantics |
schema¶
- Required:
yes - Shape: const:
sensorium-patch-policy.v1
schema/v¶
- Required:
yes - Shape: const:
1
patch-policy/ref¶
- Required:
yes - Shape: ref:
#/$defs/ref
targets¶
- Required:
yes - Shape: array
patch/max-bytes¶
- Required:
yes - Shape: integer
Largest total content, in bytes, of one patch across all its written files. Each written file is also bounded by it and by its target's max-bytes; a Workbench that stages one file at a time can enforce only the per-file bound, so plan compilation enforces the total.
Definition Semantics¶
$defs.ref¶
- Shape: string
$defs.relativePath¶
- Shape: string
Relative path below the logical root: components of [A-Za-z0-9._-] separated by single slashes, with no leading slash and no . or .. component. A leading dot is admitted (for example alias/.qmail-root); globs, backslashes and whitespace are not.
$defs.target¶
- Shape: object