identity_save, identity_list, and identity_forget load their specs from embedded manifests under crates/rhema-claw/tools; the Rust side keeps only the invoke half. identity_list declares replay_safety: safe - the store answers with its own redacted records - while save and forget stay unsafe: a resumed run must not re-store an account or drop one twice. identity_exec keeps its spec inline; it is a ToolResolver, the exec seam itself, not a registry tool.
16 lines
448 B
YAML
16 lines
448 B
YAML
# The model-facing spec of the identity_forget tool; the operation is
|
|
# the compiled builtin named under `run`.
|
|
name: identity_forget
|
|
description: >-
|
|
Forget a stored account by id: the secret goes with it, and any
|
|
forge watch that followed this identity is removed too.
|
|
parameters:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type: string
|
|
description: The account id (identity_list's ids).
|
|
required: [id]
|
|
run:
|
|
builtin: identity.forget
|