SD-M2c: retire takes ask

The ask's id beside the warrant (the hand act's id), as own-retired carries it (A4's request).

Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
2026-11-04 12:01:18 +01:00
parent a6e3b3bb4f
commit 7f0b0f3b42
7 changed files with 24 additions and 9 deletions
+3 -1
View File
@@ -313,13 +313,15 @@ export type AbandonAnswer = Record<string, unknown>;
/** is what retire takes. */
export interface RetireInput {
/** the id of the operator's ask the warrant answers */
"ask": string;
/** the module */
"module": string;
/** the own secret's name */
"name": string;
/** the node */
"node": string;
/** the operator's warrant for this node, module and name */
/** the operator's warrant for this node, module and name: the hand act's id */
"warrant": string;
}
+7 -2
View File
@@ -1426,6 +1426,10 @@ export const list: readonly Seat[] = [
"description": "Retire one module's own secret, by node, module and name, on the operator's warrant bound to exactly those three (design 32 *A value no longer read*). Emits own-retired.",
"input": {
"properties": {
"ask": {
"description": "the id of the operator's ask the warrant answers",
"type": "string"
},
"module": {
"description": "the module",
"type": "string"
@@ -1439,7 +1443,7 @@ export const list: readonly Seat[] = [
"type": "string"
},
"warrant": {
"description": "the operator's warrant for this node, module and name",
"description": "the operator's warrant for this node, module and name: the hand act's id",
"type": "string"
}
},
@@ -1447,7 +1451,8 @@ export const list: readonly Seat[] = [
"node",
"module",
"name",
"warrant"
"warrant",
"ask"
],
"type": "object"
},