Twin Me Up
v0.2.1A personal work twin for every AI agent: your confirmed guidance and explicit grants, enforced.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
twin_brief Get the operating brief
Call at the start of work in a workflow. Returns the principal's confirmed guidance, hard limits, your authority, stop conditions and how to report back. Embed and follow it.
| Parameter | Type | Description |
|---|---|---|
objective * | string | What you are about to do, in one sentence. |
workflow * | string | Workflow slug, for example quote-review. |
actions | array | Actions you expect to need, for example email.send. |
include_hypotheses | boolean | Also list unconfirmed proposals, clearly labelled. |
twin_authorise Check authority for an action
Call before any consequential action (sending, paying, committing, writing to live systems). 'allow' means an active grant covers it. 'ask' means stop, prepare a draft and request approval with twin_request_approval.
| Parameter | Type | Description |
|---|---|---|
action * | string | The action you intend to take, for example email.send. |
workflow * | string | |
attempt_id | For enforcement hooks only: the id of the tool call about to run. It spends one use of an approval; repeating the same attempt_id is safe. Agents leave this unset. |
twin_request_approval Ask the principal to approve an action
Call when twin_authorise says 'ask' and the work needs that action. Records one request the principal approves or declines in their own terminal. Do not act until twin_approval_status says approved; an approval covers one attempt unless they say more.
| Parameter | Type | Description |
|---|---|---|
action * | string | The one action you need approved, for example repo.push. |
summary * | string | What you will do and why, in a sentence or two. The principal decides on this. |
workflow * | string | |
details | Anything that helps them decide: recipients, amounts, a diff summary. | |
request_id | Optional idempotency key, for example your tool call id. A retry with the same request_id returns the first result instead of recording twice. | |
sources | array |
twin_approval_status Check an approval request
Whether the principal has approved, declined or not yet decided a request, and whether the approval is still unused. Poll this while you wait; it changes nothing.
| Parameter | Type | Description |
|---|---|---|
approval_id * | string | The approval_id twin_request_approval returned. |
twin_search Search confirmed guidance
Find the principal's confirmed guidance relevant to a question within a workflow.
| Parameter | Type | Description |
|---|---|---|
query * | string | What you need guidance on. |
workflow * | string | |
limit | integer |
twin_review_queue List proposals awaiting the principal
Unconfirmed lessons to present to the principal for confirmation, revision or rejection.
| Parameter | Type | Description |
|---|---|---|
workflow |
twin_track_record Show how well the twin knows a workflow
Evidence and stage for a workflow: confirmed learning, corrections, evaluation results, grants and the recommended next step. It recommends; only the principal promotes.
| Parameter | Type | Description |
|---|---|---|
workflow * | string |
twin_next_questions Get follow-up questions for a decision
The most valuable unanswered questions about a recorded decision. Ask them, then amend.
| Parameter | Type | Description |
|---|---|---|
episode_id * | string | |
limit | integer |
twin_record_decision Record a decision the principal made
Capture a real decision: situation, options, choice, reasons for rejected options, cues, what would change it and when to escalate. Returns follow-up questions.
| Parameter | Type | Description |
|---|---|---|
situation * | string | |
workflow * | string | |
chosen | The option id the principal chose. | |
cues | array | |
escalation_triggers | array | |
goal | ||
missing_information | array | |
options | array | |
outcome | ||
rationale | ||
rejected | object | Option id to the principal's reason for rejecting it. |
request_id | Optional idempotency key, for example your tool call id. A retry with the same request_id returns the first result instead of recording twice. | |
reversal_conditions | array | |
sources | array |
twin_amend_decision Add answers to a recorded decision
Merge the principal's answers to follow-up questions into a recorded decision.
| Parameter | Type | Description |
|---|---|---|
changes * | object | Fields to merge into the recorded decision, using record_decision names. |
episode_id * | string | |
request_id | Optional idempotency key, for example your tool call id. A retry with the same request_id returns the first result instead of recording twice. |
twin_record_correction Record a correction from the principal
Call whenever the principal edits, overrides or rejects your work. Captures both versions and the reason as learning material.
| Parameter | Type | Description |
|---|---|---|
agent_proposal * | string | What you proposed or did. |
human_decision * | string | What the principal chose instead. |
situation * | string | What the task was. |
workflow * | string | |
reason | The principal's reason, if given. | |
request_id | Optional idempotency key, for example your tool call id. A retry with the same request_id returns the first result instead of recording twice. | |
sources | array |
twin_propose_lesson Propose new guidance
Propose a lesson for the principal to confirm. It is never authoritative until confirmed.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
statement * | string | One clear, testable rule or fact. |
workflow * | string | |
conditions | array | |
confidence | ||
episode_ids | array | |
origin | string | elicited: the principal said it. inferred: your generalisation. correction: drawn from a correction. |
request_id | Optional idempotency key, for example your tool call id. A retry with the same request_id returns the first result instead of recording twice. | |
review_by |