Sensorium Workbench Patch Install Result v1¶
Source schema: doc/schemas/sensorium-workbench-patch-install-result.v1.schema.json
Outcome of installing admitted staged files and deletions in a microVM workspace under one pinned patch policy (P094-021b/021g). applied preserves the guest commit receipt: every write names its admitted create/modify operation and content digest; a delete carries neither. Missing or substituted receipts are unknown, not proof of application. refused proves that no file changed; unknown, such as patch-apply-partial, proves nothing and the environment must be destroyed. The result is kept under its idempotency key, so a patch is never installed twice.
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-workbench-patch-install-result.v1 |
|
schema/v |
yes |
const: 1 |
|
result/ref |
yes |
ref: #/$defs/ref |
|
address |
yes |
ref: #/$defs/address |
|
patch-policy/digest |
yes |
ref: #/$defs/digest |
|
outcome |
yes |
enum: applied, refused, unknown |
|
entries |
no |
array | |
error/code |
no |
ref: #/$defs/code |
|
source/generation-ref |
yes |
ref: #/$defs/ref |
Definitions¶
| Definition | Shape | Description |
|---|---|---|
ref |
string | |
digest |
string | |
relativePath |
string | |
address |
object | |
code |
string |
Conditional Rules¶
Rule 1¶
When:
{
"required": [
"outcome"
],
"properties": {
"outcome": {
"const": "applied"
}
}
}
Then:
{
"required": [
"entries"
],
"not": {
"required": [
"error/code"
]
}
}
Field Semantics¶
schema¶
- Required:
yes - Shape: const:
sensorium-workbench-patch-install-result.v1
schema/v¶
- Required:
yes - Shape: const:
1
result/ref¶
- Required:
yes - Shape: ref:
#/$defs/ref
address¶
- Required:
yes - Shape: ref:
#/$defs/address
patch-policy/digest¶
- Required:
yes - Shape: ref:
#/$defs/digest
outcome¶
- Required:
yes - Shape: enum:
applied,refused,unknown
entries¶
- Required:
no - Shape: array
error/code¶
- Required:
no - Shape: ref:
#/$defs/code
source/generation-ref¶
- Required:
yes - Shape: ref:
#/$defs/ref
Definition Semantics¶
$defs.ref¶
- Shape: string
$defs.digest¶
- Shape: string
$defs.relativePath¶
- Shape: string
$defs.address¶
- Shape: object
$defs.code¶
- Shape: string