K24 (mesh-recovery's hand verbs): take, restore, retry, aside, discard-aside and expire-points, asker and why on every hand verb, one answer form with cancel

Builds: design 47 G §682, §691 (§516, §554, §566, §656, §681)

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
2026-11-11 20:45:56 +01:00
parent 0ccac1d42a
commit b76e52d30a
6 changed files with 823 additions and 12 deletions
+152 -2
View File
@@ -10,6 +10,12 @@ export declare const verbs: {
readonly keptPoints: "kept-points";
readonly restoreAside: "restore-aside";
readonly cancel: "cancel";
readonly take: "take";
readonly restore: "restore";
readonly retry: "retry";
readonly aside: "aside";
readonly discardAside: "discard-aside";
readonly expirePoints: "expire-points";
};
export declare const events: {
@@ -194,6 +200,8 @@ export interface KeptPointsAnswer {
/** is what restore-aside takes. */
export interface RestoreAsideInput {
/** who asked: the caller the tool runner proved and recorded for the call (who@node, or operator), which the tools bundle's recovery tool passes and a module's process leaves out; the hand-act log names it beside the account the bus proved (design 47 G 682) */
"asker"?: string;
/** the aside's id */
"id": string;
/** the kept data, its local name in the module's manifest */
@@ -218,18 +226,160 @@ export interface RestoreAsideAnswer {
export interface CancelInput {
/** the act's id */
"act": string;
/** who asked: the caller the tool runner proved and recorded for the call (who@node, or operator), which the tools bundle's recovery tool passes and a module's process leaves out; the hand-act log names it beside the account the bus proved (design 47 G 682) */
"asker"?: string;
/** why, which the hand-act log keeps */
"why": string;
}
/** is what cancel answers. */
export interface CancelAnswer {
/** the act ended cancelled */
"cancelled"?: boolean;
/** accepted: the id of the act it cancelled, whose ending event follows under that id */
"accepted"?: string;
/** busy: the id of the act that runs; it keeps no queue, so the caller asks again on that act's ending event */
"busy"?: string;
/** why not, naming the step an act has begun; set alone */
"error"?: string;
}
/** is what take takes. */
export interface TakeInput {
/** who asked: the caller the tool runner proved and recorded for the call (who@node, or operator), which the tools bundle's recovery tool passes and a module's process leaves out; the hand-act log names it beside the account the bus proved (design 47 G 682) */
"asker"?: string;
/** the fingerprint whose form the point is taken at */
"fingerprint": string;
/** the kept data, its local name in the module's manifest */
"kept": string;
/** the module */
"module": string;
/** why, which the hand-act log keeps */
"why": string;
}
/** is what take answers. */
export interface TakeAnswer {
/** accepted: the act's id, which the ending event carries */
"accepted"?: string;
/** busy: the id of the act that runs; it keeps no queue, so the caller asks again on that act's ending event */
"busy"?: string;
/** why it was not taken; set alone */
"error"?: string;
}
/** is what restore takes. */
export interface RestoreInput {
/** who asked: the caller the tool runner proved and recorded for the call (who@node, or operator), which the tools bundle's recovery tool passes and a module's process leaves out; the hand-act log names it beside the account the bus proved (design 47 G 682) */
"asker"?: string;
/** ask the backup holder for the points directory when the point is missing there; only with snapshot */
"from-backup"?: boolean;
/** the kept data, its local name in the module's manifest */
"kept": string;
/** the module */
"module": string;
/** a keeper's snapshot by its request (design 47 G 681) */
"request"?: string;
/** a restore point's name */
"snapshot"?: string;
/** why, which the hand-act log keeps */
"why": string;
}
/** is what restore answers. */
export interface RestoreAnswer {
/** accepted: the act's id, which the ending event carries */
"accepted"?: string;
/** busy: the id of the act that runs; it keeps no queue, so the caller asks again on that act's ending event */
"busy"?: string;
/** why it was not taken; set alone */
"error"?: string;
}
/** is what retry takes. */
export interface RetryInput {
/** who asked: the caller the tool runner proved and recorded for the call (who@node, or operator), which the tools bundle's recovery tool passes and a module's process leaves out; the hand-act log names it beside the account the bus proved (design 47 G 682) */
"asker"?: string;
/** the kept data, its local name in the module's manifest */
"kept": string;
/** the module */
"module": string;
/** why, which the hand-act log keeps */
"why": string;
}
/** is what retry answers. */
export interface RetryAnswer {
/** accepted: the act's id, which the ending event carries */
"accepted"?: string;
/** busy: the id of the act that runs; it keeps no queue, so the caller asks again on that act's ending event */
"busy"?: string;
/** why it was not taken; set alone */
"error"?: string;
}
/** is what aside takes. */
export interface AsideInput {
/** who asked: the caller the tool runner proved and recorded for the call (who@node, or operator), which the tools bundle's recovery tool passes and a module's process leaves out; the hand-act log names it beside the account the bus proved (design 47 G 682) */
"asker"?: string;
/** the kept data, its local name in the module's manifest */
"kept": string;
/** the module */
"module": string;
/** why, which the hand-act log keeps */
"why": string;
}
/** is what aside answers. */
export interface AsideAnswer {
/** accepted: the act's id, which the ending event carries */
"accepted"?: string;
/** busy: the id of the act that runs; it keeps no queue, so the caller asks again on that act's ending event */
"busy"?: string;
/** why it was not taken; set alone */
"error"?: string;
}
/** is what discard-aside takes. */
export interface DiscardAsideInput {
/** who asked: the caller the tool runner proved and recorded for the call (who@node, or operator), which the tools bundle's recovery tool passes and a module's process leaves out; the hand-act log names it beside the account the bus proved (design 47 G 682) */
"asker"?: string;
/** the aside's id */
"id": string;
/** the kept data, its local name in the module's manifest */
"kept": string;
/** the module */
"module": string;
/** why, which the hand-act log keeps */
"why": string;
}
/** is what discard-aside answers. */
export interface DiscardAsideAnswer {
/** accepted: the act's id, which the ending event carries */
"accepted"?: string;
/** busy: the id of the act that runs; it keeps no queue, so the caller asks again on that act's ending event */
"busy"?: string;
/** why it was not taken; set alone */
"error"?: string;
}
/** is what expire-points takes. */
export interface ExpirePointsInput {
/** who asked: the caller the tool runner proved and recorded for the call (who@node, or operator), which the tools bundle's recovery tool passes and a module's process leaves out; the hand-act log names it beside the account the bus proved (design 47 G 682) */
"asker"?: string;
/** why, which the hand-act log keeps */
"why": string;
}
/** is what expire-points answers. */
export interface ExpirePointsAnswer {
/** accepted: the act's id, which the ending event carries */
"accepted"?: string;
/** busy: the id of the act that runs; it keeps no queue, so the caller asks again on that act's ending event */
"busy"?: string;
/** why it was not taken; set alone */
"error"?: string;
}
/** is the body of the event ended. */
export interface EndedEvent {
/** the id the act was answered accepted with, or a hand act's own id (design 47 G 560) */
+6
View File
@@ -10,6 +10,12 @@ export const verbs = {
keptPoints: "kept-points",
restoreAside: "restore-aside",
cancel: "cancel",
take: "take",
restore: "restore",
retry: "retry",
aside: "aside",
discardAside: "discard-aside",
expirePoints: "expire-points",
};
export const events = {