Skip to content
Loom Docs
Esc
↑↓navigate↵open⌘Jpreview
Product
View as Markdown
On this page

stewardship operations

The exact fields each stewardship.* operation takes and returns.

The exact fields each stewardship.* operation takes and returns.

Every op is POST /v1/<op> over HTTP and the MCP tool loom_<op>. The identity fields (org, namespace, agent, user_id, session_id) are filled from the token and the MCP session when a transport can; for an HTTP call with no token on a single-user server, the install’s org on every op but code.* and tracker.* (which keep their plane’s), and on some ops its namespace and agent; see identities and namespaces. The operations index explains role, kind and the MCP all listing. Unknown input fields are served and named in ignored_args, and a response served from a fallback or a partial read names it in degraded (degraded answers).

stewardship.assign

Name who answers for a shared memory and how often it is reviewed, or the namespace’s fallback steward.

POST /v1/stewardship.assign · MCP loom_stewardship_assign · role admin · idempotent · audited · not listed under the MCP all toolset

Input field Type Default Meaning
org str required The tenant (first element of the identity tuple).
namespace str required The namespace the op reads or writes.
target_kind Literal['memory', 'namespace'] required ‘memory’: a shared memory of the namespace. ‘namespace’: the namespace itself, whose steward is the fallback for items with nobody to act.
target_key str '' The memory key; leave it empty for the namespace.
agent str '-' The agent of the memory row, part of its address; not read for the namespace, which is one row whatever agent the call carries.
steward str | None None A Loom account that holds a writer or admin grant on the namespace, or group:<id> of a live group. ‘’ names nobody.
review_every_days int | None None Days between reviews: 30 to 730, or 0 to end stewardship of the item.
Output field Type Meaning
changed bool False when the stored assignment already says what was sent: nothing was written.
item StewardshipItem | None The target as it reads now; null for a target that was never assigned.

stewardship.get

One target’s assignment, state and newest reviews.

POST /v1/stewardship.get · MCP loom_stewardship_get · role viewer · read · not listed under the MCP all toolset

Input field Type Default Meaning
org str required The tenant (first element of the identity tuple).
namespace str required The namespace the op reads or writes.
target_kind Literal['memory', 'namespace'] required ‘memory’: a shared memory of the namespace. ‘namespace’: the namespace itself, whose steward is the fallback for items with nobody to act.
target_key str '' The memory key; leave it empty for the namespace.
agent str '-' The agent of the memory row, part of its address; not read for the namespace, which is one row whatever agent the call carries.
Output field Type Meaning
found bool False for a target that was never assigned.
item StewardshipItem | None
reviews list[StewardshipReviewRow] The target’s newest reviews, newest first, at most 20.

stewardship.list

The namespace’s items under stewardship: who maintains what, and what needs attention.

POST /v1/stewardship.list · MCP loom_stewardship_list · role viewer · read · not listed under the MCP all toolset

Input field Type Default Meaning
org str required The tenant (first element of the identity tuple).
namespace str required The namespace the op reads or writes.
state list[Literal['missing', 'never_reviewed', 'out_of_date', 'correction_requested', 'needs_evidence', 'overdue', 'due', 'current']] (computed) Only items in one of these states; empty lists every state.
problems_only bool False Only items whose steward has a problem.
mine bool False Only items the caller is responsible for.
limit int 100 The most items to return after the filters, 1 to 500; default 100.
fields list[str] | None None Item fields to return; unset or empty returns every field.
Output field Type Meaning
items list[StewardshipItem]
truncated bool True when the filters matched more items than limit.
counts StewardshipCounts
fallback_steward str The namespace’s fallback steward; ‘’ when none is named.
fallback_problem Literal['unassigned', 'steward_revoked', 'steward_no_grant', 'group_inactive'] | None What keeps the fallback steward from acting; null when nothing does or none is named.

stewardship.review

Record a person’s review of the content they read: that it is still right, that it needs a correction, or that it needs evidence.

POST /v1/stewardship.review · MCP loom_stewardship_review · role writer · idempotent · audited · not listed under the MCP all toolset

Input field Type Default Meaning
org str required The tenant (first element of the identity tuple).
namespace str required The namespace the op reads or writes.
target_kind Literal['memory', 'namespace'] required ‘memory’: a shared memory of the namespace. ‘namespace’: the namespace itself, whose steward is the fallback for items with nobody to act.
target_key str '' The memory key; leave it empty for the namespace.
agent str '-' The agent of the memory row, part of its address; not read for the namespace, which is one row whatever agent the call carries.
result Literal['confirmed', 'correction_requested', 'needs_evidence'] required ‘confirmed’ also attests the memory, as memory.verify does.
if_match_sha256 str required The content_sha256 memory.get served with the text that was read.
Output field Type Meaning
item StewardshipItem The target as it reads after the review.

Last updated on

Was this page helpful?