Point gains names, one per bus object as Aside's (required, at least one), regenerated with seatgen; the kept-points fixture names its point's bus name, so the fixture test fails without the field. Builds: design 47 G A-230, §554, §565 Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
269 lines
6.3 KiB
JSON
269 lines
6.3 KiB
JSON
[
|
|
{
|
|
"name": "snapshot-kept takes the point of a kept data before its form changes",
|
|
"of": "verb:snapshot-kept.input",
|
|
"given": {
|
|
"module": "mesh-knowledge",
|
|
"kept": "ledger",
|
|
"form": 2,
|
|
"fingerprint": "0123456789ab",
|
|
"why": "form change of mesh-knowledge's ledger to 0123456789ab",
|
|
"catch-up": {
|
|
"tool": "knowledge_catch_up",
|
|
"arguments": {
|
|
"since": "0"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "snapshot-kept answers accepted with the act",
|
|
"of": "verb:snapshot-kept.answer",
|
|
"given": {
|
|
"accepted": "a-20261111t100000"
|
|
}
|
|
},
|
|
{
|
|
"name": "restore-kept answers busy with the act that runs",
|
|
"of": "verb:restore-kept.answer",
|
|
"given": {
|
|
"busy": "a-20261111t100000"
|
|
}
|
|
},
|
|
{
|
|
"name": "restore-kept takes a point and asks the backup for its directory",
|
|
"of": "verb:restore-kept.input",
|
|
"given": {
|
|
"module": "mesh-knowledge",
|
|
"kept": "ledger",
|
|
"form": 2,
|
|
"fingerprint": "0123456789ab",
|
|
"why": "revert of mesh-knowledge's ledger from 0123456789ab",
|
|
"from-backup": true,
|
|
"snapshot": "2-0123456789ab"
|
|
}
|
|
},
|
|
{
|
|
"name": "restore-kept answers an error naming why",
|
|
"of": "verb:restore-kept.answer",
|
|
"given": {
|
|
"error": "aside-only is the operator's hand tool alone"
|
|
}
|
|
},
|
|
{
|
|
"name": "kept-points lists a point, an aside and the act that runs",
|
|
"of": "verb:kept-points.answer",
|
|
"given": {
|
|
"points": [
|
|
{
|
|
"module": "mesh-knowledge",
|
|
"kept": "ledger",
|
|
"form": 2,
|
|
"fingerprint": "0123456789ab",
|
|
"snapshot": "2-0123456789ab",
|
|
"consumers": [
|
|
{
|
|
"stream": "KV_x",
|
|
"name": "c1",
|
|
"sequence": 42
|
|
}
|
|
],
|
|
"size": 2048,
|
|
"at": "2026-11-11T10:00:00Z",
|
|
"catch-up": {
|
|
"tool": "knowledge_catch_up"
|
|
},
|
|
"digests": [
|
|
{
|
|
"name": "KV_x",
|
|
"digest": "sha256:00"
|
|
}
|
|
],
|
|
"names": [
|
|
"mesh-knowledge_ledger"
|
|
]
|
|
}
|
|
],
|
|
"asides": [
|
|
{
|
|
"id": "20261111T121200Z",
|
|
"size": 4096,
|
|
"names": [
|
|
"mesh-knowledge_ledger"
|
|
]
|
|
}
|
|
],
|
|
"running": {
|
|
"act": "a-1",
|
|
"step": "waiting on the dump",
|
|
"since": "2026-11-11T10:00:00Z",
|
|
"waits-on": "item-ended of the bus item"
|
|
},
|
|
"unrestored": [
|
|
{
|
|
"id": "20261110T080000Z",
|
|
"size": 1024,
|
|
"names": [
|
|
"mesh-knowledge_ledger"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "restore-aside names the aside",
|
|
"of": "verb:restore-aside.input",
|
|
"given": {
|
|
"module": "mesh-knowledge",
|
|
"kept": "ledger",
|
|
"id": "20261111T121200Z",
|
|
"why": "an aside left at removed",
|
|
"asker": "operator@workstation"
|
|
}
|
|
},
|
|
{
|
|
"name": "cancel names the act",
|
|
"of": "verb:cancel.input",
|
|
"given": {
|
|
"act": "a-1",
|
|
"why": "the dump waits too long",
|
|
"asker": "operator@workstation"
|
|
}
|
|
},
|
|
{
|
|
"name": "take names the fingerprint whose form the point is taken at",
|
|
"of": "verb:take.input",
|
|
"given": {
|
|
"module": "mesh-knowledge",
|
|
"kept": "ledger",
|
|
"why": "the operator's hand act",
|
|
"asker": "operator@workstation",
|
|
"fingerprint": "0123456789ab"
|
|
}
|
|
},
|
|
{
|
|
"name": "take answers accepted with the act",
|
|
"of": "verb:take.answer",
|
|
"given": {
|
|
"accepted": "a-20261111t100000"
|
|
}
|
|
},
|
|
{
|
|
"name": "restore takes a point by its name",
|
|
"of": "verb:restore.input",
|
|
"given": {
|
|
"module": "mesh-knowledge",
|
|
"kept": "ledger",
|
|
"why": "the operator's hand act",
|
|
"asker": "operator@workstation",
|
|
"snapshot": "2-0123456789ab",
|
|
"from-backup": true
|
|
}
|
|
},
|
|
{
|
|
"name": "restore takes a keeper's snapshot by its request",
|
|
"of": "verb:restore.input",
|
|
"given": {
|
|
"module": "mesh-knowledge",
|
|
"kept": "ledger",
|
|
"why": "the operator's hand act",
|
|
"asker": "operator@workstation",
|
|
"request": "r-20261111t100000"
|
|
}
|
|
},
|
|
{
|
|
"name": "restore answers busy with the act that runs",
|
|
"of": "verb:restore.answer",
|
|
"given": {
|
|
"busy": "a-20261111t100000"
|
|
}
|
|
},
|
|
{
|
|
"name": "retry names the module and its kept data",
|
|
"of": "verb:retry.input",
|
|
"given": {
|
|
"module": "mesh-knowledge",
|
|
"kept": "ledger",
|
|
"why": "a failed take"
|
|
}
|
|
},
|
|
{
|
|
"name": "retry answers an error when nothing failed",
|
|
"of": "verb:retry.answer",
|
|
"given": {
|
|
"error": "nothing to retry"
|
|
}
|
|
},
|
|
{
|
|
"name": "aside sets the live kept data aside",
|
|
"of": "verb:aside.input",
|
|
"given": {
|
|
"module": "mesh-knowledge",
|
|
"kept": "ledger",
|
|
"why": "the operator's hand act",
|
|
"asker": "operator@workstation"
|
|
}
|
|
},
|
|
{
|
|
"name": "aside answers accepted with the act",
|
|
"of": "verb:aside.answer",
|
|
"given": {
|
|
"accepted": "a-20261111t100000"
|
|
}
|
|
},
|
|
{
|
|
"name": "discard-aside names the aside",
|
|
"of": "verb:discard-aside.input",
|
|
"given": {
|
|
"module": "mesh-knowledge",
|
|
"kept": "ledger",
|
|
"why": "the operator's hand act",
|
|
"asker": "operator@workstation",
|
|
"id": "20261111T121200Z"
|
|
}
|
|
},
|
|
{
|
|
"name": "discard-aside answers an error",
|
|
"of": "verb:discard-aside.answer",
|
|
"given": {
|
|
"error": "no such aside"
|
|
}
|
|
},
|
|
{
|
|
"name": "expire-points has no field of its own",
|
|
"of": "verb:expire-points.input",
|
|
"given": {
|
|
"why": "the points past 90 days",
|
|
"asker": "operator"
|
|
}
|
|
},
|
|
{
|
|
"name": "expire-points answers accepted with the act",
|
|
"of": "verb:expire-points.answer",
|
|
"given": {
|
|
"accepted": "a-20261111t100000"
|
|
}
|
|
},
|
|
{
|
|
"name": "cancel answers accepted with the act it cancelled",
|
|
"of": "verb:cancel.answer",
|
|
"given": {
|
|
"accepted": "a-1"
|
|
}
|
|
},
|
|
{
|
|
"name": "cancel answers an error naming the step an act has begun",
|
|
"of": "verb:cancel.answer",
|
|
"given": {
|
|
"error": "the act has begun: step restoring"
|
|
}
|
|
},
|
|
{
|
|
"name": "cancel answers busy with the act that runs",
|
|
"of": "verb:cancel.answer",
|
|
"given": {
|
|
"busy": "a-20261111t100000"
|
|
}
|
|
}
|
|
]
|