Overview
This page documents the additional tool groups that extend Genesis beyond the original toolkit index. Use it together with Tools Overview when you need a complete map of the platform’s runtime capabilities.
dashboard_refresh_tools
dashboard_refresh_tool reruns a dashboard’s staged population sources. With sign-in enabled,
the request must resolve to a person permitted to edit that dashboard; population SQL runs as
that person, so their connection access applies. The tool returns a refusal as an unsuccessful
result instead of refreshing with a system identity. Population SQL must be a single read query.
Refreshing can execute each configured source query against its data connection.
For example:
dashboard_id is the only caller-supplied parameter; the request context supplies the identity
fields.
Server error log inspection
get_error_logs reads the curated server error log and groups errors and
exceptions by signature. Use it for the server-wide error gate; use grep_logs
when you need pattern-based search through the full application log. Each call
reads the current error log and, when requested or when since is supplied,
every retained daily-rotated error log. max_groups limits returned groups,
not the files read, so avoid frequent polling.
The response includes
observed_at (the server’s UTC observation time), the
requested since value, and historical_records counted before the boundary.
Records at or after the inclusive boundary are grouped as current errors;
records with unparseable timestamps remain current errors. Log timestamps with
no timezone offset use the server’s local timezone. A missing timezone or a
future since value makes the call unsuccessful. When error logging is
disabled, the call also returns success: false; treat that as an inability to
verify, not as a pass.
Application log search
grep_logs searches the configured application log with a regular expression.
Use it to investigate a message or identify which mission produced a logged
error; it does not replace get_error_logs for the server-wide grouped error
gate. Searches with since scan complete logical records in the selected
application log files, including retained rotated files when requested. They can
read large logs, so keep patterns specific and avoid frequent broad searches.
With include_rotated=true, it also searches logs from earlier server runs,
not only size-rotated app.log.1 files. Without since, it searches newest
files first and each match names its source file; with since, records are
returned oldest first. A search that finds fewer than max_results reads all
selected files, so a rare match can read every retained prior-run log.
Without
since, matching is line-based and the response includes success,
count, and formatted verbatim_output with the requested context. With
since, the pattern is matched against each complete record, including
continuation/traceback lines and decoded JSON message and exception fields.
Matches are returned oldest first with file, record_timestamp, record_text,
thread_id, parent_thread_id, line_number, and content; the response also
includes since, files, historical_records, unknown_timestamp_records,
truncated, and window_complete. The timestamp and identities belong to the
matched record itself, not a neighboring record.
window_complete is false when selected records have unknown timestamps or the
search results/output were truncated; such a result cannot prove that no match
exists. An invalid or unreadable search returns success: false. For example,
search the current and rotated logs from a captured invocation boundary:
complete: false and includes a stopped
notice. Most lines longer than 1024 characters are searched in overlapping
windows with 256 characters of overlap. Patterns using end-sensitive constructs
($, \Z, \b, \B, or a negative lookahead) are searched against the whole
line instead. A match longer than the overlap may be missed in a windowed line;
no-match long lines are counted in windowed_lines and also make complete
false. Searches with since match whole records and report their completeness
through window_complete instead.
Search the redacted server log
search_server_logs searches the current logs/app.log for administrators. It
is available only to a person with configuration-panel access, from that
person’s Claude Code thread or a signed-in direct call; automations and
scheduled runs cannot use it. Configure the feature and JSON logging as
described in Server log search configuration.
The search reads and validates the whole log (up to 32 MiB) and redacts at most
1000 records per call; only one search runs at a time. It works only when every
nonblank complete line is a JSON log record. The response projects only timestamp, level,
logger, message and exception class; DEBUG entries, tracebacks and other record
fields are not returned. Messages are searched after redaction: secrets, email
addresses, URL paths, file paths and withheld-value lengths are replaced, and
structured data embedded in a message is withheld.
Each entry includes its timestamp, level, logger and redacted message, with
exc_type and the literal traceback: "traceback omitted" when an exception
class can be identified. The response also includes more_matches,
window_not_fully_scanned, since_minutes and log_file; the window flag
indicates that older matching records may remain beyond the examination cap.
action_review_tools
Read the current human’s Action Review queue in any lifecycle state: governed
actions awaiting review, as well as actions already approved, authorized,
executed, rejected, denied by policy or expired. Each row includes when it was
decided and whether a person or tenant policy authorized it. The caller must
have the approve_agent_action permission and pass the human-approval identity
gate. For Snowflake’s account-classification limits, see
Roles and Approvals.
For how a request’s decision reaches its originating agent, see the Action
Review decision hand-back.
Before a governed write raises a request, Genesis looks for an identical open request from
the same requester in this tenant and conversation, for the same action and arguments. A match
returns the existing request rather than proposing it again. The lookup reads pages of up to
50 requests until it finds a match or reaches the end; a later-page read failure refuses the
call without sending a new proposal, while a first-page read failure falls through to normal
proposal handling. Cost: one ledger query per page read.
list_action_reviews
List up to 25 visible proposals for the current human reviewer. user_id and
bot_id are implicit from the agent context, so the common call takes no
arguments and returns the pending_review queue.
Pass the optional string status to read any other lifecycle state —
authorized, claimed, executed, not_applied, reconciliation_required,
rejected, policy_denied, expired or invalidated. It defaults to
pending_review. A non-string value or a value outside that vocabulary is
refused rather than silently treated as the default.
not_applied means the handler or provider proved that the action was refused
before any write was applied. reconciliation_required means the action may
have applied; do not retry it. For execution details and a captured provider
error, inspect the proposal through the Action Review API.
When an uncertain action has no usable read-back, cleanup does not keep probing
it. A person must inspect the target system and record whether the effect was
applied with the record-outcome endpoint;
the recorded outcome settles the proposal without re-executing the action.
If
truncated is true, tell the user that the list may be incomplete.
The page limit is not an incomplete_reason: compare total_count with the
number of returned proposals to detect that the page contains only the first
page, then point the user to Work → Queue for the remainder. Never
count, total or summarise the returned rows as though they were the whole set.
A probe_failure means Genesis could not determine reviewer access for one or
more proposals; suggest retrying rather than treating those proposals as hidden
permanently. A handler_unavailable means no handler is registered for an
action type in this deployment, and row_unreadable means a proposal’s stored
request is malformed. For either reason, tell the user that some items were
omitted and cannot be acted on here; do not suggest retrying because neither is
transient. Incomplete reasons take precedence in this order:
probe_failure, probe_budget, handler_unavailable, row_unreadable, then
scan_ceiling.
Read authorization_basis before describing anything as approved. A
policy_allow basis means tenant policy admitted the action automatically and
no person reviewed it; human_approval means the action passed the
human-approval identity gate, but does not prove a person was present. A row
with no basis was never granted at all.
For the Prover exception to standing-grant admission, see Prover roles and
approvals.
Use salesforce_connector or hubspot_connector for CRM merge preview and
execution, not this listing tool.
show_action_review
Put an approve/reject card for one pending proposal into the current
conversation. Use this after telling a person about a pending proposal, when
they want to decide but have not clearly said which way, or when they ask to
see a missing card again. Sending it again replaces the earlier card for that
proposal in this conversation; it does not create another request. If the
person explicitly tells you in their own message to approve or reject one
specific request, use decide_action_review instead.
success: true, card_sent: false, its status, and its
authorization_basis; report that outcome instead of retrying. Use the basis
semantics described for list_action_reviews above when explaining the result.
On successful delivery, the response contains success: true,
card_sent: true, and the proposal’s proposal_id, action_type, and title.
Tell the human that the card was sent. Card delivery is queued asynchronously,
so card_sent: true confirms that the card was accepted for delivery, not that
it has already appeared. If delivery fails, direct the reviewer to Work →
Queue or use decide_action_review if they explicitly state their decision.
If the call cannot authenticate the human, ask them to continue in an
authenticated conversation.
decide_action_review
Record a signed-in person’s explicit approve or reject instruction for one
pending Action Review request. Use it only when the person’s own latest message
in this conversation clearly states the decision for one specific request; quote
the person’s exact words in persons_words. If the request was raised in another
conversation, the person must name it by its proposal ID. When their words are unclear or could
refer to more than one request, use show_action_review so they can decide on
the card. The tool records that the agent decided on the person’s instruction,
not that the person clicked the card. Approval can apply the action immediately
when approval is the action itself. Prover requests must use the Prover’s
prover_decide tool instead.
Messages stamped as agent-channel, delegated-credential, or UDF-proxy, and turns started by
scheduled or monitor work, cannot supply persons_words. These provenance checks also apply
to the stored message supplying the quoted words; an own-chat mark does not make a message
from one of those sources the person’s own words. For mailed steers, any sender with one of
those stamps makes the turn ineligible.
approve_agent_action permission and the proposal must
be visible in their reviewer scope. A Prover request, an ambiguous instruction,
words not found in the person’s own message, or a decision that the ledger
refuses is not recorded. Read the response’s decided, status, and
refusal_reason; if the record could not be read or the result is uncertain,
call show_action_review to check it rather than retrying blindly.
action_review_request_status
Read the current state and decision for an Action Review request you raised.
Genesis conversations receive the decision directly. An agent calling from
outside Genesis (over MCP or /api/tool_call) must poll this tool instead:
repeat every 30 to 60 seconds while state is pending, then stop and report
the result. Do not call the tool that opened the request again to check whether
it has been decided.
For an approved request,
state: decided means approval stands before its change
is applied; state: applied means the ruling was carried out. A not_applied status is
final and means nothing was written; reconciliation_required means the effect
may have applied, so do not retry. Follow next for the stop condition. Each
call reads the request’s full Action Review ledger row.
When a Prover package request originated in the Genesis conversation receiving
the notice, that durable package-decision notice satisfies the request’s Action
Review hand-back. If an approval bundle carried the package, the notice names
the bundle request and says it applied every member it carries as one act; use
action_review_request_status with that bundle request’s id for its status.
waiting_on_people
List what this agent is waiting for the person in the current conversation to
answer. Use it when the person asks what is waiting on them, or when you want to
offer to settle open asks while they are present. It includes only this agent’s
open asks that this person may answer: approval requests, steps to allow, grant
drafts to sign, mission questions, questions in the person’s chat threads with
the agent, and Prover ruling questions.
This tool works only in the person’s own private conversation with the agent,
such as their chat, a Slack direct message, or a one-on-one meeting. It refuses
shared channels, rooms, mail, and automation contexts. Do not infer or report a
list there.
items are newest first and limited to 25. truncated: true means
more items may exist; unavailable names sources that could not be read, so the
list may be incomplete. If every source is unavailable and there are no items,
the tool returns success: false with an error instead. Offer listed asks
without pressure and do not repeat them to anyone else.
apps_tools
Build, verify, run, restart, and manage GenesisApps directly from chat. For the full app-building workflow, also see Genesis Apps and GenesisApps Tools.
Legacy dashboard SQLite reads
legacy_dashboard_tool(action="SQLITE_QUERY") reads rows from an existing
legacy dashboard’s dashboard_data.sqlite. It requires dashboard_id (string)
and sql (string); neither has a default. The shared SQL classifier must classify
the statement as READ; writes and UNKNOWN statements are refused before the
local store is opened. Dashboard folders and stores must be ordinary repository
content: symbolic links, paths into .git or private per-person memory, and
folders containing other git-metadata entries are refused. Dashboard tables are
written by EDIT, through populationSources.
aws_tools
Perform AWS operations such as EC2- and S3-backed workflows from an agent conversation. This group is best suited to teams that already operate workloads in AWS and want agent-assisted cloud operations.
When these tools use a saved AWS connection, Genesis can authenticate with
either Access Key credentials or IAM Role (IRSA / Pod Identity) from the
running workload. See Connections for the exact mode
selection flow and field names.
aws_action access-denied errors
When AWS returns an IAM access-denied error (for example AccessDenied,
UnauthorizedOperation, or AccessDeniedException), aws_action enriches the
response with the caller’s IAM ARN when it can be resolved from the saved
credential_name via STS get_caller_identity.
When
credential_name is omitted or STS lookup fails, Genesis falls back to
the generic success: false response with error set to
AWS operation failed: ... and no caller_identity field.
This enrichment applies to AWS IAM permission failures from boto3. It is
separate from Genesis RBAC denials, which return
Access denied: user or agent does not have permission to view the requested information.blueprint_creation
Turn a successful thread into a reusable blueprint so the same workflow can be launched again with less manual setup.
create_blueprint
Use create_blueprint to generate a reusable blueprint from one or more successful threads, inspect an existing blueprint before editing it, and preview or apply targeted working-copy changes. Use CREATE_BLUEPRINT_FROM_THREADS for new blueprints from conversations, PREVIEW_EDIT to stage an update, and APPLY_EDIT to commit a reviewed preview.
Source-thread labels follow the product branding configured in
Branding.
A blueprint is crafted and tested by a person working with an agent, so writing
one is not unattended work. With sign-in on,
CREATE_BLUEPRINT_FROM_THREADS,
LIST_SUITABLE_THREADS, PREVIEW_EDIT, APPLY_EDIT and COPY_BLUEPRINT are
refused in a scheduled job, in monitor or alert work, and in any turn with no
person. A Mission a person started keeps working. GET_BLUEPRINT,
LINT_BLUEPRINT and GET_CREATION_STATUS stay open under their access checks.
With sign-in off Genesis cannot tell who is there, so nothing is refused.CREATE_BLUEPRINT_FROM_THREADS runs background analysis through Genesis
utility LLM calls that request structured JSON output. This path works with
Claude models on Snowflake Cortex and on LiteLLM-backed providers
(including LiteLLM Proxy, AWS Bedrock, and Anthropic). On Cortex
Claude, Genesis omits OpenAI’s unsupported schema-less json_object response
format and relies on JSON-only prompts with parse retry. On LiteLLM Claude
routes, Genesis applies the same model-aware max_tokens defaults used for
chat so long blueprint manifests are not truncated mid-generation. Auxiliary
utility LLM calls raise structured provider failures (not_configured,
provider_exception, or empty_response) instead of returning provider error
text as job output. If creation fails with a provider error, verify the
active chat provider in Config → AI Providers and retry
CREATE_BLUEPRINT_FROM_THREADS.
For output-limit handling during analysis, synthesis, and optimization, see
Blueprint Library and Missions.action="GET_CREATION_STATUS"
Call this after CREATE_BLUEPRINT_FROM_THREADS returns a job_id.
Example:
Editing existing blueprints
CallGET_BLUEPRINT with blueprint_name to inspect the current manifest and
phase structure before building a targeted edit. For existing blueprints,
Genesis uses a preview-first workflow: PREVIEW_EDIT stages the change and
returns a preview_id, then APPLY_EDIT commits that preview after review.
Use structured edit_operations whenever the change decomposes cleanly into
specific fields, phases, actions, or exit criteria. Fall back to
change_description only when the requested update does not fit those
structured operations cleanly. If the blueprint changes after the preview was
created, APPLY_EDIT refuses the stale preview and removes it; run
PREVIEW_EDIT again against the current version.
After an applied edit, report the Git outcome from the result rather than assuming a commit
succeeded: commit_hash identifies a successful commit, while commit_error means the edit
was saved but not committed. If neither is present, the result says no Git commit was made.
Tell the user that distinction and do not describe an uncommitted edit as committed.
GET_BLUEPRINT is review-only. It returns the blueprint definition for
inspection or editing, but it does not create a Mission, enter a phase, or
authorize manual execution from chat. When the user wants to run a blueprint,
use start_blueprint_mission from
Project Manager Tools instead
of manually following the manifest or GET_BLUEPRINT_INFO output.GET_BLUEPRINT calls return the manifest plus source_type,
editable, read_only, execution_guardrail, and suggested next_steps so
callers can branch cleanly into edit-versus-run flows. The response and blueprint
index also expose lint_findings, the saved findings as rule, optional phase,
and title; an empty list means the latest save had none. Saves replace this
summary, so do not edit lint_findings directly or copy a blueprint to clear it.
action="LINT_BLUEPRINT"
Check a saved blueprint for designs that make its runs slower, without changing
it. The review may make one fast-model call. The response contains
lint.findings; each finding names its rule, phase (or null for the whole
blueprint), problem, and suggested fix. lint.partial is true when the review
reaches its 20-finding limit, so it may have omitted additional review findings.
Example:
action="PREVIEW_EDIT"
Preview changes to an existing blueprint before applying them.
PREVIEW_EDIT requires blueprint_name plus either change_description or
edit_operations.
For phase exit_criteria authoring rules, enforced types, and examples, see
Exit criterion types.
A blueprint loads from one
blueprint_manifest.yaml file. Runtime loading
does not resolve $ref, include, or other multi-file phase-definition
patterns, and unknown phase fields are ignored at load time. Keep phases in
the manifest, and move only supporting prose or examples into companion
files such as Markdown documents.edit_operations patterns:
- Use
set_blueprint_fieldorappend_blueprint_listfor metadata updates. - Use
insert_action,replace_action, orremove_actionfor action-level edits. - Use
set_phase_fieldfor broad rewrites and include every phase field you intend to change. - Use one
PREVIEW_EDITcall with multiple operations when you want one combined preview.
action="APPLY_EDIT"
Apply a previously previewed edit.
Blueprint saves through
APPLY_EDIT, COPY_BLUEPRINT, and
CREATE_BLUEPRINT_FROM_THREADS run the lint and return any findings in
lint.findings; findings do not block the save. If the review cannot run, the
save is refused. These save actions record findings in the blueprint’s
lint_findings summary.
Tell the user about findings and offer their fixes; if a
finding describes an intentional design, record its rule ID in lint_ignore
on the phase, or under blueprint to apply to every phase. For the editor
workflow and manifest format, see Blueprint lint in the editor.
branding_tools
Read and update organization branding settings such as colors, logos, and design guidance. This group complements the Branding setup page.
confluence_connector_tools
Search and manage Confluence spaces, pages, and attachments. See Confluence for setup.
When connection is omitted, Genesis resolves the effective default confluence connection for the current user and bot (My default, then Role default). Genesis injects bot_id, thread_id, and user_id from the active conversation automatically. User OAuth (Cloud) connections act as the requesting user; the caller must be present in the active thread context.
When the acting user cannot use the resolved connection (for example a
personal connection owned by someone else),
confluence_connector returns
Success: false with a Suggestion explaining that the failure is a connection
access/permission issue, not invalid credentials. Ask the connection owner to
run the request in-thread, or see Connections for
sharing options.
connections_action_tools
Create, inspect, update, rename, test, remove, and resolve defaults for saved external-service connections. It is the agent-facing companion to the Connections setup UI.
connections_action
Successful
CREATE, governed UPDATE, RENAME, and DELETE actions are recorded on a
best-effort basis; see Connection change history in Setup → Connections.
RENAME changes the saved connection’s name in place; do not create a copy and
delete the old connection. Its credentials, sharing, defaults, and MCP tools
move with it. The result includes notes for follow-up work such as updating
saved work that still names the old connection ID or a User OAuth redirect URL.
See Rename a saved connection
for the UI flow and effects.
In Genesis dashboard chat, use SHOW_FORM for the supported types above when
the person needs to create a connection. The form asks whether it should be
personal or shared and, when shared, which roles should use it; the dashboard
tests and saves the connection with that scope and those role grants, then
reports whether it was created or the form was closed. Users without
manage_all_connections or share_own_connections can only save a personal
connection. A share_own_connections holder can share only a connection they
own and only with their own non-built-in roles. Do not
follow a completed form with CREATE. SHOW_FORM is available only in dashboard chat, not
Slack or Teams. In those workspaces, or for an unsupported connection type, use HELP and
CREATE with get_web_content(action="ask_user_for_secret"); its secure secret form also
works in Slack, but not Teams. See Connections — in-chat connection form
and Web Access Tools.
The form’s Ask Genesis sparkle provides field guidance; see that Connections
section for how people use it.
On direct CREATE, a caller with manage_all_connections can create a shared
connection without roles_with_access; the success response adds a
roles_needed message. Ask which roles should have access, then use
connections_action UPDATE with the connection name and roles_with_access
list. A share_own_connections holder must supply at least one of their own
non-built-in roles on shared CREATE. After a chat form is completed, the agent is told
which roles were selected; if none were selected, it is prompted to ask and
grant the roles with UPDATE. A caller with share_own_connections must choose
at least one of their own non-built-in roles; only manage_all_connections can
leave a shared connection with no role grants.
UPDATE verifies connectivity before persisting a supplied locator_json. A
failed verification leaves the saved connection and its secrets unchanged. The
verification uses the credential that the update will retain: with
secret_conflict_resolution="use_existing", Genesis opens the stored secret;
otherwise it opens the submitted value. Metadata-only updates without a locator
do not perform a connectivity check.
For an MCP connection, CREATE and UPDATE also make one tool-discovery request
to the server. Their successful response includes mcp_tools with registered
(boolean), awaiting_sign_in (boolean), tool_count (integer), and message
(registration message). When an interactive OAuth server needs its owner to sign
in, awaiting_sign_in is true and registration is pending, not failed; its tools
register after sign-in. A failed registration does not undo the saved connection;
startup replay can register its tools later. See MCP server connections
for the connection lifecycle, including deletion.
TEST resolves the saved connection using the current bot_id, so the result reflects the active agent’s RBAC, connection assignment, and secret-access rules instead of a generic backend-only connectivity check.
GET_DEFAULT returns scoped-default metadata for one connection type in data.connection_type, data.system_default, data.user_default, data.role_defaults, data.effective_default, data.effective_default_source, data.matched_roles, and data.ambiguous. data.system_default is always null (system/shared defaults are no longer supported). data.effective_default is the resolved default after user, then role layers only; when no scoped default applies, it is null.
LIST accepts optional connection_type, resource_identifier, and limit parameters. When connection_type is set to a value that is not in the connection registry, the tool returns success: false with an error message listing valid types — not an empty data array. Use LIST_TYPES first to discover supported types (including types with no saved connections yet, such as mssql).
LIST returns only connections usable by the requesting user and active bot. Each data entry includes non-secret discovery metadata: connection_id, credential_origin (connections_api or legacy_db), is_user_default, is_role_default, is_effective_default, effective_default_source, and any warnings such as oauth_authorization_required, oauth_grant_expired, or egress_pending_approval. The response also includes resolution_by_type, which reports the resolution state, selected connection id and source, and any conflicting_connection_ids for each returned type. With resource_identifier, LIST adds ranking without changing the base rows. ranking.matches contains native Connections API rows with score, reason, strategy, separate match_warnings and discovery_warnings, counts, and unique_exact_connection_id when exactly one warning-free score-100 match exists.
Connection summaries returned by LIST, GET, CREATE, and UPDATE include connection_id (the Connections API’s <type>.<name> identifier) and canonical_connection_id (the canonical identifier used to match the same connection across listings).
Connector tools that resolve connections use the same requester-aware checks. If an omitted connection cannot be selected, the tool returns a structured success: false response with error_code, resolution_state, connection_type, safe candidates, and retry.tool_parameter. Retry with the candidate’s fully qualified id (for example linear.team-a) or ask the user to choose one. An explicit id may also be supplied as the provider-prefixed form or its legacy bare name; an id with a different provider prefix is rejected.
FIND is a deprecated one-release compatibility alias for LIST with a resource identifier. It returns the same structured catalog and ranking data and does not open a card, suspend a thread, execute a provider action, or generate a continuation. Agents should use LIST and ask an ordinary conversational question for ties, sub-100 matches, or warning-bearing results. A unique warning-free exact match may be used only by a subsequent explicit read-only or idempotent provider call after disclosing the selected connection.
LIST, GET, and TEST apply the same connection-scope and secret-access checks as the Connections API: LIST omits connections the active user or bot cannot use, while GET and TEST return a not-found-style error for inaccessible connections. See Connections — Personal vs shared for the visibility and credential rules.
On a successful CREATE, data.owner_user_id is the owner recorded on the
connection and data.created_by is the recorded creator. The response also
includes attributed_to_another: false when the owner is the signed-in user,
and null when the connection names nobody. A connection created without a
signed-in user is displayed as unattributed; its internal system principal is
not a person and is never presented as one.
personal_credentials controls whether a shared connection may resolve a
user-attributed principal credential. Set it on CREATE or UPDATE; it is
returned by GET and LIST. Users bind or unbind their own principal through
the Connections page or the personal credential endpoints.
Background operations continue to use the shared/service credential.
SET_DEFAULT supports default_scope="user" or role. CLEAR_DEFAULT supports user and role. Role defaults require manage_all_connections, and Genesis only allows them on shared non-legacy connections that the target role can already access. default_scope="system" and is_default=true on CREATE/UPDATE are rejected.connections_action enforces the PAT-connection gate on CREATE, UPDATE,
and TEST. If locator_json resolves to a PAT-class connection (auth_type
of pat, api_token, or api_key, or an omitted auth_type with PAT-style
fields such as access_token), the requesting user must have the matching
access_pat_connections_<category> permission for the target connector
category (databases, git, cloud, pipelines, or tools). Otherwise
the tool returns:
Your role does not allow PAT-based tool connections. Use OAuth instead, or ask an admin to enable PAT capability for your role.connections_action applies the same admin-only runtime-identity
authorization as the Connections API for BigQuery application-default and
Databricks Lakebase and Iceberg App-identity connections. See
Connections — BigQuery,
Databricks Lakebase connections,
and Databricks App lakehouse connections
for fields and runtime behavior.LIST_TYPES omits unavailable authentication modes and
HELP skips them, so the agent does not suggest credentials the save would
refuse. This includes host-identity modes unavailable in the App and AWS/MWAA
assume_role without bootstrap access keys. The Connections UI instead keeps
these modes visible but disabled with the reason; see Connection mode chooser.
On
CREATE, UPDATE, and DELETE, pass connection fields as top-level
parameters (connection_type, name, locator_json, scope,
roles_with_access, access_intent, secret_conflict_resolution). There is
no nested updates object — unknown parameters return
Unknown parameter(s) for <action>: ... so callers can self-correct.request_databricks_access
In a Databricks App, ask Databricks to route a read-access request to the configured
approver after a query on genesis_databricks_app or genesis_databricks returns an
access_hint. Offer the request, but call this tool only when the user asks. The proposal
waits in Action Review for a person to approve sending it; the object’s approver then
decides in Databricks whether to grant access. See Databricks App access requests
for the identity and grant details.
Genesis supplies
user_id, bot_id, and thread_id from the current context.
action_review_request_status for its outcome. If Databricks refuses the request,
use the GRANT statements in the access_hint instead.
computer_use_tools
Observe and interact with apps the person explicitly approved in Genesis Desktop.
This persistent tool group is available only in a shell-owned Desktop session when
Computer Use is exposed and the person has opted in. The requested app must also be
approved and macOS permissions granted before actions can run. For setup, see
Advanced Settings — Computer Use.
Computer Use on Genesis Desktop is exclusive while a driver action runs. A
competing driver request is refused (status="refused",
error_code="provider_busy") and identifies the holder. The read-only
show_setup checklist is unaffected. Wait for the holder to finish before
continuing with another driver action.
desktop_computer_use
Additional action-specific arguments:
Use
launch_app with { "bundle_id": "..." }, then list_windows with the
returned app pid, and get_window_state with pid and window_id to inspect
the accessibility tree. get_window_state also accepts optional query and
since filters, or visual_query to capture that approved window and ask the
thread’s vision model about it. Visual reads return visual_observation with
the answer and image dimensions; the temporary image is deleted after analysis.
They make one metered vision-model call. click uses a current snapshot’s
element_token; type_text, press_key, and scroll take the relevant pid
and window_id plus the text, key, or direction and amount. Typing defaults to
background delivery. Set delivery_mode="foreground" to temporarily bring the
window forward for keyboard input; this requires a fresh window_id and either
a current element_token or fresh visual-read x and y coordinates. Pixel
typing requires foreground delivery. Use bring_to_front for that exact window
if activation fails, verify it succeeded, and read the window again before
typing. max_elements and max_depth optionally bound accessibility-tree
reads. Read the current state again after input and use fresh element tokens.
The tool returns the driver’s content and structuredContent, including observed
values. A visual read does not return the captured image to the conversation.
Example:
status="approval_required" with a presented approval-card payload; wait for the
person’s in-chat reply rather than treating typed approval as consent. A missing
macOS permission returns status="setup_required" with missing entries such as
accessibility and screen_recording; either result presents one in-chat setup
checklist for the requested app and permissions. show_setup re-shows that checklist
and returns state, missing, and app_approved after a read-only check; it grants
nothing, opens no settings pane, and sends no input. Its optional bundle_id must be
a specific app bundle identifier. The checklist reads current state and continues the
request after setup; the person follows its one next-step button rather than approving
the card. Other refusals return a status and reason.
Input is not retried automatically: after a disconnect, read the app again before
deciding whether to repeat an action. Never use another tool to bypass an app
approval or permission. Use browser tools for websites and local file tools for
files.
dataset_tools
Create, refresh, materialize, and delete datasets that support fast, governed data access for apps and analytical views.
When an agent’s dataset operation creates, changes, or removes a refresh schedule,
Genesis records the change with the agent attribution in the admin audit
log. Unchanged
schedules are not recorded.
With authentication enabled, a reader may refresh a dataset, but only its owner or
an administrator may change its definition or delete it. See
Dataset permissions.
Use inline_data only for tiny toy examples or a few hand-authored rows. Genesis caps inline_data.rows at 50,000 rows, and those rows still pass through LLM context. For synthetic or other bulk data, generate files first, load them into workspace_sqlite with _load_to_sqlite, then define the dataset with source_type="sql" and connection_id="workspace_sqlite".
For a LiteLLM proxy’s spend over time, dataset_tools also accepts the
litellm_admin source. Its descriptor, filters, paging limits, and refresh behavior are
documented in Datasets.
Built-in Cost & Usage cube
Genesis ships a protected system datasetgenesis_cost_usage_cube_v1 and the
genesis_cost_usage_dashboard app. The preset materializes three system-metrics
sources:
Twin scan rows are read from
SCAN_USAGE_FACTS, which the background
twin_scan_cost_sync job populates on a schedule. Dataset refresh does not run
that sync — it only materializes rows already in the cube store.
The dashboard’s Top Threads by Known Spend section groups threads by
instance and thread and includes LLM and metered-service spend. It shows
unpriced and unknown-price call counts when pricing counts are complete; known
spend with incomplete pricing is shown as a lower bound, and spend with no
known price is unavailable. The section reads the materialized cost cube, so
new data appears after the next dataset refresh (the preset’s default schedule
is @hourly). Provisioning moves the previous @daily default to @hourly and
preserves a different schedule an administrator configured. See the API
reference for the thread-spend view
for its aggregation and fields. The thread table shows the view’s conversation
and background token split, and the Usage filter groups conversation rows
under Conversation while offering other categories by name. The Refresh
button asks Genesis to rebuild the cube (administrators only), and Data as of
reflects the last successful snapshot; see Datasets
for how a running or failed refresh affects that timestamp. When the built-in
system-metrics source reaches its row cap, it retains the newest rows. A split is unknown on snapshots
that predate these fields, and the dashboard shows an em dash until a refresh.
Scan-cost views on the preset:
SUM(cost_total_usd) ignores NULLs, so unpriceable scan rows stay visible in
token totals without fabricating zero-dollar cost. The dashboard Scan Cost
tab renders these views.
default_cost_usage_cube_create_tool
Create or update the built-in Cost & Usage cube preset and return
dataset.<dataset_id> connection info plus an app_binding for
genesis_cost_usage_dashboard.
Example:
run_as_user_id is not an agent-tool parameter. See Datasets
for how dataset tools use the requesting user’s permissions.
cost_tools
cost_action reads the same cost and metrics services as Pulse. It is read-only:
it does not change budgets, caps, or other controls. The signed-in person needs
ACCESS_PULSE_PANEL; gap_ledger additionally needs ACCESS_CONFIG_PANEL. The
calling agent also needs ACCESS_PULSE_PANEL through its roles. Eve has this through
the built-in admin role; grant another agent a role with Pulse access before it can
use the tool.
For example, an administrator can ask Eve to run
cost_action(action="summary", preset="30d") for the last 30 days;
cost_action(action="active_users", start_date="2026-10-01", end_date="2026-10-31")
counts activity for the UTC date range. For the UI and the meaning of spend totals,
see Pulse Monitoring.
dataset_delete_tool
Delete a dataset, with a confirmation step when the dataset is still bound to one or more apps.
Genesis blocks deletion of built-in system datasets. When a dataset is still bound to apps,
dataset_delete_tool returns bound_app_count, bound_apps, and a confirmation hint instead of deleting immediately. With durable storage, Genesis removes remote snapshot copies before deleting the dataset record; a failed removal leaves the dataset intact. If an active refresh holds its lock for over 30 seconds, deletion returns a retryable busy error.
Only the dataset owner or an administrator may delete it; protected datasets and
app-binding confirmation still apply. See
Dataset permissions.
Example:
flow_tools
Create and manage Genesis Flows: lightweight deterministic SQL and Python workflows that run on demand or on a schedule. Flow runs are not the full chat agent loop; optional Python-step calls to genesis_flow.llm.ask route through Genesis model settings and bill like other base LLM usage. For the customer-facing workspace, see Flows.
flow_action
Use this function to create, list, inspect, run, update, delete, schedule, and validate flows.
Own-item RBAC.
When
SCHEDULE, DELETE, REVERT, or PROMOTE changes a Flow’s scheduler entry, see Schedule-change audit entries for its audit trail.
For how overlapping Flow schedule writes are reconciled, see Programmatic schedule updates.
For what happens to scheduled ticks when a Flow is paused, see
Flows.
To review a waiting change, first preview it, then pass its fingerprints back
unchanged when promoting:
CREATE, UPDATE, RUN, REVERT, PROMOTE, PROMOTE_PENDING, FORK_TO_STANDALONE, DELETE, SCHEDULE, and CANCEL_RUN refuse unrecognized keys in params; the response lists unknown_params and accepted_params, and nothing changes. UPDATE’s steps replaces the entire list rather than merging it: GET the flow first, then send every step it should retain and any new steps. The response includes step_count_before when the prior list is readable and always includes step_count for the replacement.
Flow runs started from a chat report terminal results back to the launching
conversation; see A run started from a chat reports back to it
for delivery timing and payload details.
When RUN starts a flow from a conversation, its response includes notify: true
and a next_step telling the agent to continue with other work; the run reports
back on the next tool result or as a new turn when the thread is idle. For a run
without a launching thread, notify is false and next_step directs the agent
to read the run with GET_RUN. External MCP and /api/tool_call callers also
receive notify: false; see the Flow run delivery guidance.
Treat wait_for_completion as a last resort for
short waits when the outcome is required before continuing, not as the normal
polling path.
See Flows for the
bulk_copy step’s external-target recipe, supported connection types, transfer
limits, and Snowflake Parquet timestamp handling. CREATE and UPDATE reject a
bulk_copy definition unless it has a source (query or source_table) and an
output target that can accept a whole relation.
See Flows
for step timeout, concurrency, cancellation behavior, and external-write result
semantics, including the guarantee that a copy stopped before its final target
statement leaves the target unchanged.
That section also documents the values_nulled result field for SQLite empty
strings written as NULL, and the numeric-column outcomes reported by bulk copy.
Successful CREATE, GET, GET_VERSION, UPDATE, REVERT, and
VALIDATE_DEFINITION responses include definition_sha256: a canonical
SHA-256 fingerprint of the portable execution fields (description,
parameters / parameters_schema, steps, on_failure, tags, and
schedule when present). The hash excludes the instance-local Flow name so
you can compare a reviewed candidate to the definition you are about to apply,
revert, or promote without name drift.
SYNC_FROM_REPO runs in the active bot context, so the same managed repository
can hydrate separate Flow records for different bots. Managed source include
/ exclude selectors narrow which flow artifacts SYNC_FROM_REPO enables.
Flows that no longer match are retired on sync:
disabled, cron schedule removed from the scheduler, and managed dependency rows
cleared. Genesis retires only flows this source created (managed_sync:<source_id>);
a local flow with the same name stays enabled and scheduled.
For flow_action SCHEDULE, cron strings may contain exactly 5 fields in
minute hour day month day_of_week order or one of @yearly, @annually,
@monthly, @weekly, @daily, @midnight, and @hourly. Shorthands are
case-insensitive and ignore surrounding whitespace; @reboot is not supported.
If you pass a structured Flow cron trigger instead of a cron string, use
minute, hour, day_of_month,
month, and day_of_week; Genesis normalizes day_of_month to the
scheduler’s day field when it syncs the saved Flow schedule.
For sandbox-backed Python steps, params.steps[*].sandbox_backend_options can also include saved target_env and security_profile names created through sandbox_env. At execution time Genesis merges those settings in this order:
target_envdefaultssecurity_profiledefaults- explicit
sandbox_backend_optionsvalues on the step
credential_name, namespace, or other backend-specific options. A typical step fragment looks like {"execution_target":"sandbox","sandbox_backend_options":{"target_env":"railway-analytics","security_profile":"analytics-reader","credential_name":"railway-prod"}}.
When you declare flow input parameters, use either parameters_schema or the
equivalent parameters alias. In either form, each entry can be a simple type
alias or a full object such as {"n":{"type":"int","required":true},"flag":{"type":"bool","default":"true"}}.
For one-shot model work inside a Flow Python step, use
genesis_flow.llm.ask(...). model_tier and provider are optional;
omitting them inherits the flow authoring thread defaults when available and
otherwise falls back to the flow bot’s default tier/provider resolution.
Legacy model="fast", model="main", and model="frontier" still map to
tiers, and the helper returns result.output plus result.usage with the
resolved provider/model details. Use forward calls when downstream steps
or branches must parse the model output; use side-channel calls for
optional narrative or audit text that must not gate the pipeline. The built-in
app-flow-llm-usage AgentSkill documents the same pattern for Genesis Apps.Flow SQL steps cannot persist namespace-level
CATASTROPHIC operations such
as DROP DATABASE, DROP SCHEMA, DROP CATALOG, or CREATE OR REPLACE DATABASE/SCHEMA/CATALOG. Flows run unattended and cannot provide the
interactive user_override these operations require, so run those statements
as one-off _query_database calls instead.inspect_flow_failure
Inspect the persisted execution evidence for a failed Genesis Flow run. Call this
before making any causal claim when an alert supplies a run ID, asks for
root-cause analysis, or reports that a pipeline exhausted retries.
On success, returns
success: true with evidence (run/job/task identities,
historical task definition, bounded preceding-step evidence, connection identity,
retry exhaustion, timestamps, error log, repository/orchestrator pointers),
inspection_receipt (thread-scoped receipt stamped in the current thread),
required_citations (exact label=value strings to copy into finalization),
and existing_outcome (any prior RCA outcome on the run, or null). On
failure, returns success: false with error.
For failed steps that write to external targets, the persisted error log uses
the masked or withheld form described in Flows → Inspect a flow or run,
including recognized quoted target column names while target values remain masked.
For ordinary Flow CRUD or successful run status use flow_action instead.
After correcting the Flow, use run_flow_rca_verification for durable
completion; use record_flow_rca_outcome for staged work or manual recovery.
If a downstream tool reports a missing or mismatched receipt, call this again in
the same thread.
run_flow_rca_verification
Finish an inspected Flow RCA with verified correction and durable evidence in
one combined operation. This tool runs (or reuses) a linked rca_verification
Flow run on a newer Flow version, then atomically persists the corrected RCA
outcome and protected gold record. If protected gold already exists for the
failed run, Genesis returns the canonical outcome without re-running verification
or overwriting the protected record.
Prerequisites:
- A matching
inspect_flow_failurereceipt in the current thread. - The current Flow version must be newer than the failed run’s version.
evidence_citationsmust include every value fromrequired_citations(run ID, task ID, connection ID, error-log SHA-256, Flow version, retry exhaustion, attempts, and repository or flow-store version pointer).
success: true with task_durably_complete: true,
failed_run_id, verification (linked verification run ID, status, Flow
version, timestamps), gold (gold_id and status), canonical_evidence_citations,
already_completed (whether protected gold already existed),
verification_reused (whether an existing completed verification run was
reused), thread_context_persisted, and next_action (instructions to restate
the cited result in the next assistant message). On failure, returns
success: false with error and may include run when verification execution
failed.
Prefer this tool for normal corrected completion. Use record_flow_rca_outcome
only for staged work or manual recovery when a completed linked verification
already exists. Do not call record_flow_rca_outcome after a successful terminal
receipt from this tool.
Example:
record_flow_rca_outcome
Preserve a staged Flow RCA or manually recover corrected finalization. Use this
after inspect_flow_failure when correction cannot yet run and you need to save
an exact staged next action, or when a completed linked verification already
exists and the combined finalizer needs manual recovery.
On success, returns
success: true with outcome, protected_gold (present
only for corrected outcomes backed by verification; null for staged),
already_completed (whether protected gold already existed), and
thread_context_persisted. Staged outcomes update the run’s rca_outcome but do
not create protected gold. On failure, returns success: false with error and
may include required_citations when citation validation fails.
For raw evidence use inspect_flow_failure; for ordinary Flow work use
flow_action. Prefer run_flow_rca_verification for normal corrected
completion.
feed_metadata_review_tools
Review a proposed feed_metadata onboarding row against its source, intermediate
silver, and BigQuery publish contracts before human approval. The review is
offline and uses only the row, mapping evidence, runtime type overrides, and DDL
supplied in the call; no configuration or connection is required.
review_proposed_feed_metadata
Use this tool when authoring or reviewing a feed mapping, especially when the
migration includes source-to-target casts, audit fields, data-quality rules, or
SAP identifiers. Supply source declarations and rule evidence separately in
mapping_rules; the proposed row is not treated as proof of its own behavior.
The result contains:
valid—trueonly when no blocking contract errors are found.findings— errors and unresolved-evidence warnings, each withcode,severity, anddetail.stages— the intermediate silver business type (STRING) and the typed BigQuerypublish_schema.ready_for_parity_claim— alwaysfalseuntil independent source behavior is proven; missing RCTL records or stored-procedure behavior must be supplied by a source owner.
inferSchema or cloudFiles.inferColumnTypes enabled, non-empty schemaHints or
cloudFiles.schemaHints, and DECIMAL or NUMERIC types without precision.
The SAP identifiers REQUESTID, MATNR, WERKS, MEINS, EBELN, EBELP,
VBELN, and VBELP must map to a STRING publish field with a preserve cast;
feed-rule artifacts additionally require both source and target types to be STRING.
A CSV or TSV reader, directly or through
cloudFiles.format, whose mode is not FAILFAST must also provide evidence in
mapping_rules that short rows are routed to the error table:
evidence or pilot_assumption with non-blank reviewed text. The
guard is evidence checked by the review tool; it does not configure the reader or
route rows at runtime. Without FAILFAST or valid guard evidence, the review
reports a blocking finding because short rows may be null-padded or dropped
without being counted.
propose_feed_metadata_from_mapping
Use this tool to draft a reviewable feed_metadata row from a separately
reviewed mapping manifest and a pinned target template. It derives the row and
column override changes, preserves provenance, reports explicit unknowns, and
runs the feed contract review. The result is a proposal only: its
approval_status is always pending_human_review.
The tool validates the template pin and mapping provenance before proposing
changes. Each operative template cast for a publish field needs an evidenced
retain, replace, or remove disposition; generic overrides for absent
columns are derived from the difference. Missing pin, provenance, or required
override evidence raises a validation error. Do not fill missing cast,
data-quality, default, or exception rules from sample rows.
The result contains:
rowandcolumn_overrides— the proposed feed row and runtime type overrides.row_diffandoverride_diff— changes from the target template, with provenance and override dispositions.row_provenanceandoverride_provenance— evidence references for proposed values.unknownsandreview— unresolved behavior and the existing feed contract review.approval_status,template_sha256, andmapping_review_ref— review state and proposal provenance.
azure_data_tools
Read Azure Blob Storage and query Azure Data Explorer (Kusto) using the calling
user’s delegated Azure sign-in. The named connection must be an Azure Sign in
as each user (user_oauth) connection, and its storage_accounts or
kusto_clusters list must allow the requested account or cluster. The caller’s
Azure roles still decide what can be read. See Azure connections
for sign-in, host allowlists, and required roles, and the Azure data access
guide for usage overview.
Both operations perform a connection/grant lookup and an HTTPS request, with at
most one token refresh and retry after HTTP 401 for each request. An offset-zero
Blob read that receives HTTP 416 also sends one metadata-only HEAD request to
confirm an empty blob. They are read-only; there are no Blob write/delete or
Kusto management actions.
azure_blob_read
List containers, list one page of blobs, or read a bounded byte range. Lists
return items, an opaque continuation marker and truncated; pass the marker
to read the next page. A read returns bytes_read, total_bytes, offset,
content_type and truncated. UTF-8 text of an allowed text MIME type up to
32,000 bytes is returned inline as content; binary or larger results are
stored as a file in the current conversation. The returned file contains only
the requested range, capped at 10,000,000 bytes. A nonzero offset requires
the Blob service to honor the byte range.
azure_kusto_query
Run local read-only KQL against a configured Azure Data Explorer cluster, or
inspect a known table’s columns with table_schema. Returns tables with
column names/types and rows, plus truncated, partial_failure, cancelled
and elapsed_seconds; a partial failure preserves any rows returned but has
success: false. KQL commands, settings, plugins and remote entities are
refused. The management endpoint and list_tables are unavailable; provide a
table name directly. Results are bounded by max_rows (up to 10,000) and
server-side response and time limits.
gcs_tools
Google Cloud Storage (GCS) object storage: list buckets, list objects, download
objects, and preview small text objects using a saved Google Cloud (gcp)
connection. It accepts either a service-account key or runtime-identity
credentials, and is the GCS analogue of the S3 read path in aws_action. Runtime
identity is read-only here. See Google Cloud connections
for setup and IAM requirements.
gcs_action
Use this function to list buckets, list objects in a bucket (optionally by
prefix), download one object into the bot git repo, or preview a small text
object inline. Start with list_buckets or list_objects to confirm
authentication before downloading.
Actions
On success, responses include
success: true plus action-specific fields. On
failure, responses include success: false with an error string. A Google
HTTP 403 also returns status: 403 and the needed IAM permission; see the
connection setup for
the permission each action needs.
Example:
gcp_secrets_tools
Store and retrieve secrets through GCP Secret Manager using a saved Google Cloud service-account connection. Secret references can also be passed to external deployment tools such as gcloud.
gcp_secrets receives bot_id and thread_id implicitly from the acting agent
context and user_id implicitly from the requesting user context. Its
page_size parameter is an integer with default 50 and controls the number of
results returned for list actions.
genesis_enhancement_tools
Create, synchronize, and package Genesis enhancement or support requests, including automatic CREATE_REPORT submission when configured, plus offline ZIP-based exchanges.
genesis_enhancement_action
Use this function to create, inspect, update, submit, and synchronize Genesis support or enhancement reports. For support workflows, CREATE_REPORT can export a thread, attach the resulting bundle directly to the report, and return a delivery object that tells you whether Genesis actually submitted the ticket.
The requesting user’s identity is supplied implicitly for report attribution;
see the Genesis Enhancement API report fields.
See report access rules.
When no reporter can be verified for a report filed on someone’s behalf, the filing agent can
still reach and follow it up from another conversation. A person-driven UPDATE_REPORT,
SUBMIT_REPORT, or ADD_FEEDBACK must come from the person whose request filed it; the filing
agent’s own turn can also make those changes. Bundles, logs, and attachments remain available
only to the report’s reporter or a report manager: otherwise the tool withholds attachments and
returns attachments_withheld or bundle_withheld. The saved report itself can still be sent
with SUBMIT_REPORT on the filing agent’s own turn or by the person whose request filed it.
Key parameters
For support
CREATE_REPORT, Genesis reuses an open report from the same
conversation or about the same connection_name instead of creating another.
When a diagnosis_signature is supplied, the existing report must also match
that failure. The response identifies a sent report as already_reported and an
unsent one as reused_report, with a next_step; it may submit an unsent report
again when auto-submit or the person’s confirmation allows it. Finding an open
report costs one report-store read and, when found, one write to record the request.
ADD_FEEDBACK reports whether a note was added to the downstream Linear issue
with comment_posted; comment_error explains why it was not. A
comment_unconfirmed: true means the post was not confirmed and the note may
already be on the issue, so do not resend it. A note is requested as an issue comment only
when scrub_bundle_enabled is on (the default); when scrubbing is off, feedback
stays with Genesis Support. SYNC_STATUS returns status_checked and
team_replies, oldest first. If the receiver could not be checked, the replies
are the ones stored by an earlier sync; relay the newest reply as found and say
that newer replies could not be checked.
For CREATE_REPORT and BATCH_CREATE_REPORTS, requested_by is recorded in
the ticket body when it names someone other than the turn’s user or the poster
of a relayed Slack reply; an unverified name is not treated as a reporter
identity. If it names the turn’s own person or that reply’s poster, the ticket
is attributed to that person. On a turn woken by mail, provide requested_by
unless the mail carries one Slack reply’s poster, whom Genesis can credit
automatically.
If the tool has an active thread context, omitting attach_thread_id auto-attaches that thread. attach_thread_id="current" forces the same behavior explicitly.
When report attachments are created, the report payload includes an attachments array that the Support and Enhancements UI exposes as downloadable files.
Successful CREATE_REPORT, UPDATE_REPORT, and most SUBMIT_REPORT calls can also include a bundle object for the scrubbed support ZIP and its delivery affordances. The ZIP contains report.md, report.json, scrub_manifest.json, and any attached artifacts collected for the report. When bundle scrubbing is enabled, Genesis redacts supported text artifacts before packaging and leaves binary attachments unchanged. download_url is returned as a root-relative Genesis link on the current origin, resolving as /api/git/... in standalone and local deployments and /git/... in SPCS.
UPDATE_REPORT always regenerates bundle from the current report content after a successful update. SUBMIT_REPORT also attaches a fresh bundle when delivery did not succeed online (queued_offline, send_failed, receiver_not_configured, and similar outcomes) so manual follow-up links reflect the latest report. When SUBMIT_REPORT returns success: true with mode: online, Genesis omits a redundant local bundle because the receiver already received the artifacts.
For generated email affordances, titles longer than 120 characters are clipped at a word boundary and marked with an ellipsis in the subject only. The report body includes the full title.
Successful
CREATE_REPORT calls also include a delivery object that reports the actual submit outcome instead of implying the report was queued.
When
delivery.status is submitted, share delivery.ticket.ticket_url if it is present and stop there. Otherwise quote delivery.message, then offer eml_link, mailto_link, and download_url in that order. download_link is the Markdown-formatted equivalent of the final fallback.
GET_SETTINGS returns the current enhancement settings, and UPDATE_SETTINGS accepts a partial settings object. Bundle-delivery fields in that object are:
GET_SETTINGS, UPDATE_SETTINGS, EXPORT_ZIP, and IMPORT_STATUS_ZIP require
access_config_panel; manage_genesis_enhancements does not grant access to
deployment-wide settings or bulk report operations. Without the required
permission, the action is refused before settings are read or changed. If the
permission check is unavailable, the tool returns a temporary error and asks
you to try again shortly.
Omit a field in
UPDATE_SETTINGS to keep the currently stored value.
When UPDATE_SETTINGS changes autosend_enabled from false to true, its
response includes queued_report_ids for reports already queued. Enabling
autosend does not submit them immediately; the next SUBMIT_REPORT sends a
queued report using its retained delivery mode.
Example:
delivery so the caller can tell the user whether the report was submitted or still needs manual follow-up.
discard_enhancement_report
Use this tool when a support or enhancement ticket was filed in error and has not
been sent to the vendor online. It accepts reports with status draft, queued, or
send_failed. A report handed over in an offline export may already be with
the vendor; if it later returns with the vendor’s status, it cannot be discarded here.
Discarded reports remain as records with status
discarded and the discarder’s
identity, time, and reason. They stop appearing in report lists, summaries, and
unsent exports; LIST_REPORTS with status="discarded" can still retrieve them.
Discarding the same report again changes nothing. Reports already sent to the vendor
are refused; use genesis_enhancement_action with ADD_FEEDBACK to explain why a
sent report is no longer needed, or UPDATE_REPORT to correct its content.
The caller needs access_config_panel to manage any report, or
manage_genesis_enhancements to discard only a report they filed. A successful
call returns success, report_id, title, status, and the discard
details. A refusal returns success: false with an error.
Each call reads the report store once; the first successful discard also performs
one atomic rewrite. Repeated discards and refusals do not rewrite the store.
Example:
Genesis Support Agent tools
The Support Agent uses these tools to understand a failure or the conversation that led to it.read_recent_chat and get_failure_diagnosis are in
genesis_enhancement_tools; record_failure_diagnosis and genesis_source are
in gennie_tools. These are Support Agent capabilities, not general-purpose
tools for other agents.
read_recent_chat
Read the latest messages from the person’s earlier chat before replying in a
Support conversation. Genesis checks that the person may open that chat, omits
hidden content and tool payloads, and returns messages oldest first. Each text
is limited to 800 characters; the result can include a failure signature to
pass to get_failure_diagnosis.
Cost: one thread-service read. Example:
get_failure_diagnosis
Use this when the Support context names a failure signature, before asking the
person what happened. Set diagnose_now=true when the result says manual to
have the Support Agent investigate. The request may be refused by the shared
per-person or per-server hourly limit, or the server-wide daily limit; in that
case diagnose_now_refused says why and when the person can try again. These
limits also apply to Get help with this. See the
diagnosis API contract
for the person-facing response fields; the tool can also include a technical
explanation for admins and power users.
Cost: store and thread-access reads;
diagnose_now=true also writes one
request-admission record and runs one Support Agent turn with LLM calls, which
the tool waits for. The requested-diagnosis limits and turn cap are documented
in Support Agent configuration.
record_failure_diagnosis
Record the Support Agent’s diagnosis at the end of the hidden diagnosis task.
The server accepts it only from the Support Agent in the active diagnosis thread
for that signature.
Returns
success: true, or success: false with a validation or authorization
reason. Cost: one write of a small file.
For example, use severity="high" when the person is blocked with no workaround;
omitting it records the default medium.
genesis_source
The Support Agent can search, outline, and read the Genesis source shipped with
the running server to explain behavior. Source and logs are for the agent’s own
understanding; it must answer people in plain language without quoting or naming
code. Log and error-reading actions are limited to admins and power users, or a
hidden failure-diagnosis thread. In that thread, the tool returns only structured
JSON records attributed to that failure’s request, person, and agent, around the
time it occurred; errors includes records with level ERROR or CRITICAL,
or an exception. The optional
pattern can narrow logs, but since, include_rotated, context_lines, and
log_level do not widen or change the diagnosis scope. Only the current log is
read. If the log is text-formatted or contains text lines, no records are
returned; enable JSON logging with GENESIS_LOGS_FORMAT=json as described in
Server log search configuration.
This tool does not grant access to customer data or connected systems.
Thread goal tools
Two tools, carried by the always-availablecontext_tools group: get_thread_goal and
declare_goal_turn_status. Use them on a thread pursuing a goal to report where the
goal stands and to close it.
Goal mode has no checkers. Every item on a goal’s finish line is attested by the
agent pursuing it: an item reads met because the agent declared it met, and a goal
reaches met when every item does. Nothing else closes one. A blueprint phase
separately enforces its own exit_criteria at its exit gate, so declaring an item met
does not get a phase past a deliverable it is missing.
A thread that is pursuing a goal carries an ACTIVE GOAL ON THIS THREAD block in the
agent’s context, re-rendered every turn and beside every tool result. No block means
no goal, so neither tool is the way to find out whether one exists; a thread with no
goal is told nothing at all about goals, and calls on such a thread are refused.
get_thread_goal
Reads the goal and how far along it is. Takes only the implicit bot_id and
thread_id, and returns:
declare_goal_turn_status
Declare where the turn left the goal, before finishing any turn on a goal thread —
including a turn where nothing worked out. A turn that declares nothing counts as a turn
that made no progress. After declaring, tell the person where things stand rather than
ending the turn on the declaration.
A turn is one reply to the person, not one tool call. You can declare more than once in a
turn; the last declaration stands. If one reply crosses multiple blueprint phases,
declare for each phase before leaving it. Item IDs from a phase are refused after the
mission has left that phase, so do not wait until the end of the reply to declare them.
Questions in
questions_for_person are queued for the person while the agent carries
on. They do not pause or end the goal. awaiting_person pauses it until the person
replies, and resumes it on that reply. Mark an item blocked only when a reply on this
thread cannot move it: leave the item unmet and use awaiting_person when the person
can move it by replying or acting here. A blocked item ends the goal, though a
person’s next turn or a later declaration with no blocked items can revive it.
get_thread_goal reports the previous block in revival after that happens.
A choice object has required question and options fields; options contains
at least two short answers. Optional recommended must copy an option’s exact
text and is omitted for a genuine toss-up. Optional reason is one plain
sentence shown beside the options. Preserve optional
records_answer: {diff_hash, ask_id} and
waives_check: {proposal_id, mission_id} objects from the corresponding Prover
ask or waiver card so the person’s answer is recorded correctly.
On a Mission, awaiting_person must leave the person a question to answer. With this stance,
questions_for_person=[] is treated as omitted and keeps the queue as it stands; if there is
no queued question, ask in the reply’s QUESTION block or queue the question here. An open
decision on this thread’s Prover Decisions waiting on you card is answered on
that card, not re-asked in questions_for_person or in the agent’s reply. If this call queues
a duplicate (identified by its records_answer reference or matching question), the response’s
prover_card reports it under not_queued_here and queues one pointer to the Prover card
instead. It also reports the card’s open_decisions; when the card cannot be read, the queue
is left as declared. The read costs one thread run-span query, then one run read and one
decision-resolution read per human-mode spec-author run in the thread.
A queued question that matches a decision already answered on one of those cards
is removed from the queue, including when the question was already standing before
this call. If a decision remains open, the queue points to its card rather than
asking it again; when a card read fails, the existing queue is preserved.
When work goes on while a queued question or an open Prover-card decision has a recommended
answer, the response includes going_ahead_with_recommended and directs the agent to say
that sentence in its reply. This is returned for progressing, awaiting_run, or
awaiting_agent while the goal remains open; see [Prover decision-card guidance]
(/docs/Genesis-Prover/Agents-And-The-API#open-questions-and-provider-faults) for how the work
uses the recommendation and how a later different answer is handled.
When this declaration queues questions and the Genesis address is configured, its result
also includes thread_url, a direct link to this conversation where the person can answer
the question card.
Goal mode also checks the seat-run notices delivered to this conversation. If the latest
seat run it was told about was commissioned autonomous, awaiting_person and a non-empty
questions_for_person are refused on product-started turns. A later human-mode seat run
leaves the usual wait behavior in place. Pass questions_for_person=[] to withdraw a
question queued on an earlier turn. See the [Prover’s autonomous-seat guidance]
(/docs/Genesis-Prover/Agents-And-The-API#reporting-a-completed-run) for turn-origin and
question-resolution rules, including how to handle a later Adjudicator question.
This additional check runs only when an unattended turn tries to wait on a person. It
scans stored message metadata for the thread and, when that identifies runs, reads their
Prover ledger records in batches of up to 500 IDs; it reads question resolutions only when
an autonomous seat run has unresolved questions.
Use a choice object when the person must make a ruling or other selection. After an
answer, remove that question by declaring only the remaining questions; it stays in the
queue until withdrawn. For example:
awaiting_run is an asynchronous job the agent started that is still running and will
wake this conversation when it ends, while awaiting_agent is another agent owing it an
answer. With awaiting_run_id, only that run can satisfy the wait, and it must still be
running with a wake set for this conversation. Without an ID, another run this conversation
is waiting for can satisfy it; if none is still running, the latest run reported here is
checked. A finished run is refused because nothing would take the goal back up; read its
result and continue from it instead. finished says the agent has nothing further to do —
with every item met that closes the goal, and with items still open it leaves the goal
for the person rather than being nudged again.
For example, pass the run ID returned when starting the asynchronous work:
awaiting_person; it resumes it.
For a goal that ended blocked, the person’s next turn revives it as well. If that
blocked ending remains in effect, do not declare the same item blocked again: that
declaration is refused. Instead, report the currently true stance and statuses without
marking an item blocked, or tell the person what still needs to happen outside this
thread.
When the write is refused after the goal has been read, the error explains what was
rejected and appends a reminder that nothing was recorded and the turn currently counts
as no progress. An unknown item error also lists the goal’s valid item IDs. Fix the
named issue and call again in the same turn before finishing.
When the projection shows that a declaration ends a whole goal (met, failed or blocked),
the response includes end_your_turn and directs the agent to finish its reply without
calling more tools. On a later call in that same turn, if the turn was not started by a
person’s message, the declaration is refused and its error directs the agent to end the
turn. This rule does not apply to phase-scoped goals, whose phase still needs its exit
call, or to a turn started by a person’s message.
If the goal changes while the declaration is being recorded, the call refuses it rather
than restoring the earlier goal state; call get_thread_goal and declare against the
current goal. A write blocked by concurrent thread updates is retried up to three times;
if all attempts are blocked, declare again.
success, declared, explanation, and the projected
outcome. The declared field echoes the accepted stance and criterion_status; the
explanation notes that the declaration is parked until turn end. The declaration
is recorded against the current turn and applied to the goal when the turn ends; until
then, a goal block rendered during that turn still shows the state before the
declaration. When the projected goal remains open, the response includes your_reply
when this call declares a waiting stance or queues questions. For a waiting stance, it
tells the agent to finish any other required actions, then end the turn with its ordinary
reply; do not poll, re-declare or wait merely to hold the turn open. Declare again only
to correct the declaration or report genuine new progress. In a blueprint phase, if its
finish line is met, call PROCEED_TO_NEXT_PHASE or EXIT_PHASE before ending the turn.
When questions are queued, your_reply directs the person to the goal chip: questions
with options are answered there in one click, while plain questions are answered in chat.
It also tells the agent not to repeat option questions as a list or ask for typed answers
when all queued questions have options. On Slack or Teams, which have no goal chip, the
agent asks each question in one short line with its recommendation. For the person’s view
and one-click answer flow, see
Thread goals in chat.
Declare finished items as you complete them: declarations from separate
turns accumulate on the goal. If you call more than once in the same turn, the later
call replaces the earlier one, so repeat every ID you still want applied. Each
declaration is parked against the goal bound when it is made — in a blueprint, the
active phase. finish_line_after_this maps every finish-line item ID to its status
after the declaration is reconciled. goal_after_this gives the goal’s projected
status, verdict and resulting questions_for_person queue. For a goal covering one
blueprint phase the shape differs: there is no status key, because a phase-scoped
"status": "ended" was read as the mission ending while the phase was still open. That
shape carries scope and holds_if, plus phase_still_open (always true),
you_still_owe (the call that leaves the phase), phase_finish_line (where that
phase’s finish line lands), goal_record_status (the lifecycle word status would have
held), exits_phase and phase_ends_when: exits_phase is always false, because
declaring that the finish line is met ends the goal, not the phase. The phase remains
active until you call PROCEED_TO_NEXT_PHASE or EXIT_PHASE; on the blueprint’s last
phase, that call also completes the run. The phase still enforces its own exit criteria
at the exit gate. Entering another phase binds a new goal and discards a declaration
parked against the previous one. The projected status and verdict include whether the
goal is paused; use get_thread_goal when you need the committed record mid-turn.
If the turn outcome cannot be judged, the declaration is still recorded, but the
response returns projection_unavailable instead of the projected fields. Call
get_thread_goal to read the goal’s current state.
Declare for a blueprint phase before leaving it; its item IDs are no longer valid after
the transition. Only the declaration for the goal still bound at the end of the reply
is applied, so a reply that crosses phases reports the last phase. Do not call
declare_goal_turn_status in the same parallel batch as PROCEED_TO_NEXT_PHASE or
ENTER_PHASE: whichever call lands first determines which phase the declaration
applies to, and a batched finished stance can close the goal before the phase-exit
gate runs.
The nudge budget
A goal-mode thread is carried on by a nudge: when a turn ends with the goal unfinished and nothing being waited on, Genesis sends the thread one message asking for the next step. Only aprogressing stance is nudged; other stances indicate that
carrying on is not what is missing. The per-progress ceiling defaults to three nudges
without progress (goal_mode.max_nudges), and resets when the agent reports progress.
A new status normally counts as progress even when it rewords the same failing step. With
decision.junctures.goal_progress set to on, an eligible turn does not clear this
ceiling only when the decision model is sure the status is neither new progress nor a
different failing step. The setting starts in
shadow, where the existing goal-mode rule still decides; see Decision models.
A separate lifetime backstop defaults to 50 total nudges for the phase
(goal_mode.max_total_nudges) and is never reset by progress. Reaching either ceiling
stops nudging and leaves the goal open for the person — it does not end the goal or
discard the work. The limits apply to newly created goals; a running goal keeps the
limits it started with. A quiet check-in queued behind an active turn is checked again
before delivery; unlike a nudge, it remains wanted while the goal is waiting on a run or
another agent. See Goal mode limits
for configuration details, the separate quiet check-in cadence, and when a commissioned
run’s fresh heartbeat defers escalation.
On a blueprint’s last phase, the nudge also accounts for machine-checkable exit criteria;
see Goal mode transitions.
Product-woken goal turns, including nudges, retries, and quiet check-ins, act for the
thread’s recorded owner when Genesis can resolve that person. This lets the turn use
connections visible to the owner without making the agent the owner; when no person can
be resolved, the turn carries no user identity. See personal and shared connection
access for how connection
permissions apply.
vendor_support_tools
Open a support case with a third-party vendor when a failure is on the vendor’s side rather than in your code or access, then track it. Neither dbt Labs nor Fivetran offers an API for opening cases, so Genesis prepares the case and a person files it: one send for an email vendor, or one paste into a web form for a portal vendor. Genesis then records the vendor’s case number on the thread and, when you name one, on the ServiceNow incident or Jira issue.
vendor_support_case
The evidence ZIP always holds
case_description.md and every file named in attachment_uris.
Key parameters
Example
Prepare a dbt Labs case for a person to file, then record the number the vendor returns.PREPARE creates the draft and evidence files; it does not submit the
case.
RECORD returns itsm_follow_up, make the named connector call to add
the vendor case reference to the internal incident.
google_calendar_tools
Create, update, list, and delete Google Calendar events for scheduling automation.
When an action uses calendar_id, it defaults to primary except for
SHARE_CALENDAR. primary is the connected account’s own calendar: the agent
mailbox or signed-in person’s calendar on a User OAuth connection, and the service
account’s calendar otherwise. Supply a calendar ID to target another calendar the
connected account can access.
LIST_INVITES costs up to 20 Google Calendar reads. RESPOND_TO_INVITE costs
one event read and one write. These actions need a Google Workspace User OAuth
connection with Calendar access; see Google Workspace setup.
gmail_tools
gmail uses a Google Workspace User OAuth connection with Gmail access. Normally
the caller’s own grant selects the mailbox; the optional agent-mailbox setting can
pin a connection’s mailbox for assigned agents. It is separate from send_email,
which sends through Snowflake’s email integration. The Gmail option is off by
default; configure it under Config → Connections as described in
Google Workspace setup.
Turns started by mailbox intake can be read-only when a mail sender or comment author
cannot be mapped to a verified Genesis user authorized for the agent. Comment-author
binding and its consent requirements are described in Google Workspace
setup.
Mail to recipients all in the mailbox’s own organization domain sends at once;
any external recipient waits for a person to approve it in Action Review. Mail
from consumer mailboxes such as
gmail.com has no internal-recipient domain.
Do not retry while a send is pending review. Returned message content is
untrusted sender-provided data, not instructions for the agent.
Every action reads Connections config; direct mailbox actions resolve its
credential before calling Gmail, while SEND and REPLY bind and resolve the
connection through Action Review.
LIST_THREADS and SEARCH make one list request and one metadata read per returned
thread (up to 26 Google calls). GET_ATTACHMENT makes two reads and writes the
file to uploads. REPLY reads the mailbox profile and thread to compose the
reply. SEND and REPLY also read the mailbox profile at Action Review bind and
incur its policy and ledger I/O. READ_THREAD, LIST_LABELS, DRAFT, and
ARCHIVE each make one Gmail call; reply drafts add a profile and thread read.
LABEL lists labels and modifies the message or thread, plus one call for each
label Genesis creates.
side_quest
Let the agent split slow work from a quick response: it answers the quick part in the
conversation, starts the side quest, and receives the quest’s report later in that same
conversation. The tool is available in conversations while side quests are enabled, and
START works on any turn. On a low-latency turn the agent splits a quick answer from slow
work; on a normal turn, such as an ordinary dashboard or Slack chat, it starts a side quest
only for multi-step work it expects to take longer than
side_quests.low_latency.text_min_expected_seconds (30 by default), never for a single
tool that has its own background mode. LIST, CHECK, STEER, and CANCEL operate only
on this conversation’s own quests. A side quest cannot start another side quest.
Enable side_quests.enabled (default false) to make the tool available. Low-latency mode
is controlled separately; see the Configuration Reference
for its master switch and channel settings.
On a low-latency turn, a direct call to a configured slow tool can move to the
background instead of holding the reply; Genesis delivers its result to this
conversation when it finishes. See Low-latency slow tool calls
for the settings and timing. In a meeting, reserve side quests for multi-step
work rather than a single slow call; a direct call can continue in the background.
For a quick answer plus slow research, the agent can answer first and start the research
without waiting for its result:
START returns the quest id, running or queued state, and the selected context. Queued
work has not started yet. In a meeting, say_now is sent to the meeting voice before the
quest starts; inspect said_now to see what happened. When said_now.delivered_to_voice
is true, the spoken answer is recorded with the quest so it is not said a second time.
The quest’s report arrives later as one message in this conversation. Use FOLLOW_UP with
a reported quest’s id and a new task
to continue on that quest’s thread; its next report returns to this conversation too.
Follow-ups work on any turn while the quest thread is retained. Use STEER while its quest
is still running. Use handoff for visible delegation or work assigned to another agent.
After the quest reports, continue it on the same thread with a new task:
side_quest_admin
Start and manage a short-lived side quest: hidden work in a child thread that runs
in parallel, then reports its answer to the parent conversation. Completion
wakes the parent; progress statuses are available through this tool but are not
sent as conversation messages. A steered quest reports each turn’s answer, and a
report the parent refuses is retried. Use ordinary handoff for visible delegation
or work assigned to another agent.
This group is not held by an agent by default. Enable it for an administrator;
with sign-in enabled, only an administrator can use it. Side quests are off by
default: set side_quests.enabled to true before starting one.
bot_id, thread_id, user_id, user_email, and turn metadata come from the
tool context. START and FOLLOW_UP return the side-quest id, child thread id, and
running or queued state. FOLLOW_UP gives a finished quest of this conversation a new
task on its own thread and reports the result back here once more; it is available on any
turn while the quest thread is retained. LIST reports active and queued quests; CHECK
reads one quest; STEER updates its task; CANCEL stops it. The task and brief do not
grant extra tools or access: the child runs under the parent conversation’s rules. It
cannot hand off further work or start a Mission.
The side-quest limits are configured under side_quests:
For example:
handoff
Spawn worker threads, delegate work to another bot, and retrieve or cancel results. See Process Manager Tools for the full lifecycle.
jams_tools
Interact with JAMS job scheduling systems from Genesis. This group uses the
effective default jams connection for the current user (My default, then Role
default) from Connections unless you pass a
specific connection, and it accepts either numeric IDs or qualified names such
as \\Finance\\DailyClose.
jams_tool
When multiple role defaults for
jams conflict, Genesis returns an error directing you to set a user default or pass connection explicitly. See Default connection layers.JAMS connections support Username & Password (JAMS API login) and HTTP Basic (IIS/Windows) when IIS gates the REST API. If authentication fails and Genesis detects an IIS/Windows challenge, the error suggests switching auth type in Config -> Connections. See JAMS connections.
Available actions
Submission workflow
- Use numeric IDs or qualified names such as
\\Folder\\JobName. Avoid bare job names because they can be ambiguous across folders. - Call
GET_JOB_PARAMETERSbeforeSUBMIT_JOBto discover valid parameter names and required fields. Genesis treats a JAMS parameter as required when the API marks eitherrequiredormustFill. SUBMIT_JOBfollows the JAMS v7 swaggerSubmitInfoflow: Genesis first fetches the job’sSubmitInfo, applies matchingparameters, then posts the fullSubmitInfoobject back to JAMS.- When
SUBMIT_JOBreturns ajamsEntry, useGET_ENTRYwith that ID for the most reliable status check.GET_LATEST_ENTRYis still useful when you need to look up the newest entry by job.
jenkins_tools
See Jenkins for the customer-facing setup and CI/CD workflow path. When connection is omitted, Jenkins tools resolve the effective default jenkins connection for the current user (My default, then Role default).
jenkins_config
Manage the Jenkins configuration used by Jenkins tools. SET saves the install-wide jenkins.shared connection; it does not save the token to a local plaintext file or environment variable. A complete set of values replaces the shared configuration. If values are omitted, SET fills them from the existing shared connection. Changing the URL requires a new api_token; the stored token is not reused for a different server. GET returns the current resolved configuration with the token masked, and TEST checks connectivity. When testing a different URL, provide its api_token explicitly.
Example:
matillion_tools
Operate Matillion Data Productivity Cloud projects, pipelines, and executions from
Genesis. When connection is omitted, Matillion tools resolve the effective default
matillion connection for the current user (My default, then Role default). If no
default is set and exactly one Matillion connection is accessible, that connection is
used automatically. When multiple connections exist without a default, pass
connection explicitly or call LIST_CONNECTIONS to discover available options. For
setup and workflow details, see Matillion Connector.
Use airbyte_connector for Airbyte data syncs instead of matillion_connector.
For UPLOAD_ARTIFACT, each publish replaces the environment’s entire published
bundle — include every pipeline that must stay runnable in one call. Prefer
yaml_repo_id + yaml_file_paths (paths and/or globs) to publish multiple files
atomically; use yaml_content + artifact_path or yaml_repo_id + yaml_file_path
artifact_pathfor a single file. Usegit_actionwhen you only need to read, commit, or branch pipeline YAML without uploading to Matillion.
matillion_connector
Available actions
Every action returns a dict with
success. On success, payload keys depend on the
action — for example connections, count, and message for LIST_CONNECTIONS;
executions, count, status_counts, and failed_count for LIST_EXECUTIONS;
published_pipelines, artifact_history, published_count, artifact_count, pipelines, count, and note for LIST_PIPELINES; published_files, evicted_pipelines, and warning for UPLOAD_ARTIFACT; projects for LIST_PROJECTS;
status for GET_JOB_STATUS. On failure the response carries error (sometimes with
troubleshooting). Recover with TEST_CONNECTION, RTFM, LIST_CONNECTIONS, or by
naming the Matillion connection explicitly.
LIST_CONNECTIONS response details:
LIST_EXECUTIONS response details:
LIST_PIPELINES response details:
When
runnable_only=true, the response contains only published_pipelines, count, and note (upload history omitted).
UPLOAD_ARTIFACT response details (success):
Example:
mcp_admin_tools
Connect Databricks Genie spaces and other HTTP MCP servers at runtime without restarting Genesis, list configured runtime MCP servers, and remove them when no longer needed. Genesis registers each remote MCP endpoint as a persistent tool group and exposes its remote tools to the active thread.
These runtime registrations are persisted under the mcp_servers configuration
key (type dict, default {}). The Connections UI also uses this store for
saved MCP Server connections; see MCP server connections
for authentication modes, shared/private visibility, and interactive sign-in.
All tools in this group require the manage_all_connections permission.
This group is distinct from the hosted Genesis MCP Gateway that exposes Genesis to external MCP clients such as Claude Code. See Agent Gateways and Hosted MCP for Claude Code for that outbound integration path.
Grant the mcp_admin_tools tool group to agents that should perform these
operations, and ensure a saved Databricks connection exists before
connecting Genie spaces. See Databricks Action Tools
for workspace connectivity.
Connection parameters accept either a bare connection name (for example genie_sp) or the fully qualified form shown in connection listings (for example databricks.genie_sp). Genesis normalizes to the bare name before lookup.
list_genie_spaces
List Databricks Genie spaces visible through a stored Databricks connection. Use this before add_genie_space when the user does not know a space ID.
add_genie_space
Connect one Databricks Genie space as live MCP tools for the current thread. Genesis builds the Genie MCP URL from the workspace host and space ID, mints a bearer token from the stored Databricks connection, and registers the remote tools.
add_mcp_server
Connect a generic HTTP MCP server as live tools without restarting Genesis. Prefer add_genie_space for Databricks Genie spaces because it constructs the correct Genie MCP URL from a space ID.
list_mcp_servers
List runtime HTTP MCP servers persisted in Genesis. Tokens and resolved credentials are never returned.
remove_mcp_server
Remove a runtime HTTP MCP server and its live tools from the registry.
Typical Genie workflow
After
add_genie_space or add_mcp_server succeeds, the user can ask natural-language data questions against the connected Genie space or remote MCP tools. If registration fails, verify the Databricks connection, space ID, workspace permissions, and that the caller holds manage_all_connections.onedrive_tools
Microsoft OneDrive personal-drive operations via Microsoft Graph API. This tool is not for SharePoint site URLs or SharePoint Connections; use sharepoint_tools for SharePoint content. See Microsoft OneDrive for setup and connection resolution.
File transfers are limited by the person’s repository access as well as the OneDrive connection:
When using a person’s or role’s scoped OneDrive connection,
SET_DEFAULT_USER is refused because saving a default Microsoft account would copy those credentials into shared storage. Pass user_email on each call instead. thread_id is supplied by Genesis; for example, use onedrive(action="UPLOAD_FILE", repo_id="uploads", source_path="<thread_id>/report.csv", ...) for a file attached to the current conversation.
outpost_tools
Configure Genesis Outposts: a small program a customer runs inside their own network (a laptop to try it, a VM, Docker or Kubernetes, on AWS, Azure, GCP or on-prem) that dials out to Genesis so it can reach private hosts such as internal databases, Jira or GitLab Data Center, and internal APIs. A connection goes through an Outpost when it is set to Through a Genesis Outpost, or when its host matches a domain pattern the Outpost routes (for example *.corp.internal). A connection’s password or secret can stay in the customer’s secret store as outpost_<outpost>/<secret-name>#<json-field>. See Genesis Outposts for setup, security and troubleshooting.
For self-hosted Docker listener behavior and Outpost port availability, see Genesis on Docker.
All tools in this group require the manage_all_connections permission. The in-product skill outpost-setup walks an agent through the whole setup.
save_outpost creates the definition but does not issue its tunnel key. After creating an
Outpost, open Config -> Outposts -> Install and choose New tunnel key; Genesis shows
the key once. See Each Outpost’s tunnel key
for the setup and migration behavior.
list_outposts includes tunnel_key_warning when Genesis has not issued an Outpost a tunnel
key, even when include_status=false. Relay the warning as written; it says the Outpost cannot
sign in and how to issue its key. For a key_refused diagnosis, see
Outpost Troubleshooting.
When the Snowflake Native App does not expose the Outpost tunnel endpoint, list_outposts
reports the feature as disabled, and set_outposts_enabled with enabled=true and
get_outpost_install_instructions fail with the reason Outposts are unavailable; relay that
reason as written and do not retry. Native App support is version-dependent; see
Genesis Outposts for availability.
outpost_tools parameters
For example, check whether a database locator would use an Outpost before
creating its connection:
explain_outpost_routing; it returns the selected Outpost
or says that the connection will be reached directly. See Connect a system through an Outpost
for the dashboard flow.
power_bi_tools
Browse Microsoft Power BI workspaces, reports, and datasets; query a dataset with DAX;
check dataset refresh history; trigger refreshes; update dataset data-source bindings
or parameters; create, copy, or repoint reports; read model files; and rewrite source
queries onto mapped Unity Catalog tables. The connector uses the effective default power_bi connection for
the current user (My default, then Role default) from
Connections unless you pass a specific connection.
The model-file reader and source-query rewriter below do not use that live Power BI
connection.
For live connector actions, grant agents the power_bi_tools tool group and a
saved Power BI connection. The model-file reader needs repository view access;
the source-query rewriter does not need a live Power BI connection.
power_bi_connector
Available actions
QUERY_DATASET makes one Execute Queries request, consumes dataset capacity, and
requires Build permission on the dataset. Power BI allows 120 queries per minute.
Genesis returns at most 100 rows even when Power BI returns more; row_count is the
number Power BI returned, and truncated is true when Genesis omits rows beyond the
first 100. A rejected query includes Power BI’s DAX error when available. Successful
responses include success: true plus action-specific fields:
workspaces for LIST_WORKSPACES, reports for LIST_REPORTS,
latest_refresh and refresh_history for GET_REFRESH_STATUS, datasets for
LIST_DATASETS, row_count, rows, and truncated for QUERY_DATASET (the
rows contain the query’s returned columns and values; only the first 100 are
included), the new report for CLONE_REPORT and CREATE_REPORT, the
import ID and imported reports/datasets for IMPORT_PBIX, and message for
other write operations. CREATE_REPORT also returns web_url and
skipped_files; the latter lists files in the report folder that were not sent
as definition parts. A PBIR folder must contain definition/report.json or
report.json; Genesis replaces its local-model binding with the requested
dataset_id. Report creation requires Fabric API access; a service principal
needs the Fabric tenant setting and Contributor-or-higher workspace access,
plus Build permission on the target dataset. The field check before clone and
rebind also needs Build permission on the target dataset. See Power BI
connection setup.
Report exports write repository files, so use Act mode. EXPORT_REPORT writes
one report; EXPORT_WORKSPACE_REPORTS returns per-report outcomes,
has_more, next_after_report_id, and a stop_reason when a batch stops for
throttling or its time budget. Honor retry_after_seconds when throttled and
resume a time-budget stop with the returned cursor. Successful exports include
file_path and bytes_written. The transfer is bounded to three minutes per
call; each file is limited to 512 MiB. Genesis confirms the returned bytes were
saved, not that the backup is complete or restorable. PBIX files can depend on
a temporary blob; the response explicitly sets restorability_verified to
false.
CLONE_REPORT onto another dataset or REBIND_REPORT, Genesis checks
the report’s referenced fields against the target dataset’s tables, columns and
measures. The check makes one Fabric report-definition request and two DAX
queries against the dataset. If fields are missing, the operation is refused and
the response names them; when a table rename can be inferred, it includes suggested_table_map for
a CLONE_REPORT retry. A fields_checked: false response with a warning
means the Fabric definition or dataset-field check could not run and the action
proceeded without validation; open the report and verify its visuals before
relying on it. table_map is only for CLONE_REPORT with target_dataset_id;
it rewrites the copy, not the original.
When no effective default Power BI connection exists for
the current user, Genesis names Power BI connections the caller may use and asks
you to pass one in connection; if none are usable, it directs you to Config ->
Connections. When multiple role defaults conflict, pass connection explicitly
or set a user default. Resolving the fallback choices reads the connection store
and bulk secret-access metadata.
Example:
repo_id and file_path in CREATE_REPORT to create an empty
report on the dataset. For .pbix imports, give repo_id and a repository path
ending in .pbix; Genesis waits for Power BI to publish the report and dataset.
power_bi_get_model_definition
Read Power BI model files from a repository when inventorying or migrating a
semantic model. The tool reads model files and the report files its readers use;
a directory is searched recursively without following links. It reads at most
5,000 files and 512 MiB total for non-.pbix files per call. .pbix files have
a separate limit of 512 MiB each and 1 GiB combined; an over-limit file is listed
as unreadable while other files are still read. The caller needs view access to
the repository.
For
.pbix, the reader returns its report and Power Query: one table per query,
with the M expression, source function, server, database, and native SQL when
present. It does not read column types, DAX measures, relationships, calculated
columns or tables, or roles; the model’s limitations lists what was not read.
Save the file as .pbit or .pbip to read the whole model. The summary’s
undefined_tables lists tables used by DAX or reports but not defined by the
model, with the measures, columns, filters, or visuals that use
each. The summary includes table classifications, relationships, roles, shared
expressions, model counts, and all variants of conflicting measure definitions.
A full or report response that exceeds its response budget
returns omitted_models so those models can be read separately; unreadable files
include their reason. Every call reads all model files found under path.
With repo_id="uploads", the tool reads only within the named conversation folder and only
when the caller may open that conversation; it does not read the whole uploads repository.
Uploaded .pbix, .pbit, .bim, and .tmdl files are recognized; .pbix has the
partial-read limitations described above.
power_bi_map_source_query
Rewrite a Power BI table’s SQL Server source query to read tables already present in
Unity Catalog. Use this for a migration that reuses an earlier migration’s tables instead
of landing the original source again. This is text-only rewriting: it does not query
SQL Server or Databricks.
Give exactly one of
m_expression or native_sql. For M, the tool rewrites the
Sql.Database navigation, Table.SelectColumns, and optional
Table.TransformColumnTypes into one Databricks SELECT; later M steps are returned in
remaining_steps to rebuild on top. For native SQL, it rewrites the full query, including
mapped geography members. A successful result includes rewritten sql, source-to-target
tables, and used columns. If a database, table, column, or geography member has no
mapping, a name is ambiguous, a mapped target column is absent from target_columns, an M
query keeps every column or uses an unsupported type, the query shape is unsupported, or a
T-SQL operation would change meaning on Databricks, the result has success: false, lists
the problems, and returns no SQL. Meaning-changing cases include /, LEN, LIKE with a
[...] character class, CONVERT with a style or to a character type, TRY_CONVERT to a
character type, FORMAT, DATEDIFF, AVG over a column not typed decimal or float, and
+, -, or % on operands not known to be numeric. Supply target types in
target_columns where these checks require them.
openmetadata_tools
Search and manage OpenMetadata entities and governance metadata. When
connection is omitted on openmetadata_connector, Genesis resolves the
effective usable openmetadata connection for the current user and active bot
(My default, then Role default). Pass an explicit connection name such as
openmetadata.prod when you need a specific saved connection. If no usable
default applies, the tool returns the structured connection-selection response
described in connections_action.
See OpenMetadata for the customer-facing setup and governance usage path.
openmetadata_connector
Use ADD_TAGS or REMOVE_TAGS to apply or remove classification tags on an
OpenMetadata entity or one of its columns. These actions find a column by name
or fully-qualified name, so you do not need to calculate its position in the
entity’s columns array.
Adding a tag preserves existing tags and adding the same classification tag
twice does nothing. Removing tags affects only the classification tags named
in
tags; glossary-term tags are left unchanged, even when their names match.
Use UPDATE_ENTITY with method=PATCH to attach a glossary term with
source set to Glossary.
When the requested tags already match the current state, the response includes
changed: false and no write occurs. Tag updates read the current list and
replace it with the merged list, so a tag added by another writer between the
read and write can be overwritten.
Examples:
railway_tools
Railway-backed runtime choices are documented in Sandbox Sessions.
railway_action
Use this function to inspect available Railway connections, list projects, retrieve project inventory, manage environment variables, trigger deploys, and run GraphQL passthrough operations.
Railway auth can resolve from
credential_name, an explicit token, or environment variables RAILWAY_TOKEN and RAILWAY_API_TOKEN. For Railway-backed sandbox and terminal flows, Genesis keeps the auth mode that passed its live SSH check so reconnects reuse the verified credentials.
Example:
remote_app_deploy_tools
Set up Snowflake SPCS ingress access for remote apps, deploy Genesis Apps to
external sandboxes, tear them down, and check remote health.
remote_app_deploy_action
bot_id and thread_id are also injected implicitly from the active tool
context and do not normally need to be supplied manually.
When a Databricks Apps deploy is refused because the person did not type the turn, an eligible
request from their own chat or Mission can put a one-time Allow/Decline card in their Work
Queue. Allow wakes the conversation and runs the same deploy once with the same options; it
does not authorize other deploys. The successful result includes allowed_from_queue with
the step ID. When this Genesis address is configured, the refusal also includes a direct link
to that card in the person’s Queue. This Queue step is not available for the other backends.
For app-scoped actions, deploy and undeploy require the caller’s manage
privilege, and status requires view. setup_spcs_access is not an app-scoped
action and is restricted to an administrator’s own turn. A Mission or deployment grant
does not authorize it. When platform auth is enabled, it requires the administrator’s own
turn and administrator role; if auth is disabled, the role and turn checks are skipped.
See GenesisApps access control
for how agent operations use the requesting user’s app privileges when platform auth is enabled.
Remote deployments mint
GENESIS_APP_TOKEN for the delegated caller
identity, so remote apps can keep calling Genesis APIs with
X-Genesis-App-Token when platform auth is enabled. The acknowledgment does
not authorize a deployment from an agent’s turn on a borrowed person ID; that
requires the person’s own turn, a Mission they started, a qualifying
delegation grant for the Databricks Apps backend, or a verified consent
statement as described in GenesisApps remote deployment.
See GenesisApp Server Token Controls for ingress behavior./api/tool_call and MCP call_tool) is treated as an
agent’s call, not a Mission turn; only a qualifying grant naming that agent can authorize
a Databricks Apps deployment. undeploy requires the person’s own turn or a Mission they
started, and no delegation grant covers it. Revoking a Mission’s deployment grant also
removes that Mission’s authority to deploy or undeploy.
For a deploy under a grant, linked app URLs come from each linked app’s own recorded
Databricks Apps deployment; caller-supplied linked_app_urls are ignored. If a linked
app has no deployment and the same grant covers deploying it, deploy that app first.
Otherwise the app is left out of this deployment and the result names it in
linked_apps_left_out and warnings.
For a migration Mission started with the person’s grant checkbox selected, that Mission’s
grant can authorize Databricks Apps deployment as the person without
confirm_identity_delegation. It ends with the Mission; if the grant is waiting for the
person to sign, continue other work and deploy after they sign. The checkbox and other
Mission-start behavior are described in Blueprint Library and Missions.
status queries the live deployment backend when possible. Its response can include the resolved URL, URL Type (such as external or cluster_internal), backend status, ready replica counts, and health-check results.
Example:
Writing Foundry app logic overrides
foundry_write_logic_overrides belongs to palantir_foundry_tools. Use it to
validate and replace the whole logic_overrides.json in a repository instead
of writing that file with a file or Git tool. The server records the first
writer of each entry from the turn: a person’s own typed or relayed words, or
the agent’s identity and name. The file’s supplied_by value is not evidence of
who wrote the entry; entries written by other means have no writer record.
The response includes
success, file, entries, file_unchanged,
newly_recorded, and written_by (per-entry writer, counts, and a report-ready
line). When the existing JSON already has the requested content, the tool leaves
the file byte for byte unchanged and returns file_unchanged: true; this preserves
its content hash. If the file was written but writer records could not be saved,
the response reports failure and says to write it again with this tool. Changes to
access.row_filter_exempt (who may see all app data while migrating) are accepted only
on a turn the person typed or whose own words they relayed. On other turns, the tool
reads the current file and refuses the write if that field differs; if the file cannot
be read or is not a JSON object, it refuses without writing. Cost: one repository access
check, one file read and at most one file write, one store read, and one insert per new
entry and each non-empty action’s complete submission_criteria list, off the event loop;
on other turns it also makes one repository access check and file read to compare
access.row_filter_exempt. When the file contains that list, the response also includes
exemptions_approval: approved, pending_review (with proposal_id), or
not_requested. Landing and deploy use the list only after a person approves the exact
list on its Action Review card; when approval is pending, do not land or deploy yet. See
the [Foundry app migration guide]
(/docs/Integrations/Palantir-Foundry/Palantir-Foundry#restoring-person-supplied-workshop-logic)
for app-specific approval and landing requirements, and how whole-list authorship affects
app compilation.
Offline Workshop app description
foundry_describe_app_from_bundle belongs to palantir_foundry_tools. Use it
when a customer provides an exported Workshop app bundle but Genesis cannot
connect to Foundry. It compiles the bundle into the app spec and definition
artifacts used by the standard Workshop app build workflow; it does not read
Foundry. See the offline bundle workflow
for action compilation, artifact naming, table checks, renaming views, blockers,
and build readiness.
target_schema, target_schemas,
or table_schemas) under the same target_catalog; a table in another catalog
or unlisted schema, or a table_schemas key naming no table, is refused. The
result’s schemas includes catalog, default_schema, listed, and read
(each catalog.schema the compiled SQL reads). Change the schema inputs and call
again when a table moves during a run.
The result includes the compiled spec fields, including read_identity (who runs each
query), readiness_gaps (non-blocking access gaps), and current_reads (object types read
through their _current views and the landed tables they replace), plus tables, views,
table_check, column_check, key_check, not_in_bundle, bundle_defects, blockers,
accepted_gaps, accepted_unmatched, ready_for_build, readiness_notes, bundle_tag,
actions, written_object_types, link_tables, linked_modules, definitions_read,
and bundle checksums.
See the offline bundle workflow
for app-module selection, the definitions_read contract, and the linked_modules entry details.
written_object_types includes types written by refused action operations as well as
runnable ones. link_tables names the declared many-to-many join tables the
app’s values read; see the offline bundle workflow
for link-resolution.json. bundle_defects are reported separately from
blockers; their affected values are omitted rather than stopping the build,
except when a missing object type is read by a value or widget, which is also a
blocker. A missing landed property column blocks only when the app reads that
property; otherwise it is reported as property_column_unused and explained in
readiness_notes. Saved-object-set blockers and AppKit readiness are described in the
offline bundle workflow.
Types used by an action’s options_sql choice list also enter the compiled read
inventory, so row-policy protection applies to choice queries; see the Foundry
integration guide.
The bundle is read from the selected repository, every file is hashed,
and JSON/text files are read into memory for parsing. With a Databricks connection, the tool
reads the estate’s write schema; with that connection and both target names, it also reads
information schema to check landed columns and types and returns
column_check (including non-blocking type mismatches), then runs one warehouse query per
primary or link key to check primary-key uniqueness and nulls and link orphans. key_check
has an overall status of checked, partial, not_checked, skipped, or failed;
object_types reports each primary_key_property and landed primary_key_column with
row_count, duplicate_keys, and null_keys; composite keys list their properties and
columns comma-separated and are checked as a tuple (any null component is a null key, and
duplicates repeat the full tuple). links reports the from_table.from_column and
to_table.to_column key columns and orphan_rows; a link to a composite key checks every
column pair. Each
key’s status (passed, failed, or not_checked) and reason are included. Duplicate or null primary keys,
orphan links, and key checks that fail or return no rows block readiness. The one
blocker a person may accept is link_orphans: show its orphan_rows and ask
whether to accept that link as a known gap, then call again with its blocker
reference in accepted_link_orphans. It moves to accepted_gaps in the saved
spec and no longer blocks the build. Unmatched names appear in
accepted_unmatched; other blocker kinds still block. A failed or empty check
includes its SQL for manual execution. A mapped
property without one unambiguous landed column is refused; an existing renaming view is checked against its
planned definition and can be reported as stale or unverified. Checking an existing
view costs one information_schema.views query per view found; create_views=true instead
runs one Action Review statement per renaming view. It writes the spec artifact; definition artifacts are omitted when
summary=true. Use the summary for a quick initial bundle check; table_check is
skipped unless the Databricks connection and both target names are supplied, so
the summary’s blockers are not final until landed tables are checked. For the full
response, call again with the same arguments and omit summary.
When logic_overrides contains a row policy, blockers also includes each type
whose <object>_secured view is missing or could not be checked. Building without
that view would show every viewer every row. Create the secured view with the live
Foundry table-landing tool before building; the offline bundle table-setup tool
does not grant access or create secured views.
Export a live Workshop app bundle
Usefoundry_export_app_bundle to create an offline bundle from a live Workshop
app that Genesis can read. The target catalog and schema must already contain
the app’s landed ontology tables; the bundle points to those tables and does not
copy their data. The default v0 profile exports the app definition and
ontology entities. Use v1 to include the additional bundle inputs and the
values the app displays. See the offline bundle workflow
for how to choose a profile and rebuild from the result.
foundry_describe_app_from_bundle, a file manifest, exported object and link
type RIDs, and any inputs omitted or unreadable. Cost: v0 reads the module
(two Foundry round trips), one ontology (or lists and reads ontologies until it
finds a match), and the ontology entities, then writes a zip. v1 makes all
reads of foundry_describe_app, plus one Foundry read per Notepad image and one
aggregation or object load per displayed value, chart, pivot, or table; with
functions_source, it also reads the TypeScript files from the selected folder or
zip. Then it writes a zip.
Excel workbooks
Theexcel tool reads and edits .xlsx and .xlsm workbooks. It also reads
.xlsb workbooks directly, but .xlsb files are read-only: use
describe_workbook, describe_sheet, read_range, read_table,
search_in_sheet, or list_named_ranges. Formula cells return decoded formula
text in value and formula, and cells are labeled kind="formula" or
kind="constant". For .xlsb, cached_value is the saved formula result.
Undecodable .xlsb formulas return their saved value with formula_error.
Use diff_workbooks to compare two workbooks in any .xlsx, .xlsm, and
.xlsb pairing. compare_versions compares consecutive files in the order
given, with a 50-change sample per pair by default. Both can align rows by a
label column, filter the returned sample by change type, and limit comparison
to selected sheets. compare_versions stops after its four-minute time budget
and returns next_index; pass that value as start_index to resume.
.xlsb, use save_as with a .xlsx target, or .xlsm to copy
the VBA project unchanged. Conversion is lossy: it carries cell values and
formulas, not formatting, charts, or comments. See the excel tool’s
RTFM action for the full action list and arguments.
excel_desktop_action on Genesis Desktop for Windows
excel_desktop_action works in Microsoft Excel on this computer. It is
registered only on Genesis Desktop for Windows when laptop mode is enabled and
Excel is installed. It works on any workbook with no setup. Excel-on-this-computer
actions use Desktop’s built-in tool group; there is no separate Excel MCP server.
Use NEW_WORKBOOK to start without a file: it opens a blank workbook with one
sheet (Sheet1) in Excel, shown by default. It is held temporarily in the Genesis
jobs folder; closing it without saving deletes it. To keep it, use
SAVE_WORKBOOK with save_as set to the full path of a new .xlsx file. No
workbook_path is needed. The NEW_WORKBOOK result reports the workbook’s calculation mode;
its note says where it can be saved. For a server caller saving a new workbook, save_as is
limited to the Genesis jobs folder and the folder in that caller’s grant (if any); a new workbook
has no source folder. To keep the workbook elsewhere, the person can save it from its Excel
window or ask Genesis Desktop’s own chat on this computer.
By default, changes run on a copy. OPEN_COPY takes the full path of the person’s workbook
(the person need not have it open), copies the file as last saved to make a fresh
copy for the current chat, and opens it in its own Excel window, shown on the
person’s screen by default, with the workbook’s macros enabled; its open-time
code (Workbook_Open) runs as when a person opens it. Pass visible=false to
keep the window hidden for background or unattended work. Each chat has its own
copies: a chat cannot use or close another chat’s copy. Pass the person’s
original workbook as workbook_path, not another copy’s path. On the copy an
agent can:
- write values and formulas with
WRITE_RANGE(a formula that reaches outside the workbook is refused:WEBSERVICE,IMAGE,RTD,STOCKHISTORY,CUBEfunctions, DDE, a link to another workbook, or a URL or network path); - format ranges with
FORMAT_RANGEwithout changing their values; aWRITE_RANGESentry can also include aformatobject to apply formatting with its write; - run the workbook’s own VBA macros by name with
RUN_MACRO. Any macro the workbook has may run, including one in a sheet’s code: a bare name,Module.Name, orSheet.Namewith the sheet’s tab or code name. A name more than one module has is refused with the candidates, and a name it lacks is refused. A sheet’s macro runs with that sheet active. A macro that stops on a VBA error reports its number and text (job statemacro_error); cells changed before the error remain changed in the copy. Macros are never written, edited or translated, and Excel’s “Trust access to the VBA project object model” setting is not needed; - copy named sheets in from another workbook file with
COPY_SHEETS, using Excel’s own Move or Copy, so each sheet’s code travels with it (itsexternal_linkslists links new to the copy, andshared_linkslinks the copy already had that the source workbook also uses; links to the temporary file the source was opened from are pointed at the source file, andrelinkedlists them. After saving,unrelinkedlists any links still pointing to that temporary file, andunrelinked_innames the sheets or charts that contain them. Advise fixing links only whenunrelinkedis not empty; otherwise report that formulas point to the source workbook.) Into an.xlsxcopy, sheets with VBA code are refused unlessallow_code_loss=true; when the person agreed to lose it, the sheets are copied without their code; - when
source_workbookis omitted, copy tabs within the open copy itself (never pass that copy’s file path as its own source). A tab may appear more than once insheetsto make multiple copies;new_names, when supplied, gives one name per copy in order, and an already-used name is refused. Withoutnew_names, Excel chooses the copy names. Copies keep formulas, formatting, charts, validation, sheet-level names and sheet code; formulas referring to the copied tab itself point to the copy, whilenames_originallists copies whose formulas still refer to their original tab. When copying tabs from another workbook withoutnew_names, Excel may adjust names that are already in use;new_sheetslists the names it used. Withoutposition, copies go immediately after their original tab. For a copy from another workbook,relink_to="source"(the default) leaves formulas linked to that workbook;relink_to="target"points formulas at matching tabs in this workbook instead. Missing target tabs are reported asunmatched_refsand are not re-pointed.new_namesandtab_coloralso apply when copying from another workbook; - add a blank sheet with
ADD_SHEET(sheet_name, optionalposition); a name the copy already has is refused.tab_colorcan colour the new tab; - rename a tab with
RENAME_SHEET(sheet_nameis the existing tab andnew_nameits new name); another tab’s existing name is refused.tab_colorcan also colour the renamed tab; - colour existing tabs with
SET_TAB_COLOR(sheetsandtab_color); usenoneto clear a tab’s colour; - add a native Excel chart with
ADD_CHARTon the tabsheet_name(added after the last sheet when the copy has no such tab), from ranges of the copy given inchart: acolumn,lineorcombochart (columns and lines together), each series with itsvaluesrange,name,typeandsecondary_axis, pluscategories, a title, axis titles, and position and size in points. A reference line, such as an IRR or XIRR level, is a series whose range holds that value on every row. Every range must be a sheet-qualified range of the copy. The chart is also exported as a PNG and shown in the chat: on Genesis Desktop the result’simage.inline_displaylinks it from the conversation’s files; for a call from the Genesis server the picture (at most 512 KB) returns with the answer and the server keeps it in the asking conversation. Save the copy withSAVE_WORKBOOKto keep the chart. If its picture cannot be read, saved or sent, the result includesimage_error; the chart is still in the copy; - recalculate with
RECALCand save the copy withSAVE_WORKBOOK. By default, that saves in Genesis’s working folder. Withsave_as, save a result copy to a full local.xlsxor.xlsmpath in the copy’s own format. The folder must exist; network, UNC, mapped-drive, original-workbook, and open-copy targets are refused. An existing file is replaced only whenoverwrite=trueand the person asked for replacement. A Genesis server caller may save only beside the source workbook, in the Genesis jobs folder, or in or below the folder named by the grant for that call. A new workbook has no source folder. The owner grants another person’s, role’s or agent’s requests a folder in Genesis Desktop under Server connection > Who can use this computer > Add someone > Only for workbooks in; this also limits their changes to workbooks in that folder. The owner’s own requests from the server have no folder setting. Genesis never deletes a saved workbook.
LIST_WORKBOOKS, ATTACH and READ_RANGE read what the person has open; by
default, a change in an attached workbook is refused. Only when the person
explicitly asks to work together live in their open workbook, use ATTACH with
live_edit=true. Before the first change, relay the warning that changes go
straight into their real file, with no copy to fall back on. WRITE_RANGE,
RECALC and ADD_SHEET then change that workbook live; SAVE_WORKBOOK saves it
in place only when the person asks. Macros and COPY_SHEETS still run only on a
copy. CLOSE releases Genesis’s hold but does not close the person’s Excel.
LIST_MACROS lists the workbook’s
macros by module, with each sheet module’s tab and code name, read from the
workbook’s file without “Trust access to the VBA project object model”.
LIST_BUTTONS lists sheet buttons and shapes that run macros, with each
caption and the macro assigned to it. RUN_MACRO accepts button instead of
macro to run the macro assigned to a button by its caption; the Action Review
card names the resolved macro. Up to
three copies may be open at once: OPEN_COPY returns a copy_id, other actions
take copy_id to choose a copy (omitted, the last copy opened or chosen), and
CLOSE with copy_id closes only that copy; without it, CLOSE closes every
copy owned by this chat. LIST_SHEETS lists the attached
workbook’s or the copy’s sheets: name, tab position, visibility (visible, hidden
or very hidden) and used range, plus the calculation mode. Its tab_order lists
every tab left to right; each sheet has position and from_end (1 is the
last tab). last_three and last_three_visible list the last tabs, first to
last; use these fields to answer requests about the first or last sheets rather
than counting the list yourself. If a cell reference omits its sheet, use
LIST_SHEETS and read likely tabs with READ_RANGE before
asking which sheet it is or recommending one. OPEN_COPY, NEW_WORKBOOK,
LIST_SHEETS and STATUS report the workbook’s calculation mode as saved in its file
(manual or automatic, iterative on or off); saving keeps that mode. After changing inputs,
recalculate before reading results only when the mode is manual, and do not tell the person to
press F9 when it is automatic. A range
on a sheet the workbook lacks is refused with the list of its sheets, and nothing
is read or written. In copy mode, the person’s own file is never changed. Use
CLOSE to close copies without saving. When the person wants to continue working
in a copy, use CLOSE with keep=true; its window and file remain open for
them, and Genesis does not close the handed-over Excel later. See
Excel Desktop job-copy retention
for Desktop’s startup cleanup policy and copy-retention setting. Startup cleanup can still
delete an old temporary copy named by a link copied with COPY_SHEETS; that link then
breaks, so re-point it as COPY_SHEETS directs.
When Genesis Desktop shuts down, it closes its Excel host and then tries to end any
remaining hidden Excel processes this backend run started. It ends a process only when it
can verify the recorded process and start time, EXCEL.EXE with /automation on its
command line, and the recorded main window still hidden. It never ends a person’s Excel,
an attached Excel, or a shown Excel. If a verified hidden Excel cannot be ended, its record
is retained for the next startup cleanup.
A change asked for by an agent on a standalone Desktop is proposed on an Action
Review card and runs once on the copy after approval. When Genesis Desktop is
connected to an organisation’s Genesis, the connected owner’s own request in a
local turn is also approved by that request and runs without a card. Room turns
started by someone else still need a person’s approval; an explicit policy rule
that requires review also keeps its card. A change from the Genesis server by
the Desktop’s owner, or by someone the owner granted Excel, is approved by that
grant and runs without a card only within the entry’s auto_run actions and
optional folder. excel.macros covers RUN_MACRO, excel.sheets covers
ADD_SHEET, ADD_CHART, COPY_SHEETS, RENAME_SHEET and SET_TAB_COLOR, excel.cells covers WRITE_RANGE, WRITE_RANGES, FORMAT_RANGE and RECALC,
and excel.save covers SAVE_WORKBOOK. A change outside the grant is refused
before it is proposed; nothing is changed on the computer. A null auto_run
allows every change the entry’s other scopes reach.
For a live ATTACH from the Genesis server, the owner’s grant must cover at
least one cell, sheet or save change for the workbook path; otherwise the attach
is refused with error_code="grant_scope" and the session is released. Each
live change must also be covered by its corresponding grant scope.
Use READ_RANGES to read multiple ranges in one call; each result includes its
value and number_format. Supply each reference as {"sheet": "Sponsor Outputs", "cell": "C20"} or {"ref": "'Calc A'!B20"}. Use WRITE_RANGES to write
multiple ranges across sheets as one change. Each entry has a sheet and cell
(or a ref) and either a formula or value. All target sheets and formulas
are checked first; if any check refuses the request, nothing is written. Set
recalc=true to recalculate once after the writes. WRITE_RANGES uses the same
excel.cells grant as WRITE_RANGE and appears as one change on the Action
Review card, listing the ranges and values.
Use FORMAT_RANGE to format several ranges in one action. Each formats
entry has a sheet and cell (or a ref) and any combination of number_format,
decimals, bold, fill and font_color. number_format accepts an Excel format
code such as $#,##0.00 or 0.000, or currency, percent, number, integer,
general, text or date; decimals can accompany a named format or specify decimal
places by itself. Colours accept a name, #RRGGBB or none. Formatting changes display,
not cell values. For example, format currency, 3 decimal places and percent on three
ranges with one FORMAT_RANGE, for example with entries for
{"sheet": "HA - Economics", "cell": "C5:C20", "number_format": "currency"},
{"sheet": "HA - Economics", "cell": "D5:D20", "decimals": 3} and
{"sheet": "HA - Economics", "cell": "E5:E20", "number_format": "percent"}.
A WRITE_RANGES entry may instead include a format object with these formatting
properties, applying the format along with its write.
After approval, RUN_MACRO starts in the background and returns
status: "started" with a job_id. Follow it with JOB_STATUS (state, the
macro, elapsed time, a dialog it is waiting on, and any message_boxes). A
plain message box with only OK is answered automatically; message_boxes
lists each box’s title, text, and pressed button. Report the box text as the
macro’s outcome: state: "done" means it finished, not that it succeeded. A
message saying it stopped early or did not converge remains a failure even when
a later box says “Done”. Choice or input boxes and a run past timeout_s still
fail and discard the unsaved copy. A VBA error instead reports macro_error as
described above. CANCEL_JOB stops a running macro the same way.
Only the latest run is retained; STATUS includes it while it is active, and
other Excel actions report busy until it ends. In another chat, STATUS and
JOB_STATUS show an active run only as busy, with started_by identifying its
starter; it is "your other chat" when that chat belongs to the same person,
otherwise it names the starter. The other chat cannot see the run’s macro,
dialogs, message-box text, result or error. Job status and cancellation read
in-memory state and do not call Excel.
On Genesis Desktop, one caller holds Excel from ATTACH or OPEN_COPY until
CLOSE, or until ten minutes without a call. A successful CLOSE releases the
session when that caller has no copies left open and nothing attached; open copies
in another chat for the same person keep it reserved. That person cannot take over
Excel in that other chat until those copies are closed or the session expires. While another
caller holds it, LIST_WORKBOOKS and STATUS remain available; other actions return
error_code="provider_busy" with the caller (shown as "your other chat" when
it is another chat belonging to the same person) and approximate release time. Close
the session when finished so another caller can use Excel.
Genesis supplies
bot_id, thread_id, and user_id from the tool context.
palantir_foundry_app_tools
Prove a GenesisApp rebuilt from a Foundry Workshop app against the source values
and rendered page, including supported map and Gantt layers; prepare a scratch-only
proof-instance spec for replaying a Foundry recording. See the
migration guide
for page-check coverage and embedded Notepad document handling. Assign this group
alongside palantir_foundry_tools, then build the app from foundry_describe_app’s
spec and land its ontology tables in Databricks. For the migration workflow and verdict meanings, see
Migrating and proving a Workshop app.
This compatibility tool returns its result inline without recording a Prover run; use
prover_app_tools for a sealed spec and a durable app-proof run.
foundry_proof_instance_spec
Prepare the scratch-only app spec used for replaying a Foundry recording. It retargets
the schemas the app reads or writes to a dedicated scratch schema; the output gives the
new spec’s repository and path, the schemas moved, and SQL schemas still read outside
scratch. See the Foundry migration guide
for how to build the instance and pass it to prove_app.
The tool checks the source file and scratch schema, then writes the retargeted spec to
the artifact repository; it does not call either app or write to the warehouse. Cost:
one repository access check, one file read, two information-schema queries, and one
file write.
foundry_bind_ontology_tables
Create views in a new schema that expose a Foundry-to-Databricks pipeline run’s
ontology tables using the table and column names expected by the Workshop app tools.
Use this when the source schema has human-readable names such as route and
route_id, rather than API-name-based names such as exampleroute and routeId.
The tool matches table and property comments first, then falls back to names; it does
not copy data or write to the source schema. Pass the returned bind_schema as
target_schema to foundry_describe_app, foundry_land_app_tables, and
foundry_prove_app. A property with no matching column is omitted from the view and
reported as unresolved, so values that need it will not compile. A table or view in
the destination schema that this tool did not create is left untouched and reported
as a conflict. Re-running replaces owned views and retires stale owned views through
Action Review.
bound entries include object_type, source_table, matched_by
(rid, comment, or api_name), view, columns, columns_matched_by_name_only,
and unresolved_properties. not_bound gives types without a table or primary-key
column and unknown types; retired lists dropped views, failed lists failed
operations, and bind_schema identifies the views’ schema. Statements run as the
caller through Action Review, so a deployment holding writes for review can return
pending_review per view. Cost: one Foundry ontology read, three Databricks
information-schema reads, one governed schema creation, one governed view creation
per bound type, and one governed drop per stale view.
foundry_prove_app
Compares displayed values and supported page content with Foundry’s Ontology API
for supplied or randomly sampled inputs. For apps with write-back actions, it
checks triggers and fields in sampled
states where viewers can reach them; unreachable sample states are reported rather
than judged as mismatches. It then rehearses runnable actions against per-run scratch
tables, not the app’s real edits table. An action the deployed app refuses by name
is listed in not_covered with its reason and is not rehearsed; its dry run is
not_checked with reason refused_by_runtime, leaving an open item rather than a
passing action. actions.passed is included in the overall
passed result; actions needing review and runtime refusals are listed under not_covered.
The proof also checks each source button’s form against the app’s action definition
and checks source-configured empty-table messages and tab-updated text against the
running page. These checks appear in the forms and shape summaries; a mismatch
is a finding, while an unreadable or unsampled check remains open.
The findings array includes every check that did not pass, across values, pages,
button groups, grids, and actions; the inline response shows at most 20 and sets
findings_truncated when more remain, while proof_file contains the complete list. The
result includes passed (true only when status is verified: checks pass, there are no
open or unchecked obligations, and widget coverage reaches the 80% floor), status and
status_basis (a plain-language basis that counts checks and source-app page elements),
widget coverage and coverage_percent, a verdict summary, mismatches
in findings, unsupported values and widgets in not_covered, open_clauses,
default_state, rendered-page, grid_display, and input_response checks, visual_parity (not assessed
by this tool), the inputs and random seed,
linked_apps, and a proof_file containing every check. Each check uses a recorded
human-readable check or widget name where available; older runs recover names from the
sealed app spec. A check without a readable name is shown as Unnamed check; raw ids
remain available in the full record and Audit details. For mismatch diagnosis and verdict
meanings, see the integration guide. The Foundry app guide
explains the input_response field and its map and Gantt findings. For how a rendered proof treats an omitted Object
View pane, see the Foundry app guide. A rendered
page that could not be inspected is marked not_checked with an instrument
reason; rendered checks can also include squeezed and overlapping widget lists
(see the integration guide
for their effect on the verdict). When the page publishes workshop_title, the
rendered check also verifies its title bar and reports whether it checked the
visible bar or only its markup; see the integration guide for the distinction and
for deployed-app browser inspection and HTTP fallback behavior. GenesisApp
page_failed entries and their effect on page and action verdicts are explained
in the Foundry integration guide.
Filter-section, facet-count, and signed-in-viewer checks follow the
migration guide.
An embedded GenesisApp linked in place is proved by its
own app proof at
the inputs this app opens it with. Its values and actions whose triggers all belong
to that linked app are delegated to its proof; values are marked delegated, not
not_shown. Each linked_apps entry reports the open clause, app_id,
module_rid, app_url (null when proved through Genesis), parameter_values,
checks_delegated, and passed. When proving a deployed app, the linked app must
also have a matching Databricks Apps deployment; see the integration guide. Successful
linked proofs also include summary, findings, and proof_file; if a linked
proof cannot run, its entry includes an error. Delegated values pass only when
the linked proof passes. A link back to an app already being proved is reported as
a failed linked proof instead of being run again. See the integration guide for
verdict meanings, including when a mismatch is attributed to the app rather than landed
data, and for scratch-table cleanup behavior.
summary=true when checking whether the app passes or deciding what to fix. The
response keeps findings in compact form (up to 20 inline), reports findings_total and
findings_truncated, open blockers and action checks, and points to the complete saved
proof in proof_file. Omit it when you need rendered pages, action details, linked apps,
and the full inline proof. Calling the tool again runs a new proof; read proof_file for
the full result of this run.
bot_id, thread_id, and user_id are injected from the active tool context.
When databricks_connection_id is supplied, the tool checks the estate’s recorded
write schema; otherwise write_schema is unchecked. The proof can make multiple
Foundry and app requests per input. A remote proof also reads one Genesis app
deployment record per linked app to resolve its Databricks App URL. See the integration
guide for end-to-end cost and deployed-app behavior.
foundry_land_app_tables
Check and prepare the Databricks tables used by a Workshop app. The tool also checks
for stale read properties and refreshes app-owned copies from Foundry; shared migration
tables are never replaced. See the Workshop app migration guide
for the read-schema requirements. It also prepares tables
for Workshop writes and compiled many-to-many links; types written only by the app
are landed from Foundry. The tool creates each written type’s edits table and current
view, plus the action log. It also sets up app_edit_batches and
app_action_log_committed; see the
Workshop app migration guide
for link setup, commit behavior, and migration outcomes. An action that needs review remains
refused and is returned in skipped_actions; its written type is still prepared so the
app can read the rows it wrote in Foundry. Statements run through Action Review,
so a deployment that holds writes for review may return pending_review. The result
also reports not_landed when Foundry does not provide rows for a type written only by
refused actions; it is a blocker only if the compiled app reads that type.
base_table, owner, optional landed row
counts, edits_table, and current_view, along with log_table, the resolved
write_schema, link_tables (including edits_table, current_view,
pairs_read_from_foundry, and rows_landed), outbox_table when actions send
notifications, refreshed, failed, not_landed, and skipped_actions. Each
refreshed entry identifies object_type, table, missing_columns, the copy
replaced, rows_landed, read_from_foundry, a note, and any missing geopoint
properties represented as GeoJSON. A stale_landed_copy failure means the stale table
is not an app-owned copy; see the migration guide for the repair path. A link table
already present is kept, not refreshed. The first
successful setup records
the estate’s write schema on its action log; later apps in the same catalog and
target schema use that schema, and a different requested schema is refused. Existing
tables are reused. Costs include Foundry and Databricks reads, a Foundry object
listing and Spark write for each app-owned type newly landed, one governed
statement for commit markers, up to three per written type, a log description
plus up to three statements, and one governed statement for the notification
outbox when an action sends notifications. When the module configures state saving,
setup also creates its state_saving.table and returns it as saved_state_table,
even if the module has no write actions. This costs one governed table statement,
plus a schema-creation statement when the write schema differs from the target schema.
Each link also costs one table description and two governed statements for its edit
table and current view. The freshness check adds one table listing and one
description per read type; each stale type adds one information-schema read (shared
across stale types), a Foundry object listing and Spark write, up to two governed
statements, and one more table description.
For the Foundry governance checks applied to new type and link landings, see
the migration tools guide.
For row-policy behavior and the related result fields, see the Workshop app migration guide.
Each filtered type adds eight Databricks reads and five governed statements; restoring a
previous filter on failure can add up to three statements and one read. Landing also
reads the current user once and checks each configured exempt user or group once. If the
person running landing is not named in access.row_filter_exempt.principals and an exempt
group is configured, it also checks whether that person belongs to one of those groups.
See the guide for the required exemptions and the needs_exemption response when landing
cannot verify its identity is exempt. If landing would replace an object in the write schema
recorded as belonging to another mission’s app, it creates nothing and returns the object
names in claimed_by_another_mission; give the app its own write schema before landing.
See the [Workshop app migration guide]
(/docs/Integrations/Palantir-Foundry/Palantir-Foundry#migrating-and-proving-a-workshop-app)
for the write-schema guidance.
foundry_land_bundle_app_tables
Set up the app-owned write tables for a Workshop app described from an offline
export bundle. Use the same bundle and target inputs as
foundry_describe_app_from_bundle; the tool does not read Foundry. For each writable
object type with a recorded landed base and a single primary key, it creates the
edits table and _current view. It also creates the action log and commit markers,
notification tables when needed, and the saved-state table when the spec has
state_saving. For each row policy, it also creates the secured view and grants
the policy groups read access; when the app writes that type, it protects the edits
table with the corresponding row filter. A policy source outside the catalog or
schemas supplied for this run is refused before any warehouse statement or grant.
Check ready_for_build and resolve every row-policy blocker before building. A type
with no unique bundle primary key or no recorded landed base is reported rather than
created. Statements run through Action Review; rerun after approving any
pending_review operation.
_current view in the write schema; the view exposes committed pair edits. A
declared link that no runnable action writes needs no overlay. Existing objects that
are not Genesis’s own, incompatible join-key types, or join rows shared by multiple
written links are reported in failed and block ready_for_build; setup never replaces
or drops them. Approve any pending_review statement and rerun before building.
The result can include object_types, successful link_tables, log_table, outbox_table,
notification_reads_table, saved_state_table, write_schema, secured_views,
row_filters, row_filter_exempt, warnings, failed, not_landed,
skipped_actions, row_policies_not_secured, ready_for_build, and blockers.
link_tables reports each written link’s link, table, object_types, edits_table,
and current_view; failed links are reported in failed with their reason. failed identifies setup
operations that could not be completed; not_landed identifies types written only by
refused actions that have no landed base. Cost: bundle reading and compilation as for
foundry_describe_app_from_bundle, one estate-record query, one view listing when a row
policy is present, one table listing when the write schema differs from the target, one
commit-marker statement, and per writable type one table description and up to three
governed statements. Row policies add up to six governed statements per group and
three per policy for secured views; each written row-policy type adds eight reads and
five governed statements for its row filter, with up to three statements and one read
more to restore a previous filter. Once per call, landing also reads the runner identity
and reads each exempt user or group. Each written link adds up to two information-schema queries, one
table description, and two governed statements, with ownership and view-definition
reads when objects already exist. The log costs one description and up to three
statements; notification tables and saved-state setup add their own table statements.
foundry_describe_dashboard
Compiles one saved Foundry Quiver dashboard into a Databricks AI/BI dashboard
document over ontology tables already landed in Databricks. It resolves the
dashboard’s object types against an ontology, preserves the tab and card layout,
and returns SQL and the corresponding Foundry aggregation for supported cards.
The result includes coverage, unresolved references, the aibi_dashboard
document for upsert_aibi_dashboard, and saved definition_file and spec_file
artifacts. For cards split by a property, each output card includes series_colors,
the Quiver color assigned to each series value. If Foundry series values cannot be
read, that card includes series_colors_error and a note, and the dashboard keeps
Lakeview’s palette for it. Cards that do not compile remain named gaps; dashboard
inputs are not compiled. See the Quiver dashboard migration guide.
When
ontology is omitted, Genesis lists ontologies and reads each candidate’s
metadata and entities until it finds one holding the dashboard’s object types.
Each call reads the Quiver artifact and its resource name and writes the two
artifacts. It also makes one Foundry aggregate call per placed card split by a
property to read the series values used for Quiver’s colors. Supply the ontology API
name when it is known to avoid searching.
foundry_prove_dashboard
Checks a built AI/BI dashboard against its Quiver source, card by card. For each
placed, compiled card, it runs the Foundry aggregation and reads the dataset SQL
saved in the AI/BI dashboard, then compares the series by key. Table cards compare
row counts. The overall verdict is verified only when every placed card
matches; differences, missing datasets or widgets, and unchecked cards remain
explicit in the result. Dashboard inputs are returned as inputs_not_proved.
verified, not_verified, or indeterminate. Card verdicts
are match, differs, style_differs, no_dataset, no_widget, or not_checked.
When the numbers match but a series uses a different color from Quiver, the card is
style_differs. The proof re-reads the Quiver artifact and ontology as described
above, including one series-value aggregate per placed card split by a property. It
also makes one Lakeview GET, and one Foundry aggregate and one Databricks dataset
read per placed, compiled card; it saves a proof artifact. Series
datasets over 20,000 rows are reported as not_checked rather than truncated. For the end-to-end sequence and Workshop-app link configuration, see
the Quiver dashboard migration guide.
rbac_action_tools
Automate role, permission, and access-governance tasks. For the administrative model and governance guidance, see Users and Roles and RBAC Practical Guide.
rbac_action
With authentication enabled, reads about another person, role access or tool
access require the person in the conversation to hold
manage_users. The person
may still check their own roles and access; GET_CURRENT_USER, LIST_PERMISSIONS,
LIST_ADMINS and LIST_ROLES remain open.
Read actions validate identifiers before returning data. When
role_name or agent_id does not exist, rbac_action returns success: false with an error message instead of an empty success payload. Role and agent lookups can include Did you mean: ...? suggestions when Genesis finds close matches.CHECK_AGENT_ACCESS is limited to the caller’s own access unless they have manage_users. For a caller without that permission, an inaccessible or nonexistent agent returns the same not-found error, with suggestions limited to agents that caller can reach; this does not disclose other agents.Successful write actions (ASSIGN_ROLE, REVOKE_ROLE, and other mutating actions in this tool group) also append rows to ADMIN_AUDIT_LOG with source=bot and the acting bot ID as actor_user_id. See RBAC Practical Guide → Admin audit log.sandbox_tools
Provision and operate sandbox execution environments, then run commands,
install dependencies, move files, and inspect results. This is also the
preferred first tool group for AWS infrastructure analysis, EKS/Kubernetes,
Helm, kubectl, AWS CLI, boto3/AWS SDK, cloud deployment, and cloud
monitoring tasks.
Sandbox sessions are owner-scoped: sandbox_action lists and reaches only the
caller’s own sessions unless they have manage_all_sandboxes. This also applies
when an agent attaches to or runs commands in a session; see Sandbox session
ownership for the
full access and terminal-lease behavior. Background TTL monitor timeout events
are filtered by the same access checks; the monitor’s system context does not
grant viewers access to sessions they otherwise cannot access.
After rename_session, subsequent sandbox tool results show the session’s updated
display name.
Cleanup actions, including cleanup requested when starting a session, follow the
same ownership rules. See Sandbox session ownership
for cleanup scope and the manage_all_sandboxes requirement for cleanup_namespace.
sandbox_action
Use sandbox_action for long-running image builds and registry readiness
checks when you need a polling-friendly status contract.
For EKS/K8s backends, Genesis injects AWS credentials from the caller’s scoped
default AWS connection when credential_name is omitted from
backend_options. For Railway-backed flows, Genesis resolves the caller’s
scoped default Railway connection when no explicit credential_name is
provided. Jenkins image builds resolve the scoped default jenkins
connection the same way. See Default connection layers.
For EKS/K8s work, prefer
backend="eks" or backend="k8s" with a saved
target_env when possible, or include explicit backend_options plus
credential_name so cluster auth does not depend on a kubeconfig in the
Genesis application container. The packaged guidance skill for this workflow
is aws-eks-sandbox-operations; the older
deploy-helm-chart-eks name remains a compatibility alias.Default backend
Thebackend parameter defaults to "local". When the operator configures
sandbox.default_backend (for example via Helm sandbox.defaultBackend on
EKS, GENESIS__SANDBOX__DEFAULT_BACKEND, GENESIS_SANDBOX_DEFAULT_BACKEND,
or sandbox.default_backend in genesis-config.yaml), calls that omit
backend or pass backend="local" automatically resolve to that configured
default (for example "eks" on EKS deployments). Explicit backend values
other than "local" are always honored.
In a Databricks App, local is unavailable because it starts Docker on the
Genesis host. It is omitted from the backend list and an explicit local start is
refused; choose a remote backend instead.
Azure Container Instances
Setbackend="azure_aci" to run a Linux sandbox in Azure Container Instances in the customer’s
own Azure subscription. For what it is, setup, everyday use and error messages, see
Azure Sandboxes,
Set Up Azure Sandboxes,
Use Azure Sandboxes and
Azure Sandbox Troubleshooting.
Each sandbox is one container group (genesis-sbx-<id>) with one container. start waits for the
group to run (about 25 to 30 seconds with the default image, up to 10 minutes), and stop deletes
it. The container’s main process sleeps for the session’s max_lifetime_minutes (default 480)
with restart policy Never, so it exits and stops billing even if Genesis is down; the sandbox
monitor also stops sessions past their idle timeout (default 30 minutes for an agent start) or
maximum lifetime. Each command adds about two seconds of overhead; its output is
SHA-256-verified end to end.
For Azure sessions, output from sandbox tool commands is also mirrored into the session’s
terminal history, alongside interactive terminal activity.
start requires a saved Genesis Azure connection: credential_name in backend_options, or the
caller’s My default, then Role default. Inline tenant_id, client_id or
client_secret in backend_options is refused, because the session must be reattached and
deleted as the same identity after a restart. Connection access is checked as the calling user
and agent. A started sandbox stays bound to the connection, subscription, resource group and
region it resolved.
Run check_backend_connection with backend="azure_aci" before starting. It requests a token
from Microsoft Entra ID, reads the resource group, and reads the principal’s effective
permissions there to confirm container-group read, write, delete and exec (one token request and
two Azure Resource Manager calls). list_backend_connections with this backend lists the Azure
connections the caller can use.
When image is omitted or is python:3.11-slim, Genesis pulls
mcr.microsoft.com/mirror/docker/library/python:3.11-slim, because Docker Hub throttles
anonymous pulls from Container Instances. Any other image is used as given; it must be Linux and
provide /bin/sh, base64, sha256sum, cat, cut, wc, cp, dd, tr, mkdir and rm.
Genesis must reach
login.microsoftonline.com:443, management.azure.com:443 and the exec
WebSocket host *.<region>.atlas.cloudapp.azure.com:19390; see
Allow Genesis to reach Azure.
For example, start a sandbox in a specific saved connection:
Repository file transfers
Use the repository transfer actions when a sandbox needs files from a Genesis Git repository or when a downloaded sandbox file must be saved back to one.
For repository-backed transfers, provide repository-relative paths only. A
Mission-restricted upload uses the complete Mission repository id, not the
uploads repository used for incoming chat attachments.
Sandbox transfer notes.
action="check_image_tag"
Check whether a tag manifest is available in a registry before starting a deployment or waiting on a build to publish.
Example:
wait_for_image_tag uses the same registry and auth parameters, then adds poll_interval_seconds (number, default 30) and poll_timeout_seconds (number, default 900) for automatic polling. Long-running build_image and get_build_status calls follow the same tool_result_status and next_poll_seconds contract while a build is still in progress.
sandbox_spec_tools
Save and manage reusable sandbox specifications such as target environments, security profiles, and container definitions.
sandbox_env
Use this function to save and validate reusable sandbox specs, target environments, and security profiles, including Railway-backed target-environment planning and apply flows.
Railway planning and apply actions also accept
workspace, project_id or project_name, service_id or service_name, environment_id or environment_name, create_project_name, create_service_name, create_environment_name, and image when you need to discover, select, or create the target resources.
Example:
sharepoint_tools
Read-only SharePoint Online file operations via Microsoft Graph API with per-user OAuth. Genesis resolves an omitted connection_name only when the effective sharepoint connection is usable by the requesting user and active bot; otherwise it returns the structured connection-selection response described in connections_action. See SharePoint for OAuth provider and connection setup.
If an operation using an omitted connection_name fails after Genesis selected the effective default, and another accessible candidate includes a warning-free option, the response also includes connection_recovery. It preserves the original error and provides the failed failed_connection_id, the default selected_source, alternative connection summaries in alternatives, and retry.tool_parameter = "connection_name". Preserve the original error and ask the user which alternative to use; Genesis does not retry automatically. Explicitly named connection failures do not trigger this recovery response.
sharepoint
Available actions
Listing folders
ForLIST, Genesis selects the folder to browse in this order:
item_id— a folder DriveItem id (from a priorLISTorGET_METADATA); lists that folder’s children.folder_path(or aliaspath) — a path relative to the drive root (e.g.Reports/2024)./or omitted lists the drive root.- With neither
item_idnorfolder_path/path, Genesis lists the drive root.
LIST responses echo the selector Genesis honored: item_id when listing by id, otherwise folder_path.
Example:
chat_work_tools
Promote the current Slack, Microsoft Teams, or Google Chat conversation into a tracked work
item on the Requests page. When
ticket_automation.auto_track_chat_requests is enabled (the default), accepted
chat messages already create a Request; agents call this tool when the user
explicitly asks to track, log, or follow up on work, or to split separate work
in an already-tracked conversation. When automatic tracking is disabled, this
tool is the only way chat becomes a work item. Correlation stays deterministic
in either mode — there is no heuristic auto-attachment.
promote_conversation_to_work
Returns
{success, work_item_id, provider, created_by, attributed_to_another} on success, or {success: false, error} when called outside a supported chat conversation or when the ledger is unavailable. created_by is the creator recorded on the work item, not necessarily the current caller: a repeat promotion keeps the original promoter, and a record with no named creator is returned as created_by.display: "unattributed". attributed_to_another is true when the record names someone else, false when it names the current caller, and null when nobody is named or the creator could not be read back. Calling the tool twice for the same conversation is safe and returns the same work item. In automatic tracking mode the conversation may already have a Request, making a repeat call idempotent unless start_new_item is true.
After promotion, replies in the same Slack thread, Teams channel reply chain
(and quoted replies in Teams chats), or current Google Chat DM episode attach to
the item automatically. Google Chat episodes do not cross a /new boundary.
On success Genesis also stores external_url on the work item so the
Requests row deep-links back to the chat
message: Slack via a best-effort permalink (chat.getPermalink using the bot’s
slack_app_token), Teams via a teams.microsoft.com/l/message/... URL from
tenant, conversation, and activity identifiers. Google Chat does not add an
external URL. Missing tokens, API failures, or incomplete identifiers omit the
link without blocking promotion. Automatic
tracking (ticket_automation.auto_track_chat_requests) applies the same
external-link behavior when it creates the Request.
Example:
slack_webhook_tools
Send outbound Slack notifications and Block Kit payloads through incoming webhooks.
Genesis injects bot_id and thread_id implicitly at runtime, alongside user_id;
callers normally provide only the notification fields.
teams_bot_tools
Send proactive messages and list reachable conversations through the Genesis
Teams Bot Framework app. Messages post as the Genesis bot principal, not as a
connected human user or a Power Automate Workflow. Requires the bot to have
Bot Framework credentials configured on Agents → [bot] → Teams, the server-wide
teams.enabled switch on, and a stored conversation reference from a prior
install or user message.
Use Activate Eve in Teams (Bot Framework)
for Azure Bot, messaging endpoint, and Teams app package setup. For posting via
a workflow webhook URL without a bot install, use teams_webhook_tools. For
posting as the connected human user via Graph OAuth, use teams_tools.
teams_bot_action
Available actions
Returns a dict with
success (bool) and either message on success or
error on failure. LIST_REACHABLE adds conversations — a list of dicts
with bot_id, tenant_id, conversation_id, conversation_type,
user_name, last_seen_at, and expires_at.
Example:
SEND_PROACTIVE returns success: False with a message about no stored
conversation reference, the bot has not been seen in that conversation yet —
ask the user to message the bot or install the Genesis Teams app in the target
channel, then retry.
If SEND_PROACTIVE returns success: False with
Teams is disabled server-wide (config teams.enabled is false); proactive sends are refused., the operator has turned off the global Teams kill-switch — set
teams.enabled back to true (or GENESIS__TEAMS__ENABLED=true) before
retrying proactive sends.
teams_tools
Send Microsoft Teams channel and chat messages through Microsoft Graph, list
Teams, channels, or chats, and look up users by email. Use
Microsoft Teams for Azure App Registration,
OAuth provider bootstrap, and connection setup.
Messages sent by teams_tools appear as the connected Microsoft user, not as a
bot. Teams channel messages cannot be deleted through the API, so verify
team_id and channel_id carefully before sending. Use delegated
User OAuth for messaging, listing, and lookup actions. Client Credentials
can validate credentials but cannot send, list, or look up in v1.
teams
Available actions
For
content_type="adaptive_card", pass the Adaptive Card body itself. Do not
pass the outer Teams wrapper envelope with type="message" and
attachments; Genesis builds that wrapper for Microsoft Graph.
Example:
type = "AdaptiveCard" and a
body list. Serialized card size is capped at 28 KB.
teams_webhook_tools
Send Microsoft Teams alerts, notifications, scheduled reports, approval
handoff cards, raw Adaptive Cards, and recent delivery lookups through
incoming webhook endpoints. This path does not require a
microsoft_teams connection or delegated OAuth.
Genesis accepts HTTPS webhook hosts matching *.logic.azure.com,
*.api.powerplatform.com, or *.webhook.office.com.
Legacy
*.webhook.office.com Office 365 connector URLs still work but return
a deprecation warning because Microsoft is retiring that connector family.
Prefer Microsoft 365 Workflows / Power Automate webhook URLs when possible.teams_webhook_action
Available actions
Delivery results
Webhook sends retry transient failures up to 3 attempts. Genesis retries connection errors, timeouts, and HTTP429, 500, 502, 503, and 504.
The result always includes delivery metadata you can inspect or log:
delivery_status:success,retried_success, orfailedattempt_countandattempts: retry count plus per-attemptattempt,status_code,duration_ms, anderror_excerptwebhook_host,payload_digest_sha256, andfinal_status_codefinal_error_excerpton failuresdeprecation_warning_present, plusdeprecation_warningwhen you use a legacy*.webhook.office.comconnector URL
teams_webhook_recent_deliveries
Recall Teams webhook delivery history from the last 7 days across threads.
Use this after teams_webhook_action when you need to confirm whether a send
arrived, how many retries it took, or why it failed.
Returns a list of delivery summaries with
timestamp_utc, bot_id,
thread_id, tool_action, status, delivery_status, attempt_count,
attempts, webhook_host, payload_digest_sha256, final_status_code,
final_error_excerpt, and deprecation_warning_present.
Example:
transition_contract_tools
Compile and execute governed transition contracts with first-hand evidence
for estate migrations (for example Postgres → Databricks). Agents use this
group to characterize source and target inventories, propose table mappings and
correspondence rules, qualify rules against edge fixtures, store transition
objectives, compile contracts, execute verification runs, and render cutover
dossiers.
This group contains one action tool, transition_contract, with nine actions: every tool
in the table below except ratify_correspondence_rule and ratify_delta, under the same
name. Call transition_contract(action="<tool>", args={…}) with that tool’s parameters in
args, or action="help" with args={"action": "<tool>"} for its full contract. The two
ratify entries are not its actions: they only return the link where a person ratifies. The nine keep their own names for
callers of POST /api/tool_call and the MCP gateway; agents holding this group are offered
only transition_contract, and a restricted role must be granted transition_contract by
name.
characterize_source only reads estates whose engine can execute the catalog
statements through Genesis’s database connector. If the connection names an engine
whose inventory is served through its own transport rather than a SQL catalog surface,
the tool refuses before reading anything with a NON_DATABASE_ESTATE error that names
the engine. This is an engine limitation, not a permissions or transient connection
problem; do not retry it or substitute a different database or schema list.
When schemas is pinned and estate_char.characterization.full_source_default is enabled
(default true), the tool performs one schema-discovery read to detect whether the pin
exactly matches the full-source scope. See Agents and the API
for how that preserves the estate boundary and finding identities.
Databricks catalog reads also include Unity Catalog metric views; see
Prover characterization
for how the Prover inventories and measures them.
Estate-backed timestamps returned by this group are UTC-aware ISO-8601 values; see
Agents and the API for the shared timestamp
contract.
Human approval is out of band. Agents can propose correspondence rules and
report whether their fixtures pass, but they cannot qualify or ratify an estate
correspondence rule. A genuinely authenticated human performs those acts under
Show rules and rulings on the comparison’s run page. Transition-contract
artifacts are qualified through Migration verification (/data/verify/overview/)
or POST /api/transition_contract/rules/{rule_hash}/ratify; when compile or
execute hits the license gate, chat shows an inline transition_contract_refusal
card with the refusal case and a deep link to Migration verification.
When an agent proposes an estate rule, its display name from the runtime bot
registry is recorded when available, so a person can identify the proposal as
coming from that agent (for example, “from Eve”). The rule-list response fields
are documented in the correspondence-rules API reference.
Long-running transition verification is handed to the registered serving loop. If
that hand-off is refused, the affected run is closed with status: "error" and the
tool returns success: false plus its run_id, so callers should not keep polling it
as running. If closing the row also fails, the response includes
terminalization_failed: true and the row may remain running until startup
reconciliation.
characterize_source accepts notify (boolean, default true) alongside its
bounded wait_seconds window. When it is enabled from a Genesis thread, the thread
receives the terminal result on its next tool result, or in a new turn after it goes
idle, so it does not need to poll get_characterization_run. Set notify=false when
you specifically want to check the run yourself.
The comparison-scoped worklist filters foreign proposals and exposes blocked_reason
for proposals that remain visible but cannot be approved; see the worklist and
withdrawal endpoint.
Its rows also expose default_refusal for rules that must not be offered as
pre-ticked platform defaults; see the rule-review endpoint
for the response semantics.
Withdrawing a correspondence proposal is allowed only while both the rule definition
and this comparison’s binding still say proposed. If the definition is retired, the
pair binding was revoked, or the rule is ratified for this pair, the refusal explains
that state and says there is nothing to withdraw. If this pair has no binding, the
response reports that fact without treating a definition’s historical ratified flag
as a live licence for this comparison; revocation is a human authority act, not a
proposal withdrawal.
The proven bigquery->databricks pair has default binding correspondence decals,
so its observed type-name spellings and value-rendering differences are licensed
without per-migration ratification. This covers exact-preserving mappings such as
NUMERIC to decimal, INT64 to bigint, and UTC timestamp or decimal-scale
rendering differences. The built-in mssql->snowflake type rule also licenses
T-SQL float(53), float(24), and real against Snowflake FLOAT (the target’s
single 64-bit float representation), including Snowflake’s equivalent float
spellings such as DOUBLE. Exact decimal and numeric types remain distinct from
this approximate-float family, so a decimal-to-float change is still unlicensed.
The built-in mssql->databricks pack also covers T-SQL varbinary, binary, and
image storage families to Spark binary, the two-valued bit rendering (1/0
to true/false), and UTC or offset-less datetime2, smalldatetime, and
datetimeoffset renderings to Spark timestamps. These are checkbox rules: binary
value differences remain content findings, NULL remains owned by nullability,
and a non-UTC offset still flags because it can identify a different instant.
It also includes a checkbox rule for T-SQL geography and geometry (including
geography(max) and geometry(max)) rendered as Spark string. This licenses
the type spelling only: spatial values are not compared, their content and
boundary findings remain indeterminate, and the target text is not asserted to be
well-formed WKT, WKB hex, or GeoJSON. The reverse mapping and xml→string are
not covered.
For text distinct-count comparisons, the MSSQL digest adapter now hashes the
operand with a SQL Server 2019+ _UTF8 collation so byte-identical non-ASCII
content can be corroborated against Databricks’ UTF-8 digest.
The same mssql->databricks pack recognizes engine-issued surrogate keys from
source catalog provenance: SQL Server IDENTITY columns, columns whose
DEFAULT draws from a SEQUENCE, and declared foreign keys onto those columns.
It licenses value-level differences that can result from rebuild renumbering,
including bounds, content digests, and category distributions, but not
cardinality differences. The rule is source-side and does not use a column-name
pattern, so date columns such as Invoice Date Key remain ordinary findings.
When the schema has no foreign key for a known engine-issued ledger, a named
person may pass a provenance_assertions proposal to characterize_source to
identify the source column and its exact dependent columns. The scan verifies
the source against the live catalog and refuses contradictory assertions; the
proposal only makes those columns eligible for the ordinary rule, which still
requires binding and human ratification.
The built-in sqlite->databricks and sqlite->snowflake packs likewise seed
assumptions for proven exact type spellings, so those spellings are not reported as
findings by default. The precise mappings and the rejected narrowing or cross-class
landings are documented in Genesis Prover’s assumption rules.
The postgres->snowflake and postgres->databricks pairs also have built-in platform
type rules. They bind automatically as declared-type assumptions rather than pack
proposals; built_in_count includes these rules when availability_only=true. Their
exact type-preserving mappings and limits are described in Genesis Prover’s assumption
rules.
Genuine value changes, lossy cross-class mappings, and unmapped types remain
unlicensed and are still reported by the diff.
For the structural-only eligibility boundary and single-rule path for
data-derived differences, see the platform-default consent endpoint.
Row-identity keys can be single-column or composite. Compiled obligation
frames carry key_columns (ordered list) and key_source (declared when the
source estate supplied the key, designated when a human asserted it). The legacy
key_column field is populated only for single-column keys. A human key
designation — asserting which columns identify rows when neither estate declared
one — is also out of band: put_transition_objective refuses objectives that
include key_designations. Operators designate keys from the run-detail UI or
via POST /api/transition_contract/objectives/{objective_hash}/designate-keys,
which derives an immutable successor objective. Column order in a designation is
significant — it becomes the comparison sort order.
For keyed table spot checks without the transition-contract registry, use
system_diff(action="verify_against_contract", …) from system_diff_tools instead.
ratify_correspondence_rule
This tool does not ratify a rule. It refuses the agent’s authority act and returns a
human handoff. Pass diff_hash to pin the comparison.
Returns
success: false, an authority-refusal error, ratification_url,
actionable, and optional blocked_by. The refusal identifies that ratification is a
named human’s act.
ratify_delta
This tool does not ratify a declared delta. Its returned address is not actionable;
hand over the comparison’s run-page address instead.
Returns an authority refusal with
ratification_url, actionable: false, and
blocked_by.
See Data Explorer — Migration verification for the operator UI and transition-contract API for REST equivalents.
system_diff_tools
Grade keyed rows against an authored YAML Contract, inspect a verification run,
and triage deviations. This group is not always-on. It offers one action tool,
system_diff; agents call system_diff(action="<act>", args={…}), with the
act’s inputs inside args. Use action="help" with args={"action": "<act>"}
for an action’s full contract. The four actions also keep their own names for
callers of POST /api/tool_call and the MCP gateway.
Example:
spec_author_tools
Author a sealed conformance spec incrementally in one thread. Assign this
persistent group to an agent that needs to write structural checks and
derivational obligations against a live, read-only estate without inspecting
the build target. Register each item separately, resolve estate-grounded
ambiguities, then seal the validated artifact to a content-addressed
spec_hash.
See _query_database.
Source-side source_sql and source-relation invariants are resolution-checked when
registered, each in the form its dialect resolves without running the statement:
EXPLAIN where the dialect has that verb, a prepare-only call on SQL Server, and a
zero-row derived-table probe on every other engine, including Palantir Foundry. Foundry
connections are transport-backed rather than DatabaseConnector connections, so the
authoring gate reaches the tenant through the saved palantir_foundry connection and
uses Spark SQL identifier quoting (backticks). A refusal names the resolution form that
was actually sent, so a Foundry failure is not reported as an unsupported EXPLAIN check.
A recompute’s grain_probe runs against the estate at registration time; undeclared
fan-out is rejected with the measured row and key counts, while fanout_declared accepts
the author’s rationale and returns the measurements. Target-side SQL and target-relation
invariants are not evaluated during authoring because the build target may not exist yet.
A declared invariant_side: "target" is nevertheless bind-checked at registration against
the target catalog or connection when the run places the target apart from the source and
its placement can be read. If a separate target connection cannot be opened for the caller,
the check is reported as unprobed and is never sent to the source. Target-side invariant
evaluation and target-side SQL remain deferred to grading.
When the run places the target on an engine with a supported SQLGlot dialect,
register_obligation parses each non-empty target_sql in that dialect and refuses syntax
or dialect errors with the parser’s message. This checks syntax only: it does not resolve
columns or functions or check types, which remain for the target engine at sealing. The
parse is skipped when the run places no target or the engine has no supported dialect.
When a blind compile has a target snapshot, the server uses its characterized column types
only to decide whether a synthesized numeric domain invariant can resolve. It synthesizes
numeric bounds only for characterized numeric target columns; projection aliases
and non-numeric columns with numeric-looking names are recorded as
unresolvable_domain_invariant notes instead of being emitted as checks against
the base relation. The target characterization remains server-side and is never
included in the author’s brief.
The blind compile scopes a large source catalog before building its authoring
brief. Relations named by the instruction are shown first, followed by
name-adjacent relations, schema siblings, and then the remaining catalog
entries, subject to the render bound.
For how source-held checks and source-side reads account for the estate’s scope,
including when the source and build share a catalog, see Genesis Prover’s target-mapping
guidance.
Unresolved catalog references and structural/catalog kind conflicts are retried within the
bounded authoring loop. If the retry cannot resolve one, the seal is refused and the finding
is returned in validation_findings.
At finalize_spec, an add_table item is refused with rule
add_table_source_held when the latest source scan resolves its locus by name and
either the object is file-backed or a complete target scan has no object in the
source object’s schema. It is also refused when the latest target scan’s table at the
locus has files matching exactly one file-backed source object. This covers
file-backed datasets even though their SQL read reports no schema. The refusal names
the held object and any add_column items on the same locus; carry the object in
scope instead (same if unchanged, changed if the ticket orders a change), and
remove those structural items. If they came from a prior spec, declare the deletion
with an amendments_json entry before finalizing. See Foundry datasets without a
schema for how the
Prover measures those files.
Relation observation evidence
The seal requires evidence that each relation named on an obligation’s source side was observed during authoring; it does not require one particular bind mechanism. A receipt records the normalizedrelation, observed_via,
transport, connection, observed_at, and receipt_basis. The connection
is the estate the read was taken through, not merely the connection bound to the
thread. The available observed_via
values are bind_probe (the zero-row resolution check), transport_query (the
same check through a registered query transport), catalog_read (the estate
catalog returned that relation’s columns), and sample_read (an executed query
returned rows). The receipts are written to seal.json beside the compiled
artifact, so they document how the estate was observed without changing the
artifact’s spec_hash.
finalize_spec also records observation receipts when its source-engine
preparation accepts a deferred source-side statement; those receipts enter the
evidence ledger on the next round.
Relations declared as outputs by this spec are deferred until post-build
grading. In a repair round, source relations already named by the prior sealed
spec are carried with the prior spec_hash; a newly introduced source relation
still needs a receipt.
A declared output is not taken on the declaration alone. The gate resolves every
registered relation against the measured catalog of the bound estate — the estate’s
own enumeration of the schemas the payload names — never against the text that registered
it. A relation declared created by a structural item or by the scope’s new entry is
deferred until grading and must be absent from that catalog: a new object the estate
already holds is not new. A structural item and scope may both declare the same relation;
the structural item is the receipt’s named declarer. A create that neither declares is a
fabrication, and both kinds of conflict refuse by name. A thread that has registered no scope at all is the partial
exception — a repair round seeded from a prior seal carries structural items and no scope —
and there only the SCOPE question is skipped: the create is reported unmeasured instead of
refused for being unscoped. The catalog question is still asked, because “the estate
already holds this” is an independent conflict that the scope has no bearing on, so a
scopeless create whose relation the measured catalog holds is still refused by name.
The check is per relation, not per statement: a statement that reads a declared output
alongside other relations still has those other names checked against the catalog. Those
are the refusals that offer nearest measured names — a name read beside a deferred one
is a candidate misspelling, so the catalog’s closest spellings help. A create refusal does
not offer them: the remedy there is to scope the object or drop the create-declaration,
not to correct a spelling.
An accepted register_obligation response carries resolution_clean, which is a
measurement, not an assertion. It is true only when every relation the call touched
was seen — planned against the estate, or confirmed new by the scope and absent from the
catalog. It is false when something was not measured, and the response then names what:
resolution_unprobed for statements nothing was sent for (a connection type this process
cannot execute against), and resolution_unmeasured for relations the catalog would not
answer about. resolution_deferred lists the statements held back because they read a
relation this spec creates. On a run that places source and target in separate catalogs of
one connection, or on separate connections, a declared invariant_side: "target" is
bind-checked only in the target catalog or connection. Successful checks appear in
resolution_target_catalog and do not create source observation receipts. If a separate
target connection cannot be opened, the check appears in resolution_unprobed; it is not
sent to the source. Target-side query evaluation remains deferred to grading.
Before writing the sealed artifact, finalize_spec refuses any finding from
the artifact’s seal gate: invalid artifact shape, a commitment rule activated
by the artifact’s doctrine stamp, or a catalog conflict that the bounded retry
could not resolve. A multi-member ambiguity_group generally needs a committed
lean on one of its members or a written abstention explaining why the axis
cannot be leaned. Product seat runs in human escalation mode also apply the
v9.36 refusal described below. Assertions must also stay at the resolution stated by their
own rationale: for example, a rationale that records an exact measurement must
not be sealed as a presence-only check or with a looser tolerance. The
validation_findings in the compile result report the same findings that
caused the seal decision.
Before sealing, finalize_spec also verifies every scope entry’s non-empty
row_identity against the source scan that holds that object. The key must be
unique and non-NULL on the source, where the migration starts; if it repeats,
contains NULLs, or names a missing source column, the seal is refused. When the
stored scans identify a possible single-column key, the refusal suggests it;
otherwise it explains why no key was suggested. A repeated source key is refused
even if the target could not be read; the target’s unread state does not keep that
key eligible. A successful unique reading is held only in the draft’s bounded,
in-memory cache, keyed by the same person and bot, source snapshot, object, and exact
key columns, and only while that person can still use its connection. On a later
refused finalization, only keys that were not proved unique (or whose reading failed)
are scanned again; refused keys are never cached. Readings are cleared when the spec
seals or the seat run ends. Remove row_identity when the ticket does not
require row pairing, or correct it and finalize again. A key the
source scan or live read that should check the key but cannot verify it also blocks
sealing. An object no source scan holds, or a source engine the probe cannot read,
is recorded as unchecked instead, and the proof probes it on both sides.
Spec-author identity and constitution
Genesis seeds the built-inspec-author system agent as a normal bot that can
open a thread. Its default thread-start loadout includes context_tools,
spec_author_tools, and data_connector_tools; these are defaults rather than
a confinement, because the bot uses tool_access_mode: "all". The agent’s
authoring boundary is enforced inside each tool, not by the advertised tool
list.
The seal provenance records surface: "seat" only when the spec-author identity is the
only contributor to the draft. A direct call to these tools from another agent records
surface: "tool", even if that caller later invokes finalize_spec; direct tool calls
are outside the seat’s constitution. Use author_spec when the ticket must be authored
under the seat’s constitution.
The agent’s identity names the spec-author-constitution skill and the pinned
constitution, which ships as three files — constitution_v9_55.md,
constitution_v9_55_part2.md and constitution_v9_55_part3.md (version v9_55,
sha256:c84bc9754993a49b94805c0a55ad5554bc83da51018112219a4a147eeb03d1d4 over the three
concatenated in that order). It is split because the assigned-skill reader serves at most
50,000 characters per file; the three are one document and the pin covers all of them. Read
every file in full before the first estate query or registration call; the reads may run in
parallel. If any reply reports truncated: true, follow that file’s continuation_hint
until it reports truncated: false. Every sealed spec records the constitution version and
hash used to author it.
Constitution v9.54 requires a keyed recompute to prove a column that a person ruled different.
When the run is commissioned with a RULED DIFFERENCE v1 clarification on a scoped relation,
finalize_spec requires a linked recompute with compare_columns naming that column and
keys exactly matching the relation’s row_identity (the ruled column is not a key). Both
sides must be one plain, unfiltered SELECT over every row of one table; each must project
the keys unchanged. source_sql computes the ruled value from the item’s declared source
value inputs without reading the old column, while target_sql selects the stored column
unchanged. The obligation also needs a 1:1 grain_probe and may not declare fanout. No other
check type satisfies this seal requirement. The [Prover guide]
(/docs/Genesis-Prover/Agents-And-The-API) describes how the passing check appears in the grade.
Constitution v9.48 declares a value column drawn at random, or one the ticket says cannot
be required to match, with change_expectation: "unconstrained" on its column item, not
must_match or must_differ: neither matching nor differing values prove anything about a
fresh random draw. Use a value-kind change_kind (transform_values or
modify_etl_derivation). Link a target-side domain or population check to that item with spec_item_ids; the
check must read that column and cite the source evidence for its randomness in
requirement_source. A target-side invariant needs a graded constraint and an explicit NULL
policy; a self_consistency check must read the column in target_sql. The seal refuses a
spec with no such proof, or a membership/recompute check over that table that mentions
the random column. The refusal identifies where the column is mentioned, including a
projected * in either statement; replace a wildcard with an explicit column list or keep
the row-pairing check on stable columns. The grade behavior and its
values_unconstrained disclosure are described in the [Prover grade overview]
(/docs/Genesis-Prover/Overview#3-spec-conformance-the-spec-agent-and-the-grade).
The open interpretation policy and its spec-author-open bot are retired: lean is the
only policy, and author_spec refuses a run that names open.
For a compound-key or whole-row grain count, constitution v9.38 requires counting
distinct tuples in a derived table, for example
SELECT COUNT(*) FROM (SELECT DISTINCT <columns> FROM <relation>) d, or grouping by
every column. Do not use COUNT(DISTINCT a, b) or concatenate unwrapped columns into
one distinct expression: a NULL in any component can drop or conflate a row, making
it look like a duplicate. Concatenation is safe only when every part is sentinel-wrapped.
Constitution v9.5 makes collection normalization explicit: when a check reduces a
collection to one value, its source and target expressions must define what an empty
collection and a NULL collection become, rather than relying on dialect defaults. If the
ticket is silent, normalize both sides to one representation (commonly
NULLIF(<joined>, '')) and state that choice in the rationale; apply the same rule to
NULL elements inside a collection. A target statement the engine accepts is also run
over at most 1,000 rows of each relation it reads, which catches an error a real row raises
(an array index past the end) only when such a row is in the sample, and says nothing about
which value an empty collection becomes, so it does not settle this empty-versus-NULL
behavior.
Constitution v9.6 treats a declared unknown member as a row of its target: when the mapping
declares an unknown member, a ghost or a placeholder row (a dimension’s -1 surrogate, a
hub’s ghost key), every domain rule over that relation must exclude it — written as a
recompute whose target_sql filters the member out by its key — and the member is
asserted in its own check. An invariant has no row filter, so it is evaluated over the
member too.
Constitution v9.10 also requires checks for period-derived flags such as an effectivity
satellite’s is_active to be evaluated against the rows the clause itself produces. Before
registering the check, work through one ended and one still-open relationship with each row’s
flag, and verify the predicate counts zero contradictions; a target-side sample cannot establish
that the check matches the clause. The v9.10 seal refusals are listed under
finalize_spec. Constitution v9.22 tells the seat that a commissioned run
which places no target is refused at the seal under target_not_placed, which only the
commissioning caller can fix, and that a check the degeneracy probe measures degenerate no
longer decides an item on a carried column. Constitution v9.23 restates that doctrine as one
current text, with every amendment folded into the section it governs; no rule changed.
Constitution v9.24 states that a lift-and-shift (a scope with no changed and no new
entry) always carries one explicit membership obligation, and the seal refuses one without it.
Constitution v9.28 retains floor F1-D for derived builds: when scope contains an input or the
registered mapping declares a derived target, structural items must describe ordered outputs
on the target side, including required column items. The seal also checks that each output’s
linked obligations are explicit and that outputs are scoped new, except an image carried
under its legacy object’s name, which is changed; see finalize_spec
for the refusal conditions and the Registrar guide for the
registration workflow. Constitution v9.27 scopes a carried image that keeps its legacy
object’s name changed and a renamed image new (the source already holds a same-name
image, so new would declare it created and refuse every check reading the legacy object),
and the derived-build seal also refuses a column item the grade attributes no check to.
Constitution v9.28 states how a conditional rule is encoded: “when X, then Y” is a
self_consistency violation count over the target — source_sql SELECT 1 AS grp, 0 AS violations, a target_sql counting the rows where X holds and Y does not, keyed on grp —
expected 0, never a membership between an X-filtered side and an unfiltered or Y-filtered
side. A membership restricted to the same population on both sides stays a membership, and
de-duplication or current-row filters are not conditions. This is the check the
conditional_rule_advisory from register_obligation already names.
Constitution v9.29 adds partial seals. A numbered clause the seat cannot prove yet is
accounted for as open with register_clause_accounting; its accepted reasons, remedy
fields, and reserved mapping values are listed in the tool reference below. A clause that
only says which sources a build reads, and that nothing is claimed about the rest, is not a
comparison claim: account for it as declared_sources with refs naming the sources in the
spec’s target_model. Do not record it as scope or open; the grade settles it from the
sealed mapping, and a re-prove cannot close it. The rest of the
spec seals. The open clauses are sealed in the artifact’s
coverage block, inside its hash, and the seat run reads sealed_partial. The seal refuses
an open clause with no reason, remedy and evidence (open_without_remedy), and a ledger that
seals no clause at all (nothing_sealable), which still declines. The seat examines every
mapping entry and clause before it returns, and a finding against the mapping still declines
the run: the mapping_entry_contested reason and the supply_mapping / restate_entry
remedy kinds are reserved, and refused (reserved_open_value). A follow-up is commissioned with repair_of naming the partial seal:
load_prior_spec returns open clauses still stated in the repair document as
open_clause_drafts; clauses moved to another key or absent from that document are reported
separately. The reseal re-runs every gate.
Constitution v9.30 lets the seat decide what a migration already answers. A run stops when
it does not understand the DATA. It never stops merely because a decision hasn’t been
rubber-stamped. Where the target reproduces the source — an object scoped same, or an
output that must match a reference — the preserve-the-source properties (NULL counts, empty
string vs NULL, whole-row multisets on every table in scope, type families, nullability, row
identity, the row count per key, value domains, referential integrity) are migration
defaults: the seat adopts them silently and never asks the owner (v9.31: if the answer would be
the same for every customer, it is not a question). On a same object the system diff checks them from both estates’
characterization, and the seal refuses a check that restates one. On a derived output the seat
registers the check with requirement_source {"kind": "migration_default", "property", "citation": "migration default: target reproduces source — …"}, and a default that reads no
target is refused. A question about what the source holds is answered by measurement, never
asked: the seat reuses existing measurements and, when profiling is needed, runs one profile
query per table rather than one query per question, profiling at most 200 columns. Only an
intended deviation (a rename or drop with no stated reason, a business rule nothing measures)
goes to the owner, as an open clause whose owner remedy carries a recommended_answer (so does
an operator remedy: a person is never handed a bare question, and since v9.31 is asked in the
business terms of their own data, with no Prover vocabulary); the
rest of the spec seals. A clause is not_applicable only with
evidence measured on the source or the ruling_id of a clarification the run was
commissioned with; a ticket calling a clause “out of scope” is not a ruling, and a clause the
seat cannot prove is open.
The Prover Spec Registrar is the first product seat declared by Genesis. Its durable principal is
agent:spec-author, and its escalation mode is configured per deployment rather than per
thread. The default human mode reports an estate question the seat cannot settle and may
hold the compile; set estate_char.spec_author.escalation_mode to "autonomous" for a
deployment with no human court, so the seat forks the reading, annotates the artifact, and
continues. The setting is read at call time and unrecognized values fail closed to "human".
See In-product spec author settings
for the complete configuration entry.
When a spec-author run is submitted through the API, the returned run uses the same
envelope as every other Prover run. By default it is asynchronous; callers may provide
wait_seconds when they prefer a bounded wait, with the ceiling and expiry reported in
the response. See the author-seat API reference
for the request parameter and response behavior.
Every tool in this group — every row of the table below, with no exceptions — refuses the
call when the constitution skill is not active, cannot be read, or resolves to
bytes that do not match the pinned hash. Activate the skill with
manage_context(action="ADD_CONTEXT", active_skills="spec-author-constitution"),
then read the constitution before retrying.
finalize_spec also verifies the constitution that this thread actually received. The
thread must have a complete, contiguous reading of exactly the three pinned files, in the
pinned order; Genesis compares each file’s recorded SHA-256 with the pin before sealing. A
later incomplete peek does not replace an earlier complete reading, but an unfinished read
with no earlier complete reading, missing or extra files, out-of-order reads, broken paging,
or a per-file digest mismatch refuses the seal. For an unfinished file, restart at character
0 and follow next_start_char until it is null, then retry finalize_spec. A successful seal
records the aggregate constitution pin (constitution: name, version, SHA-256) as its
doctrine identity; the per-file check happens before the seal and is not repeated on it.
The pinned constitution also teaches three seal-gate requirements that affect every
registered check. Quote relation and column identifiers using the case stored in the
bound estate, including identifiers in source_sql, target_sql, grain_probe,
invariants[].column, and envelope_receipt.derivation_sql. Genesis preserves plain
identifiers so the warehouse can apply its normal case folding, and automatically uses
the registered connection’s dialect quoting for names that need it, such as
Fact.Stock Holding or a column named Stock Item Key; the gate reports
r6_quoted_identifier_unresolved or r6_catalog_unmeasured when that evidence is
missing or does not match. Keep the source side blind to the build: source_sql and
source-side invariants must not read a relation the spec asks the builder to create or
a column it asks the builder to add, or the gate reports
r7_source_reads_created_relation or r7_source_reads_added_column. Finally, when
an author chooses a value-obligation tolerance, it must cover the measured
quantisation envelope and include a re-runnable envelope_receipt; the gate refuses
an under-sized or non-executable receipt with p6_envelope_receipt_failed. Tolerances
that come directly from the ticket are not changed by this requirement. R7 binds only
the source side: target_sql and target-side invariants read the target as the subject
of a check, and finalize_spec prepares and samples them on the target.
When a structural item declares expected_type, expected_type_family, or
expected_scale, include type_license as "ticket" or "inferred"; see the
compile API reference
for how the tag affects type-mismatch severity.
expected_type_family accepts numeric, text, date, timestamp, temporal,
boolean, or binary. expected_scale is a non-negative integer for numeric
declarations; omit both fields when the structural item should use existence-only
grading.
Structural loci must use the addressing contract expected by the Prover: whole-object
changes use schema.table, while column-level changes use schema.table.column. Do not
include a catalog or database prefix, leave any component blank, or put a column component
on add_table, add_derived_mart, drop_table, or drop_constraint. When a blind author
compile has a target snapshot, the schema component is also checked against the target’s
namespaces case-insensitively; a locus that still violates the contract after the bounded
retry remains in the run’s validation findings rather than being silently discarded.
During grading, a sealed deliverable may use the graded side’s catalog-qualified spelling
(target_catalog.schema.table or target_catalog.schema.table.column). When
target_catalog is supplied to the grading endpoint and matches that leading catalog,
the Prover strips it for attribution and emits the canonical schema.table[.column] locus.
Catalog-qualified targets for any other catalog remain unmatched; use the catalog that the
graded side actually resolves against.
Compiled-spec verification records the catalogs that each obligation actually read as
source_catalog_effective and target_catalog_effective. A keyed obligation records both
bound catalogs; an invariant records only the side it graded and leaves the other field
null. An ERROR obligation leaves both fields null because no verdict was read. When
source and target use the same connection, selecting invariant_side="target" also
requires target_catalog; without it, the verifier refuses the invariant rather than
silently grading the source catalog.
Invariant verification also reports rows_compared, the population examined by the same
scan as the violation count; see the compiled spec API response for the response contract and its null error behavior.
Relations are named schema.relation; the database or catalog is a property of the
bound connection, not of the item. Three segments are ambiguous, because the per-column
locus schema.relation.column has the same depth as catalog.schema.relation, so a
three-part name is RESOLVED against the bound catalog rather than assumed:
- leading part IS the connection’s database — normalized to two parts, in the locus and in every SQL field, outside string literals and comments; the reply names what it rewrote;
- leading part is a schema of the bound catalog — a column locus, preserved exactly;
- anything else, or a catalog that cannot be read — preserved and UNCHECKED, never refused, because the two shapes cannot be told apart without that fact.
FROM/JOIN target, where three segments are
unambiguous: a read position cannot be schema.relation.column. A build that lands in a
different database can never hold such a name. One exception covers the source side: a source
estate may span several databases of one connection, so a source_sql, grain probe or
settlement query may name database.schema.relation in a database the run’s source estate
registers a member in on that connection, and keeps that name. target_sql never may, and a
database the source estate does not register is still refused. register_target_model and the
seal read such a source table’s columns in its own database, so a connection with no current
database reads them too.
Normalization is re-applied at finalize_spec to everything the draft holds, so the rule
does not depend on the order items were registered in or on a connection lookup that failed
earlier.
For register_obligation and register_settlement, an omitted connection_id
uses the connection already bound by an earlier registration in the same thread;
an explicit connection always wins. There is no default estate: a thread that has
bound no connection refuses the call with no connection bound for this thread
rather than choosing one, so the first registration of a run must name it. The
estate checks and grounding query
run as the requesting caller, so that caller must have access to the selected
connection’s credential. register_structural does not bind or change a
thread’s connection. When an estate check cannot reach the selected connection
or resolve its credential for the caller, the tool reports an access problem
rather than treating the SQL as an unresolved relation; re-register with the
connection used by the rest of the run, or ask the stack administrator to grant
the caller access to the connection’s secret, instead of renaming relations or
columns.
Catalog checks use the selected connection’s platform-specific metadata capability,
not a universal information_schema query. If the caller can reach the estate but
cannot read its catalog under the bound role, register_obligation keeps the
obligation and records unmeasurable_under_role with the role or login that could
not enumerate it; it does not narrow the obligation to the objects that happened to
be visible. A catalog read that reaches its row cap is also treated as unknown rather
than as a partial catalog.
The group is prototype-scoped: drafts are held in memory per thread and are not
live-shared across processes. Each draft-writing registration writes the whole
draft through to the run store, so an authoring call after a server restart can
restore the saved draft on its first access. The first write inserts the thread’s
draft; later writes conditionally update it so an older concurrent revision does
not replace a newer one. A run-store read failure refuses the authoring call rather
than starting a fresh draft over the saved one. Successful finalize_spec calls write
compiled_spec.json and seal.json under
~/proto_agentic/<thread_id>/, then register the sealed artifact with the
source-contract front door. A front-door failure does not remove the disk
seal; the tool reports REGISTRATION_FAILED so it can be registered manually
through the compiled spec API.
Finalized artifacts can be used as relocation-proof evidence; see Relocation proofs
bind once.
For a repair round, call load_prior_spec once before any other registration
tool. It seeds the empty draft with the prior artifact’s structural items and
obligations, preserving their SQL bodies, tolerances, and probes. Settlements
are not seeded because the sealed artifact stores them in notes; the response
returns those notes verbatim and parses their SETTLEMENTS entries into drafts
ready for register_settlement. Re-registering
an item replaces that entry, while untouched items remain in the new seal. The
tool refuses to seed a draft that already contains registered work. The clause ledger is
the exception to whole-artifact seeding: it is matched to the document this round was handed,
by clause wording before key, so renumbered clauses follow their wording and entries for
clauses no longer stated are returned separately.
A repair round needs no file access to the prior artifact. load_prior_spec
returns a manifest of every seeded spec_id and obligation_id with the
relations it names and the named fork axis it belongs to; list_draft returns
that manifest again at any point in the round; and add_lean commits a fork by
attaching a lean to one member addressed by id, without resubmitting the
member’s SQL, tolerance, keys, or rationale.
A seeded repair round is a diff against the prior artifact, not a re-authoring. Every
obligation and structural item must carry forward byte-identically except for edits made by
the finalize-time relation normalizer or an explicit amendment. The default round_kind is
qualify: it may give relation names their schema, but refuses a weakening even when an
amendment supplies a basis. Use round_kind="authoring" only when the spec is deliberately
being re-authored against new information; a weakening or deletion then still requires a
named amendment with a non-empty basis. Deleting an obligation or structural item is named
with field="<deleted>". Unlicensed changes are refused rather than silently resealed.
A <deleted> amendment naming a structural item the seal still carries is refused, since
the seal would otherwise hold an item its own amendment says is gone. On a repair round,
withdraw_structural takes an inherited item out of the draft first,
and an authoring round then accepts its <deleted> amendment. A structural item on a derived
target leaves the spec when register_target_model registers a mapping that no longer
builds that target, which retires every item on it; the reseal accepts those deletions as
the mapping’s.
If an estate the run reaches has a standing scope removal (a descope)—the estate the run
names, or an active estate over either its source or target connection—finalize_spec refuses
with descoped_object_claimed while the spec still carries a structural item on the removed
object, a check whose relation or loci sit on it, a target model that builds it, or a scope
entry for it of any expectation (excluded included). When the side’s database is known on a
database-aware engine, only estates over that connection and database are checked. SQLite and
sides with an unknown database check every estate over the connection. Withdraw the scope
entry with withdraw_scope and the checks under the clarification; the mapping is the
proposer’s, so a model that still builds the object goes back to the proposer, and registering
the mapping without it retires the object’s structural items. The seal looks up estates for
each distinct source and target side, then reads each estate reached. If an estate lookup fails
or an estate cannot be read, finalization returns a finding and seals nothing rather than
treating the estate as having no removals.
An amendment can change one field of a carried obligation without re-registering its full
body: give finalize_spec an amendments_json entry with its obligation_id, field,
to, and a non-empty basis. The seal keeps the same id and every other sealed field;
declare the amendment on each finalize call that should apply it. For example,
[{"obligation_id":"obl-1","field":"title","to":"Current customer key","basis":"The owner clarified the check title"}] changes only the title. A reworded title or rationale does not require
round_kind="authoring" because it does not weaken the carried check.
On a Registrar repair round, an owner clarification can also authorize withdrawing one
carried obligation through withdraw_obligation with its clarification id as ruling_id.
That ruling is recorded with the withdrawal and licenses the deletion in the reseal;
other carried obligations remain in place. See withdraw_obligation
for the parameter and restrictions.
Classic repair tooling has no withdraw_obligation verb. Declare the ruled deletion on
finalize_spec instead, using the carried obligation’s id and the commissioned
clarification’s id: [{"obligation_id":"obl-1","field":"<deleted>","ruling_id":"clarification-1","basis":"The owner ruled this check out"}].
The seal removes only that check under the named ruling, whatever the round kind, and
records it in the finalize round’s ruled_withdrawals. The ruling must be one of the
clarifications this run was commissioned with; an uncommissioned id refuses the round
without sealing or removing anything. For other deletion amendments, the seeded-round
diff rules still apply.
When a repair round re-registers a seeded structural item or obligation unchanged, the
registration carries the prior declaration’s conditional fields and is accepted even if a
current conditional rule would reject that already-sealed shape. This applies to the
structural type-declaration fields (expected_type, expected_type_family, and
expected_scale) and to the obligation’s conditional declaration fields (kind, root_axis,
elected_reading, eliminated_reading, elimination_evidence, ambiguity_group,
target_sql, and measured_by); adding, removing, or changing any of those fields makes the
item newly authored and runs the conditional validation again. A new item, or an item whose
identity was not present in the seeded seal, is always validated as new.
In a version-2 target model, sources: [] declares a constant table the pipeline types in
by hand, not a derived output to reconcile against a legacy input. See declared target
mappings for
the required row check and comparison behavior.
register_scope
Register the scope entries the spec compares. Each entry has an object and an
expectation; stated_schema is an optional entry field for a ticket-stated schema on a
new output. It is a string naming one schema, spelled as in the ticket, and is omitted by
default. When the run has a commissioned ticket, the schema must appear in its text; the
field must also match the entry’s output schema or a custom-schema form such as
product_analytics for main_product_analytics. If no ticket was recorded, the ticket-text
check is skipped.
For example, a ticket that names the output schema can be recorded as
[{"object":"main_product_analytics.orders","expectation":"new","stated_schema":"product_analytics"}].
A non-empty stated_schema adds one indexed run lookup. The entry is validated before the
scope draft is written.
For a connection-ref run without an estate id, register_clause_accounting also checks open
reference_unreadable clauses against source scans from estates over the run’s connections.
If registration cannot read the commissioned catalogs, it leaves this check to
finalize_spec, which refuses if a relevant estate cannot be read.
In a grade, a satellite with no declared history source can instead appear in
history_tested_by_checks; see Declared target mappings and Data Vault shapes
for the history-test criteria and headline behavior.
register_target_model also returns target-object name collisions that differ only by case
to the proposer without registering the mapping. See the mapping guide.
The seat also flags an object listed in derived layer_sources if it is registered with
input scope; see the mapping guide for the correct scope.
After finalization, inspect the terminal author-seat summary for sealed_obligations,
clause_dispositions, and, on a repair, unapplied_removals, kept_out_of_spec, and
kept_out_of_spec_unresolved when present. kept_out_of_spec names objects the seat
reported as removed from the spec that the new seal still scopes;
kept_out_of_spec_unresolved records ambiguous names or names that could not be
reconciled with the current and prior seals. Names match case-insensitively, and a bare
name can match the final component of a qualified scope entry. The
author-seat status response
defines these fields and the persisted Registrar checkpoint order; the
Prover repair guidance
explains how to handle a removal that still needs the owner’s ruling.
For the live table-accounting check applied to mappings made only of derived targets,
see Declared target mappings and Data Vault shapes.
register_target_model also probes each declared reference whose source and referenced
columns are readable: one query scans the referencing object and checks each non-NULL
value against the declared referenced column. A reference with values but no matches is
returned as a finding; a reference column with no non-NULL values is not. Probe failures
join the other failed source probes. This adds one query per measurable declared reference,
with a correlated lookup of the referenced object per source row.
For how declared satellite history affects rendered link-membership checks and which history
columns must be present, see Declared target mappings and Data Vault shapes.
register_target_model looks up the run’s source and target engines before rendering; this
adds one indexed run lookup and, when target_connection_id is set, one connection-record
read. A mapping that needs engine-specific identifier quoting is rendered for that pair
only when the run places its target. Without a placed target, rename the identifier to a
plain name or place the target; a grade on a different engine pair refuses the rendering.
See engine-pair renderings.
register_accepted_differences
Register one rule per accepted difference class, in one call. A type_mapping rule names
mappings as source/target type pairs; a value_substitution rule names from_value,
to_value, and the applicable SOURCE column_types. Each rule also requires rule_id,
kind, and the ticket sentence in basis.
Use verified_renumbering only when the ticket or owner names a specific column that the
target numbers its own way, such as an ETL load stamp. It requires a non-empty scope of
whole columns (schema.relation.column); it has no class-wide form or extra body fields.
This names a claim for the comparison to test, not a licence by itself: for each changed
column the comparison measures its values on both sides and sets it aside only if they form
a 1:1 mapping over the same table rows. A split, merge, changed row assignment, or unread
side leaves the difference standing or undecided. Each side’s measurement scans the table
once per named column whose values changed; columns with more than 10,000 distinct values
are not measured.
An optional scope is a non-empty JSON array of loci on that rule. Use
schema.relation to cover every column in an object, or schema.relation.column to cover
one column. A two-part relation.column form is accepted when it resolves to one meaning;
catalog-qualified names are also accepted. Registration resolves each locus against the
draft’s registered scope entries and structural items, stores it as schema.relation or
schema.relation.column, and refuses unresolved or ambiguous loci before writing anything.
For verified_renumbering, only schema.relation.column is accepted.
The grade compares scope names case-insensitively against SOURCE coordinates; a catalog
prefix is ignored. A column-scoped rule does not license a finding without that column.
Omit scope (the default) only when the ticket states that the rule is platform-wide; an
unscoped rule remains class-wide for the other two kinds.
For example, to license an empty string becoming
NULL only in main.results.number,
include "scope": ["main.results.number"] in that value_substitution rule. A
verified_renumbering rule uses the same three-part column locus but requires it. The reply’s
scoped object reports each rule id and its resolved loci. The operation changes the draft
in memory; it runs no estate query, connection read, or model call.
withdraw_scope
Withdraw entries that are wrong in kind, such as a legacy object scoped same before the
seat knew its declared target model splits it into images. This removes the object from the
spec’s scope; it does not register replacement entries. Register each image separately with
register_scope. To correct an expectation rather than remove an entry, call register_scope
again for that object.
For example, pass
objects_json='["PUBLIC.ORDERS"]' to withdraw one entry. The call is
all-or-nothing: if any named object has no entry, nothing is withdrawn and the response names
the missing objects. On success, the response includes withdrawn and the remaining
scope_count. This is in-memory only; it performs no estate query, connection read, or model
call.
withdraw_structural
Withdraw structural items a repair round inherited from the spec it repairs, so the reseal
can drop them. finalize_spec refuses a <deleted> amendment for an item the draft still
holds, and a repair draft starts with every item of the prior spec, so this is the only way a
repair drops one the declared target model does not own. To correct an item rather than remove it, call register_structural again
under its spec_id.
The call is all-or-nothing. It refuses, naming each item and why, and withdraws nothing when
any named id holds no item in the draft, when an item was registered by this round rather
than inherited (register it again to correct it), when a check still links an item through
spec_item_ids (re-register the check without the link first), or when an item sits on a
table the declared target model builds (the model owns it; register_target_model with a
mapping that no longer builds the table retires it). The seal applies the same model rule: it
refuses the deletion of an item on a table the sealed model builds. It also refuses on a round that is not a
repair, since a fresh draft carries no inherited item. On success, the response includes
withdrawn, the remaining structural_count, and amendments: one
{obligation_id, field: "<deleted>", basis} per withdrawn item. Pass those amendments to
finalize_spec with round_kind="authoring"; a qualify round refuses the deletion. This is
in-memory only; it performs no estate query, connection read, or model call.
load_prior_spec
Use this tool at the start of a repair round to load the prior sealed artifact.
Address it by its spec_hash — the only address form, and the way every other
verb in this surface names a spec; it must be the full 64-character lowercase
hex hash, not the 12-character prefix printed in a notice. A prior this
deployment’s store does not hold is refused with the remedy that finishes:
register the sealed artifact through
POST /api/estate/spec-conformance/compiled, then repair by the hash that
returns. It accepts only an empty draft, so call it before register_structural,
register_obligation, or register_settlement.
A run commissioned with repair_of seeds only from that seal, and any other hash is
refused. If the run-store lookup fails, the seed is refused whatever the run’s tooling,
because which seal it may repair cannot be checked. Retry once the run store is readable;
if it stays unreadable, report the failure to the commissioning caller and stop. The store
error is logged but is not included in the reply. A readable store with no seat-run row for
the thread does not block seeding. When the seat run exists, its commissioned connection
is bound to an unbound draft as part of the same seed write, even if the repair only amends
or withdraws carried checks and registers no new check. An already-bound draft keeps its
connection. This keeps finalization on the connection the repair run was commissioned to
use. When there is no seat run, the prior’s recorded connection is inherited instead; if the
prior also has no connection, seeding follows its parent seals to the nearest recorded one.
The inherited catalog placement is carried into the reseal when it is bound to that same
connection. A read failure while resolving this lineage leaves the draft unbound.
When the active run was commissioned with
repair_of, this tool accepts only that
spec_hash. Naming a different prior is refused before its artifact is read, and the
response directs the seat to the commissioned hash. Enforcing this binding adds one
indexed run lookup.
On success, the response reports the seeded structural_items and
obligations counts and settlements_seeded: 0, plus everything the round needs
about the prior artifact without opening its file:
Before reading the prior grade or sealing the artifact, the tool checks whether the
thread’s draft is still empty. If it already contains registered work, the seed is
refused without those reads and the draft is unchanged. This is an advisory pre-check;
the seed repeats the binding check under its write lock, so work registered concurrently
can still make the seed refuse. When seeding succeeds, the prior-grade block is read once
and stored with the round; later reads of the draft use that fixed block rather than
re-reading the newest grade.
prior_notes— the prior artifact’snotes, verbatim.settlement_drafts— itsSETTLEMENTSentries, each already in the shaperegister_settlementaccepts. The notes grammar is written and parsed by one codec in the artifact-format layer, so whatfinalize_specseals is what a later repair round reads back. A line that does not carry the four labelled parts is returned verbatim undersettlements_unparsedrather than dropped.settlements_note— present only when no draft could be built, stating that no settlements were recorded. No empty list is returned in its place.manifest— every seededspec_idandobligation_idwith its locus, the relations it reads, its fork axis, and whether that axis is committed.prior_grade_run_id— the succeeded grade run that supplied the prior’s latest grade reading, ornullwhen no grade of this spec was found in the recent window.prior_grade_unverified— the obligations that grade could not decide, each with itsobligation_id,status,error, andcause. An empty list means the grade read successfully and found nothing undecided; the field is omitted when the grade was found but its verdict coverage could not be read.prior_grade_unverified_note— explains whether the latest grade found no undecided obligations, recorded obligations it could not decide, or supplied no readable coverage. This reading is taken once while the round is seeded and does not change if a newer grade arrives mid-round; start a new repair round to read it.clause_accounting_not_carried— present when an entry could not be assigned a current document key: its old key is absent and its recorded wording could not be matched uniquely to an unused new key, or another carried entry already owns that key. Each entry retains the oldclausekey and clause text; an open entry includes its reason, remedy, and evidence. If the document still states that clause under a new key, register it under that key; a removed clause needs no re-accounting.clause_accounting_not_carried_noteexplains the case, including when the current document numbers no clauses.clause_accounting_rekeyed— present when carried entries match clause wording under a different key in the current document; each item hasfromandto. These entries are already seeded under the new key.clause_accounting_reworded— present when a carried entry’s recorded words differ from the document’s clause under the same key. Each item includesnow_reads, the wording in the current document; check whether the entry still accounts for it and re-register it when needed.clause_accounting_ungrounded— present when a priorNOT APPLICABLEclause’s sealed note has neither a measurement that reads a name in this round’s clause wording (the prior’s wording when no readable document is available) nor a ruling that still stands and, for a seat run, was commissioned with that run. With a handed document, these clauses are not in the draft; without a readable document, they remain in the draft as carried. Re-account for each asnot_applicablewith evidence or a commissionedruling_id, or asopenwith its reason, remedy, and evidence; finalization refuses one left unchanged.clause_accounting_ungrounded_noteexplains the applicable requirement.
seat_settings_inherited is present when the repair inherits an unset authoring setting;
it maps each adopted key to its value, from_spec_hash, and default_was value. When
repair_of names the prior and authoring_tooling was unset, submit inherits that seal’s
tooling, so the run handle names the effective tooling from the start. The load also
reports that inherited setting. It inherits each source_catalog or target_catalog a
repair was commissioned without when the prior is loaded: each comes from the placement
the prior spec was sealed with, the source catalog only when the repair authors against
the prior’s connection and the target catalog only when its target is on the prior’s
target connection (default_was is empty for a catalog). A setting or catalog the caller
named is never changed.
seat_settings_note accompanies it with an explanation of the inheritance; if the tooling
becomes classic, the note says Registrar verbs are withdrawn and to use the classic verbs.
If the artifact cannot be
read, does not satisfy the sealed artifact contract, or the draft already has
registered work, the tool returns a rejection and leaves the draft unchanged.
register_substrate
Record the customer’s stated requirements for how the change must be built. The
section is optional: use it only when the ticket names a build mechanism, where the
transformations live, a re-run rule, or another constraint on how the copy is done. Do
not infer a mechanism from the estate or recommend one. The substrate states no
obligation and nothing in it is graded; it is sealed with the spec so a later building
agent can retrieve and certify against the customer’s words.
The tool normalizes whitespace, accepts at most
25 clauses, and limits each clause to
2048 characters. Empty clauses are rejected. Calling it again replaces the prior
clauses for that thread rather than adding a second contradictory section. The operation
is in-memory only; the clauses reach the sealed artifact when finalize_spec runs.
After sealing, read the section with GET /api/estate/spec-conformance/compiled/{spec_hash}/substrate.
That response distinguishes declared: false (the ticket stated no substrate) from an
empty clause list. After the build, the spec-conformance API reference
documents the separate statement surface: a declared substrate produces an anchored
self_certification, while declared: false records the builder’s own substrate choices
or departures as substrate_declaration with anchored: false. Neither record is a Prover
verdict.
list_draft
Lists what the active thread’s draft holds — counts, the bound connection_id,
and the same manifest load_prior_spec returns. Use it mid-round to recover the
ids to address. It returns no SQL bodies: repair an item by re-registering its
id, commit a fork member with add_lean, and every untouched item is carried
into the new seal unchanged. A thread holding no draft receives zero counts and
an empty manifest, not a rejection.
By default it returns every section. Pass sections to request only the sections
you need — for example, sections: ["counts"] requests just the counts (a
no-draft response also includes its explanatory note). The
available sections are counts, connection_id, structural_items, obligations,
fork_axes, settlements, prior_grade, and reseal_preview. An empty list or
any unknown section is refused. structural_ids filters the structural_items
manifest list by spec_id; obligation_ids filters the obligations list by
obligation_id. Counts always describe the whole draft, and each returned fork
axis always includes all its members.
On a round seeded by load_prior_spec it also carries reseal_preview, the
repair dry run: obligation and structural counts before and after, the prior
ids this draft no longer holds and the ones it added, per-kind counts on both
sides, and shrank. A round that dropped obligations while editing something
else sees it here, before anything is sealed.
The draft’s connection binding is also included in connection_id. If load_prior_spec
bound an unbound draft to the commissioned seat run’s connection, this is the connection
used when the repair finalizes, including a round that only amends or withdraws carried
checks.
edited_obligations is the other half: every obligation the round CARRIES
FORWARD with a changed field, each field with its before and its after, read
off the same walk the seal gate refuses on. Where the edited field is a
source_sql body, the entry also carries movement — the prior body and this
one, each run once against the bound estate, joined on the obligation’s keys,
and compared using the grade’s declared-column rules.
columns_missing lists declared compared columns neither body projects. It reports
rows_changed, max_delta with
its column and key, keys_dropped / keys_added, columns_compared /
column_tolerances, where each before and after entry maps a compared column to its
abs and rel bounds, the rows whose movement one form’s tolerances admit and the
other’s do not (rows_closer / rows_farther, with a verdict_basis saying
these are the two SOURCE forms and not the source-vs-target verdict). An edit whose
movement was not measured says why instead of
reporting zeroes — a tolerance edit on an unchanged body moves no row on the
source side, because the seat never executes target_sql.
preview_licensed_edits: true says the edits are reported; whether one was
LICENSED is still decided at finalize_spec, against the name pass’s own
receipts. A freshly authored draft carries no reseal_preview — there is no
prior, so there is no denominator.
On a repair round, list_draft also returns the prior_grade_run_id,
prior_grade_unverified, and prior_grade_unverified_note from the grade reading held
when load_prior_spec seeded the draft. It does not perform a second grade lookup, so
the repair inputs remain fixed for the life of the draft; start a new round to pick up a
newer grade.
Cost. A call that leaves reseal_preview out reads one copy of the in-memory
draft only — no estate query, file access, or grade lookup. Including
reseal_preview assembles the artifact that finalize_spec would seal. On a
repair round that edited a source_sql body, it also pays one connection-record
read and then two statements per edited obligation (one where both forms share a
body), capped at 10 statements and 2,000 rows each per call; edits past the cap
are reported with their movement unmeasured.
register_structural
For how an object-level
add_table item is decided when its legacy object is split, see
the Prover grade overview.
For a drop_constraint item, put the key being removed in description or
expected_effect: the grader confirms only a named key kind (PRIMARY KEY/PK or
UNIQUE) and, when supplied, its column list. Use UNIQUE with a key indicator such as
UNIQUE (email); the ordinary word “unique” does not name a key. The wording must name
only one key kind and at most one column list. If it names no key or is ambiguous, the
item remains indeterminate; if a different key was removed, it is not implemented. See
the Prover grade overview
for when a confirmed key removal meets a changed scope entry.
Once the scope is registered and makes the spec a derived build, register_structural and
register_structurals refuse an item whose inputs name neither a scope entry nor an output
of the spec, with the finding finalization would give, and write nothing for that item.
An input also resolves without a scope entry when the registered mapping says that this
item’s output is built from it: the output’s sources or layer_sources, or the source of
the split that delivers it. This is per output; a mapping source for another output does
not resolve the input. If the mapping carries a source into split images, do not scope that
source as input; scope the delivered images instead. A split image needs no structural
item of its own, because the mapping declares its columns and checks can compare its values.
If the ticket requires another property of an image column, such as its type or domain,
register a modify_etl_derivation item with must_match linked to a check that reads that
column. Register other inputs as input scope entries first. An item registered before its
scope is still judged at finalization.
register_obligation
When
target_sql names the target database and the run places the target on
another connection, Genesis checks and normalizes that SQL against the run’s
commissioned target database, not the source database. Any removed database
qualifier is named in the response’s normalization_note. This resolution makes
one indexed run lookup when a thread is available, and may read the prior run
when the run names repair_of.
An invariant, written_by, or schema_inventory obligation is statementless: do not include
source_sql, target_sql, keys, or compare_columns. Registration reports any of those
fields because these kinds do not run row-comparison statements.
A schema_inventory obligation checks the exact inventory of one Databricks target schema;
it does not compare data rows or prove values. Supply obligation_id, title, and rationale,
plus schema (one unqualified Unity Catalog identifier), inventory_scope (all_relations for
a literal census or business_outputs only when the requirement explicitly permits engine
storage), expected_outputs (a non-empty exact list of {name, table_type} using native
provider types), and requirement_source (for example, {"kind": "ticket", "citation": "..."}) pointing to
the dictionary or approved clarification. Supported table_type values are MANAGED,
EXTERNAL, VIEW, MATERIALIZED_VIEW, STREAMING_TABLE, MANAGED_SHALLOW_CLONE,
EXTERNAL_SHALLOW_CLONE, FOREIGN, and METRIC_VIEW. Do not add invariants, writer,
relation, invariant_side, expected_count, or name_filter; those fields are refused.
Grading requires an explicit Databricks target connection and catalog. business_outputs counts
published relations and excludes hidden pipeline storage only when provider metadata establishes
its internal kind and ties it to an expected output’s pipeline; all_relations exempts nothing.
The grade retains raw_inventory and returns PASS, FAIL, or ERROR; denied, incomplete,
changing, or unproven inventory cannot pass. Each grade makes two full schema censuses, an
ownership check and SHOW TABLES, plus bounded Unity Catalog metadata reads. See the
data-onboarding blueprint
for how the approved mapping supplies the inventory contract.
For a text-integrity invariant, an entry may use matches_none: "mojibake" to count rows
containing known wrong-character-set patterns such as é, ’, U+FFFD, or C1 controls.
Use it only on text columns. Keep this constraint alone in its obligation (with column),
set invariant_side: "target", and provide source_relation as the schema-qualified
counterpart on the source. The source
count is shown for context and does not affect the target verdict; any matching target row
fails the check; no matches pass it. No text values are returned.
Grading reads the full target table and its source counterpart once each. One check can
contain at most 100 matches_none entries; split wider checks into multiple obligations.
For the patterns’ limitations and proof-page presentation, see [the Prover overview]
(/docs/Genesis-Prover/Overview#the-proof-page-and-replay).
An optional tie_key object on a membership or recompute obligation declares a picked
column whose source ordering can tie. It has exactly three fields: column (string),
order_key (non-empty array of column-name strings), and tie_break ("unspecified" or
"deterministic"). The obligation’s keys include the entity row key and the picked column.
Its source_sql returns the source’s value where the order is strict and every candidate
where it ties; target_sql returns the build’s one value per entity. Keep NULL picks in
both statements, or use the same in-type stand-in on both sides. With tie_break: "unspecified",
any tied candidate is accepted, but a value outside the candidates still fails. With
"deterministic", the order key breaks every tie and the value is compared exactly. The seal
also requires a sibling keyed check on the entity row key over the same table, with
compare_columns leaving the picked column out so that it checks population without
rechecking the tie-keyed value. For example:
obligation_json, a keyed comparison can use tolerance and column_tolerances,
for example {"tolerance":{"rel":1e-12,"abs":1e-300},"column_tolerances":{"price":{"rel":1e-12,"abs":1e-300}}}.
The scoped name must be listed in compare_columns and not in keys; relative_tolerance
is also accepted as the separate relative-bound field. See the
Prover grading rules for how these bounds affect comparison.
For how a sealed check can exclude a transform_values column from the whole-table checksum,
see checkable value changes.
Copy spec_id values from list_draft or a structural registration reply, or link a column
item by its locus. Registration resolves a locus to the one matching structural item and
stores its canonical spec_id; if it matches none or several items, the obligation is refused,
candidates are listed when available, and nothing is written.
For the allowed kind values and the grading behavior for an unknown non-null value, see
how agents drive the Prover.
In a derived build, a membership or recompute check that reads an output which must equal
its reference, and that reference, is answered with value_coverage while the output still has
columns no check compares with the reference: columns_counted, why when the check counts
none (for example, its target_sql cannot be read in the target engine’s dialect, or its keys
are not columns it reads), and every uncompared_columns entry. register_obligations lists
each such note under its item.
For a recompute with a constant expected side, or an invariant on a referenced output,
registration also runs the check’s rule against the reference original. If the original
already violates that rule, registration refuses the check: a faithful build would fail
it too. A check is exempt only when the ticket orders the output to differ from its
reference; set reference_contradiction_declared: true and provide
reference_contradiction_rationale quoting (in double quotes) a sentence from the ticket
that states the rule. A quote not found in the ticket is refused before the estate is read.
When the reference cannot be checked, the accepted response gives the reason in
reference_probe_unmeasured; that does not refuse the obligation. This probe is read-only
and checks no more than 50 rows; a result over that limit is reported as unmeasured, not
compared partially.
register_obligation rejects an obligation when any executed SQL field
(source_sql, target_sql, or grain_probe) hard-casts a column from a raw or
staging relation. This includes qualified relations with a segment beginning
with raw_ or stg_, or a segment named raw or staging, whether the
relation is referenced directly or through an alias. Use a tolerant parse such
as TRY_CAST or a TO_* function with a safe fallback instead; tolerant
parsing yields NULL rather than failing the statement on the first
unparseable value.
Registration also refuses an executed SQL field whose NOT IN subquery can
yield NULL: SQL then never evaluates the predicate as TRUE, so an
unmatched-row check can count nothing and pass vacuously, while a grain_probe
measures nothing. This check covers source_sql and grain_probe in the
source connection’s dialect, and target_sql in the placed target engine’s
dialect; when no target dialect is available, it checks target_sql as ANSI
SQL instead. Rewrite the predicate as correlated NOT EXISTS or a LEFT ANTI JOIN, or filter every selected subquery column with IS NOT NULL (qualified
with the subquery’s alias when it joins multiple tables). A repair that
re-registers a field unchanged from its seal is not checked again for this
rule; edited fields are checked normally.
Before resolution checks and probes, register_obligation refuses a comparison
with check_measures_nothing when neither source_sql nor target_sql measures
a relation. It also refuses when owning_relation, or the loci linked by
spec_item_ids, name the asserted object, a non-measuring statement reads it,
and every measuring statement reads only other relations. A FROM, CTE, or
derived table that supplies only fixed rows does not make a typed value a
measurement. Keep a literal on at most one side and make the other query the
object; in a migration, it can query the same-named source counterpart. The seal
repeats this check for carried obligations too. A statement the SQL reader
cannot parse is not judged. Re-register the obligation under the same
obligation_id with the fix named by the finding, then finalize again.
For keyed comparisons, each readable source_sql and target_sql projection must return every
declared key. When the SQL reader can resolve a side’s output names and finds a key missing,
register_obligation refuses it with check_key_not_returned; the seal repeats this check for
obligations carried into a repair round. Return each key from both queries, or choose keys both
sides return. Re-register the obligation under the same obligation_id, then finalize again.
A side the SQL reader cannot parse, or whose projection includes an output name it cannot resolve,
is not judged by this check.
The same holds for every column a keyed check compares: the declared compare_columns less the
keys, or, when it declares none, every non-key column either query returns. The grade reads each
compared column from both queries, so register_obligation refuses a check comparing a column
one side does not return with check_compared_column_not_returned, and the seal repeats the
check for carried obligations. The finding names the obligation, the column and the query that
lacks it. Return the column from that query (joining to the table that holds it), drop it from
the other, or declare compare_columns without it: a column only one side needs, such as the
column a ranking orders by, is context. Sides the SQL reader cannot judge are skipped as above.
For when a whole-row hash check confirms row coverage and which columns it accounts for, see
Genesis Prover grade guidance.
A check whose spec_item_ids link items on two or more objects must return one row per
linked object, keyed by that object: a UNION ALL of plain SELECTs, one branch per object,
each projecting the same single key column as a constant naming its object, with keys set to
that column and no WITH, ORDER BY, LIMIT or OFFSET. The grade then fails only the items
whose row failed. finalize_spec refuses any other such check with
shared_check_not_keyed_per_object (an aggregate row, no row for a linked object, or one row
reading two of them). Rewrite it in that shape, or link it to one object’s items and register
a check per other object. A check linked to items on one object is unaffected.
When the run’s documents include a pipeline’s Lakeflow Designer flow or Delta Live Tables
source, finalize_spec refuses a fresh round with pipeline_filter_not_carried when a
recompute or membership check on a table that pipeline writes does not cite the row filter
that is the table’s last step before its write. For a designer flow the refusal restates the
filter’s condition over the output’s own columns. Apply the filter to the check’s source
side, cite its node id (for example filter_46_b6e25100) in the check’s
requirement_source citation, re-measure, then finalize again. A filter further upstream is
not refused. A repair round is not refused for this.
A check that states no tolerance compares every column both sides type as FLOAT or DOUBLE
within {"rel": 1e-12, "abs": 1e-300}; DECIMAL, integer, text and temporal columns stay
exact. A tolerance the check states replaces that default and reaches every numeric column
the check returns, whether or not it declares compare_columns. Declare "tolerance": 0
for an exact float compare. For keyed comparison float32 semantics and their verification
evidence, see the Genesis Prover overview.
A source-anchored statement that reads a relation the draft’s own structural
items declare created — an add_table or add_derived_mart locus — cannot be
PLANNED, because the relation does not exist until the build runs. It is not
taken on the declaration alone: the relation must also be scoped new, and must
be absent from the estate’s measured catalog. Only then is the statement
deferred, and the response carries resolution_deferred, one entry per
(statement, relation) pair — a statement reading two created relations yields two
entries — naming the relation, the declaring spec_id, and which of the two
checks actually ran for it.
The deferral is per relation, not per statement: every OTHER relation the
statement reads is checked against the measured catalog, because no probe will
see them. A create the scope does not hold as new, and a new object the
estate already holds, are both refused by name.
On a run whose target is on another connection or in another catalog,
finalize_spec prepares each deferred source_sql and the violation count for
each invariant still graded on the source against the source engine, using the
same no-read resolution form. If the source engine reports that a declared
build-output relation is missing, sealing is refused with
source_reads_target_only_relation; the finding names the obligation, relation,
and engine error. For an invariant, it also says to declare
invariant_side: "target" so the check asserts about the build. This check is
skipped when the build is in the source’s own connection and catalog. It adds
one live source-engine round trip per deferred source-side statement on a
separate-target run. For a check between two derived tables, put the comparison
on the target side only; when reconciling against the source, read the source
relations the derived table is built from.
For an invariant whose invariant_side is omitted, registration records
invariant_side: "target" when the declared target model builds the relation, the
resolution check deferred it as a created relation, and the source catalog was
measured without that relation. The response includes invariant_side_inferred
with side: "target" and the basis for the inference, so the invariant is graded
on the build rather than against the legacy source. This inference is not made
when the source catalog could not be measured or the relation was not probed.
When the target model builds the relation but the source also holds a relation of
that name, registration refuses the unsided invariant because either estate could
be intended; resubmit with invariant_side: "target" or invariant_side: "source".
On successful registration of a newly authored membership obligation with no root_axis,
the tool sets root_axis: "population" and returns root_axis_defaulted: "population". An
explicitly declared valid axis is retained, and seeded declarations carried unchanged into a
repair are not defaulted again.
This covers a check over an upstream model of the same build. An obligation whose
source side reads the relation its own target side reads is also refused, but the
finding distinguishes two cases. If the spec declares that relation created and the
bound estate does not hold it, the source reads the post-build world; read the source
inputs (or the original named by the item’s reference) instead. If the bound estate
already holds the relation, it is not a created output: remove the create-declaration
and re-scope it changed or same. These are declaration/scope faults, not spelling
faults; the response gives the corresponding remedy, including when both kinds of
fault occur in one registration. For self_consistency, the declared relation is
its target relation for this check, even when target_sql does not read it. A read of
an absent relation the spec does not declare is still rejected with the estate’s own
error.
If the connection drops before an obligation’s SQL or grain probe is evaluated,
the response is retryable rather than a modelling rejection: it includes
retryable: true, rejected: false, and a hint to call again with the same
payload. The same transport classification applies when register_settlement
executes grounded_by_sql; a dropped connection is not evidence that the SQL or
the settlement is wrong.
When the registered query transport cannot be opened, register_obligation does
not reject the obligation only for that reason. It records the statement in
resolution_unprobed, accepts the obligation without claiming that the statement
was checked, and reports any source relations without a receipt in
relations_unobserved. Before finalization, read those relations with an
available tool: re-register the obligation when its resolution or grain probe
can run, use register_settlement for an executed grounding query, or let the
finalize-time catalog read observe a relation’s returned columns. A successful
empty result is not a sample_read receipt.
register_time_value_binding
Register the source binding for each declared TIME column ratified for STRING
HH:mm:ss storage, and for each such encoding carried into a repair round. The target
relation and column must match this run’s declared target types or a carried encoding.
The seal builds and owns the keyed check from this binding; do not register a TV- check
yourself. A repeated call for the same column replaces its earlier binding.
For example, bind
PUBLIC.EVENTS.START_TIME to six-digit text in
PUBLIC.RAW_EVENTS.START_TIME on EVENT_ID with source_form="hhmmss_text" and
key_columns='["EVENT_ID"]'. The source value is compared with the stored target text,
along with a hidden validity marker; malformed values, values in another form, mismatches,
one-sided NULLs and fractional seconds fail grading. For hhmmss_text, 000000 is
marked unruled_initial and fails: it can mean midnight or no time recorded, and passing
it requires a person’s ruling. A carried binding without a declared source form must be
registered again; no form is assumed. finalize_spec refuses a missing binding
(target_time_value_check_missing) or a held check that is not the current rendering
(target_time_value_check_stale), and retires checks for encodings no longer ratified.
Unsupported engines or zoned TIME columns are refused by name. If an engine cannot render
a check, finalization sends the refusal to the commissioning caller even when that check
is already held; it does not ask the author to register a binding the seal cannot use.
SQLite source checks validate six-digit hhmmss_text in UTF-16 databases as well as other
SQLite encodings. Source checks support BigQuery, Databricks, PostgreSQL and SQLite; target
checks support Databricks and SQLite. SQLite checks reject time text with NUL-hidden trailing
bytes; see the Prover’s SQLite time-text rule.
Cost: one run-row read, two connection-record reads and the source resolution check;
each registered check adds one keyed comparison per grade, reading the bound source
columns and target columns.
register_settlement
register_settlement returns the measured grounded_result, axis,
settlement_id, and settlement_count. When a settlement replaces an earlier
one on the same axis, it also returns replaced_previous: true and
previous_settlement_id; use the same axis to correct a settlement instead of
registering a rival entry.
The server builds the measurement SQL against the run’s estate snapshot and quotes
relation and column names as that snapshot spells them. A case-insensitive name is
accepted only when it identifies one snapshot name; if multiple names match, use the
exact spelling. Several min_max measurements combine into one span only when their
non-NULL values are all dates or all numbers. An all-NULL part adds no value, but a span
with no values or with mixed dates, numbers, or text cannot ground a claim.
declare_migration_shape
Use this deterministic repair when a grade reports structural items as
indeterminate because their migration shape is undeclared. The REST contract and
refusal conditions are documented in Declare migration shape.
For a partially declared spec, this completes the missing shape declarations without
changing existing ones. Grade the returned child
spec_hash; the REST contract documents
the filled_items / kept_items receipt and refusal cases.
add_lean
Commits an ambiguity fork by attaching a lean to one member already in the
draft, addressed by obligation_id. It writes only that field, so no SQL,
tolerance, key, rationale, or reading can change through this path — which is
what lets a repair round commit a fork whose member bodies it has never read. It
runs no estate query, because nothing new is submitted. Use it instead of
register_obligation whenever the lean is the only thing being added.
Fork membership is read through the seal gate’s own grouping, so this tool cannot
accept a lean on an obligation R1 does not regard as a fork member.
For grade-result interpretation, see what a run reports back.
finalize_spec
On a fresh authoring round, finalization can fill missing structural-item
inputs from
attached SQL loader procedures. It does this only when a procedure writes the item’s
output, the item has no inputs field of its own, and the read table is already named by
a non-excluded scope entry or another structural item. Generated inputs carry
declared_by: "procedure", and the seal records the asset, procedure, and line range in
its LINEAGE READ FROM THE LOADER PROCEDURES notes. Existing inputs, including
inputs: [], are preserved; repair rounds do not add this lineage. Procedure-derived
inputs support lineage display and scoping, but do not by themselves make a by-name spec
a rebuild or change what the grade measures.
When a seat was commissioned by a background turn with no person of its own, the
front-door registration checks use the person recorded as the seat run’s commissioner:
the mission originator, or the person whose chat commissioned a product wake. The
connection’s own grant still decides whether it is visible to that person.
Before sealing, the draft must carry a row-set claim. A lift-and-shift, whose
scope asserts no changed or new object, must include at least one obligation
with kind set to membership; its keyed same scope entries do not replace
it. Any other draft must include such an obligation or a same scope entry
carrying row_identity. This row-set claim must state which source rows must appear in
the target by providing keys, source_sql, and target_sql; without it,
finalize_spec rejects the draft because the spec cannot detect rows dropped
from or invented in the target.
When the reached estates have at most one member and complete latest source and
target scans are available, finalize_spec refuses a carried same or changed
scope entry if neither side’s scans resolve its object name. Nothing is sealed:
use the name held by the scans (for a Foundry dataset, its RID or scanned name;
for a table, its schema-qualified name), then finalize again. This catches a scope
the proof could only grade as unmet; see [scope verdicts]
(/docs/Genesis-Prover/Agents-And-The-API#scope-verdicts) for the grading behavior.
For a run commissioned by connection refs with no estate id, the seal performs this
check using scans from active estates registered over its source and target connection
boundaries. If an estate lookup fails or a reached estate cannot be read, finalization
refuses with scope_estates_unreadable rather than sealing without the check. This
cannot be fixed in the spec; report it to the commissioning caller and stop.
The other estate-backed checks also apply when a run is commissioned by connection refs
without an estate id. A source scan from an estate over the run’s boundaries can establish
that an add_table locus is already held or that an open reference_unreadable clause
names a dataset the source read file by file; lookup or estate-read failures refuse these
checks with scope_estates_unreadable. Checks that must tie evidence to a particular
estate use only exactly identified sides: file-backed sides and warehouse sides with a
named database. An unnamed warehouse database is not treated as one estate’s evidence for
these checks. This exact-side rule applies to source-scan checks and the ratification of
target_type_dispositions; the descope check above deliberately considers every estate
over a connection whose database is unknown.
A locus or relation written <database>.<relation> is also refused, naming
the schemas of the bound connection to write instead. A spec is graded against a
build that does not land in the database it was authored against, so a
database-qualified name can never resolve there. The three-part form is
normalized rather than refused; a head that is neither the bound database nor a
known schema, and an unknown schema list, both pass.
On a round seeded by load_prior_spec, the seal reports coverage: obligation
and structural counts before and after, the ids dropped and added, per-kind
counts, and shrank. counts alone is unreadable on a repair, because “25
obligations” is a whole spec or an amputation depending on what the prior held.
The registration declares that prior as parent_spec_hash, which puts it under
the compiled-spec front door’s own coverage gate — and the block reported here is
the one that gate measured, carried through with its coverage_basis, not a
second measurement taken by the seat. Where the store reports no measurement, so
does the seal.
A refusal from that gate fails the round. If the store judges the registration
and says no — a shrink with no stated basis, a declared parent it does not hold, a
declared parent that contradicts the stored lineage — finalize_spec records the
round failed with the store’s own basis and publishes nothing, so the staged files
never become the sealed spec. An infrastructure failure is the opposite case and is
non-fatal: the artifact is good, the store is merely behind, and the response says
REGISTRATION_FAILED with the manual registration path.
After the artifact contract passes, finalize_spec also runs the seal gate’s
lint rules and refuses to seal when they report a refusal. A structural migration shape
must be declared on every item or on none; a partial declaration is refused because the
undeclared items abstain during grading. For an uncommitted
fork, either commit the member you choose with add_lean, or record the
abstention and why the axis cannot be leaned; then finalize again.
For comparison obligations (membership, recompute, and self_consistency),
the dated R9 rule refuses a seal when source_sql has a top-level LIMIT n and
target_sql establishes more than n rows through top-level UNION ALL
branches, each an unconditional aggregate. In that case, the expectation cannot
state a value for every target key; add an expected row for each key or narrow the
target query to the keys the expectation covers. The rule does not infer a target
row count when those branch conditions are not established. Artifacts not stamped
2026-10-13.an-expectation-covers-every-key-it-grades or later receive a review
finding rather than a refusal.
Before sealing, Genesis reads and verifies the pinned spec-author constitution
from the assigned skill package; if it cannot load or verify that digest, no
artifact is written or registered.
For a fresh Registrar authoring round, constitution v9.27’s F1-D seal gate applies
when the scope contains any input entry or the registered target mapping declares a
derived target. It refuses a derived build whose structural tier is empty, an item whose
locus is a scoped input or is not read by its linked checks on target_sql (unless
the mapping declares that derived target), and an ordered output without a column
item. It also requires column items for output columns the checks key or compare on a
single target relation, target-side invariant columns, and columns declared by the
derived mapping. Link each obligation to the structural items it proves with
spec_item_ids; if an obligation links none, the gate evaluates each item against
all obligations. A same scope entry is refused when it names an output by relation
(matching by name alone when either side has no schema) or by an item’s reference.
It is also refused for a same-named output under another schema when that output has
no non-excluded scope entry of its own. If the output is separately scoped, for example
as new, the other-schema same entry can describe a pre-existing relation that the
build leaves alone. A changed output must be read by a check on the source side or it
is refused as absent from source. Scope an output new, except an image carried under
its legacy object’s name, which is changed; put source lineage in each item’s
inputs, and name an original to reproduce in the object’s reference. A copy (no
input and no derived target) does not acquire this structural-item requirement.
Repair rounds are not re-judged by F1-D. These findings are returned with the other
seal findings; nothing is sealed until corrected.
When a commissioned draft declares target_model, finalization refuses with
carried_column_added if a structural add_column item names a column the model
carries from a source into an image with a different name. add_column is decided
against the same-named source object, which does not exist for that image, so the
grade can never decide the item. Drop it; if the ticket requires a property of the
column, register an invariant or recompute obligation that reads it on the
image. On a prior-seeded round, declare the deletion in amendments_json with
obligation_id equal to the item’s spec_id, field: "<deleted>", from, to,
and a basis naming this finding, and use round_kind: "authoring". Nothing is
sealed on refusal.
On a fresh Registrar round, constitution v9.34 also refuses with
target_design_column_undeclared when a registered target mapping lists an image
column in new_columns or metadata_columns but no column structural item declares it.
The check does not apply to repair rounds or images assigned a vault role. A column item
declares the image column by its locus, a rename’s new_locus, or a
propagates_to entry; a removal item does not declare it. Register an add_column
item with source-column inputs (or inputs: [] when the design gives it no source
input), the design’s expected_type and expected_type_family, and a linked check
where one can be written. Use a recompute check for a computed column and a
population check for a column with no source input. Nothing is sealed until every
reported column is declared.
Since constitution v9.35, registration and finalization refuse with
source_side_constant a comparison check whose source_sql measures nothing (no value or row
it returns depends on a relation, such as SELECT 1 AS grp, 0 AS violations) unless the check declares
stated_expectation: one sentence saying what the constant states and why no source reading
answers it, for a rule with no source counterpart. Where the rule has one, measure the source
instead: run the same predicate over the source table the target replaces. A check that
declares stated_expectation while its source_sql measures a relation is refused too. The
review page and the check’s failure sentence name a declared side “expected (not measured)”,
never the source. Checks the tools render from a declared rule (a platform key or constraint,
a target model’s grain, a conditional rule) declare it themselves. A spec sealed before v9.35
reads as it sealed; its reseal is held to the rule.
Since constitution v9.36, finalization of a seat run whose escalation mode is human refuses
with open_question_forked a multi-member ambiguity_group no member leans, a written
abstention included. Such a fork is two checks asserting opposite answers to one question nobody
has decided, and one of them fails on every build. A reading the seat can commit is leaned with
add_lean; a question only the ticket’s owner can decide is reported in the RESULT line’s
open_questions with a recommended answer, and only what the ticket settles is checked. An
autonomous run keeps the written abstention. An unchanged fork carried from the prior sealed
spec into a repair round is not refused again; changing its members’ answers or check definitions
means it is no longer carried unchanged. To clear the refusal, re-register one member under its
existing obligation_id as a check of only what the ticket settles, without ambiguity_group,
and remove the other members by withdrawing them or re-registering their ids the same way.
Finalization refuses with carried_column_item when any other column item on such a
carried column cannot be decided: a transform_values, modify_etl_derivation or
type_change item, or an item declared must_match, that no obligation reads at the image
(the grade compares a column item with the same-named source object, which does not exist,
so only the item’s own checks can decide it), and any drop_column or rename_column not
declared must_match, which contradicts the carry. An item whose checks include one the
degeneracy probe measures degenerate on the source (empty, all-NULL, all-zero) is refused
too, naming the check and the probe’s rule: the grade voids such a check, so it decides
nothing. The seal runs that probe, one read-only source query per such check, only over the
checks that alone keep a carried item sealable. State the claim as an obligation that
reads the column on the image, or drop the item, with the same deletion amendment on a
prior-seeded round.
Finalization refuses with invariant_grades_nothing when an invariant obligation declares
no constraint the grade counts: every rule is finite only (recorded, never counted) or
names no column. The grade builds no violation query for it, so it would error on every
proof. Record a limitation in the spec’s notes or history_not_testable instead, or give
the invariant a counted constraint (not_null, min, max, allowed_values).
For allowed_values, a text value is compared as text even against a numeric member: text
"01" does not match numeric 1.
Finalization refuses with written_by_without_write_history when a written_by obligation’s
target engine has no per-relation write-history query (writer_history_sql is None). Such
an obligation would error on every build, including a correct one; a Flow-run record cannot
replace write history the engine does not expose. Drop the obligation, or, if this round was
seeded from a prior spec, declare its deletion in amendments_json with round_kind: "authoring". If the producer requirement still matters, record that this target cannot
evidence it in the spec’s notes instead of making it an executable check. Nothing is sealed
on refusal.
On a commissioned run with target_model, finalization also refuses an input scope that
the mapping does not declare as read. The mapping must list the object in a split with
images: [], as a source of a derived target, or as a relation declared in an image’s
history; an object carried into an image is not an input under this check. Once the
mapping is registered, register_scope also refuses an input entry for a carried split
source at the call, and writes nothing from the batch. An input that
exists only in the target catalog, or lies outside the source estate’s scope, is treated as a
target-side relation read by the build and does not need a source-to-target mapping entry. The refusal uses undeclared_input,
reports the objects that do not agree, and leaves the draft unsealed for the proposer to amend.
Finalization also refuses with same_over_split when scope expects same for a source
object that target_model splits into one or more images. Drop that object’s same entry
and register each declared image, citing its mapping row: an image under a new name with
expectation new, and an image that keeps the source object’s name with expectation
changed; then finalize again. The seal is not written on refusal. Once
register_target_model has registered the mapping, register_scope refuses such a same
entry at the call under the same rule and writes nothing from that batch, including when an
image keeps the source object’s name. This catches the mismatch on the first scope
registration rather than waiting for finalization.
Finalization also refuses with new_over_carried_image when scope expects new for an
image target_model carries a source object into under that object’s own name. The source
already holds that name, so the build does not create it, and every check reading the source
object on its source side would be refused as reading the build. Scope it changed: on a
split the grade reads changed as it reads new, every image on the target. Once the
mapping is registered, register_scope refuses such an entry at the call under the same
rule.
For a fresh Registrar round’s derived build, finalization also refuses under
derived_build_items a column item the grade attributes no check to (a removal excepted,
which the diff confirms; a column the value floor names is refused under
declared_rules_unchecked instead): a check whose
spec_item_ids name only an object item reaches none of that object’s column items, and an
item with no check reads unverified on a correct build. Each finding names the check that
reads the column and the item ids to add to its spec_item_ids, or the item no check reads.
register_structurals and register_obligations return the same list as
unchecked_column_items while any remains.
For column items outside the value floor, this gate also requires an attributed check: a
check with spec_item_ids naming only an object item does not reach that object’s column
items. When a check reads a column but omits its item id, the finding names the check and
asks to add the item ids; when no check reads the column, it asks for a check linked to the
item. Removal items are confirmed by the diff, and items already covered by the value-floor
rule are handled under declared_rules_unchecked instead.
Finalization also refuses with excluded_but_delivered when scope expects excluded for
an object target_model delivers: a source object it splits into one or more images, or an
object it declares on the target (an image, a vault entity, a derived target). The grade
reads either entry as unmet on a correct build. Drop the entry and scope each image: new
for an image under a new name, changed for one that keeps the source object’s name;
unnamed target objects are reported as scope_unclaimed when the scope does not claim the
whole target, or as blocking surplus when it does.
excluded remains valid for an object the mapping loads nowhere.
On a commissioned run with target_model, finalization also refuses with unrendered_link
when a declared link renders no membership check. The finding names each link and source and,
when a participant is unreachable, the missing reference to declare. Fix the proposer-owned
mapping and retry; do not register a hand-written check in place of the model’s missing check.
For reference spelling, including schema-qualified split names, see Declared target mappings
and Data Vault shapes.
Finalization refuses with unforked_link_population when a hand-written membership check
compares a historized link’s population as one reading without a fork for that same link.
The source rows and declared history can represent both the current pair per key and every
pair any version related. Put the check in an ambiguity_group with at least one other
membership check reading that link, and give each obligation its reading, or drop the
hand-written check; the model’s generated check reads the accumulated population. Then
finalize again. Nothing is sealed on refusal.
When no target_model was proposed, finalization also refuses a spec that scopes tables as
input while describing a same or changed table that the source catalog does not hold,
when the obligations read that table. This indicates a target built from other tables rather
than a one-to-one source copy. The refusal uses unmapped_reshape, names the affected tables,
returns RESULT with spec_hash=NONE and an open question asking the proposer for the
source-to-target mapping, and seals nothing. The seat does not author the mapping; after the
proposer supplies it, retry with target_model.
Finalization also refuses when an obligation’s source side names a relation with
neither an observation receipt nor one of the documented deferred or carried
bases. On success, the response and seal.json include relations_observed,
with one entry per relation and its observation basis. This evidence is stored
beside, not inside, the compiled artifact, so it does not change spec_hash.
The response and seal.json also include clause_gate, which reports
clauses_counted, numbered_items, and table_rows. When the commissioned document
has no numbered item or table row, the block includes a note stating whether the run
had no document or the document had nothing to count; the absence of a clause is not
reported as silent coverage.
The seal also compares each receipt’s connection with the source estate named by
the run. If any source relation was observed through another connection, finalization
refuses with re_anchored: a landed copy is a different estate, even when its current
contents match. The refusal names the declared and observed connections, the affected
relations, and the observing tool. To accept a substitute deliberately, the operator
must submit source_estate_basis on the author-seat run with both connection_id and
reason; when every foreign receipt matches that declared substitute, the seal proceeds
and records re_anchored_from with declared, observed, and basis. Seals that do not
use a substitute carry declared_source_estate, re_anchored_from: null, and one of
observed_on_declared_estate, declared_source_estate_unrecorded, or
no_receipt_to_compare as re_anchored_basis.
The seal also reports an unlicensed_lineage review finding when a structural
description/expected_effect/rationale or obligation title/rationale says that a source
NULL or missing value makes the target value legitimate, acceptable, expected,
or otherwise permitted. A source NULL explains a finding; it never licenses
skipping a required invariant. This is a review finding on an otherwise sealable
artifact, not a substitute for adding the required check.
finalize_spec applies the relation-name rules to everything the draft holds,
seeded and newly registered alike, before it assembles the artifact. It refuses
when the thread’s bound connection changes while it is reading the estate: one
seal describes one estate, and its names, its bind catalog and its provenance all
come from the connection the draft was bound to when the finalize began.
A locus on an add_table or add_derived_mart item that carries no schema is
qualified with the connection’s default schema, receipted on the response as
requalified_loci. Loci on other change kinds are left alone: for those, one
segment is a column, not an unqualified relation.
A read that names a relation the spec’s own structural items declare created but
carries no schema is then qualified from the declaring item’s locus, receipted as
requalified_reads. When the declaring item names no schema and the connection
supplies no default, names a schema the bound catalog does not hold, or two
declared relations share the name, the read is refused by name instead of
guessed. A read of a relation the spec does not create is left alone — it names
the frozen source estate, where the connection’s own default schema resolves it.
An invariant obligation’s bare relation field is qualified by the same pass. A relation
declared by this spec resolves to that declaration’s locus; otherwise a bare name resolves
against the connection’s default schema when that schema is known. Already-qualified names
are unchanged. If more than one declared locus matches, the pass refuses rather than guesses.
The rewrite appears in the finalize response’s relation receipts and is included in the
seeded-round diff as a licensed normalization; it does not authorize any other obligation
change.
Both receipt lists ride every finalize response — the seal and every later
rejection alike — and are recorded on the run row’s finalize round. A rejection
is not a rollback: the rewrites stand, and the next round starts on the rewritten
draft. Neither list is written as an empty list: absent means the rule found
nothing to rewrite on a round that reached it.
If the connection’s schema list cannot be read, the created-relation rules cannot
decide anything, and finalize_spec refuses any draft that holds a name they
would have had to decide: a relation-creating locus written with no schema, or a
read with no schema of a relation the spec declares created. The refusal reports
catalog schemas unavailable for <connection> and names each such item, and
seals nothing. A draft holding no such name is unaffected and seals normally, so
a transient metadata failure does not block a spec the rules had nothing to say
about. The test is of the draft’s contents, not of how it was filled — an
authored locus registered before the run bound a connection has not been through
the registration-time locus rule either.
Example sequence:
load_prior_spec and start with the registration tools.
finalize_spec records each attempt on the thread’s run history. A rejected
attempt is recorded with its findings, while an interrupted seal is recorded as
pending or failed; retrying finalize_spec for the same artifact completes
that attempt instead of creating a second one. A successful response includes
sealed: true, the spec_hash, artifact counts, and the published artifact
path. If the final history write fails after the seal and front-door
registration succeed, the response still reports the completed seal and tells
you to rerun finalize_spec to complete only the history transition.
A successful response can also include review_findings. These are advisories:
they do not prevent the seal, and apply under either interpretation policy.
contradictory_live_clarifications names live
estate rulings that disagree. Only structured TIME-encoding statements can
disagree: they are compared by relation and column, and the finding names
every live ruling on that column. Prose statements are never read for their
meaning, so they are never called contradictory. Instead,
overlapping_live_clarifications names every live ruling on one subject when
there is more than one. It says whether they record the same ruling, without
claiming whether reworded rulings agree. Subjects match when they are equal
(ignoring case and spacing). Reworded subjects match only when they name the
same identifiers and one subject’s content words contain the other’s. Word
order and filler words do not matter, and a word may be added, but a word is
never replaced: “rounding of orders.amount” matches “orders.amount rounding”,
while “timezone of orders.created_at” and “precision of orders.created_at” stay
separate, as do “legitimately empty” and “correctly empty”. A ruling joins a
group only when it matches every ruling already in it. Retired rulings do not
count. If the register cannot
be read, the finding says the contradiction check was not completed. A run with no estate
id checks the estates over its exactly identified sides instead; an estate-lookup failure
is also a non-blocking finding. The check reads the clarification store twice per estate
reviewed, after one estate lookup per distinct side. To resolve a duplicate or superseded
ruling, withdraw it on the owner’s word or have a person overturn it on the review screen.
When the run names an estate, this check reads that estate’s clarification store twice.
Successful finalize_spec responses may also include a dangling_id_reference in
review_findings when likely all-caps, hyphenated ids in a structural item’s
description or expected_effect, or an obligation’s title or rationale, do
not match an item or obligation id held by the spec. The warning names the cited
id and prose location and suggests the nearest id the spec holds. It is advisory
and does not block sealing; check whether the prose should cite the registered id
or whether the intended item or obligation is missing.
uncovered_structural_item names an add_table, add_derived_mart, or
add_column structural item with change_expectation: "must_match" that no
sealed check reads and whose source catalog has no same-named object or column
to compare. The item therefore remains unconfirmed on every build, including a
correct one. Register an obligation that reads the item, or explain in the
thread why it remains unconfirmed. This source-catalog check runs only when
such an uncovered item exists and a source connection is bound; it uses one
metadata round trip per distinct schema and one per relation named by those items.
See the spec conformance endpoints for reading the registered artifact by hash and running downstream grading.
author_spec
Hand a migration ticket to the spec-author seat. The run refuses a sealed spec when
its relation evidence came from a different connection than the requested estate,
unless the operator explicitly declares that the other connection is the source of
truth for this run.
On an unattended mission turn, author_spec uses the mission’s originator for its
visibility checks on the connections, estate, and any named prior run when that person
can be established, even when the turn has no user context. This lets a goal-mode mission
author against resources its originator can see; it does not change the run’s caller or
attribution. See unattended
mission visibility
for the identity and permission boundaries.
When the person’s own enabled scheduled job hands a Mission to a child thread, the child
can commission author_spec for that person only while they still hold
ratify_source_contract. A clarification recorded in this delegated turn is agent-certified,
not the person’s words or approval; the agent cannot attach persons_words,
disposition_package_id, or finding_keys. See record_clarification
for the record’s attribution.
For the distinction between the person commissioning a run and its relaying agent, see
Prover spec-author identity.
When no person initiated the turn, author_spec can run as the agent’s own commission under
the conditions described in Prover’s agent-started proof actions.
On a stack with authentication disabled, a goal-mode turn with no user context is
admitted as the system user. Repository and upload asset checks use the principal admitted
by the tool’s gate, not the agent attribution label; the same gate-admitted identity opens
the warehouse connections used by seal_app_spec and prove_app. With authentication
enabled, a turn with no principal remains without one.
Before the seat starts, Genesis checks that the configured model provider answers;
an unavailable refusal carries the classified cause and its remedy instead of
starting a run. The shared probe and its cache window are configured by
llm.provider_preflight_ttl_seconds.
See the Genesis Prover overview for how specification-
authoring model usage appears in Pulse Costs.
If an authoring run later makes no progress for estate_char.spec_author.no_progress_seconds,
the seat stops the stalled turn through the owning runtime before returning
error_type: "run_stalled"; refused stop requests are retried under
estate_char.spec_author.stall_stop_attempts and
estate_char.spec_author.stall_stop_retry_seconds. Poll the run after a stall and check its
summary before submitting again, because the summary says whether the runtime accepted the
stop or the retry limit was exhausted. For terminal run-summary fields, see the
author-seat API reference.
A one-line ticket is a valid brief — “Migrate the SALES database to the target
system as-is; the data values must match” — and is the right one for a lift-and-shift. Pass
the user’s own words; do not pad the ticket with what the system diff already measures
(object presence, column presence, types, row counts with row identity, value
distributions, keys). Write more into the ticket only where the user states something
the diff cannot see: a business rule, a derivation, a domain, a reshape, an aggregation
or a new mart. The diff only compares the two estates, so anything the user states as an
absolute — “exactly 1.2M rows”, “this column must be DATE” — belongs in the ticket even
though the diff measures that property relatively. And a comparison the diff could not take
is not one it passed: it skips wherever either side is unmeasurable, so where it abstained
only an obligation in the spec delivers a verdict.
Write each obligation title in the data’s own words: it appears beside the check’s
result on the proof page, so avoid engine terminology and ids. For a lift-and-shift with
no changed or new scope entry, use one membership check for a relation whose target
declares no single-column key, or one per relation the ticket itself names. Do not add one
membership check per table; the comparison already reports the result for each table.
Before authoring starts, the ticket is checked against the latest available scans for the
source and target estates; a side without a finished scan is not checked. This reads the
estates and their stored scan-column inventories; it does not query the warehouses. A dotted
name matching a known connection, such as databricks.my_workspace, is
treated as a connection rather than a table. For target-column coverage, recognized blanket
sentences such as “every value unchanged” or “nothing else changed” cover every column in
the table or tables they name; without a named table, they cover all target tables. This
avoids asking the brief to enumerate columns when it already says their values are unchanged.
The same check reads blanket sentences in assets marked canonical for the commission, so a
ticket can point to the owner’s brief instead of repeating it. Only those sentences are read:
the document’s other names, columns, and claims are not checked. A document sentence that
names no target table covers all target tables only when it names no source table or other
dotted name.
For a rename, state the pairing explicitly, such as old_table becomes new_table; merely
naming both tables can still leave a proposed object_map in the preflight result.
If the preflight refuses, fix the ticket or pass a finding id in the optional
preflight_accepted array only when the finding misreads the ticket. An id is tied to the
finding and ticket text, so after editing the ticket use ids from the new refusal. Accepting
an id records the exception; it does not override a true finding.
Separate the commission from operator background. Pass the business request and requirement
documents as requirements (or under the older ticket_text name); if both are supplied,
they must contain the same text. Pass build history, reload details, or earlier findings as
context, not as requirements. The seat sees context in its own block and records it apart
from the ticket. At sealing, an obligation not carried forward by obligation_id is
refused with operator_context_obligation when its rationale quotes six or more consecutive
words from context but does not also quote six or more consecutive words from the
requirements. The refusal names every quoted context phrase.
Remove each named phrase from the rationale, or quote the ticket or an attached document for
what the obligation rests on; setting requirement_source alone does not clear the refusal.
Context is background, not evidence of a requested check. A written_by obligation is
refused with unrequested_mechanism_obligation unless the requirements name its demanded
mechanism, such as a job, notebook, or pipeline. Record build background with
register_substrate when appropriate.
In a repair round, these checks carry forward independently by obligation_id: the context
check does not re-judge an obligation whose rationale is unchanged from the prior seal, and
the mechanism check does not re-judge one whose kind and demanded writer.mechanism are
unchanged. Other edits, such as rewording the title, do not by themselves make the carried
part a new demand. A changed rationale is checked for context support, and a changed kind
or mechanism no longer meets the mechanism check’s carry-forward test; a non-carried
process obligation is checked against the requirements again.
A repair round loads its named prior seal before registration and carries forward the still-
standing clarification rulings already cited or used to answer questions anywhere in that
seal’s repair lineage. Caller-supplied clarification_ids are still validated against the
named estate_id; retired or cross-estate caller ids refuse the submit, while a carried ruling
that is no longer valid is left behind. The run summary records inherited ids in
clarifications_carried_from_lineage, separately from caller-named ids. On the brief, the
seat is told the prior seal’s ticket and which ticket lines are new, when both ticket texts
were recorded. It is also given earlier rounds’ questions and proposed owner-rule checks, so
it does not ask the owner the same question or offer the same check again on an unchanged
fact. Earlier answers superseded by a later resolution are not carried as current rulings.
Every open question and proposed rule must be returned in the same RESULT line; withholding
one for a later round would offer it again on reseal. Exact repeated rule offers are retained
in owner_rule_offers_already_made in the run summary rather than being presented to the
owner again. A repair may ask or offer again when the ticket or measured estate changes the
fact the earlier question or offer rested on, and must state that change.
For each open_questions entry, the seat reports a matching object in the question_choices
array on that same RESULT line, in the same order: {"options": ["...", "..."], "recommended": "..."}.
Supply two to five distinct, non-blank answer options and set
recommended to one option exactly. These choices appear on the sealed spec’s owner decision
card; a missing or invalid choice leaves the question without a default, so the owner must
type an answer. Migration-default questions held back from the owner do not appear on the
card.
When a repair’s ticket, context, or recorded clarification takes an object out of the
spec without saying whether it arrives, the seat is instructed to remove its scope entry
with withdraw_scope. This is not excluded, which asserts the object must not arrive.
If the sealed repair still scopes an object the seat reported as removed, the run summary
reports it under kept_out_of_spec; names it cannot resolve are reported under
kept_out_of_spec_unresolved.
For a document attached to the current chat, use its File ID or Git Path as an upload.
The attachment notice may also spell its Git Path as a repository asset in uploads:
repository: {bot_git_repo: "uploads", path: "<notice path>"} is read as that upload
when this instance has no local bot-git repository named uploads, and its ref may be
omitted. If a local uploads repository exists, include its ref to read the path from
that repository; omitting the ref is refused. Other repository assets require a ref.
When both estate_id and target_estate_id are supplied, the ticket is checked against
the source and target estates’ latest finished scans before the seat starts. This reads each
scan row and every scanned object’s stored column names on each submit, including repairs
and resubmissions; it makes no warehouse query or model call. If either estate is absent or
has no finished scan, ticket_preflight says it was not checked and why. Otherwise, the
handle records the findings, accepted findings, proposed object renames, unmentioned target
columns, and ambiguous rename candidates. A ticket that names a missing table or column,
makes a false table-column claim, or addresses an unpaired rename is refused before a run
starts; refusal.detail.preflight lists every blocking finding and its fix. Fix them in the
ticket and submit again. Advisory findings, such as target columns omitted from a partial
column list, do not block. Pass a finding id in preflight_accepted only when you have read
it and know it misreads the ticket; accepted findings are recorded on the run. Repairs are
checked but are not refused by this preflight.
For a connection-commissioned run with no
estate_id, the carried-scope seal precheck
uses scan evidence only for source and target sides placed exactly by the run’s boundaries.
If a warehouse side’s database cannot be named, that side reaches no estate; a scan for
another database on the same connection cannot make a carried entry pass or refuse the
seal. The presence advisory may read the wider set of scans over the connection, but marks
an unplaced side unchecked because those scans may belong to another database; the advisory
does not refuse the seal.
When a conversation resubmits the same commission (same conversation, source and target
connections and catalogs, and spec_name), a call without repair_of is refused before a
seat starts if an earlier round sealed a spec. The refusal names that seal’s full spec_hash
to use as repair_of; a deliberately different spec needs its own spec_name. The exception
is a commission whose sealed rounds carried no target_model: sending one now is accepted
and authors that previously unmapped spec with the mapping. A sent mapping does not otherwise
let a caller author afresh under the sealed spec’s name.
Before any round seals, an omitted target_model is carried unchanged under its original
asserted_by only if a seat in that commission’s last 20 rounds registered the newest mapping
previously proposed; data.target_model_carried_from names a registering round. If no
compatible round’s seat registered the newest proposal, submit refuses before starting another
seat and asks for the mapping again. estate_id does not split the commission: with a named
estate, the pre-check reads rounds for that estate or for no estate; without one, it reads all
commission rounds. This pre-check reads up to 20 indexed run-history rows and, when a seal
exists, its spec_hash (and mapping fields when a mapping was sent); it reads no estate and
makes no model call. See the [author-seat API reference]
(/docs/Genesis-API/API-Reference#post-api-estate-spec-conformance-author-seat) for the HTTP
request and response fields.
The sealed provenance also records which authoring settings the deployment default decided
in seat_settings_defaulted; see run provenance
for how to read that field.
Layered Medallion mapping rules are documented in Declared target mappings and Data Vault
shapes.
author_spec returns layered_source_undeclared or unanchored_derived_target when those
checks fail; neither refusal seals the specification.
For how the seat handles a model-call failure, see the Prover provider-fault guidance. For a stalled author_spec run, follow next; see the author-seat API reference.
Send source_estate_basis only when the operator has made that declaration in words;
quote the operator’s reason. Do not infer it from a ticket, an estate, or an earlier
run. A partial object is refused and no authoring run starts. When the declaration
matches the observed substitute connection, the sealed result records the substitution.
When one connection serves both estates as two catalogs, pass both catalog names so the
seat reads each side in the intended catalog. Omit them when the connection’s own catalog
already holds the tables; an omitted side reads that connection catalog. The commissioned
catalogs are kept on the run and used by estate reads, so a same-named relation in a
different catalog is not silently accepted. On a split-catalog run, a declared
invariant_side: "target" routes its registration check only to target_catalog; other
registration checks use source_catalog.
On Snowflake, each named catalog must be a bare identifier or one complete
double-quoted identifier; double quotes inside the quoted name must be doubled. A
catalog name outside those forms is refused before the authoring run starts. This checks
whether the name can be bound safely, not whether the database exists or is accessible.
When the seal reads schema and relation names returned by Snowflake’s catalog listing, it
addresses each listed name as stored: mixed-case and lowercase names are double-quoted, so
they are not folded to a different uppercase object. Names not returned by the listing
continue to use the spelling supplied by the artifact. If a listing contains both an
uppercase name and a case-insensitive match, the uppercase name is selected, matching the
object a bare Snowflake identifier reaches.
When ticket_text is present, the sealed artifact retains it as
provenance.instruction_text and records its byline in
provenance.instruction_text_submitted_by. A direct operator call is recorded as
user:<operator>; when an agent relays the ticket through this tool, it is recorded as
agent:<bot_id>. The byline identifies who submitted the retained prose, while the run’s
operator remains the authenticated person who invoked the tool. If no ticket text was
submitted, neither field is added.
Pass clarification_ids when the seat may rely on decisions the ticket did not settle.
Each id must name a record created by record_clarification, and estate_id is required
when ids are supplied. An unknown id, an id recorded for another estate, or ids without an
estate refuses the request before a run starts. The seat and the sealed specification carry
the record’s label and recorded identity; prose in the ticket is never substituted for the
record. A completed run may also surface a true check declined because the ticket states no
rule requiring it. A numeric maximum or minimum may be labeled an observed bound in
the notice; see Prover guidance
for what that means and how to offer the check to the ticket owner.
For target_type_dispositions, the referenced clarification must belong to the run’s
estate, or—when the run was commissioned by connection refs without an estate id—to one
of the estates over its exactly identified sides. A signed-in person must ratify it through
the clarification review API.
Record its statement as the prefix TARGET TIME ENCODING v1: followed by one JSON object
with exactly relation, column, physical_type, and encoding_rule; the fields must state
the exact choice for that column. For example, the statement for EVENTS.START_TIME is
TARGET TIME ENCODING v1: {"column": "START_TIME", "encoding_rule": "HH:mm:ss", "physical_type": "STRING", "relation": "EVENTS"}.
After the person ratifies that clarification, pass its id in the matching disposition:
{"relation":"EVENTS","column":"START_TIME","physical_type":"STRING","encoding_rule":"HH:mm:ss","clarification_id":"<id>"}.
The author_spec seal validates the current ratification and stores the selected encoding
in the sealed specification. A repair round revalidates a carried encoding against the
current clarification record and drops it if that column is newly declared non-TIME. Do not
invent a disposition or ratification; native TIME storage is not supported by this gate yet,
and TIMETZ or TIME WITH TIME ZONE cannot use HH:mm:ss because it would discard the
offset.
Pass target_model when the user describes a target that does not keep the source’s tables
one for one — a Data Vault, a Medallion build, any split, merge or derived table. It is the
source-to-target mapping, and the proposer writes it: the seat never does. A mapping that
does not parse refuses the request before a run starts. The seat checks one that parses
against the source (every source column carried or declared dropped, every named column
present, each hub’s business key unique and non-null, and each rendered link’s full key
identifying one junction row), registers it with the obligations it renders, and otherwise
ends the run unsealed with its findings for the proposer. When a key can be read, the
refusal reports repeated link keys with the source row, distinct-key, and repeated-key counts
and names a dependent child to add; it reports key parts that are NULL too. An unavailable
or unsupported source is reported as unmeasured rather than unique. A vault or
Medallion ticket sent without one is returned asking for it; if the resulting spec scopes
inputs and describes a non-source target, finalization returns unmapped_reshape and seals
nothing until the proposer supplies the mapping.
Finalization returns unassessed_but_assessed when the spec also assesses a table the mapping
leaves unassessed, and unassessed_without_scope when the spec declares no scope. The
Prover mapping guide
gives the declaration shape and comparison behavior.
Every input in the spec must also agree with that mapping before the seat can seal. The
mapping must declare the input as loaded into nothing — a split with an empty images list,
or a source of a derived target. If the mapping carries the input into an image, or does not
name it at all, finalize_spec refuses the seal with undeclared_input; the refusal lists
each offending object and nothing is sealed. The proposer must correct target_model, or
remove the input scope when the ticket does not describe an input. Only an input the source
estate holds is judged this way.
Every split and derived-target source in the mapping must also be an object the source estate
holds, because the grade compares against a snapshot of that estate. A source outside the
estate’s scope is refused with mapping_source_outside_source, naming it. A table the pipeline
types in by hand, which only the target holds, is declared as a derived target with
sources: [] and checked as a constant, not as a split with an empty images list.
Before sealing a spec with a declared target_model, finalize_spec also prepares each
obligation’s target_sql against the empty target catalog described by that model. For an
invariant declaring invariant_side: "target", it also prepares the target-side
violation-count statement the grade composes for that invariant. Each relation is checked
against its own declaration: when the SQL names a schema where the model declares that
table, the check uses that schema’s declared columns plus any unqualified declaration of
the table; when the SQL names another schema, it uses the union of the table’s declarations.
If either statement reads a column or table the model says is absent, the seal is refused
with unrunnable_on_target_model; the refusal names the affected obligations and the
missing relations or columns, and nothing is sealed. Rewrite target_sql to use only
declared objects — for example, join a link’s hash keys to its hubs to reach a business key,
or read the hubs, satellites, and links that receive a split legacy table; a legacy table
that only derived targets are built from (a Medallion gold table’s sources) is read in
source_sql, with the derived target in target_sql — then re-register the obligation
under the same obligation_id and finalize again. A spec without target_model keeps the
prior behavior and does not run this target-catalog check.
finalize_spec asks the target engine to prepare, without reading a row, every obligation’s
target_sql and the check of every invariant declaring invariant_side: "target", and then
runs each statement it accepted with every relation the statement reads capped at 1,000 rows
(each relation replaced by (SELECT * FROM <relation> LIMIT 1000)), so an error the engine
raises only while evaluating a row — INVALID_ARRAY_INDEX from array[0] on an empty
array — is found before the seal rather than on every proof. A run error refuses the seal
with target_engine_rejected, quoting the engine; a statement that cannot be bounded that
way, or whose bounded form the engine does not accept, is not run and is listed under
not_executed. This adds one live round trip for each accepted statement and one more when
a sampled run errors and its bounded form must be prepared. Only the sampled rows are
evaluated, so a row outside the sample can still raise the error at grade time. When
target_connection_id was commissioned, preparation uses that connection and its engine;
otherwise, it uses the seat’s connection when a target_catalog or source_catalog places
the target there. A statement the engine rejects refuses the seal with
target_engine_rejected, naming the obligation and quoting the engine’s error; rewrite it
in the target’s dialect, re-register it under the same obligation_id and finalize again.
A statement over a relation the target does not hold yet is not refused, unless a relation
it reads is one the spec declares on the source side (an input or excluded scope entry,
or a legacy object the target_model puts on no target) and the target engine, asked about
that relation alone, does not hold it: the seal is then refused with
target_reads_source_object, naming the obligation and the relation. Read a source relation
in source_sql only. This adds one live round trip for each such relation. The result — a
refusal included — carries target_engine_prepare, whose status is prepared only when
there are no rejected statements, rejected when a statement fails at either prepare or
run, and not_prepared when the target is not placed on a connection or the engine cannot
be reached or refuses this caller access. A seat run commissioned with no target placement
at all (no target_connection_id, no target_catalog or source_catalog) and holding a
target-side statement is refused with target_not_placed, naming each statement it could not
send; commission the run again with target_estate_id, target_connection_id or a catalog.
A thread with no seat run keeps the not_prepared record and seals. Its connection identifies the selected target
connection. execution_row_cap is 1000; executed lists the obligation ids whose sample
runs succeeded, not_executed lists checks not run with their reasons, and each entry in
rejected includes stage (prepare or run). A run-stage rejection means the engine
accepted the statement but raised an error while evaluating sampled rows. On Databricks, a
target check that reads a metric view measure with MEASURE() is listed in not_executed
instead of being run through the row-capped sample: the engine evaluates metric-view measures
only directly over the view. The sealed check is still evaluated during grading.
On a spec whose target_model declares a placeholder row — a hub’s ghost_keys, or a
derived target’s unknown_member ({"column": …, "values": [...]}) —
finalize_spec refuses with invariant_over_declared_unknown_member a target-side
invariant over that relation that puts a constraint the grade counts on any other column (a
finite-only rule is never refused), or constrains the member’s
declared key with a constraint its declared value breaks, judged as the grade counts it: a
NULL key breaks only not_null, and finite, which the grade records and never counts,
refuses nothing. The refusal names the obligation, the
relation and the member. It reads those fields only — never the derivation’s prose, never a
row of the build; restate
the rule as a recompute that excludes the member, re-register it under the same
obligation_id, and finalize again.
When assets is supplied, the intake and seal also carry asserted_by, stamped from the
call’s own identity (agent:<bot_id> or user:<operator>), and a label such as
canonical, asserted by agent Eve. The asset cannot override that byline.
Every asset must carry its document, as exactly one of repository
({"bot_git_repo": …, "ref": …, "path": …}, read at the ref and pinned to the commit read),
upload ({"file_id": …}), or inline content (for a short document; send a large one by
repository or upload), each up to 2 MiB, or 2,097,152 characters. An asset with a name and
label but no document, or with blank content or an empty file, is refused before any run
starts; the refusal names each such asset and quotes these shapes. Inline text past its cap
(ticket_text, requirements or context past 65,536 characters, content past 2 MiB) is
refused, never cut, and the refusal says what to send instead. An upload is a file attached to the current chat; use the File ID or Git Path
shown by its attachment notice. Repository and upload assets are authorized with canonical
Git RBAC for the principal named by acting_for, falling back to the operator’s identity
only when acting_for is absent. An explicitly empty acting_for means nobody and does
not fall back. An attribution label is not a person and cannot authorize a read; the asset
is refused before its bytes are read. Uploads use the same check against the uploads
repository. Genesis reads
the file at submit, accepts it only when it is whole text within the limit, and refuses the
submit before starting a run when access or reading fails. Asset names must be unique. The document is stored with the run rather than
copied into the brief, so the seat reads it with read_spec_asset before authoring. The
intake and seal retain only its pin: source, chars, content_sha256, and the storage
metadata needed to identify the bytes read.
The reading-consult API reference
explains how this stored asset is used during review.
Every author_spec answer that reaches the documents carries an intake manifest,
data.intake_manifest, and the run
summary and the seal’s provenance keep the same record. It lists received (each document’s
name, file, kind and sha256), refused (each document that could not be read, with
its reason), not_passed (each file a person attached in the conversation that no asset
hands over, whether they called it canonical or governing, and any excluded_reason),
stands_in_for (a document passed as text under the name of an attached file that was not
itself passed), also_read (the conversation’s rendered pipeline files attached for the
seat), named_not_received (documents the request names as a source of the work but that
were not handed over, with the sentence that names them and any person’s exclusion),
received_from_mission (named documents produced by an earlier phase of the same Mission,
each with its document, phase and repository path), conversation_checked, and text,
the same facts in plain words for the person.
A refusal that comes before the documents are read (permission, a missing or malformed
argument, the target’s placement, an unknown named round) carries no manifest. A refused document still refuses the submit, and the refusal’s detail.intake_manifest
names it with its reason. A file the person called canonical or governing in the
conversation, or that the caller lists in canonical_files, refuses the submit while it is
neither passed nor named in excluded_files as {file, reason}; an exclusion is shown to
the person with its reason.
The request is also checked for documents it names as what the work is read from, such as
“the column lists are in Appendix A,” “per the handoff document,” or “see mapping.xlsx.”
If one is neither handed over nor recorded as an earlier-phase output of the same Mission nor
excluded by the person, submission is refused before a run starts; the manifest identifies it
under named_not_received. A named file the Mission itself produced in an earlier Blueprint
phase counts as received and appears under received_from_mission with its phase and path.
Pass other missing documents as an asset, or,
when the person agrees to go without it, include their quoted persons_words and
approval_basis in its excluded_files entry. The person’s own words must agree to go
without that named document; an exclusion written by the agent alone does not satisfy the
check. With no design document, put the complete column list of every table in scope in the
ticket or an asset.
A spreadsheet upload (.xlsx or .xlsm) is read as a deterministic text rendering rather
than refused as binary. The workbook is opened read only and no macro is run or loaded. Each
sheet becomes one table: its header row, then one line per non-empty data row led by that
row’s number in the sheet, with every cell shown by type. A formula cell shows its formula
and the value the workbook last saved, and merged ranges are listed under the table. The
rendering names the workbook’s sha256 and the renderer’s version (xlsx-markdown/1). The
original bytes are kept with the run, and the pin carries kind: spreadsheet,
original_sha256, original_bytes, rendering and rows. read_spec_asset serves the
rendering one page at a time. Each data row is a table row the clause-budget check counts.
The 2 MiB limit applies to the rendering: a rendering past it is refused with that reason
and never cut. The workbook itself is held to the upload byte bound every asset has
(8 MiB), because it is read whole into memory to be rendered; a larger one is refused
by its size, with that reason.
Before a run starts, the seat counts the numbered items and table rows in the ticket and
its document assets. It refuses the submission when that total is greater than the
capacity of the registration budget: at most 100 clauses per
register_clause_accounting call, multiplied by
estate_char.spec_author.max_registration_calls (default 200, bounded 10..5000).
The refusal is returned as validation error 422 and no authoring run is created. This is
an upper bound rather than a guarantee, because other registration calls share the same
budget; a bundle below the clause ceiling can still exhaust it during authoring.
If a pinned document cannot be read when the seat finalizes, the round is refused with
rule: "asset_documents_unreadable". The refusal records whether the asset was missing
or the asset store failed, and does not treat the unreadable document as an empty document
or as an accounting gap.
read_spec
Read a sealed specification by spec_hash. Alongside the seal-verified artifact and
authoring provenance, the response includes who_decided: the reliance sentence, each
recorded clarification with its label, each declared asset with who asserted its label,
the byline for submitted ticket prose, and—when the specification carries a proposer’s
target_model—target_model_asserted_by, the server-stamped identity that supplied the
mapping. It also returns offered_not_adopted: checks the sealing seat offered as stated
rules, and preserve-the-source migration defaults it offered instead of registering, that
the seal does not carry. Each entry has its obligation id, statement, seat run id, and a label
stating that it is not graded. These offers are listed once per obligation id as context, not
added to the specification. A migration-default offer is not an owner question; commission
a repair with repair_of for the seat to register it. A seal made before clarification
provenance was recorded reports clarification provenance unknown; it is not treated as a
customer’s ruling. The tool requires ratify_source_contract and does not recompile the
artifact. A spec the caller may not see returns the same not_found refusal as an
unknown hash; the read includes only visible ancestors in lineage. See Prover result
visibility for the access
boundary.
fuzzer_tools
The Prover Fuzzer tools design and seal synthetic test data; fuzz_seal does not run
the pipelines. For how a comparison may use a matching seal, see
rewritten views and behavior proofs, and the
Prover Fuzzer agent guide
for availability and workflow.
Seals also retain the attack families of their batches and the raw text of view
pipelines read for the
original and new roles. A view text over 200,000
characters is recorded as unread and cannot be matched to a comparison.
Pass the commission unchanged as request and call this first for each request.
For example: fuzz_begin(request={"source": {"connection_id": "warehouse", "relations": ["PUBLIC.ORDERS"]}}).
Cost: one connection-metadata read per named connection, one additional read
when the request names a prior seal, and one fuzzer.db write when the
commission is accepted.
The commission may also set protected_places (glob-pattern strings for databases, catalogs, schemas, or connections that must not receive a batch), sandbox_targets (suggested original and/or new sandbox names, each with a sandbox marker and not matching a protected place), and compare. compare names both output relations with outputs: {original, new}, at least one key column in keys, and optional exclude_columns and licensed text. These are captured in the seal’s run_plan; the plan lists the sealed batches in load order, the relation to load on each side, the pipeline digests, the sandbox rule, and the optional output-comparison instruction. The plan describes what to do, not how to load or execute pipelines.
For a system-versioned table, pass table_keys when reading each pipeline. Its period entry has start and end column names, a key array, and end_of_time: the date and time the source engine stores as the current row’s end. Put history_of on the history table to name its current table; history tables omit end_of_time. For example, use 9999-12-31 23:59:59.9999999 for a seven-digit column or 9999-12-31 23:59:59 for a whole-second column. fuzz_check_batch checks that current rows end at that instant and are unique by key, every period ends after it starts, and history periods do not overlap and end by their current row’s start. For example: {"period": {"start": "ValidFrom", "end": "ValidTo", "key": ["TransactionTypeID"], "end_of_time": "9999-12-31 23:59:59.9999999"}} on the current table and the same with "history_of": "CurrentTable" and no end_of_time on its history table.
For example, profile a relation before designing a challenge, then check and
seal the batch after adding its rows:
fuzz_seal accepts up to six batch IDs.
fuzzer_caller_tools
Commission the Fuzzer, then check a loaded copy against its seal before running
that side’s pipeline. This check reads the loaded tables itself; it does not run or
compare either pipeline. Fuzzing is optional and advisory: a proof never waits on it.
The group is off unless fuzzer.enabled is enabled. See the
Prover Fuzzer agent guide.
For example, a new commission names a connection and relations; after the
notification, check the result in a later turn with only the returned ID:
fuzz_record_result response’s evidence.comparison_rung names the rung
Prover compared, the rung it proposed, and why they differ, plus method (the judge’s
rung), tolerances (each column held to a bound), and checksum_fallback (null, or
why the keys couldn’t match rows). duplicated_keys is
null or reports the count and side for repeated keys, with up to 20 keys as typed
cells when the seal contains no real values.
Page through a table’s rows and load each page into the side’s sandbox with your own
tools, keeping every value exactly as its typed cell says:
compare into its own sandbox,
on the same connection. The output relations must be distinguishable by catalog or schema;
two connections to the same schema are not enough. Have Prover judge them and use the seal
ledger to resume or choose the next step:
spec_author_registrar_tools
The Registrar’s authoring tools for a spec-author seat run commissioned with
authoring_tooling: "registrar", the deployment default. A per-run classic override is
accepted only when repairing a spec sealed with classic. The seat service adds this group
to that run’s thread, alongside the seat’s own default groups. It remains through the seal’s closing turn and is
withdrawn when the run becomes terminal; a Registrar call after sealing refuses and
withdraws it immediately. It is not in the default tool groups. The classic
spec_author_tools group and its behavior are unchanged. The run must use the registrar
tooling recorded at submit; these verbs refuse on a classic run.
Progressive authoring
A fresh registrar round begins atscope_population. The four phases are:
Each closed phase is checkpointed on the run row with a digest, counts, registered ids, and
closed_by, which identifies what closed that phase. It is advance_author_phase for an
explicit advance, register_model_fields when that registration completes model_fields,
and finalize_spec when sealing closes a phase. When later-phase content is first
registered, the draft at that point is pinned for the phase it moves on from: a structural
item ends scope_population, while the first obligation or settlement ends
scope_population and model_fields. That checkpoint names the first registration that
crossed the boundary as first_<kind>_registration (for example,
first_structural_registration). If that phase’s check passed on the pinned draft,
closing it later—including at finalize_spec—records that snapshot, not the later draft.
If it did not pass then, its checkpoint uses the draft as it stands when the phase actually
closes.
The shared classic registration verbs remain available throughout. register_model_fields
returns a phase block with the current phase, phases closed by that registration, next
instructions, and any outstanding requirements; if a checkpoint cannot be recorded, the
block includes not_recorded. When the registered target_model declares no derived
target and every changed object already has its structural item, advance_author_phase
can skip model_fields while closing scope_population; its reply lists the skipped phase
and reason. This tool is otherwise mainly for explicitly closing a phase with nothing to
register; skip_reason explains why, but never waives required registrations.
finalize_spec seals from any phase once every phase check passes on the draft, and the
seal records checkpoints for every phase, including phases not previously closed. Otherwise
it names what is outstanding. Every object registered with
expectation: "changed" still needs a structural item before the spec can seal. After the
run ends, these verbs refuse.
Repair rounds seeded by load_prior_spec have no phases: correct the seeded draft and
finalize it directly.
Grouping hints
On a registrar run, a reply fromregister_obligation or register_obligations can carry
grouping_hints: each names three or more obligations in the draft, at least one of them
just registered, that test one predicate over different tables, and suggests one grouped
obligation over them. The hint is advisory and changes nothing; each per-table check stays
registered. Obligations count as the same predicate only when every verdict-deciding field
matches once the word naming their relation is abstracted (hub_customer, hk_customer and
'CORE.customer' against hub_account, hk_account and 'CORE.account'), and each
statement reads a single relation. Fork members, checks rendered from the target_model,
and either half of a population-root pair (a key-only root beside the check comparing that
population’s values) are never hinted. The hint appears only after a Registrar verb has
confirmed the thread’s run, and never on a classic run. To act on one, register the grouped
obligation and remove the per-table ones with withdraw_obligation.
advance_author_phase
Explicitly close the current phase and open the next. This is rarely needed: a
register_model_fields call closes the phases it completes, and finalize_spec seals once
all phase checks pass. Use this when a phase has nothing to register; an incomplete phase
is refused with its missing items, and final_review has no later phase. When model_fields
has nothing to act on, the reply lists it in skipped_phases with a skipped_reason.
Cost: one run lookup, a draft copy and digest, and one run-summary read/write. No estate I/O.
reopen_author_phase
Normally correct earlier registrations in place by re-registering their ids. To explicitly
return to an earlier phase, use this tool; the draft remains, but checkpoints from that
phase onward are removed and the phases must be closed again before finalizing. This is not
available on a repair round.
Cost: one run lookup and one run-summary read/write. No estate I/O.
checkpoint_draft
Read the current phase and all saved checkpoints, including each completed phase’s digest,
counts and ids. It does not change the draft and is not available on a repair round. No
caller parameters; Genesis supplies the thread identity.
Cost: one run lookup; no write and no estate I/O.
register_model_fields
Register all derived target relations and their columns as structural items in one call.
Columns must be declared by the registered target_model, or named in an exact quote from
the ticket or one of the run’s asset documents. all_model_columns expands to all columns
declared for that derived target. The call accepts one to 25 models and at most 200 model
and field items together. It closes scope_population when that phase’s check passes and
closes model_fields once its check passes after registration. Its phase reply reports
the current phase, completed phases, next instructions, and outstanding requirements. The
registered_items reply pairs each registered item’s spec_id with its locus. Every
registered model and field declares
change_expectation=must_differ: the build target holds it and the source does not, so a
grade confirms it by presence and fails it when the build lacks the relation or column.
Presence is all it confirms; a field’s values need an obligation that reads it.
Each registered model that is a derived target with a
declared grain, one column or several, also gets a grain check, G-<target> (for example
G-CUSTOMER_SUMMARY; named by the qualified name, its segments joined by hyphens, such as
G-MAIN-FCT_ORDERS, when two derived targets share a name). A call registers the checks of
the targets it names: an exact qualified name selects that target; a name at another depth
selects a target only when its last segment is unique. Each check goes through ordinary
obligation registration and its gates. It is a self_consistency obligation whose target
side counts the rows beyond one per key, a NULL key included, and whose expected side is
zero, so it satisfies the seal’s grain rule for that relation. A composite grain is keyed by
DENSE_RANK() OVER (ORDER BY <grain columns>), which cannot merge two distinct keys as a
joined string could; a row with a NULL in any grain column counts as a violation. That rank
sorts the target on its grain each time the check runs. The reply’s grain_checks
names the checks registered, any refused,
and each target that got none and why: no declared grain, a declared unknown member with a
NULL key, or a name that would need quoting (including a reserved word such as order). The seat writes those grain checks itself, and the
membership and value checks every derivation needs.
Example:
register_value_checks
In the obligations phase of a fresh Registrar round, register the missing keyed comparisons
for derived outputs that must equal a reference original (must_match). Call it after
registering the output’s column items and your own checks. It finds every output column item
not already compared with that reference and registers one membership check per output,
comparing those columns row by row using the output’s row_identity. Columns whose reference
types are FLOAT or DOUBLE are grouped in a separate VALUES-<output>-FLOAT check with
relative_tolerance: 1e-09; all other columns use exact equality. This covers derived and
rendered columns as well as columns named in the ticket. Checks already comparing a column
are not duplicated. If the reference lacks a column, the response reports it in
excluded. If a relation, column, or key cannot be rendered, or there is no usable key, the
output appears in not_rendered and needs a check written by the author. A name is written
unquoted when every engine the check runs on accepts it so: on Databricks and Snowflake that is
decided by the engine’s own reserved words, so date is written bare on Databricks. The
fresh-round seal refuses while any required value comparison is missing; it reads each check
in the target engine’s dialect and names a check it counts for no column.
Cost: one run lookup; one connection-record read and the target placement’s run lookup; one
read-only single-row query per reference with a gap; one obligation bulk registration when
checks render (the estate once per check); and one run-summary write.
profile_source_relations
Answer a question about what the source holds — a column’s type, its NULL and empty-string
counts, how many distinct values it takes, which columns identify every row — by measuring it
instead of asking the owner. For each relation it reads the columns and their engine types without reading a row, then
runs one aggregate query over the whole relation: the row count and, per
column, the NULL count, the empty-string count for text columns, and the distinct count. The
profile also lists unique_identifiers, the columns with no NULL and as many distinct values
as rows (a measurement, cited as data_probe). Each profile is kept on the run, so asking about
the same relation again costs no query. A relation whose name or a column name would need
quoting, or that cannot be read, is returned in refused with the reason.
Returns
profiles, measured, reused, and refused.
Cost: one run lookup; for each relation not yet profiled, one schema read that returns no
rows (plus one single-row read, in the engine’s own syntax, when it reports no column
metadata) and one aggregate query over the whole relation (one connection-record read and
door per call); one run-summary write when anything was measured.
register_platform_checks
In the obligations phase, read and account for rules declared by the run’s supplied platform
documents and, for referenced schemas, the SQL catalog. Supported document declarations
include Foundry Pipeline Builder expectations and dbt manifest tests; catalog constraints
include PRIMARY KEY, UNIQUE, FOREIGN KEY, and CHECK. It registers a cited check only
when the spec orders the relation and neither the system diff nor an existing obligation
already covers the rule. A relation scoped same is covered by the diff. Read the response’s
accounting for each declaration’s status: registered, diff_covered, covered,
declined, not_applicable, unrenderable, or to_register (registration was refused).
Write an unrenderable rule yourself with a requirement_source citing its declaration, or
raise it as an open question. Catalog disclosures identify rules that could not be read;
the seal refuses when those rules are unknown rather than treating them as absent.
Only an owner’s clarification supplied to the run can decline a declaration. Pass its
declaration id and ruling id in declined_json; the tool rejects ids or rulings not among
those read by the run. For example:
Cost: one run lookup and one asset-document read; for referenced schemas, two read-only
catalog queries; one obligation bulk registration when checks render (the estate once per
check); and one run-summary write. Catalog constraints are read on PostgreSQL and Databricks
connections; other engines disclose that constraints were not read.
correct_rejected_obligation
Correct fields of obligations rejected by register_obligation or
register_obligations, without resending whole bodies. The obligation id and kind cannot
change, and each corrected body goes through the normal registration checks again. A list
of corrections is applied in one call, each on its own: the reply names accepted_ids and,
for each refused correction, its rejected entry, so only those need resending. A list
that corrects one obligation twice is refused whole. The call counts once against the
registration budget.
Rejected bodies are held in process memory from the first Registrar verb until the seat run
ends. Ending without sealing also releases the run’s saved rejected bodies and population
choice attempts; register the whole obligation again in a new run. If the body was rejected
before a Registrar verb or the process restarted, register the whole obligation again.
Cost: per correction, the estate resolution check and grain probe for one ordinary
register_obligation call.
withdraw_obligation
Remove obligations from the draft before the seal, for example the per-table checks a
grouped obligation now replaces. To correct an obligation instead, register it again under
the same id. On a repair round, a carried obligation can be withdrawn only by supplying the
ruling_id of an owner clarification that this run was commissioned with and that removes
the check. This records the ruling with the withdrawal and allows the seal to record that
obligation’s deletion; every other carried id stays. Leave ruling_id empty when
withdrawing obligations registered in this round. The call withdraws every named
obligation or none: it refuses when an id is not in the thread’s draft, was rendered from
the target_model, a carried id has no valid ruling, or the round has sealed. Each
withdrawal is recorded on the run row under registrar_withdrawn_obligations, with its
reason, phase, time, and (for a ruled carried obligation) the licensing ruling_id. The
terminal run summary retains these withdrawals along with the Registrar phase checkpoints.
Cost: one run lookup, one in-memory draft copy, and one run-summary read/write. No estate I/O.
prover_tools
The Prover’s action tools group related acts rather than exposing one tool per API route.
Assign this group to an agent that should verify spec-driven data work end to end: register the
two estates, scan each side, prove the data work, read the findings back, and hand the
result to a person. This covers migrations and builds checked against a written
definition. It is not always-on.
Every verb answers in one of three shapes: a run handle for anything that starts
work (a run id, a status, and the run envelope with a link to poll), a read for
anything that only reads, and a refusal carrying a reason a caller can act on —
whether the agent lacked a permission, named something that does not exist, hit a
conflicting request, sent bad arguments, or asked for something only a named human may
do. Long work is asynchronous: the agent gets a handle immediately and polls it,
optionally asking the server to wait a bounded number of seconds first.
Through the MCP gateway, an inline wait_seconds is capped at 210 seconds; a
wait_seconds_cap field reports when the requested wait was capped. If the gateway
still cannot read the result in time, it returns gateway.call_outcome_unknown and
names the next step: do not repeat the call, since it may have started a run. Call
list_runs on the named thread, then get_run with the resulting run_id as
prover_run_id.
Every answer from prover_tools opens with the top-level fields audience: "agent"
and audience_note: "This is for you, the agent: use it to fix your work. Decide what, if anything, the person needs, and say it in their terms." This applies to run handles,
reads, refusals and tool faults. The answer is working guidance for the calling agent,
not a message to pass through to a person; the agent decides what the person needs and
relays it in their terms.
When a Prover run finishes, the agent reports its result. If it succeeded as part of
work the person already asked for or approved in the conversation, the agent continues
with the next step they approved without asking again, unless the person has since said
otherwise. This does not authorize unapproved work or decisions reserved for the person;
the agent asks when it is unsure a step is covered.
A run-finished notice or handoff completion in a shared conversation can also continue
from a participant’s latest request without asking them to type “go” again, for supported
Prover acts. The participant and the person the wake acts for must both hold the required
permission. The downstream-check guidance
covers the eligible acts, visibility, and attribution rules. For operator attribution on
runs started by a run-finished notice, see run ownership and connection stamps.
The estate acts are offered as one action tool, prover_estate. Choose the act with
action and pass its inputs, the parameters the verb tables below list, in args:
Each answer is the act’s own, with its next call spelled as a
prover_estate call when it
names one of these acts. An unknown action is refused with the closest valid one; an args
key the act does not take, or an identity name such as user_id inside args, is refused
before anything runs. A fault in clone_code_assets does not offer the same call again,
because a repeat could clone a second time. The eight acts keep their own names for callers
of POST /api/tool_call and the MCP gateway; agents are offered only prover_estate. An
in-app role with restricted tool access must be granted prover_estate by name.
The specification acts are offered through one action tool, prover_spec. Choose the act
with action and pass its verb parameters in args:
For example, read a sealed specification with
prover_spec(action="read", args={"spec_hash": "abc12345"}). Top-level string values
in args are checked against the selected verb’s tool-call rules for markup, template
syntax, and length, just as they are when the verb is called directly.
The acts that record a person’s word (
author, register, declare_shape, clarify,
withdraw_clarification, restore_assumption and resolve_open_question) are refused on a
turn that carries no person’s authority, exactly as the verbs are. The twelve acts keep
their own names for callers of POST /api/tool_call and the MCP gateway; agents are offered
only prover_spec, and a restricted role must be granted prover_spec by name.
The findings acts are offered through one action tool, prover_findings, tagged into both
prover_tools and prover_app_tools. Choose the act with action and
pass its inputs, the parameters the verb tables below list, in args:
For example, read a comparison’s findings with
prover_findings(action="read_comparison", args={"diff_hash": "abc12345", "include": ["findings"]}). Each answer is the act’s own, with its next call spelled as a call to the
action tool that holds the act it names. The seven acts keep their own names for callers of
POST /api/tool_call and the MCP gateway; agents are offered only prover_findings, and a
restricted role must be granted prover_findings by name. The last three are also offered
by name in source_contract_tools, so a bot holding that group
keeps them. The source-contract verbs that write (disposition_system_diff_finding,
propose_rename_correspondence, triage_unlicensed_findings) are not prover_findings
actions, so a role granted prover_findings does not reach them; it gains only the three
reads.
The run acts are offered through one action tool, prover_run, in prover_tools. Choose
the act with action and pass its inputs, the parameters the verb tables below list, in
args:
For example, prove a migration with
prover_run(action="prove", args={"source_snapshot_id": "snap_src", "target_snapshot_id": "snap_tgt", "spec_hash": "abc12345", "source_connection_id": "postgres.legacy", "target_connection_id": "databricks.lakehouse", "title": "Check the lakehouse rebuild against the original warehouse."}). The title is one short
plain-language sentence saying what the proof checks, for a business reader; a longer title is
trimmed at a word boundary, and a title naming table, schema, or connection identifiers is refused
with a plain-language suggestion. Compatible older callers that omit it get the last title for the
same source and target scan scopes (looked up through both snapshot ids) and spec kind; a call
that names only boundary hashes does not inherit a title. Otherwise, Genesis derives one from the
Mission plan step or the two platforms. Each answer is the act’s own, with its next call spelled as a
call to the action tool that holds the act it names; a run handle is still polled with
get_run. On a turn that carries no person, an agent may prove, grade, adjudicate,
consult, cancel, list, find_proofs, fuzz_plan, fuzz, precheck, compare_rows,
differences, and row_keys; compare, export and import
wait for a person, exactly as the verbs do. fuzz_plan requires ratify_source_contract
when a person is present, and fuzz requires it to start a run. Both are unavailable while
estate_char.fuzz.enabled is false. fuzz_plan plans only; it runs no tests and stores nothing. prove also
stays in source_contract_tools by its own name, and so does
preflight_databricks_job_contract. The seventeen acts keep their own names for callers of POST /api/tool_call and the MCP
gateway; agents are offered only prover_run in prover_tools, and a restricted role must
be granted prover_run by name. get_run and readiness stay standalone tools.
bytes_cap response interpretation: Prover overview.
precheck_columns
Use the precheck action before scanning when someone wants a quick structural
comparison of two registered estates. It reads catalog names, types, nullability,
and one COUNT(*) per table on each side; it does not read or compare column values,
and stores nothing. Tables pair by name (case-insensitively, then by a unique final
name when schemas differ). A table or column missing from one side, row-count
difference, type or nullability difference, and the percentage of columns matching
are returned in the same per-table shape used by read_comparison.
data.punchlist first, then data.column_summary.headline. The
headline is a short first line: the matched percentage and counts when available (or why
no columns were compared), only nonzero difference kinds, row-count differences, one-sided
table counts, and the note values not compared. headline_detail carries the full
breakdown and names one-sided tables. One-sided headline counts include tables omitted from
the bounded name list. The summary marks values_compared: false; use
prove and read_comparison to compare values. The
default answer is bounded to 25 tables, 40 entries per table list, and 60 punchlist
items; counts remain whole, and data.column_summary.detail_path, when present,
points to the spilled full result when tables or lists are omitted. The catalog scan
and per-table counts can take seconds to minutes on a large estate. For a comparison,
table pairing honors the recorded object_map and schema_map before name-based pairing,
including identical mapped tables with no value readings. When that map was consulted,
column_summary.tables_paired_by is comparison_addressing. The action refuses an estate
the caller may not open.
compare_rows
Pair the rows of a comparison’s source and target tables by key, then report how each
column differs. Call it after prove or compare when a mismatch report needs the actual
values, not only each column’s profile. It reads every row on the warehouse, without
sampling, and does not judge which side is correct. Both tables must be reachable from one
Databricks, Snowflake, or DuckDB connection. Each paired table costs five read-only
statements scanning both tables; one additional statement reports repeated keys, one
additional aggregate statement checks boolean-like integer or text columns when their values
need classification, and one additional scan is made when a compared column is classified
load_time. Numeric columns are also checked for exact unit-scale changes, and temporal
columns for daylight-saving shifts. On millions of rows this can take minutes.
The action also reads the comparison and both snapshots, writes the derived list to the
comparison’s run, and reads the summary back. Calls with the same options add up: tables
paired by earlier calls are retained unless a later call pairs them again. A call with
different options replaces the list. With tables, the returned headline and row-pairing
counts cover only those tables; comparison_headline retains the whole comparison’s headline.
If a comparison was interrupted after pairing tables, a later call resumes the saved
pairing: unchanged tables are reused, while a table that changed or cannot be confirmed
unchanged is paired again. When that happens, data.resume reports tables_resumed,
tables_read, tables_reread_changed, and a plain-language statement; it is absent when
no earlier pairing was resumed or reread.
When a fully paired, snapshot-bound row comparison identifies a date or timestamp column as a load time from its name and one constant offset across every differing paired row, Prover accounts for those readings as a load time rather than an open fix. The row-pairing evidence includes constant_offset and load_time_evidence; a business timestamp with no load-time name hint remains an ordinary difference. The summary only makes this adjustment when the pairing covers all shared rows and the column has no other structural difference.
options accepts sort_collections (boolean, default true; sort array items and
MAP entries), ignore_columns (string or string array, default none; leave load-time
columns out of normalized matches), ignore_nested_fields (string or string array,
default none; drop fields such as an insert timestamp), exclude_prefixes (string or
string array, default none; omit matching columns), ignore_case and digits_only
(each boolean or column-name list, default false), and pairs_per_column (integer,
default 100, range 1–1000). Names are matched without regard to case. Snowflake
drops nested fields only from the column’s object and its array items; Databricks and
DuckDB can drop them at any depth.
history and table_maps may also label expected history and shape changes. history
maps a table name to optional valid_from, valid_to, business_key, open_end
(default 9999-12-31), current_only, current_flag, deleted_flag with
deleted_value, load_cutoff: {column, at}, surrogate_keys, and dedup fields.
table_maps is a list of {kind, source, target, columns?} declarations, where kind
is split, merge, or moved; a moved map must name its columns. Both declarations are
absent by default. History names and open_end are strings; business_key and
surrogate_keys are string arrays; current_only and dedup are booleans defaulting to
false; deleted_value accepts a string, number, or boolean. load_cutoff requires
string column and at values. Map source and target are strings and columns, when
present, is a string array. These request options
only label the differences they describe: they return explained: false or
key_gap_labelled, and do not remove rows from the open findings. Explanations are taken
only from the approved Mission plan’s prover_declarations, bound to its sealed scope
checksum, or from exact detection where the engine can prove the case. An undeclared open
end is explained from values only when paired temporal rows show NULL against one of
9999-12-31, 9999-01-01, 2999-12-31, or 3000-01-01 in a non-time-zone-aware column
(with no time, midnight, or 23:59:59; any fractional seconds must be zero and any offset
must be zero), and each whole column contains exactly one open-end marker: either only
NULL or only that one sentinel. Soft deletes and load cutoffs are explained only when
declared in the approved plan. A detected late arrival—source-only keys whose date/time
value is later than the target’s latest—is named, not explained, because a target that lost
its newest rows reads the same; an approved plan’s load cutoff can explain it. A current-only
target is also left open unless the approved plan declares the current-only removal (or its
current flag) and the rows the target kept agree value for value; history roles alone do not
explain it. A reissued id is explained only when the approved plan declares that surrogate,
the rows pair one to one on its declared business key, no date/time column differs, and
other compared columns differ on no more paired rows than the configured cap. Only the id
is explained; other differences remain open. Request-only declarations are labels, not
explanations. Without an approved declaration, exact detection can label—but never explain—
an integer column named sk, id, key, or surrogate_key, or ending in _sk, _key,
or _id, only when it differs on every paired row, pairs one to one, is unique and dense on
each side, and the two ranges do not overlap. The cap defaults are documented in Re-issued
surrogate cap.
Exact detection can also recognize tiled history, exact duplicate rows, and rejoining table
shapes. For a split
with no declared row key, it can measure up to eight shared scalar columns and try at most
two that are non-null and unique on every row of both paired tables as link keys. A
successful inferred split records link_key with basis: "measured unique"; a key name
or type alone is never enough. Plan declarations still have to pass the same data checks:
for example, split, merge, and moved columns must rejoin exhaustively.
The output’s diff_kind can include open_end_sentinel, overlapping_validity,
gapped_validity, two_current_rows, changed_history, and reissued_key. A table’s
row_pairing record carries these history and key-gap details: history gives the basis
and validity roles plus per-side findings; dedup records whether duplicate rows were
detected or declared; and reissued_key, key_gap_explained, key_gap_labelled, and
key_gap_refused report the pairing’s reissued-key and key-gap findings. key_gap_explained lists source-only
keys accounted for; request-only reasons and detected late arrivals appear as
key_gap_labelled and remain in the open key count. A detected late-arrival item has
kind: "late_arrival", basis: "detected", explained: false, and a reason; keys not
accounted for remain in key_coverage.keys_only_in_a. A declared cutoff refused because it
would explain more than half of source keys or the target is empty appears in
key_gap_refused. A column’s
open_end_sentinel and reissued_key entries say whether the explanation was accepted
from the approved plan or exact detection. Table-shape maps appear in table_maps; tables_only_in_source
can name merged_into, tables_only_in_target can name split_from, and moved columns
carry moved_to or moved_from. Each one-sided table entry can also include columns,
the names of that table’s own columns, in that estate’s order. A split or merge clears the
one-sided table finding only
when every column is accounted for. A candidate reshape whose warehouse statement fails
is reported in table_maps_failed with its kind, source, into, source_tables, and
a plain-language reason; that candidate failure does not hide other maps. The
summary also lists unchecked candidates in reshapes_not_read, with a reader-facing
say sentence explaining what was not checked and why, and counts all unchecked
merges, splits, and moves in totals.reshapes_not_read. Named failures include their
kind, source, into, and source_tables; a statement-budget record gives the
number left unread and the paired tables where they may occur. Those tables remain
open findings. The comparison card shows these explanations and the total count.
The first row-pairing call reads reshape candidates across the whole comparison, even
when tables names only a subset. Later narrowed calls read candidates touching the
named tables and recheck earlier maps, so an old map is not credited against changed
rows. A candidate refusal is retried when a later call reads one of its paired source
tables; if the query budget left unnamed candidates or the reading could not run, the
next call reads the comparison whole. Shape detection can add up to 40 read-only
statements per call, each scanning two candidate tables; a narrowed call may also
recheck earlier maps. History checks add bounded read-only scans of paired tables.
For a split’s newly introduced link column, moved_columns[].role is
link_column (and its column dot has move_role: "link_column"): it is the key
that connects the paired table to the split table, not a column moved from that
table.
A detected history whose roles were inferred from the data is a label, not an
explanation: its history findings and any current-only key gaps remain open with
explained: false. An open_end_sentinel can be named on such a table, but only
an approved plan declaration explains it. Detected row-key deduplication is
reported even when the extra rows differ; those keys remain unpaired and the
finding has explained: false. An inferred current flag is included as
history.current_flag when a compared boolean column marks exactly the open
versions.
For example, label the history roles while pairing orders on its business key:
data.difference_list reports each table’s key coverage and row-match rates,
then columns in significance order: paired-row differences (lowest match rate first),
normalization-only matches, one-sided columns, and columns matching on all paired rows last
with matches_on_paired_rows: true. Each column includes raw and normalized match rates,
diff_kind, diff_kinds (differing row counts by kind, counted over all paired rows and
adding up to the column’s differing-row count), and
value pairs (A value, B value, row count, and up to three example keys). Side A is the
source and side B the target; the list does not say which side is correct. diff_kind can
include timezone_shift, precision_loss, ignored, boolean_encoding, json_key_order,
date_vs_midnight_timestamp, unit_scale, and dst_shift in addition to the existing kinds.
A whole-hour timestamp or date shift of at most 14 hours on every paired row is
timezone_shift when no normalization step applies and its name does not read as a load
time. A timestamp or date can be load_time when no normalization step applies, both sides
are populated on every differing row, and at least two signals agree: a constant offset,
no equal paired rows, and a load-time name. precision_loss can also identify differing
numeric values that B rounded or truncated from A to one common decimal scale, regardless
of declared types. At least two differing paired rows admitted by the key cap must all fit that scale, and no
paired B value may retain finer decimals; the detail reports the scale, method
(rounded_half_up, rounded_half_even, rounded, truncated, or
rounded_or_truncated) and number of differing rows within that cap. If the target
contains a value the comparison cannot safely read for this check, it does not assign
the decimal-scale classification to that column. The narrower-decimal-scale case
remains included. Columns named in
ignore_columns are compared but classified ignored. boolean_encoding means values match
on every row when boolean spellings such as Y/N, 1/0, T/F, or yes/no are read
as true/false. json_key_order means a whole JSON value matches after object keys are sorted;
date_vs_midnight_timestamp means a DATE matches a TIMESTAMP at midnight. unit_scale
means every paired row holding values on both sides has an exact factor of 100, 1000,
1000000, or 1000000000 (or its inverse); the column includes unit_scale.factor and
unit_scale.b_over_a. dst_shift means values move by exactly one hour on daylight-saving
dates and match outside that season; its detail includes dst_shift.offset_seconds and
dst_shift.hemisphere. History detection also recognizes inclusive ends when every version
pair closes one day, second, or microsecond before the next starts, using the finest grain
the values support. The history record names end_convention (exclusive or inclusive)
and, for inclusive ends, end_grain; both sides’ findings use the source’s convention when
one is detected.
When a key repeats on either side, Prover reports row_pairing.duplicate_keys with
a/b side blocks (keys, rows, and bounded {key, rows} examples), plus on and
say. It
pairs and compares only keys that hold one row on each side
(row_pairing.status: "compared_with_duplicates"); if no key can be paired one-to-one,
the table is key_not_unique. When no key comes from keys, the comparison’s row identity,
or either catalog, Prover instead compares a full-scan profile: row count, then each non-ignored paired
column’s null count, distinct count, minimum, maximum, longest and shortest value. The
entry has row_pairing.status: "checked_by_profile" and profile.outcome of "checked"
or "differs"; profile.differences lists {column, measure, a, b} (the row-count
difference has column: null). A profile match is checked evidence, not acceptance. Pass
keys to compare rows one by one. A table whose rows were not paired reports its status,
reason, and a fix suggestion instead of a column list. The table’s row_pairing.key_basis
names whether its key was supplied, came from comparison identity, or was declared by a
catalog. Other non-comparable statuses include no_row_key, key_not_unique,
not_one_connection, dialect_not_supported, and failed. The comparison summary keeps
five pairs per column; use
GET /api/estate/comparisons/{diff_hash}/proof/columns/{table}/{column}/differences
to page the rest. The column’s more_pairs field supplies the prover_run call and
arguments directly.
When a keyless profile differs, Prover also attempts to name what its whole rows
show:
profile.named_differences can include dedup (extra copies of rows both
sides hold), one_sided_rows, case_only, format_or_length, and, when a date
or timestamp column accounts for all one-sided rows, date_range_cut or
missing_dates. When one-sided rows on both sides match in every column but one
number or date column, Prover can pair the rows and report constant_offset
(for example, a number shifted by +1 or dates shifted by +3 days). It requires
at least three paired rows and a single offset across at least 75% of the
tentative pairs. The finding names the column, offset, unit (value or days),
row count and examples; rows it cannot pair remain one_sided_rows. A detected
open_end_sentinel can also name NULL paired with a far-future date (year 2900
or later) on a date column. These findings are labels with explained: false;
they do not replace or soften the profile finding, and a detected open end has
basis: "found" and is explained only by an approved plan declaration. The extra naming reads both tables;
date analysis can read up to four shared date columns. Constant-offset analysis
can add up to four scan statements and, when it finds offsets, one more scan
statement, each reading both tables.
The naming scan is bounded by
estate_char.keyless_naming_cell_budget.
Above the configured limit, the profile remains intact and reports
named_differences_failed: "too large to name" with
named_differences_budget.cells and .budget.
When a rerun finds the same options and result as the list already recorded,
compare_rows returns data.same_as_last_run instead of repeating data.difference_list;
relay its statement and read the stored list through read_comparison with present=false.
Otherwise, data.counts.difference_list gives the table total for this call and the number returned.
A call naming tables also returns row_pairing.tables_not_in_this_call for the other
tables; these are not unpaired. The stored list is bounded by pairs_per_column; rerun
compare_rows with a larger value (up to 1000) to retain more pairs.
Call prover_run(action="differences", args={"diff_hash": "…", "table": "orders", "column": "status", "limit": 100}) to page a column’s recorded value pairs; the
more_pairs hint gives the exact call for that column. table and column use the names
in difference_list. offset defaults to 0 and is ignored with cursor; limit defaults
to 100 and accepts 1–1000. The result includes pairs, returned, remaining,
next_offset, next_cursor, pairs_stored, value_pairs_total, and
counts.pairs: {total, returned}. Pass next_cursor back as cursor to continue; the
cursor is refused if the kept pairs changed since it was issued. Same pairs recorded again
keep the cursor valid. When value_pairs_total exceeds pairs_stored, rerun compare_rows
with a larger pairs_per_column to retain more.
read_row_keys
Use read_row_keys after compare_rows paired a table when you need the keys of rows that
differ or occur on only one side, without returning their values. Side A is the source and
side B the target. Keys are read live from both warehouse tables using the recorded pairing;
recorded_total compares the live count with what compare_rows counted, and
matches_recorded: false means the table changed, so pair its rows again before reporting
the page as the comparison result. A composite key is rendered as text with parts joined by
| and a NULL part written as \N.
For example, list the first 100 source-only keys, then pass the returned cursor to continue:
keys, returned, total, remaining, recorded_total,
matches_recorded, and counts.keys: {total, returned}. next_cursor is null on the last
page. Each page scans both tables; use a larger limit rather than many small pages. An
unknown set, invalid or mismatched cursor, unpaired table, or warehouse refusal returns an
invalid result; a comparison the caller cannot see returns not_found.
With digits_only enabled for a column, a whole digit string that is a prefix or suffix of
another whole digit string of at least four digits is classified as format_or_length,
not as a different value: the shorter digit string may have been cut at one end.
When both paired columns are exact numeric types with different declared scales,
the narrower side is read at the wider scale before comparison. Scale-only
formatting such as 1.23 versus 1.2300 therefore matches; values that actually
lost precision still differ and can be classified as precision_loss.
After comparing rows, the list can also report foreign-key references on paired fact and
dimension tables when both sides use the same supported dialect (Databricks, Snowflake or
DuckDB) and both sides’ connections are available. It checks declared single-column foreign
keys and likely references
inferred from column and dimension-key names, but reports an inferred reference only when
the dimension key is unique and at least 90% of the facts’ non-null values have a matching
dimension row on at least one side. When a fact column names multiple key candidates,
Prover prefers an exact key-name match, then a candidate with a compatible measured type;
an unresolved tie is recorded in not_references with reason ambiguous_key rather than
guessed. A selected key without a paired target column is recorded as key_not_paired,
and a reference that fails warehouse confirmation as not_confirmed. Each referential
entry names its basis, reference, and each side’s orphan row/value counts and up to three
examples; orphan_fact marks any orphans and broken_fk marks different orphan counts
between sides. These checks use each side’s own connection and do not change column counts.
The extra cost is one aggregate
warehouse statement per reference and side, scanning the fact and dimension twice, plus a
bounded example query for sides with orphans (up to 40 references per comparison).
When a one-column row pairing reports dimension keys missing on a side and that side has
orphans, Prover also checks whether the other side’s dimension holds those keys. A linked
entry adds caused_by items (side, table, rows_missing, and orphan_rows) and that
side’s caused_rows. The orphan facts remain open, but the fix list labels them
orphaned_by_missing_rows and groups them with the missing dimension rows; orphans whose
values neither dimension holds remain independent orphan_fact / broken_fk findings.
This attribution adds one read-only statement for each affected reference side, scanning
the fact once and both dimensions once; it runs only when the row pairing and reference
checks can read both sides together.
When a paired value differs and one side’s value has no matching dimension row,
its diff_kind is orphan_reference; each pair names orphan_on as a, b,
or both. The column also carries orphan_reference with the confirmed
reference and per-side orphan counts and examples, so the value difference can
be read as a missing dimension reference rather than an ordinary changed value.
When a reference has orphans, paired-row statements also probe the referenced
dimension for each paired value to label those differences.
For a table without a key, profiling costs one aggregate statement scanning each table.
For paired tables, reference checks add the cost described above.
row_match_rate_excluding counts rows equal with ignored, prefix-excluded, and
load_time columns left out; excluded_from_row_match names those columns. Once row
pairing is recorded, the column summary and get_run headline lead with the paired-row
result (headline_basis: "row_pairing"), while structural retains the whole-column
measures. totals.readings_measured_row_by_row counts indeterminate readings the row pairing
measured, and totals.readings_differing_row_by_row counts the measured readings on
columns whose paired rows differ. For an ungraded comparison, measured readings on
agreeing columns count as checked; measured readings on differing columns remain
differences, not matches or checked readings. Neither count treats a reading as accepted.
Before pairing rows, each table’s row_gap is null when no gap was inferred, or reports
basis: "row_count" with the count difference in unpaired. With equal row counts, a
different digest for a unique, non-null single-column key reports basis: "key_values"
and unpaired: null. Those rows can explain a whole-column value-digest difference; after
compare_rows, the paired rows decide whether other differing column measures are also
explained or need fixing.
The compare_rows action refuses rebuild comparisons; see the
Prover comparison guide.
fuzz
Run the behaviour-test levels for a rewritten view when fuzzing is enabled. It is off by
default (estate_char.fuzz.enabled=false); while off, the action refuses and nothing is run.
A run tests the source and target in sandboxes against the same generated rows; see
Behaviour Fuzzing for level selection, results and
the run record. Behavior tests are optional and no comparison or verdict needs one.
Example:
prover_run(action="fuzz", args={"spec_hash": "<64-hex>", "view": "orders", "source_profile": {...}, "target_profile": {...}, "tables": [...]}).
In either profile, optional source_tables must map schema names to arrays of table names,
for example {"bronze": ["orders"]}. A flat list is refused because it does not identify
the schemas to clone.
fuzz_plan
Plan the required behaviour-test level for a rewritten view from a sealed spec and both
versions of its SQL. This read-only action requires estate_char.fuzz.enabled=true; it is
off by default. Planning classifies the SQL as L1 for a projection/rename, L3 for casts,
date or time arithmetic, aggregates over joins or window functions, and L2 otherwise. An
optional requested level can raise, but not lower, the derived level. The plan includes the
spec clauses in scope (all clauses by default), risk reasons, the budgets and floors copied
at plan time, and a plan_hash. Changing a setting affects plans drawn afterwards, not
existing plan hashes. SQL that cannot be parsed, an unknown clause id, or an under-level
request is refused. Cost: one sealed-spec read and parsing both SQL texts.
Example:
prover_run(action="fuzz_plan", args={"spec_hash": "<64-hex>", "source_sql": "SELECT id FROM old_view", "source_dialect": "snowflake", "target_sql": "SELECT id FROM new_view", "target_dialect": "databricks"}).
What an agent stages for a person is offered through one action tool, prover_review, in
prover_tools. Nothing in it approves anything:
If
propose_bundle returns action_review: null, the bundle has no request a person can
open. Do not hand over an approval link. Ask once in the conversation with a question card
offering Approve and Leave open; on Approve, use prover_decide(action="approve_request")
with the returned bundle_id as proposal_id, its diff_hash,
approval_basis="agent_person_present", and the person’s quoted pick in persons_words.
A bundle whose items are already accepted is refused as nothing_open_to_approve and stages
nothing.
For a request-less bundle, an unnamed answer approves only the bundle this
conversation most recently asked the person about, and only when the answer
arrives after that ask. An intervening ask about a request with its own review
supersedes the bundle. Ask about the intended bundle in this conversation or
have the person name its bundle_id if another ask came later. When the bundle
ask could not be recorded, propose_bundle returns unnamed_answer_unbound;
do not treat a plain Approve as approval, and ask the person to name the
bundle id.
technical_note records a technical difference the agent handled without asking a
person:
Cost: a review fold and one-row population resolution, then one review-log append,
one review-log read, and its fold. For example:
technical_notes.count and technical_notes.sentence summarize
findings carrying a note on the comparison. A note is only a comment: it does not
accept the finding, change its status, or change the verdict. The finding remains
open until it is fixed or accepted.
Text a person reads first when an agent stages a request—titles, briefs, plain
summaries, and mapping-removal reasons—must use the business’s terms. Whole-word
matches (case-insensitive) include seal, spec, obligation, clause, licence,
estate, register_ tool names, hash, verified_with_indeterminate,
indeterminate, and substrate; estate in “real estate” is allowed. If any part
uses a flagged word, the request is refused without staging; the refusal’s
people_wording field identifies each part and the words to rewrite. Notes and
justifications intended only for agents may use Prover terminology.
Every act that records a person’s word is a separate action tool, prover_decide, also in
prover_tools. It is kept apart from prover_review so that staging a request and
approving it are never one argument apart:
For example, approve a package’s request when the person asks in chat with
prover_decide(action="approve_request", args={"proposal_id": "ap_123", "decision": "approve", "approval_basis": "agent_person_present"}). Every prover_decide act takes
approval_basis and is recorded as the agent’s decision on the person’s behalf. With
authentication enabled, a call with no person to act for, a call that is no agent’s, and a
turn that carries no sign-in are refused exactly as the verbs refuse them. For how
authentication-disabled approvals affect Prover verification, see Roles and
Approvals.
For the later-read attribution recorded when an agent ratifies directly or through a
package or bundle on a person’s word, see the correspondence-rule
read and delta
read response contracts.
On a turn that carries no person, an agent may
read what was staged (read_proposal, read_bundles, list_packages); staging waits for a
person. The actions keep their own names for callers of POST /api/tool_call and the
MCP gateway; promote_trial_run, ratify_correspondence_rule and ratify_delta also
stay in source_contract_tools by name. ratify_documents is also callable by its own
name through POST /api/tool_call and the MCP gateway. A restricted role must be granted
prover_review or prover_decide by name.
accept_finding
Record the person’s acceptance of listed review findings on their behalf. When at least one
item is credited to the person’s answer, counts_toward_proven is true and
counted_finding_ids lists those items; any other recorded items do not count, and
not_counted_because explains why. When the person’s stated count does not match the
recorded items, not_counted_because also quotes the number from their answer. Quote the
person’s words in persons_words and include the items they accepted in finding_ids. A
question-card answer applies only to the review
items that card named. Before a spec has been graded, pass the comparison’s difference ids
(unexpected:<comparison>:<table>[.<column>]) and omit grading_run_id and
population_hash. This records the answer on this comparison’s review log only; it does not
accept the differences. The person can accept them on the proof page, or answer on a graded
review for the agent to record. An id that is not one of this comparison’s differences is
refused with the available difference ids. Never stage a package for a difference the person
already accepted. For answer timing, eligibility, and same-population re-grade behavior, see
Prover roles and approvals for the person-typed
requirement when the server cites a stored answer, and for how scope-limiting words or a
count affect which findings are credited, including how words elsewhere in the conversation
can limit an uncounted answer naming each finding by its own id. If a person’s message cannot
be read back, even an answer naming every id needs count confirmation; see that guide.
If the population changes between reading and recording, the action returns a conflict
with the current run and population; show the person the current review and ask again.
When one answer covers only some listed members, the others are still recorded but do not
count toward Proven. Refusals write nothing. Cost: resolve the person, read the person’s words and current review
membership, fold the review, then append an event per recorded item. For example:
grading_run_id and
population_hash in the call.
ratify_documents records the person’s own answer to an approval card as ratification of
the exact repository document versions named by the agent. Use it immediately after the
person chooses the approving card option; it does not accept a typed “yes” or approval
inferred from a goal or mission. On a one-question choice card, the click sends only the
selected option; Genesis reads the answered card from this conversation and pairs its
question with that option. Pass the exact approving option in persons_words as usual.
Genesis pairs the click only with the newest unanswered card when the click identifies that
card. If the click has no stored card id, Genesis pairs it only when exactly one unanswered
card has been asked since the person’s last reply. If the clicked card cannot be identified
this way, the act refuses without ratifying anything; it never uses another card merely
because it offers the same option.
The required arguments are:
For example, immediately after the person selects Approve the mapping, pass the
documents and full commit shown on that card:
ratified or already_ratified
status, ratifier label, and time. A branch or tag instead of a full commit, words that do
not match the person’s card answer, an unreadable document, or missing permission refuses
the act without recording a ratification. Each document incurs a repository access check,
a blob read, and a one-commit history read, followed by a ratification lookup and a write
only when those bytes have not already been ratified.
Each verb refuses an argument it does not offer by name instead of silently dropping
it. The refusal names the rejected fields and says that nothing was run; check the
verb’s parameter table before retrying. Runtime context fields injected by Genesis are
not caller arguments and remain handled internally.
When a turn has no person identity, its own authority covers author_spec,
register_spec, read_spec, grade, adjudicate, and consult when they require
ratify_source_contract; it also covers cancel_run. Under view_connections, an
unattended turn may run the proof loop with readiness, register_estate,
characterize, prove, get_run, and read_comparison, and call the read-only verbs
list_runs, find_proofs, list_snapshots, read_snapshot,
read_correspondence_rule, list_clarifications, read_proposal, read_bundles, and
list_packages. This lets the agent prepare both estates, submit and follow the
comparison, read its verdict, look up prior runs, proofs, scans, correspondence rules,
clarifications, proposals, bundles, and packages without granting the wider
view_connections permission to other acts such as read_finding,
record_review_decision, or update_estate. compare is not included: prove without
a spec_hash performs the same comparison. readiness still refuses when an answer
requires a person. These reads use the turn’s existing visibility: the thread owner’s
for a product-woken turn, the verified mission originator’s in an unattended mission,
and no person’s visibility otherwise; read_snapshot uses the turn’s own id, which is
narrower still. For downstream service checks, see unattended mission
visibility,
including behavior when the originator is absent or cannot be read.
Configure a service-launched identity in Advanced Settings.
cancel_run remains limited to a run commissioned by the current conversation: both the
caller’s thread and the run’s recorded thread must be present and match, or cancellation
refuses with not_found. That scope check costs one additional indexed run read. A turn
carrying a person is not bounded to one conversation; the ordinary permission check
applies. The exception does not extend to record_clarification or certify_substrate,
which record what a person said and remain refused without a person.
A turn started through the UDF proxy door may still run proofs and reads, but cannot use
Prover tools to seal, approve, decide, record or withdraw a clarification, promote, or
restore an assumption. Asking the person and retrying through that door does not change the
turn’s authority, because their reply comes through the same door.
All three shapes carry next — {verb, args, why}, the literal call to make, not
advice. A run handle’s is its run envelope’s, read back rather than re-derived; a read’s
names the verb that consumes what it just produced; a refusal’s names the act that unblocks
it, and carries verb: null on the kinds no call from this turn unblocks (a permission the
identified person does not hold, a product-started turn with no signed-in person for an act
outside the authority exception above, a UDF-proxy-started turn for an act that records a
person’s say-so, an id that names nothing, an act only a person may perform). See
Prover refusal guidance
for the distinction between a permission denial and an unidentified turn. why is always
populated, so an agent can judge the suggestion rather than obey it.
Service errors classified by the HTTP layer as unavailable, including
NotAvailableHereError and a service that is still starting, return
refusal.kind: "unavailable" rather than "fault". When the service is
starting, retry in a few seconds; otherwise, use the refusal’s reason and
next guidance.
A permanently missing resource is a not_found refusal, not a retryable
service fault. This includes a dataset snapshot that was lost and has no
durable copy, or a query that names a missing table, view, schema, or catalog;
restore the snapshot or create the missing relation before trying the read again.
The four comparison verbs — prove, compare, get_run for a comparison-bearing run,
and read_comparison — also carry a top-level presented block. See Comparison cards in
chat for how it appears
in web chat and Slack. It is null on every other answer and never belongs inside data.
A running card has no verdict, while a completed card carries the comparison
counts and the change since the previous comparison of the same pair. If an unexplained
shrink became partly undetermined, the change line says not measured this time rather
than claiming fewer unexplained; see Comparison cards in
chat for the exact
breakdown. When a prior comparison exists, presented.previous.thread_id names the
conversation that produced it and presented.previous.same_conversation is true,
false, or null when either conversation is unknown; see the same card guidance for
how the chat presents that context. When the card is present, keep the reply brief and do
not repeat its counts;
the Chat and threads guide
covers what people see.
Current cards may also carry the server-owned prover_status and status_line;
render these instead of deriving a status from the counts. The comparison-card
API contract defines their values
and the optional breakdown. A finished card may also carry face_counts, the
counts row shown on its face; see the [comparison-card API contract]
(/docs/Genesis-API/API-Reference#estate-endpoints) for its shape.
When a completed card includes an assumptions disclosure, its after-assumptions count
and assumption list are carried in the presented.verdict block; the chat renders the
count with an asterisk when the list is non-empty. See Comparison cards in
chat for the fields
and interaction. A missing target key declaration may be included in that assumption
list only when the target does not enforce declared keys and the Prover has checked the
key’s uniqueness; otherwise it remains an unlicensed finding. See the Prover comparison
guidance for the evidence
rules.
For refusal.kind: "fault", follow next as a non-terminal re-read rather than a retry;
see How agents drive the Prover
for the recovery rule.
Every long verb follows that rule now, grade included: it claims the round, starts the
grade and hands back the handle. The synchronous whole-grade form is still what
POST /estate/spec-conformance/grade-compiled serves, for an HTTP caller that wants the
verdict in the response.
Prover reads and actions use the identity behind the tool call. See Prover result
visibility for the subject
checks shared with REST, including run adjudication, finding consultation, episodes, and
estate ruling records.
Verbs that screen a named estate, snapshot, comparison, run, or connection apply that
person’s visibility before reading or starting work. An item they cannot see is handled
like an unknown estate, snapshot, comparison, or run, or an unregistered connection;
the tool does not identify it as hidden. If a connection-grant check is unavailable, the
verb returns unavailable rather than claiming the connection is unreadable.
characterize and find_proofs expose this hint in data.workflow_skill; see
the data-work proving skill guide.
Approval decisions rest on a person. With authentication enabled, an agent can decide
a Prover Action Review request for the person in the conversation, or for the originator of
the goal, Blueprint, or mission it is carrying out, when the person asked or delegated that work.
decide_approval_request records the agent, person, and basis. It only decides Prover
requests; other Action Review requests remain for a person to decide. See Prover roles and
approvals
for agent eligibility and approval boundaries. The
record_review_decision tool records a comparison verdict on the same basis.
request_evidence asks for review; see its entry below
for how it behaves when authentication is disabled.
readiness
Call this before choosing a migration recipe and again when the person answers checklist
items. A call with no answers, spec hashes, or spec assets resumes the current record for
the pair without writing; if there is no record, it returns the open items. Supplying
answers, spec hashes, or spec assets records a revision. A save carries forward answers it
does not name from the current record in this conversation, and carries each current spec
hash or document list when that list has no entries. carried_answers and carried_from
identify what it kept. Name an answer with its new value to revise it. Set replace=true
only when the supplied answers, hashes and documents are the whole record; omitted content
is then removed. An empty call with replace=true clears the record. The result recomputes
facts held elsewhere and returns each checklist item as answered, derived, or
missing.
Genesis injects
bot_id, thread_id, and user_id; they are not caller parameters.
When a direct tool call names no agent, the caller is not recorded as an acting agent.
The tool records the injected thread_id with a new record. By default, when the pair’s
record was first recorded in another conversation, the tool withholds its answers and
documents: the checklist is returned as if nothing were recorded, readiness_id is
null, answers_withheld is true, and other_conversation_record identifies the
record, conversation, and recording time. recorded_in_thread and
conversation_note explain the mismatch. Only set include_other_conversations=true
when the person here asks you to use that record; then confirm each answer with them
before relying on or repeating it. Identical answers submitted from another conversation
keep the first record’s conversation provenance.
When spec_hashes is empty, readiness reads the pair’s latest proof once and can derive
the migration shape from its change_expectation. It does not fall back to an older proof
that the latest one did not repeat, and a named sealed spec remains the source of shape
when spec_hashes is supplied.
For layered-target planning, see the [Prover target-mapping guidance]
(/docs/Genesis-Prover/Overview#declared-target-mappings-and-data-vault-shapes).
For example, start the checklist for a pair with:
record_clarification
Record a decision the ticket left open so a later specification can rely on it. estate_id,
subject, and statement are required strings. The tool assigns who recorded the record
from the runtime identity; there is no argument for changing its recorder or decision
attribution. Every record has recorded_by_kind: "agent" and an agent-certified (agent <bot_id>) label (or the runtime’s unnamed-agent identity when no bot id is available). A
direct tool call that names no agent uses that unnamed-agent identity; the caller’s own id
is never recorded as the agent. A heading in ticket_text, including one that says
“ratified by the customer,” is not a provenance record.
persons_words is optional (default ""): when the ruling comes from a person, pass their
exact words from the conversation, however short. They are kept beside the agent’s formal
statement and shown together in a read-back. Recognized rules about trimming trailing
zeros also show worked examples. If an example changes a number’s value, the rule does not
express the person’s ruling; a spec that relies on it will not seal if it changes a measured
value or a number in those words. Correct the clarification and cite the replacement.
When a person decided the clarification by signing a disposition package, pass both
disposition_package_id (optional string, default ""; the package id) and finding_keys
(optional array of strings, omitted or empty by default; the difference keys it covers).
Genesis records it as that person’s decision only when the package is closed, one person
other than its proposer approved every cited difference, and the estate scanned one side of
the package’s comparison or has a registered scan scope matching a side. A missing package,
hidden comparison, withdrawn approval, mixed signers, or any unapproved key is refused
without recording. The record remains authored by the agent; decided_by and its label
identify the signer as the decision-maker. If that approval is later withdrawn, reads no
longer treat it as the person’s decision. When citing this kind of decision, tell the person
“you approved it,” not that the agent certified it.
The returned decided_in_package summary exposes the signer, signing time, difference count,
and an opaque citation; it omits the package id, comparison, and finding keys.
open_question_id is an optional string (default ""). When a product-woken turn records
a reading for a question named by a run-finished notice, pass that question’s id, such as
ecrun_abc123#1. The stored subject starts with
open-question:<open_question_id> — so resolve_open_question can verify that the
clarification answers that question. The id must name a question left by that author_spec
seat run; when the run names an estate, estate_id must match it. Otherwise the tool refuses
without recording anything. Leave it unset for other clarification records.
For example: prover_spec(action="clarify", args={"estate_id": "warehouse", "subject": "date mapping", "statement": "The ticket defines dates as UTC.", "open_question_id": "ecrun_abc123#1"}).
When a person gave the ruling, preserve their words separately from the rule you record:
prover_spec(action="clarify", args={"estate_id": "warehouse", "subject": "number display", "persons_words": "display 120 not 120.0000000000", "statement": "Trim zeros only after the decimal point."}).
For a non-TIME ruling, a standing record in the same subject group that keeps the
same persons_words (case and repeated whitespace aside) is reused even if the
agent has reworded its statement. Different person’s words remain a different
ruling; TIME decisions still depend on their column, type, and encoding. If there is
no exact match, a live ruling on the same subject may still match when the replayed
persons_words are whole sentences kept by the record, or when the record’s words
are whole sentences of the person’s full message. The existing record is reused,
so repeating or quoting a ruling does not create a newly dated record.
Who recorded a clarification and who decided it are separate. When the statement attributes
the person’s own words as said in that person’s conversation, the ruling is theirs even
though the record remains agent-certified; otherwise it is the agent’s decision unless a
person ratifies it. This attribution reads the statement and conversation identity; it does
not verify who actually said the words. list_clarifications exposes the decision fields.
The response includes clarification_id, estate_id, subject, statement,
persons_words (null when none were given), worked_examples, read_back,
recorded_by_kind, recorded_by, conversation_with, label, and
package_item_citation. That citation gives the clarification_id to put on a
disposition package item and states which items it can carry: a target_defect or
spec_defect over an Adjudicator question or spec_ambiguity, only when this
clarification is on an estate of the comparison’s pair, was recorded after the seat
asked, and was ratified by a signed-in person. Otherwise the citation carries no item;
propose_finding_disposition_package refuses the package rather than treating a note as
a citation. Its fields are package_item_citation.clarification_id and
package_item_citation.carries. Every response also carries already_recorded: a
call that repeats a ruling the same agent recorded on the estate, in a conversation with
the same person, that still stands — the same subject as the seal groups subjects and the
same statement up to case and spacing, or for a structured TIME statement the same
column, type and encoding — writes nothing and returns that standing record with
already_recorded: true and a message naming its id and label. For the same agent and
conversation, it also reuses a live ruling when both statements quote exactly the same
attributed owner words and their subject labels are about the same thing. If both labels
name tables or columns, they must share at least one; otherwise, they must share a word or
object. An object is a dotted, underscored, or camelCase identifier, such as
results.number, ship_time, or lapTimes. Numbers, dates, digit-bearing types such as
int32, and provenance words such as “owner ruling” do not establish a match. This allows
relabelled and dated subjects such as “INTEGER lands as 32-bit int (owner ruling,
2026-10-18)” and “integer type mapping (SQLite INTEGER to Databricks int)” to identify the
same answer. Quote the owner’s words verbatim in statement to support this match and have
the record read as the person’s ruling; the quoted passage must be attributed as the owner’s
words, and at least one passage must be 40 characters or longer. Straight or curly
single-quoted passages count when they directly
follow a colon or saying verb, as in
the owner said, 'The legacy rows remain available after migration.'; double-quoted
passages follow the same attribution rules. A quote introduced as a check’s finding or
report does not qualify as the owner’s answer. A
statement that quotes the owner’s words but cuts the quote short with ... or … is
refused without recording anything; quote the full words from the thread, or, if the owner’s
message itself contains an ellipsis, state the ruling in your own words without quoting.
The comparison folds case, spacing, and edge punctuation; it does not verify who said the
words. Structured TIME statements use their column, type, and encoding instead. When more
than one ruling matches, the person-ratified ruling wins; otherwise the oldest does. Every
successful response includes
superseded_copies, the ids of this agent’s other live, unreviewed records of those same
owner words that were retired in favour of the returned or new ruling. These copies now
read superseded with superseded_by set to the kept id; nothing sealed over them
reopens, and no confirmation is needed. Person-ratified records are never retired this
way. Row keys the agent chose itself (subject “Row keys”, no person’s words) are one record
per estate: recording them again also lists, in superseded_copies, the agent’s earlier
unratified “Row keys” records that no sealed spec cites, and the message says already recorded as <id>; updated. For an agent record,
conversation_with identifies the signed-in person by email when available, otherwise by
display name; if neither can be resolved, it is unnamed and the label says that the
signed-in person’s name is not on record. An email identity can itself name the person when
no user record is available. With authentication disabled it is unauthenticated, and it
is internal_service when the authenticated internal-service-token door runs as the
instance’s system user; its label says the instance's internal service account (no named person). It is absent when neither a person nor the internal service was present. That
name does not make the ruling person-ratified: the record remains agent-certified until a
person reviews it. A product-woken turn can also record a clarification as the agent acting
for the thread owner, labelled agent-certified (agent <bot_id>, acting for <person>).
The eligibility conditions, including the mission-originator case, are in Prover identity
rules. A wake does
not make the owner’s decision person-ratified; a signed-in person must still review it.
Pass the returned
clarification_id in
author_spec’s clarification_ids; the seat validates that every id belongs to the same
estate_id before starting. A signed-in person can later ratify or overturn the recorded
clarification through the Estate API; that review happens after reliance, never as a gate.
Ratification changes the label to person-ratified and names the reviewer. An overturned
clarification cannot be supplied to a new author_spec, and any seal or run that relies on
it reads reopened. If the owner later takes back or replaces the decision, the recording
agent can withdraw it with withdraw_clarification. A newly written record also returns
same_subject_live, the ids of this agent’s other live rulings on the same subject and in
the same conversation with the same person. Different wording writes a new record; if the
rulings say the same thing, keep one and retire the copies with withdraw_clarification
and superseded_by. The tool requires ratify_source_contract; when authentication is on
and the turn has a non-placeholder user id, it performs one user read, in addition to one
estate read, one read of the estate’s clarifications and one of their reviews, and, when
the ruling is new, one insert and one read. When the same-answer lookup has several live
records that could represent the ruling in list_clarifications, it also scans provenance
for those records and reads the citing seals’ timestamps so the returned id matches the row
that list shows. Citing a package reads its proposal event and
checks comparison visibility (one scope load, twice when a product-woken owner is also
checked), then adds three store reads (package events, its comparison’s snapshots, and the
estates that scanned them). When this estate scanned neither side, three more reads establish
its scope against the two snapshots. Retiring matching owner-word copies adds one
record read, one review read, and one write per copy. See the clarification review endpoints
for the review request and response fields. A product-woken call additionally reads the
thread’s ownership and message metadata (two reads off the event loop) and checks the
owner’s permission; resolving the owner’s name may require the user read described above.
list_clarifications
List rulings for a registered estate. By default, clarifications contains one short row
per ruling, with sealed-spec citations preferred, then person-ratified copies, then the
newest copies; cited live rulings come first, other live rulings newest first, and retired
ones last. other_live_copies and other_live_copy_ids identify other live records the row
represents. A short row includes clarification_id, subject, status, decided_by,
decided_on, recorded_when, cited_by and cited_by_total, other_live_copies,
other_live_copy_ids, earlier_records, and copy_of. cited_by lists at most 20 seal
hashes; cited_by_total gives the full count. decided_by is person when the person’s
words were recorded or quoted, or after a person ratifies the ruling; otherwise it is
agent. Use decided_on for the UTC record date in
YYYY-MM-DD form. recorded_when gives its timestamp in the asking person’s timezone when
known, otherwise UTC and says the timezone is unknown. If a newer seal cites the same
answer recorded earlier, those earlier copies are folded into earlier_records, which has
count, clarification_ids, seal_cited_count, seal_cited_ids, first_recorded_on,
last_recorded_on, first_recorded_when, and last_recorded_when; seal_cited_ids lists
the earlier copies a seal cites, so every seal-cited clarification id appears either as a
row or in earlier_records. Their recorded dates are not additional decision dates. A row
with copy_of set is an earlier record not folded onto a listed row.
To inspect words, read-back, examples, label, decision details, or review history, call
again with that id in clarification_ids. This named read returns the full records, including
statement, persons_words, worked_examples, read_back, label, decision,
reviewed_by, and reopened when present, as well as recorded_at, content_sha256,
earlier_version_ratification, and ratification_origin. Prose whitespace is normalized
in content_sha256; worked-example values and renderings keep exact spacing. A ratification
from bulk_ratify_all also carries ratified_set_size (the count of clarifications in that
approval set, including items skipped because they changed or were already ratified) and
ratified_set_id (the id shared by ratifications made by that click). single_confirmation
ratifications have no set fields; older ratifications without stored origins read that way.
These fields are null for unratified, retired, earlier-version, or review-event ratifications.
withdrawn means the recording agent retired a ruling on the owner’s word; overturned
means a person retired it. Neither can be cited by a new specification. superseded marks an
agent-retired duplicate; superseded_by names the kept ruling, and nothing reopens.
Oversized records may be cut by the output limit; if tool_output_truncation says so, read
its saved full-output reference before quoting the ruling.
Both forms return page: {start, shown, total, next_start, note}. The tool fits as many rows
as possible in one answer; when next_start is not null, continue with that value before
saying the estate’s list is complete. A note may say every standing ruling is already shown
when only retired rows remain. Named reads use the same clarification_ids again when
continuing. not_listed identifies requested ids that are not part of this estate’s list.
An empty default list means no rulings are recorded. The tool requires view_connections,
does no model call or run, and refuses an estate that does not exist or is not visible with
not_found.
Example:
prover_spec(action="list_clarifications", args={"estate_id": "warehouse", "start": 0}).
For full record details, use
prover_spec(action="list_clarifications", args={"estate_id": "warehouse", "clarification_ids": ["clar_123"]}).
Cost: one estate read and visibility check, one clarification read, one review read, one
compiled-spec provenance scan per clarification for citations, one indexed read of seal
timestamps for the cited specs, and one serialization plus about log2(rows) serialization
probes to size each page, including later pages and named reads.
withdraw_clarification
Withdraw an agent-certified clarification you recorded when the owner takes the decision
back or replaces it. Record the replacement first, then withdraw the old clarification and
include the replacement’s id in reason. Only the agent that recorded the clarification
can withdraw it, and only while it remains unreviewed. A person-ratified clarification is
the person’s decision and must be overturned by that person through the review screen;
another agent’s clarification is not yours to withdraw. An already overturned or withdrawn
clarification cannot be withdrawn again. A duplicate ruling can instead be retired with
superseded_by; that keeps the other ruling live and reopens nothing. The duplicate must
be on the same estate and either on the kept ruling’s subject or quote exactly the same
attributed owner words on a subject naming the same identifiers. A person-ratified record
cannot be retired as a copy.
If a direct tool call names no agent, it does not withdraw under the caller’s own id; a
person overturns their own ruling through the review screen.
The withdrawal records the owner’s words in reason. A completed withdrawal prevents the
clarification from being cited by new authoring, question resolution, or proposals. Sealed
specifications that cited it and runs measured against those seals read reopened. The
completed response returns the clarification with status withdrawn, reviewed_by set to
agent:<bot>, and reopened with the dependent snapshot captured just before withdrawal.
Its label says withdrawn by agent <bot> on the owner's word: <reason> (recorded by agent <bot>). It requires ratify_source_contract and acts with the calling user’s estate
visibility.
If the clarification has dependents, the first call records nothing and returns
data.confirmation_required: true, data.withdrawn: false, data.would_reopen, and
data.confirmation_token. Show the owner which sealed specs and runs would reopen and ask
whether to proceed. Only after their yes, call again with confirm=true and that token. If
the token does not match the current dependent set, the call records nothing and returns a
fresh preview with a new token. A withdrawal with no dependents proceeds without confirmation.
resolve_open_question
Resolve or update one question that a completed author_spec seat could not settle by
measuring the estate. The run-finished notification and read_spec list these questions in
number order; resolve each one by answering it, leaving it open for its named owners, or
explicitly deciding to continue without an answer. For an owner-only question, the owner’s
Decisions waiting on you card in chat presents the question and the seat’s recommended
options for the owner to settle together in one click; the recommendation is not the owner’s
answer. On a
product-started run-finished turn, only clarification_id closes a question; do not use
deferred_to or proceed_reason on that turn. The [Prover reporting guidance]
(/docs/Genesis-Prover/Agents-And-The-API#reporting-a-completed-run) describes the question
format and goal stance. Deferred questions remain open on the spec and grades, but no longer
wait on the agent, so prove can continue. A later resolution of the same question
supersedes the earlier append-only record.
In a product-woken turn, this tool can close the question only with a clarification recorded
for that question: use record_clarification with its open_question_id from the notice,
then pass that record’s id as clarification_id. Record one clarification per question, in
this conversation, on the run’s estate or target, after the run finishes. A different
clarification, deferred_to, or proceed_reason is refused in this path. If the person the
turn acts for has no email on record to match to the clarification, the question cannot be
closed this way; leave it open for that person to resolve in their own message. An agent may
withdraw an item from the owner’s Decisions waiting on you card in chat when it is no
longer needed; this is never an answer and the owner can reopen it.
A clarification cited as clarification_id or answered_in must be visible to each person
the turn reads as or acts for. If the turn names no person, no decision bound to another run
is available to cite. Otherwise, if the citation is bound to a run one of those people cannot
see, it is refused as unknown rather than carried onto this run’s decision. See Prover result
visibility for the run access rule.
The answer/defer/proceed response returns every question with
status (open, answered,
proceeded, or withdrawn), its current label, resolution metadata and deferred_to (the
people an open question was left for, else null), plus open_count (every open question, deferred ones included),
awaiting_count and next_open_question (only questions still waiting on the agent), and the
run’s spec_hash. owner_answered is true only when the owner answered on the decision
card, false while the question is open or was closed without an answer, and null when an
agent supplied a clarification. An answer supplied through this tool is the agent’s act: it is
agent-certified, not the owner’s answer unless a person ratifies it; proceeding without an
answer explicitly says the owner has not answered. Check the clarification’s review for
ratification. If someone else must decide, leave the question open for them with deferred_to
and report it rather than closing it. The tool requires
ratify_source_contract; it makes no model call and costs one run read, a clarification/review
read when an answer is supplied, one insert, and one resolution read. It refuses a non-seat or
authoring run, an unknown question number, not exactly one disposition, a deferred_to that is
not a list of names or names nobody, or a missing, overturned, or withdrawn clarification. It
also refuses an answer recorded on an estate other than the run’s when the run names an estate,
or a clarification bound to another question of that same run; a clarification bound to no
question is not checked for question identity.
A withdrawal instead returns the seat run’s decision card: items includes the questions
followed by the seal’s assumed decisions, each with its number, kind, status, label and
withdrawal details; the response also includes open_count and fingerprint. Supply a
non-empty withdraw_reason; answered_in is optional, limited to 256 characters, and checked
when it is a clarification id. Supplying answered_in without withdraw_reason, withdrawing
a non-open item, citing a missing or other-estate
clarification, or combining a withdrawal with another disposition records nothing. The
owner can reopen a withdrawn item from the card. This tool requires ratify_source_contract,
makes no model call, and the card read and withdrawal perform one run read, one resolution
read, a clarification read when cited, one insert and one resolution read. See the
author-seat API reference for the owner’s
card endpoints.
For an autonomous seat commission with no person to answer, see how to resolve questions
from the ticket’s words.
withdraw_assumption
Stop the Prover relying on one of its default assumptions for a comparison’s estate pair.
diff_hash and assumption_id are required; reason is optional. The id is one that
read_comparison lists in comparison.assumptions, such as a proven pair’s type
spellings. The withdrawal applies to every later comparison of the same estate pair: the
next one reports the differences the assumption covered as findings, and its summary lists
the withdrawal under withdrawn_assumptions. Stored comparisons keep their verdicts; an
approval of a comparison whose pass relied on the assumption reads reopened until the
assumption is restored.
Later proofs and comparisons keep the withdrawal ids and their bylines from the same
snapshot used to key the run; see the Prover comparison guide.
The act is recorded as the agent’s, under the bot id the runtime supplies. The target
platform’s identifier-case license (identifier_case:<platform>) and the engine’s
collation-ordering license (collation_ordering:<component_pair>) can also be withdrawn,
but only when the comparison relied on them. Withdrawing the former makes names that
previously matched by the platform fold read as missing and surplus; withdrawing the latter
makes text minimums and maximums abstain rather than compare as content. The tool requires
view_connections and performs one comparison, snapshot, run-summary, and withdrawal-log
read, one read of the pair’s comparison run ids followed by three projected summary fields
for those runs, and one insert. A person withdraws through
POST /api/estate/system-diffs/{diff_hash}/assumptions/{assumption_id}/withdraw.
The tool returns the withdrawal event and refuses a second withdrawal of the same assumption
for the pair. If a concurrent change moves the standing while the withdrawal is being written,
the tool refuses instead of appending; read the assumption’s standing again before acting. See
the Estate API response contract.
restore_assumption
Let the Prover rely again on an assumption withdrawn for the estate pair. An agent may
restore only a withdrawal an agent made; a person’s withdrawal is refused as a conflict
and must be restored by a person through
POST /api/estate/system-diffs/{diff_hash}/assumptions/{assumption_id}/restore. The tool
requires ratify_source_contract and performs one comparison read, one snapshot read,
one withdrawal-log read, and one insert.
It accepts the same diff_hash, assumption_id, and optional reason parameters. A restore
makes the assumption available to the next comparison. If a concurrent change moves the
standing while the restore is being written, the tool refuses instead of appending; read the
assumption’s standing again before acting. See the Estate API restore contract.
export_comparison
Package a finished comparison for transfer to another Genesis server. The bundle keeps
the comparison’s diff_hash, run ids, snapshots, measured objects, estates, review
events, findings, and ratified rules, so the receiving server can show the same card
without access to either database or its credentials. Connection values travel as
references only; credential-shaped fields in stored JSON are redacted. Use
read_comparison when you only need to check whether a comparison exists.
The response contains
data.bundle, including an envelope with the bundle type,
schema version, contract, export time, source-server identity, connection references,
and estate ids, plus the portable store rows. An unknown hash returns success: false
with type: "not_found". Exporting is an expensive read: about two dozen indexed
store reads and JSON decoding for the bundle’s payloads.
import_comparison
Load the document returned by export_comparison onto this server. The imported card
retains its content-addressed identity; use the returned estate_id_map when a source
link names an estate id that differs on this server.
Run dry_run=true first when the target may already contain part of the comparison. The
plan reports per-table creates and conflicts, estate adoptions, and referenced
connections without writing. A missing connection is reported but does not prevent the
card from being read; only a re-run or live replay needs that connection.
If a correspondence-rule payload reads as a rule but its content hash differs from its
bundled rule_id, the import is refused regardless of on_conflict; the importer does
not guess which id the sender intended.
An imported review event whose event_type exceeds the column’s declared width is
also refused before any rows are written. The refusal shows at most the first 80
characters of the kind and reports its full length and the column width.
For caller-visibility collision handling, including refusals during dry runs, see the
comparison transfer API reference.
For the one-to-one estate binding rule and its warning when an estate keeps its own id,
see moving a finished comparison.
The tool requires
ratify_source_contract; export_comparison requires
view_connections. For the REST request and response fields, including conflict status
codes and the transaction behavior, see the comparison transfer endpoints.
See the system diff API reference for compare retry semantics.
record_review_decision never invents authority. A run decision is optional once verified
people have accepted every item that kept the comparison off Verified; do not ask for a
separate run sign-off to reach that outcome. An explicit reset to awaiting_review is a
person’s “not approved” and keeps the comparison off Verified until a verified approval
replaces it. The reviewer identity on the record is always the one the server derives —
the authenticated person, or local operator (auth disabled) on a deployment running
with authentication disabled. The optional authority text is
recorded beside that identity, never instead of it, so a local stack’s record can still
say who actually made the call. Resetting a comparison to “awaiting review” records no
decision, so it refuses an authority note rather than accepting one it would discard.
With authentication enabled, a turn started by an agent the server records as owned by the
person cannot approve the verdict without the person’s words; it may record awaiting_review
to put the comparison back in review. Other agent verdicts follow the person’s request or
delegation as described above.
For the request fields, exact-one rule, byte measurements, and mismatch guidance, see the
detailed compiled-spec API reference.
Use get_run as the only source for a run’s outcome: its envelope carries the status,
refusal reason, provenance, and completion state. Use read_comparison as the only
source for a comparison result and read_finding as the only source for a finding’s
decision history; do not reconstruct these records from estate queries, logs, or report
files.
For a finished proof or grade, quote envelope.report_this word for word as the record
line. Listing rows from list_runs and find_proofs do not carry that sentence; call
get_run before reporting the run. See reporting a completed
run for the sentence’s
contents, grade-classified counts, and how to handle causes the record does not state. The
API report-line contract defines
the identifier forms. For
how stored grades without spec_seal_state are read, including older-engine grades, see the
compiled-grade API reference.
get_run late-ruling fields: coordinate contract.
During shutdown, newly submitted Prover work can be refused before its flow starts; see
Shutdown and scheduling refusals
for the run-row behavior.
prover_tools replaces the much larger set of Prover tools that grew one-per-route. The
older groups below — source_contract_tools and
spec_author_tools — keep working while teams move across. For acts shared with
prover_tools, prefer the newer group; the older groups retain the source-contract
verbs that have no prover_tools equivalent. A behaviour proof is optional. fuzz and
fuzz_plan are off by default while fuzzing is being redesigned; set
estate_char.fuzz.enabled=true to enable them. Planning is read-only and does not run a fuzz
test. See Behaviour Fuzzing.
The exact calls, arguments, return keys and refusal shapes an agent needs are in the
agent-facing reference: docs/prover/tools.md in the repository, with
docs/prover/run-envelope.md for the run envelope every verb answers with and
docs/prover/prove.md for prove itself. For the proof summary’s always-present
rounds_used_basis, see What a run reports back.
Estate registration and code assets
Useregister_estate to create an estate before characterizing it. Registration checks
that each member connection is reachable but does not scan the database. When the
transform repository is already known, attach it with code_assets; each item accepts
kind="git" and exactly one of connection_ref, url, or bot_git_repo, with optional
ref and subdir. A bot_git_repo must resolve to a local Genesis Git repository whose
directory contains .git; otherwise registration refuses it as unknown local git repo: <repo_id>.
An optional scan_budget sets the default for later scans of a newly registered estate.
It does not change the estate’s scope. On a same-scope reuse, the existing estate and its
budget are kept; the response identifies a requested budget it did not apply.
Registration is safe to repeat: when the requested scope is already registered and visible
to the caller, the tool returns that estate with data.reused: true and the same
estate_id. Check data.registered_by_caller: when it is false, you did not register
the estate, so characterize or prove against it as-is and do not edit it; the next
step recommends characterize rather than an edit. Use update_estate only when
registered_by_caller is true. A new registration returns data.reused: false. For
the exact scope identity, ownership field, visibility conflict, and same-source and
proof-history disclosures, see the estate registration API reference.
When the registered estate has no proof history but one visible estate over the same
source does, data.proved_sibling_choice is use_proved_sibling and
data.proved_sibling_estate_id names that estate. Use its id for the proof unless the
person asked for a fresh pair, and tell them which estate you used. If several visible
estates have proofs, the choice is ask_which_proved_sibling; ask the person which one
holds the proof they mean rather than picking one. The API reference documents the
no_proved_sibling case and the corresponding data.proved_sibling_basis.
When a reused estate’s saved included or excluded names do not match its catalog, the
response may include data.stale_included_objects and data.stale_excluded_objects
(string[]), with data.stale_scope_basis (string) explaining the scan effect.
data.stale_scope_unchecked (string) says when a member’s catalog could not be checked.
Each key is omitted when there is nothing to report for it. update_estate returns the
same disclosures after saving, and estate-bound characterize returns them before
starting the scan. These disclosures do not block reuse, an edit, or a scan submission: an
excluded name matching no object excludes nothing, while an included name matching no
object is refused by the scan. Tell the user what the basis says and correct the names with
update_estate when the estate is theirs.
Before registering an estate, look up the estates already on its connection with
find_proofs(source="<connection ref>"). If the response has several candidates,
data.resolution.candidates lists their scopes. Reuse an estate that already covers the
scope you need; register a new one only when none does. Same-scope registration reuse does
not detect overlapping scopes, such as a whole-database estate alongside layer estates.
If you create a redundant estate, identify the existing estate to use in your reply so
others do not rely on an ambiguous name-based lookup.
Registering is not a readiness check. Where the server runs an automatic readiness
preflight, the answer’s data.preflight names that run and the state it is in
(run_id, status, stage, basis), and while it is unfinished the answer’s next
points at that run rather than at characterize. A stage of starting means nothing
has yet reported on the estate’s access, ETL or clonability.
Attaching a code asset records where the code is; it does not read or pin the code. If an
estate response’s next names clone_code_assets, call that verb before
characterize so each attached git repository is cloned or each Databricks notebook or
job has its revision captured. If a SOURCE estate has no attached code and is not marked
source_only, the response also suggests update_estate(estate_id=..., source_only=true);
use that only when no transform of yours produces the raw data, or attach the transform
with update_estate(code_assets=...) instead.
Use update_estate for later definition changes to an estate you registered. Omitted
fields stay unchanged; supplied
members and code_assets values replace the complete lists, and code_assets=[]
clears the attached repositories. An edit that supplies no field is refused. status
accepts draft, validated, or partial; archived is refused because archiving
requires the estate archive API. If a scope edit is refused because another live estate
already reads that exact scope and the refusal names it, use that estate rather than
registering a duplicate.
An agent may remove an object from scope only when it was wrongly included and is not part
of the migration. Do not remove an object because it failed a check; fix or explain that
difference instead. Make a removal in its own update_estate call, passing the current
excluded_objects plus the object to remove, and no other estate changes. Supply a
one-sentence removal_reason and a truthful approval_basis. The removal and approval are
recorded on the estate. See how grades present recorded removals and how an owner restores
or confirms one. An agent cannot
confirm a removal; only a person can.
The agent action is refused without a person to act for, when other people’s comparisons
use the estate, or when the latest scan measured the object as schemaless or empty. It also
refuses scope narrowing through schemas or members, which would bypass the removal
record. A direct call naming no agent cannot remove scope with sign-in off: taking anything
out of scope through excluded_objects, schemas, or members is refused as
unidentified. The exception is a first schema pin on an estate that has no schema pins.
Calls naming no agent must omit removal_reason and approval_basis; a non-empty value
for either is refused as invalid, rather than silently dropped. With sign-in on, a direct
call is the signed-in person’s edit, but only an agent’s removal records a reason and
basis. Changing excluded_objects costs one additional estate read; a removal also reads
the estate’s comparison runs, latest scan’s object rows, and the latest grade of up to ten
comparisons.
Example:
clone_code_assets(estate_id=...) to download them or
pin a Databricks transform. It returns cloned, captured, skipped, and failed
counts plus the updated estate. A databricks_notebook has no clone: Genesis makes two
workspace REST calls and stores the notebook’s exported-source SHA-256 in revision; a
databricks_job makes one call and stores the job-settings SHA-256. The workspace is
read as the estate agent on the signed-in user’s behalf; an agent call supplies its bot
identity, while an API call uses estate_char.stimulus.agent_bot_id. If that setting is
empty and no bot identity is supplied, nothing is read and the call is refused. Set
force=true to refresh existing clone references or captured revisions. Then call
derive_code_lineage(estate_id=...) to parse cloned trees and connect transforms to the
estate’s scanned objects; set force=true to rebuild existing lineage. Cloning performs
network transfer and disk writes, while Databricks capture performs workspace reads.
If clone_code_assets faults after cloning a repository but before saving the estate’s
clone reference, its next does not recommend repeating the clone. The repository may
already exist on disk, so repeating the same call can fail with repository already exists.
reproduce_artifact
Run one artifact already present in the estate’s derived lineage into a scratch estate,
characterize what it produced, and compare that output with the live relation. This is
the only Prover check that demonstrates what the declared pipeline makes; writer
attribution identifies who last wrote a relation, and lineage coverage identifies what
an artifact claims, but neither rules out a table patched until it matches.
This operation executes customer SQL and writes to the destination. Set
utility_estate_id to an estate registered with kind="utility"; a live estate is
refused. On a metered engine, echo relation in confirm_relation or nothing runs and
no pipeline cost is incurred. The operation is expensive: it characterizes the
artifact’s inputs, runs the pipeline, characterizes the reproduced and live relations,
and performs a mediated comparison. Reproductions that overlap in one utility estate
are refused rather than queued within a Genesis server; give each deployment its own
utility estate.
The runner executes the artifact’s text as SQL statements and ships no notebook runner. A
PySpark, Python, Jupyter, Scala or R artifact can contribute declared coverage through
derive_code_lineage, but cannot run here: it is refused by name before the SQL reader
sees it and returns unmeasured with an error naming the language and saying re-asking
cannot change it.
The response returns
verdict as reproduces, does_not_reproduce, or unmeasured.
does_not_reproduce includes differences and the finding basis
artifact_does_not_reproduce; unmeasured includes error and is a statement about
the run, not a verdict on the pipeline. Every response includes what_this_proves.
characterize
Scan one estate and record what it contains right now. Prefer the estate-bound form
when the database has already been registered: it binds the scan to that estate’s
timeline, updates its latest scan, and makes the resulting snapshot discoverable with
list_snapshots(estate_id). An unknown estate_id is refused with kind: "not_found".
The estate-bound form also returns the saved-scope name disclosures described under
estate registration; they do not stop submission.
For direct Foundry scans,
objects may name a dataset by its bare RID
(ri.foundry.main.dataset.<uuid>) as well as by its catalog spelling. The RID pin
resolves only when it identifies exactly one object in the catalog; an ambiguous RID
is treated as missing rather than scanning several possible datasets.
The estate-bound form does not accept connection_ref, dialect, database,
schemas, excluded_objects, objects, allow_absent_scope, absent_scope_basis,
build_evidence, or role; conflicting
arguments are refused rather than ignored. Use the direct form only when no estate is
registered for the database. A direct scan binds to no estate, so its snapshot is not
added to an estate timeline and cannot be found later with list_snapshots.
When role="target" and allow_absent_scope is true, name why the target is absent:
relocation for a declared relocation whose round-0 target does not hold the relations
yet, or frozen_build_did_not_produce when the build failed before producing them. The
second cause requires all five build_evidence fields and a non-zero build return code;
an unnamed cause is refused instead of allowing an empty target to look like a clean
comparison. The cause is retained in snapshot provenance and used by proof results to
distinguish an unbuilt relation from an unread element.
Both forms return a run handle with run_id, status, and a poll link. The
estate-bound response also includes data.estate_id and the timeline data.scan_id.
Poll get_run(prover_run_id=...) until the run is terminal; a real estate can take
20–30+ minutes, so an expired wait is not a failed scan and re-running an identical
scan wastes warehouse work. If the same characterization is already queued or
running, the tool returns that run with reused: true and a reused_basis explaining
the reuse, and applies wait_seconds to the existing run when a wait was requested.
A finished characterization is not reused: it measures a later instant and a new call
starts a new scan. New submissions return reused: false and
reused_basis: null.
For interrupted-scan reuse and its terminal summary fields, see the
characterize API reference.
On every completed characterize run, get_run’s summary.carry_forward reports
from_snapshot_id, objects_carried, objects_remeasured, remeasured_by_reason,
remeasure_objects_not_found, and a plain-language basis. A first scan or a run with
carry-forward disabled reports no carried objects or refusal reasons. When carry-forward
assesses a prior snapshot, the reason codes explain why a candidate was measured again:
On Databricks, a table can also be carried when its Delta version advanced by at most 50
commits and every intervening commit is data-neutral: compaction (
OPTIMIZE), vacuum,
statistics, or table-property changes with no reported row changes. An unknown operation,
missing or incomplete history, or a longer gap remeasures the table. The carried entry adds
carry_reason: "only data-neutral commits since snapshot", carried_to_version, and
data_neutral_operations (oldest first); table_versions continues to identify the version
at which the table was measured.
For Foundry, an ambiguous read whose row-cap probe is rejected may require one extra
Spark query to check that read; see Foundry SQL result caps.
For a Foundry run that used the legacy SQL route, get_run includes
summary.source_route_fallbacks on its terminal summary, including an error terminal
when the run fails after falling back. fallbacks counts reads served after the public
SQL route could not serve them, reads is the member’s total source-read count, and
served_by counts the reads each route served. causes lists every distinct cause seen,
each with its first reason (the route’s response detail) and its own fallbacks count;
cause is refused (a permission an admin can grant), not_served (a route the tenant
lacks) or unmeasured, and cause and reason name the most actionable of them.
unmeasured means the public route returned 5xx through its submission attempts; Genesis
then used the legacy route for that read and will try the public route again on a later
query. A comparison or grade over Foundry records the same fields per connection under
route_fallbacks. In a multi-member scan, each member’s summary has its own counts; they
do not accumulate across members. For the estate_scan block and per-member scope,
see the estate run API response.
The key is omitted when no read fell back. The legacy route reads the same source data, so
this records route access rather than indicating a scan failure or a bad result. The
two routes have never been compared for latency, so it does not explain a run’s
duration either. See the
Foundry integration guide
for what each route outcome means.
A Foundry characterization summary also reports objects_read_timed_out; this count
is included in the unmeasured total, not objects_done. See Foundry characterization
limits for how timed-out
reads affect the scan and its rerun.
For interrupted-scan isolation, this tool follows the caller-scoped behavior documented
for POST /api/estate/characterize.
Example:
list_snapshots
Call list_snapshots first when the user has an estate id but prove or compare
needs a characterization snapshot id. It returns that estate’s scan timeline newest
first. Each scan includes snapshot_id, run_id, status, whether it was the first
scan or a rescan, and started_at / finished_at. status can be running, finished,
error, partial, or cancelled; cancelled means someone stopped the scan, not that it
failed, and no snapshot was saved. A scan that is still running has a null snapshot_id;
poll its run_id with get_run instead of passing the null to a comparison.
Every entry carries
binding: bound means a scan event names this estate, while
inferred_from_boundary means the estate’s registered connection, database, and optional
schema scope matches a stored snapshot even though no scan event binds it. Inferred rows
keep snapshot_id and finished_at, but their scan-only fields (scan_id, run_id,
kind, ordinal, status, and started_at) are null; binding_basis explains that
the link is an inference. This fallback appears only when the estate has no bound scans.
An empty scans list is a successful read and now means that neither a bound scan nor a
scope-matched stored snapshot was found. It does not prove that the estate was never
characterized; use list_runs to look for an existing characterize run for the same
connection before starting another scan. An unknown or caller-invisible estate_id is
refused with kind: "not_found". The timeline omits scans naming snapshots the caller
cannot see; fresher-sibling results include only visible estates and snapshots, and
withhold newest-snapshot details when that snapshot is hidden. Their basis reflects the
visible sibling rows, so a filtered list does not disclose hidden siblings. The read costs
one visibility-scope load, plus one database read for a bound timeline, or three when it
must match the registered scope against stored boundaries and snapshots.
Example:
find_proofs
Call find_proofs first when someone asks whether a migration has already been checked,
what proof exists for two systems, or whether a person has signed off on the result. It
searches the proof ledger before starting another comparison, and accepts the estate id,
registered estate name, connection reference (<type>.<name>), or database / catalog name
that the user actually has. At least one of source, target, or spec_hash is required;
omit either estate side to widen that side of the search.
Estate names resolve and proof results are counted only among estates, comparisons, and
snapshots the person behind the call may see. An inaccessible estate is neither a match
nor a named candidate, and proofs with an inaccessible endpoint snapshot are excluded.
This adds one visibility-scope load per search.
After the exact estate id, registered name, connection-reference, and database-name
lookups miss, an additional registered-name lookup applies Unicode NFKC normalization
and case-folding, then ignores spacing, underscores, and punctuation. For example,
formula1, Formula 1, and formula_1 can all name an estate registered as
Formula 1; separators between digit groups are preserved as . so v1.10 and
v11.0 stay distinct. This fallback runs last and cannot override an estate resolved by
an earlier lookup. When a side cannot be asserted, near-match candidates also include
names or database names where the reference spells a contiguous run of whole words:
formula1 can surface Formula 1 — SQLite source or formula_1_local, while sales
does not match Wholesale Store. Candidates are suggestions only; select a candidate and
call again rather than treating one as an asserted match.
If the earlier lookups do not match, a reference of at least two words can also identify
an estate from its connection reference, database, and dialect. Each word must match one
of those names, and at least one must match the connection reference: for example,
sqlite formula1 can match a connection named sqlite.formula_1_sqlite, or
databricks genesis_data_agents can match that catalog on a Databricks connection. Every
estate that matches is returned, so use the result as a match only when it identifies the
intended estate unambiguously.
Each result in pairs includes latest_proof, earlier_proofs, proof_count, and a
links.detail URL for the latest comparison. Proof rows include the run id, comparison
hash, certification verdict and basis, stop reason, and review_decision. A reported
review_decision always carries stands: true when the live population was resolved
and the decision accounts for it, false when it no longer accounts for the comparison’s
current population, or null when the live population could not be resolved. null is a
failed measurement, not an approval; treat only stands: true as a standing run decision.
Each proof also carries person_acceptance: when non-null, verified people’s standing
approvals cover every item that kept the comparison from Proven. For spec grades short
of verified, see the Prover card’s gate-counting rule.
This is the underlying acceptance record; when it settles the result, report data.status as proven
and relay the accepted count and people from data.status_line and data.breakdown.accepted.
A person’s explicit reset to awaiting_review keeps person_acceptance null until a verified
approval replaces it. See the comparison review API contract
for its fields. A standing review_decision answers whether the run decision stands, not
whether the comparison is proven or needs a sign-off; open read_comparison and use
data.review.nothing_to_decide for that. The
review_decision_basis explains the measured or unmeasured result. A retracted exception
that is later re-approved is evaluated by its final state, so it does not leave the
approval withdrawn. A null review_decision with a basis means either that no
settlement event was recorded or that a re-diagnosis withdrew the decision; read
review_decision_basis to distinguish those cases. It never means declined. The
response basis explains how each named side resolved and discloses a
proof in the opposite direction when no requested pair matched. find_proofs includes
both prove runs and standalone system_diff runs, and labels each pair side as
bound or inferred_from_boundary.
When several pairs match, read data.pair_index first: it names every matched pair with
the estate ids and names, active states, proof_count, and the run of record’s id, hash,
certification verdict, and review standing. data.pairs contains full details for as many
pairs as fit, starting at pair_offset; data.pairs_page reports offset, returned,
total, next_pair_offset, index_offset, and index_returned. Pass a non-null
next_pair_offset as the next call’s pair_offset. For very large results the index itself
is windowed, and index_offset / index_returned identify the entries on that page. Each
page first builds its first pair with earlier proofs; other pairs carry only their run of
record and true proof_count. If that answer leaves room for more pairs and any of them
has earlier proofs, the search builds in full up to the number of pairs that fit, capped at
five.
For a carried approval, review_decision.approval_carried_from on the new comparison
names the comparison and run where the person made the decision, its original author and
time, and the run that carried it here; review_decision.approval_carried_to on the
original comparison names the destination comparison and run. When an agent recorded the
decision on the person’s word, these carry records include agent_basis naming the agent
and person. A carry preserves the original decision and is not a new sign-off. The
comparison review read also recovers the destination from older carry records; see
approval_carried_to in the API reference.
The response also includes unattributed_snapshots, which discloses snapshots that
matched more than one unbound estate’s registered scope and were therefore left out of
the asserted proof pairs. Its snapshot_count is the true total, while snapshots lists
at most 20 entries; snapshots_listed reports how many entries were returned. Each
entry includes snapshot_id and claimed_by, whose items identify the competing
estate_id and estate name. A non-zero count is a subtraction from this answer, not
evidence that the migration was never proved: scan the estate you mean so the snapshot
binds to it, then call find_proofs again. When the count is 0, basis reports that
the scope match measured no ambiguity.
Every proof row also carries source_moved_since_approval and
target_moved_since_approval, one block for each endpoint estate. These are a disclosure
beside review_decision, not another approval gate: stands says whether the reviewed
population still accounts for the decision, while these blocks say whether the estate
itself has changed since the reading this approval was recorded against.
When stands is true or false, it is the same revalidated standing reported by the
comparison’s Human Review page at review_url; when it is null, this read could not
resolve the population needed to make that comparison.
count is the number of later readings of that estate boundary whose measured content
DIFFERS from the bound one — compared per object on name, type, row count and digest-tree
root. A reading whose inventory could not be compared at all (its object rows no longer
match the count it sealed) is counted with them: “this could not be compared” is never
reported as “this is the same”. It is deliberately not the number of later readings: a snapshot id hashes the whole
sealed characterization document, scan-time facts included, so a neighbouring comparison
re-scanning an untouched estate writes a new reading that differs in nothing a reader
cares about. readings_since carries that raw number for an audit answer, and
latest_changed_snapshot_id / latest_changed_at name the newest DIFFERING reading.
Each block always includes count, readings_since, basis, approved_snapshot_id,
latest_snapshot_id, latest_at, latest_changed_snapshot_id, and latest_changed_at;
count and readings_since are integers for measured, no_newer_snapshot and
no_content_change, otherwise both are null.
basis is one of measured, no_newer_snapshot, no_content_change,
no_standing_approval, no_snapshot_bound, or approved_snapshot_absent.
no_content_change is a measured zero: the estate WAS read again and every later reading
measured the same content. The last three distinguish an
undecided comparison, a comparison with no bound snapshot, and a bound snapshot that is
no longer retained; they are not reported as zero. For measured, latest_snapshot_id
and latest_at identify the newest reading. The timestamp is normalized to UTC ISO-8601.
A name resolves to a boundary GROUP, not to one estate row: an estate an operator
registered and the estate_bf_… twin the boot backfill minted over the same
dialect:database are one boundary, and proofs bound to either are proofs of the same
pair. Each pair therefore carries source_bound_estate_id and target_bound_estate_id
naming the row its run of record is actually bound to; they equal the pair’s own estate
ids where nothing was folded. Several rows of one boundary resolve with
resolution.basis: ["unambiguous_boundary_group"] and asserted: true — that is not
ambiguity. Several estates registered over one physical database are still several
estates, and the answer still withholds.
Each proof row also carries spec_hash_resolvable and
spec_hash_resolvable_basis; use the Prover run contract
for the basis vocabulary and the pre-contract projection-seal case.
Every proof row in latest_proof and earlier_proofs also carries review_url,
review_url_basis, and review_path. review_url is the absolute Human Review page for
that proof’s comparison, where the reported decision is recorded; it is null when no
usable address is available, and the key is still present. When a public address is
unavailable, it uses the Genesis address the current conversation came from, or this
server’s local dashboard address when there is no conversation address. Use that URL in the
context its basis names; someone reaching Genesis another way may not be able to open a
conversation-addressed link, and a local link opens on the machine running Genesis.
review_path is the same page relative to the Genesis dashboard, present whenever the
row names a comparison; use it when review_url is null. review_url_basis is always
present and has one of these exact values:
addressed: this instance publishes a public base URL and the answer names a comparison, so review_url opens that comparison's Human Review page — where the decision is recorded, and where a person makes oneaddressed_conversation: this deployment publishes no public base URL, so review_url is built on the Genesis page this conversation was sent from — it opens for the person in this conversation; someone who reaches Genesis another way may not be able to open itaddressed_local: this deployment publishes no public base URL and this conversation names no Genesis page it was sent from, so review_url is built on this server's own local address — it opens on the machine running Genesisno_public_base_url: this deployment publishes no externally reachable base URL, this conversation names no Genesis page it was sent from, and this server serves no dashboard on an address of its own, so there is no address a person can be handed. The review page is still reachable same-origin from the dashboard; only an absolute link cannot be built here. An operator who wants absolute links sets FASTAPI_BASE_URL (or the GENESIS_PUBLIC_BASE_URL override, which outranks it) to this instance's external address and restarts; SPCS discovers its own ingress and needs neitherno_comparison: this row names no comparison, so there is nothing to review yet — a proof that has not reached its comparison stage has no diff hash to addressaddress_unreadable: this deployment's public base URL could not be read, so no link could be built — which is NOT the same as this deployment having no public address. The failure is logged at WARNING on the server; the rest of this answer was read normally and stands
read_comparison returns the same three keys beside its always-present review state.
Completed prove and compare answers, their get_run polls, and the run-finished
notice carry these fields too, plus proof_url and proof_path for the comparison’s replay
viewer; see The proof page and Replay.
A null URL does not change the review result. Hand a person each link as a labelled
markdown link, exactly as returned: [See the proof](<proof_url>) for the result and
[Open the review](<review_url>) for a decision, with the _path key as the target when the
URL is null; never write the address, path or hash as text. Use the basis to distinguish no usable address from an
address that could not be read on that call. Building the handoff normally reads the
deployment’s cached public address once; a cold cache can rediscover the ingress through
the database adapter.
The tool asserts pairs only when every named side resolves to exactly one active
boundary — one live estate (unambiguous_active), or several rows of one registered
boundary (unambiguous_boundary_group). If a name matches estates of several different
boundaries, matches an archived estate, or matches nothing,
data.resolution.asserted is false and pairs is empty; this does not mean that
the migration was never proved. Read data.resolution.basis, which can then contain
ambiguous_name, inactive_match, and no_match, and re-run with one registered name
whose candidate has active: true. An archived candidate remains non-asserting even when
named exactly; use list_snapshots, then list_runs, then read_comparison to inspect
its history instead.
For a withholding side, data.resolution.candidates combines direct matches and near
matches, ordered as live estates first, then estates with a decided pair, then most
recently scanned, then registered name. The order is only a reading aid; it never chooses
an estate. Each candidate includes side, estate_id, name, active, pair_count,
decided_pair_count, and last_scanned_at. The list is capped at 10 candidates per
side; candidate_count is the true total. candidate_order_basis contains the same
ordering explanation returned by the tool. The response also includes
source_basis and target_basis, while pairs_returned and
candidate_pairs_considered distinguish the pairs presented from the pairs found for
the resolved estates.
data.fresher_same_scope_estates checks every estate the answer names: estates bound to
returned pairs, estates each asserting side resolved to, and candidates listed for a
withheld side. It reports another active estate on the same engine, database, schema pin,
and excluded-object scope, reached through a different connection, when it sealed a
snapshot after the named estate’s newest one. A candidate’s fresher sibling is disclosed
without choosing that candidate or asserting a proof. When the answer names no estate,
the block’s basis is nothing_named; an empty sibling list in that case says nothing
about whether a fresher estate reads the intended data. Results include only estates and
snapshots the caller may see. This check adds no read; it reuses the estate rows and scan
timelines already fetched.
Every returned pair includes source_estate_active and target_estate_active; an
inactive value means that estate is archived and its comparison is stale by construction.
Every pair also discloses source_estate_kind, target_estate_kind, provenance, and
provenance_basis. Branch on provenance, not kind alone: synthetic marks a utility
or drill-clone estate, a synthetic-flagged estate, or a curated adversarial target whose
defects were planted for a rehearsal. Synthetic pairs are exercises, not proofs of record.
Each proof row in latest_proof or earlier_proofs also carries its own provenance,
classified from that proof’s endpoint snapshots. The pair-level value describes the run of
record, so a pair’s proof rows can include both rehearsal evidence and a proof of record.
When name resolution withholds an answer, the response uses proof_count: null rather
than 0; candidate_pairs_considered still says how many proved pairs were found.
read_comparison always includes review, even when no optional findings or families
are requested. Use it as the comparison’s folded review state: it reports the standing
verdict (awaiting_review, approved, or approved_with_exceptions), reviewer
identity and time, and the run and population coordinates attached to the decision.
Read this field before treating comparison counts as sign-off; a clean count is not an
approval.
When findings is requested, read each row’s settlement.settled and
settlement_basis rather than its observation fields alone; the complete row and
summary contract, including settlement_counts and settled_at_run, is documented in
the estate API reference.
Finding rows may also include family_signature_shape: persisted means the
systemic-family coordinates came from the stored finding row, while computed means
the service derived them from the evidence document during this read. When clustered
families are requested, their signature_shape is persisted only if every member
was placed from stored coordinates; otherwise it is computed. This lets an agent
distinguish a normal current read from a store still being brought up to date without
changing the family grouping or requiring a setting. New finding writes persist the
coordinates; existing rows are backfilled automatically at startup, and rows not yet
backfilled remain correct because the service derives them from evidence for that read.
The backfill’s batched write strategy is described in How a Run Works.
Each search performs about a dozen deployment-wide reads. Pair paging adds no separate
read, but each page starts with a search that builds only its first pair with earlier proofs;
all other pairs carry only their run of record. If the response leaves room for more pairs
and any later pair has earlier proofs, the tool repeats the whole search to build in full
up to the number of pairs that fit, capped at five. That second search builds the first pair
again, and details for pairs that still do not fit may be built and left out. A page with
only one pair, or whose other pairs each have one proof, needs just one search. Each search
fits the response with one serialization and, if needed, a bisection for each list that
must be shortened. The tool is read-only and does not start a comparison.
Example:
read_snapshot
Use read_snapshot to answer a row-count question from what a scan measured — how many rows
a table held, which tables a scan found — instead of counting against the live
connection. The counts are as of that scan.
Returns
snapshot_id, dialect, database, object_count, and objects: one entry per
measured object with object_name, qn, object_type, row_count (null when the scan
could not count it), and digest_root. An unknown snapshot, or one outside your estates,
is refused with kind: "not_found". The tool reads the snapshot’s identity row, its object
rows, and your estate scope; it never loads the characterization document, which the HTTP
detail route decodes in full.
Example:
list_runs
Use list_runs to discover what the Prover has already run — especially after a bounded
wait expires, when starting the same work again could create a duplicate. Results are
newest first and contain slim run rows: identity, type, status, liveness timestamps,
and summary scalars such as counts, verdicts, and hashes. The per-run evidence blob is
not included; use get_run for one run’s full detail or read_comparison for a
comparison’s result. Runs started in
another conversation that is hidden or that you may
not open remain listed with only run_id, run_type, status, started_at,
finished_at, and heartbeat_at; contents_withheld is true, same_conversation is
false, and conversation_note explains why. get_run refuses those runs with
kind: "not_found" instead of returning their contents. For each distinct other
conversation represented on the page, visibility adds an in-memory hidden-flag lookup
and, when it is not hidden, one thread-access check (up to two RBAC permission queries).
The caller’s estate visibility also filters runs bound to estates, connections,
comparisons, or boundaries they cannot see: those rows are omitted entirely, and are not
included in the page or runs_without_estate count. This adds one run-visibility scope
load for the instance, including a distinct read of run connections and boundary
snapshot/connection indexes. get_run answers a hidden bound run with
kind: "not_found", just like an unknown id; see Prover result
visibility for the shared rule.
For new runs submitted by characterize_estate, grade, or author_spec, the submitting
conversation is recorded even when notify=false; notify controls the terminal wake,
not this visibility check.
In SQLAlchemy metadata mode, store setup for run listing is automatic; see Prover run
listing.
shape defaults to card rather than to the listing route’s full, because a full
page measured 262,333 B for 18 rows with a single row at 156,766 B and nothing about
“what has been run” needs the evidence documents. Ask for full only when you will read
them; one run’s detail is cheaper through get_run. Every row names its own shape on
summary_shape, so “this run recorded no canvas” stays distinguishable from “this shape
did not fetch the canvas”.
The response always includes has_more and next_cursor. has_more: true means older
runs exist beyond the returned page; pass next_cursor to continue, and do not report a
run as absent just because it is outside the newest page. Rows can include
stimulus_evidence: true when the system minted the run as evidence, such as a
system_diff produced by a stimulus beat. This is classification, not a filter; the
tool has no status filter. The tool performs two database reads: the bounded run ledger
and the stimulus differential index, plus one batched compiled-spec lookup when returned
rows cite a spec_hash, and one COUNT of the runs without either a submitting or target
estate when estate_id is given. Each row carries spec_hash_resolvable and
spec_hash_resolvable_basis; use them to filter out grades whose named spec is no
longer available from this instance.
For spec_conformance rows, the summary also retains scope: a compact list with one
entry per scoped object, containing object, expectation, and status.
For the unconfirmed-item count retained in card-shaped grade rows, see the runs API
contract.
Example:
progress block and next_step sentence. For a
seat-backed run, compare progress.last_activity or its counters across calls rather
than treating phase: "working" as proof of current liveness; the shared field semantics
are in Prover run progress.
Short hashes
diff_hash, finding_key, and spec_hash are 64-character lowercase SHA-256 digests.
The read tools read_comparison, read_finding, read_spec, read_proposal, and
export_comparison accept an unambiguous prefix of at least 8 characters. An ambiguous
prefix refuses with candidates, a prefix shorter than 8 is invalid, and a well-formed
prefix naming nothing returns the tool’s normal not-found result. Write tools and
find_proofs still require the full hash.
Prefixes in comparison, finding, and spec hash spaces resolve only against records visible to
the person the agent is working for. Hidden matches are removed before candidates are
counted or named: a prefix matching only hidden records behaves like a prefix matching
nothing, and an ambiguous response lists only visible candidates. If more than 1,000
records match before visibility is applied, the prefix is refused without listing or
counting matches; provide more hash characters.
read_comparison
Read a finished comparison by the diff_hash from a proof or compare run. The
comparison itself is always returned; request findings, families, the recent
comparison-event events feed, or comparison grades through include only when you
need those extra payloads, because each one performs its own read.
The response’s data.title is the plain-language sentence selected for the proof, from its own
run first and the comparison’s minting run otherwise; it is null when neither recorded a title.
The response also includes data.status, data.status_line, and data.breakdown.
Use the server’s status (proven, not_yet_proven, proving, or not_compared) rather than
deriving one from the counts; breakdown.accepted keeps a person’s acceptance
separate from checked or matched data. On an open comparison, data.next_step
states the agent’s next action and data.next_steps gives each open item’s
action. See the Prover overview
for their meanings. For the not_compared state and its map guidance, see the
Prover overview. The proof page
can report a missing rebuild table that the
chat card does not read, so use the page’s status when the two differ.
The optional grade in presented is guidance only; its unverified_spec_grade contract is
described in the [review-population API section]
(/docs/Genesis-API/API-Reference#get-api-estate-comparisons-diff-hash-review-population).
For an agent’s default read_comparison, the answer leads with a per-table and
per-column data.difference_list, then data.column_summary and ordered
data.punchlist; individual check readings are left out. Before row pairing has
been run, row_pairing says so and the list has no paired-row rates or value pairs.
After prover_run(action="compare_rows"), the list includes row-paired results.
data.column_summary.headline uses the same short-headline format as precheck_columns, and
headline_detail gives its full count-by-kind breakdown and names one-sided tables. With
two or more paired tables, the headline leads with the number of identical tables and the
number that differ; its detail also names tables that were not fully compared. A likely
renamed column appears in renamed_candidates with evidence and an accept.column_map hint;
it remains missing on each side until you declare that mapping and compare again. A candidate
requires compatible types and either identical value digests or (when neither side has a
digest) at least three shared profile facts that agree; ambiguous pairs and columns with no
non-null values are not offered. View pairs add a view.definition comparison and a
view.whole_row_check status for each side. The punchlist names why a whole-row check did
not run and suggests a row key when one can be read from the view’s GROUP BY. Readings,
row keys, and acceptances associate with source tables using the comparison’s table-name
resolution; catalog qualification or case differences resolve when the table match is
unambiguous. Column-name case differences resolve only when there is one matching column;
ambiguous matches stay distinct. When
tables is supplied, column_summary.tables contains only those requested tables, while
the comparison headline and totals remain for the whole comparison.
The column summary also reports table reshapes: one-sided tables can name their destination
or origin, and moved columns show the table and column they came from or went to. Reshapes
are listed only when an exact rejoin check verifies them; a partial split or merge remains
one-sided.
column_summary.inputs_read_from names source-only plan inputs credited by Prover; see
comparison-card guidance
for when that credit applies and how it changes the missing-table findings and fix list.
totals.tables_differing_only_in_shape names paired tables whose differences are
only verified moved columns or row gaps, with no missing or differing columns; the
compact comparison card keeps these in its differing-table count without carrying
the name list.
The summary groups each column once as missing, differing,
unchecked, or matching; differences can identify type, nullability, an empty side,
min/max, longest value, null count, array lengths, or values. It gives
source-versus-target measurements for differences. It is
bounded to 25 tables, 40 entries per table list, and 60 punchlist items; totals remain
whole, and column_summary.detail_path, when present, points to the spilled full
summary when any tables or entries are omitted. To get the complete comparison and its check-level
readings, pass detail=true. Supplying a drill-in argument (include,
comparison_shape, verdict, settlement_basis, family_signature, family_status,
events_limit, offset, or limit) also returns the requested detailed comparison
instead of the default summary. For older comparisons without a recorded summary, the
server builds one from both snapshot documents and the comparison’s element document,
once per comparison per process.
A platform_rule column dot can include rules, the titles of the reviewed rules
that license that column. The field is absent when the summary names no rule, including
older summaries without rule-title data.
When a table exceeds the exhaustive scan’s row budget, data.column_summary.column_reads
and data.comparison.columns_read report columns read in full, sampled, or not profiled,
and identify which tables were read in full or sampled. For each sampled table they report
the sample size and population when known, and, when recorded, how the engine drew the
sample, including whether it is repeatable. Sampled column statistics are estimates: do not call those
columns checked or verified. compare_rows reads the columns it compares row by row in
full and updates this accounting. Comparisons read wholly in full also carry a statement
saying so; a precheck that reads only names, types, nullability, and row counts does not
claim its columns were read in full. On the compact card, the bounded form is at
presented.column_summary.column_reads.
After an exhaustive, snapshot-bound row pairing, a column whose values match on every paired row
may carry equal_by_meaning; its value readings are settled by the row check, while type,
nullability, or default readings remain open unless separately licensed. Fixed readings include
boolean encodings, JSON key order, DATE versus midnight TIMESTAMP, and typed MAP entry order. Array
element order remains significant. A bigint to int type change is also licensed only when every
paired value is unchanged and the measured source extrema fit the 32-bit range; near-limit values
carry a warning. The column metadata and the table/column reading counts in
tables[].unlicensed_reading_comparisons records the comparison id for each unlicensed
reading, and totals.readings_equal_by_meaning plus
totals.readings_type_licensed_by_rows list the corresponding comparison ids by table and
column. They preserve the individual readings so an accepted reading is not counted as
settled a second time. See [Prover comparison cards]
(/docs/Genesis-Prover/Agents-And-The-API#comparison-cards-in-chat) for how the card presents it.
The summary’s status-oriented totals also include differing_columns,
rows_only_in_a, rows_only_in_b, tables_rows_on_one_side_uncounted, and
tables_keyed_untried, the number of keyed tables with no compare_rows pairing
yet when the summary records per-table key status. A table whose pairing ran but
matched no rows is not counted as untried. not_judged_columns and
not_judged_row_checks let the status say the open work by columns, rows, and checks
while the breakdown continues to count readings. readings_on_tables_on_one_side reports unlicensed and indeterminate
readings on tables that exist on only one side.
Comparison counts may include row_keys_inferred when Prover suggests a row key for a
keyless pair. Treat it as a proposal, not a declaration; see Keyless profiles
for the evidence, validation, and fallback behavior.
After referential checks run, data.column_summary.referential.references gives
the confirmed table/column relationships, check kinds, and orphan counts by
side. not_references gives candidates the warehouse did not confirm, including
the reason and any failed-side detail. The compact card form keeps up to five
confirmed references and five skipped candidates, with omitted counts; when no
reference is listed its reason distinguishes rows_not_paired from
no_confirmed_reference. Errors quoted by reference checks are redacted before they are
recorded and again when older stored comparison summaries are read, so a driver’s message
does not expose a credential or connection string.
To retrieve that recorded block, call
read_comparison(diff_hash="...", include=["referential"]).
present is an optional boolean that defaults to true. Use present=false for your own
reads while triaging, paging findings, or checking counts: the chat draws no comparison
card, and its facts are returned under data.comparison_card. Keep the default for the
single read that answers the person’s question about the comparison. Do not show the same
comparison card repeatedly in one turn.
Every answer leads with data.what_is_left, a serialized block capped at 16 KB so it
arrives in the answer’s first 32 KB. Read it before the larger fields. It reports whether
the review population is complete, and its verified and nothing_to_decide flags are
true only when the population is complete with no unresolved items. It lists remaining
items and their finding_id or question_number when available, each item’s
who_can_settle, stable action_id, and human-readable action, plus review_url and
review_path. person_only and
person_answer_agent_records items need a person; person_approval_via_package items need
a package staged for approval; agent_can_act items are agent work. When items is
non-empty, do not propose a whole-comparison sign-off. Repeated items may be grouped by
kind and action; finding_ids names every blocker represented by a grouped item, not just
its lead finding_id. Follow the listed actions and give
the person the review as a link labelled “Open the review”, with review_path as its target
when review_url is null and the path is present; do not invent a URL if neither link is
available. An incomplete population may
omit blockers and is never grounds for sign-off. more counts open work not represented
individually, including unreadable owner questions; omitted reports missing details. A
null more means the remaining count is unknown.
data.pending_asks lists what the proof waits on a person for: owner questions,
open clauses, pinned build code that can be accepted as the record, tables on the
target that the plan does not name, unmet plan scope entries, failed checks, and
evidence gaps a person must decide. The added kinds are target_only_tables,
unmet_scope_entry, failed_check, and evidence_gap. Each ask has a kind,
question, options, recommended, and outcomes describing what
each choice does and the existing action_id it routes to, plus subject with
object_name, column, and rule_id (each null when the ask names none) to
identify what it concerns. Sign-offs are not included in this agent-facing list;
the pending-asks API can add them separately on request. The list is capped at
20; count and more report the full total. When the proof stops for a person,
ask every listed goal_question unchanged in questions_for_person (or as a
question card outside a goal), and route the answer by the selected outcome’s
action_id. If goal_question includes records_answer, preserve that field,
the question, and its options unchanged: the person’s click in Work records the
answer before sending it to the agent. This applies to target-only tables, unmet
scope entries, failed checks, evidence gaps, and removal questions after a failed
check. A target-only, unmet-scope, or failed-check answer given in chat can be
recorded with accept_review_finding using the ask’s finding_ids, grading_run_id,
and population_hash; the tool requires both population coordinates and refuses with a
conflict if the review has moved, so show the person the current review again. Its default
exception lasts 90 days. The response’s counts_toward_proven is always false: it does not
satisfy Mission Prove gates. The person’s acceptance and its effect on later proofs of the
same pair are described in Prover review decisions.
An evidence gap is accepted through its package on
the review page or in Work, not by recording a finding. An agent must not record a removal
answer. The Prover review page lists the same asks.
For when an unmeasured content-check gap stays agent work or becomes a person decision,
see the proof page and Replay.
This block is read when pending asks need to be derived from the comparison’s open
clauses, owner questions, target-only tables, unmet scope, failed checks, or person-decided
evidence gaps; when present, it adds a complete
population read, a run read, a review-event log read, and two reads per named seat
run. If the asks cannot be read, asks is null and unreadable explains why.
The order is owner questions, build-code acceptances, other open clauses, target-only
tables, unmet scope entries, failed checks, then evidence gaps.
For review-page decision notices delivered to this conversation, including their decision
and verdict, see Prover review decision notices.
When include requests families, the rollup uses only findings visible to the person
the agent is working for; see Prover result visibility.
When include requests findings, a duplicated-load finding may include bounded repeated
key examples in relied_on.sample_keys. The examples are illustrative; the counts decide
the finding. See the Prover comparison guide
for the limits and when they are read.
The response also carries the same presented comparison card returned by prove,
compare, and get_run; it is built from this comparison and replaces an earlier card
for the same comparison in chat. When this comparison was commissioned by a proof,
presented.proof_run_id names that proof run so chat can join the comparison to the
proof’s running card. Resolving this field costs one indexed run-row read.
See the Prover’s [checkable value change guidance]
(/docs/Genesis-Prover/Overview#checkable-value-changes).
The card also reports its undecided causes and objects matched without comparing rows;
see the comparison-card API fields
for counts, wording, next steps, and when a structured cause is retained.
When present, presented.spec_grade includes the grade’s blockers and
blockers_total; on a paired comparison, accounting.outside_scope and
accounting.outside_scope_total carry the spec-scope disclosure. Each list is capped at
five entries, with its total preserving the full count. See the review-population API
contract
for the grade’s accounting fields and [comparison cards in chat]
(/docs/Genesis-Prover/Agents-And-The-API#comparison-cards-in-chat) for how to interpret it.
When available, presented.spec_grade.checks is the optional plan-check tally; see
the review-population API contract for its fields and how it differs from
blockers_total.
See the Prover overview for how
input credit affects the card status and undeclared-target blockers in presented.spec_grade.
When a grade covers only selected checks, presented.spec_grade also carries
spec_seal_state: "subset", graded_check_ids, and spec_check_count; these fields name
the graded checks and total spec check count. See [the Prover card guidance]
(/docs/Genesis-Prover/Agents-And-The-API#comparison-cards-in-chat) for how the card presents
this grade.
Owner-question entries on a grade can also carry answered_at and answered_by
(person_id, display_name) for a question whose latest resolution is answered; these
fields are null while it remains unanswered; see the proof API reference.
A blocker with comparison scope_expectation cannot be settled by a bundle; direct the
person to accept it on the comparison review page. See Prover scope verdicts for the review steps.
Resolving presented.spec_grade costs two indexed reads. When the tables paired, it also
costs a bounded indexed join of this comparison’s population runs (at most 129 run rows,
with their summaries) and a read of in-flight spec proofs. When the tables paired none,
it instead reads the spec_conformance and spec_drill feeds keyed by this comparison’s
promoted provenance.diff_hash and artifacts.diff_hash columns, then reads the documents
of matching runs and in-flight spec proofs. Rows whose columns are not yet projected are
also returned and checked from their documents. This narrows the candidate rows to matches
plus unprojected rows rather than returning every grade row; matching-run documents are
still read.
The data.review.person_acceptance and presented.person_acceptance fields carry the
reviewed outcome; see the comparison review API contract
and comparison-card guidance
for their meaning and response shape. Resolving them folds the review log; when a verified
person’s exception stands on the comparison it may also resolve the population, whether or
not a run decision exists, and only when the outcome otherwise stands does it scan the
uncapped stimulus run feed and fold the scoped finding ledger. Every what_is_left block
resolves the complete review population; it returns at most 16 members plus exact totals
and grouped counts, and card grade and person acceptance reuse this review fold. When
rulings or withheld-reading guidance require decoding every member, that work is O(population);
resolved-id exclusions add one query per 500 ids. When verified-person exceptions stand
on failed checks, resolving the outcome may additionally
read the complete population to determine whether they settle an associated requested
change; see the review-population API fields
for when that carry applies.
data.review.accepted remains the underlying approval record {by, count, at, decision_ids}: approver names, accepted-item count, newest standing decision time
(or the outcome’s decided_at), and standing decision IDs. It is null when no
acceptance stands. It is not a separate result status; when acceptance settles the
comparison, data.status is proven and data.breakdown.accepted reports what was
accepted. The acceptance does not change the machine grade.
When data.review.exceptions_on_another_grade is non-null, relay its note rather than
saying nobody accepted. See the comparison review API contract
for its fields and Prover approval guidance
for the grade-bound behavior.
Report a finding as open when exception_applies is false; see the comparison review
API contract
for how it differs from exception_approved and for exception_on_grade values.
data.review.decision_approval_basis identifies the basis for the current run-level
verdict and, for an agent decision, the person, agent, conversation, goal, and server-known
turn context. It is null when no verdict stands or when the record predates this field;
see the comparison review API contract
for its structured fields.
data.review.open_questions is the count of unanswered owner questions when they are the
only thing keeping an otherwise verified spec grade off Verified and no person reset the
run decision; it is absent otherwise. See the proof page guide
for how the plan’s current question record affects this count. In that case,
data.review.nothing_to_decide is
false: neither a run approval nor a person’s acceptance answers the spec owner’s question.
Use read_spec to see the questions. Otherwise, data.review.nothing_to_decide is true
when the comparison’s status is proven, or when it is a stability check that held still;
there must be no person reset of the run decision, the review population must be complete,
and its unresolved_count must be zero. A stability check is never Verified: its
data.review.stability_check is held, changed, or unconfirmed, and
data.what_is_left.verified remains false; the same outcome appears as
data.what_is_left.stability_check. Both stability fields are absent on ordinary
comparisons. data.review.stability_changes gives the unexplained difference count when
the outcome is changed, and is absent for other outcomes. Otherwise,
data.review.nothing_to_decide is false. This applies to scope too
when its card has a measurable errored count; an unknown count is not an all-clear. A true
value means nothing is left for anyone to decide, even when data.review.decision is
awaiting_review: a run decision is optional. A person’s acceptance counts toward
proven and stays separately identified in data.breakdown.accepted; it does not
change the machine grade. For
a held stability check, say the estate did not change and do not ask for sign-off or stage a
package. Report proven only when data.status says so. When the
value is false,
data.what_is_left identifies what remains or says when the population is incomplete.
The read’s next.why may direct the agent to repeat a scope read before stating the review’s
current status; see Prover guidance.
data.review.owner_questions_also_open counts unanswered owner questions when they remain
open but are not the only thing keeping the comparison off Verified—for example, when a
check failed or the run decision was reset. It is absent when there are no open questions or
when data.review.open_questions already accounts for them. The next.why names these
questions beside the grade’s own verdict; use read_spec for their recommended answers. An
open question leaves the comparison not_yet_proven; it does not mean every check passed.
The next_step and next_steps fields say whether the agent must fix the open work or
propose a waiver; see the Prover overview.
With include=["findings"], data.findings.person_acceptance carries the same outcome
without its item list, and each finding row carries person_accepted. A true row means
the person accepted that finding; it remains separately counted as accepted, not checked,
even when its machine state remains still_open (the difference is still observed). When
that acceptance settles what the plan’s checks did not, the comparison reads proven, with
the acceptance named in its status line and breakdown.
When person_acceptance is null, every row’s person_accepted is false.
The finding_keys shape does not carry either field.
Platform-type, unique-index, rewritten-view, source-built-output, and value-proven
TIME-as-text assumptions may appear in comparison.assumptions; see Genesis Prover’s
assumption rules
and the comparison behavior.
Comparisons produced with float tolerance also include summary.float_tolerance, keyed
by object.column, with elements and max_relative_difference for each entry. Read
the Prover comparison guide
for the tolerance rule and when the comparison performs live value reads. The comparison
summary also records float_tolerance_read and time_text_read: requested columns, how
many were read on both sides, and the cause and reason for each unread side. The same
float_tolerance_read block is projected at summary.comparison_counts.float_tolerance_read
when run counts are returned; older comparisons without that block report null.
For the summary.undeclared_target_shape guidance and withheld-reading fields returned
by read_comparison, see the review population API contract.
When the guidance describes a pair with no one-to-one correspondence, use its unpaired,
observation, and target_model_example fields as instructions to declare the mapping;
shared columns are observations, not an inferred mapping. For how nothing_compared: true
affects the result and when a spec_grade can answer for it, see the [Prover overview]
(/docs/Genesis-Prover/Overview#the-proof-page-and-replay) and [comparison-card guidance]
(/docs/Genesis-Prover/Agents-And-The-API#comparison-cards-in-chat). If the response has
nothing_compared: true and no verified spec_grade, follow the refusal’s
next: declare the mapping and reseal the spec, re-prove with a schema_map when the
comparison matched zero objects, or run the comparison again when no matched count is
recorded for it. If a reshaped build’s spec_grade is not verified, the refusal instead
names its blockers and directs the agent to read_comparison before fixing the build or
spec and grading it again. When a person’s acceptance can stand on a verified grade for a
nothing-compared population, follow the exact eligibility and column-resolution rules in
comparison-card guidance.
Whether a specification was graded is a comparison-level question: the proof’s run names
only the specification it ran under, and another grade may have been submitted against the
same comparison later. Request include=["grades"] before saying whether a spec was
attached or what a grade found. data.grades lists each viable grade, newest submission
first, with its run_id, run_type, status, submitted_at, finished_at,
shown_on_review, specification_attached, spec_name, spec_hash, sealed_at,
submitted_by (principal, operator, surface), outcome, outcome_headline,
outcome_reason, obligations, and accounted_for. outcome_reason is undecided_region
or open_question for INDETERMINATE, or a run-level not_verified cause; see Prover run
semantics for the cause
meanings.
accounted_for.accepted_unchecked, when present, is the count labeled Accepted, not
checked; its absence means the grade did not record the distinction. See
comparison-card guidance
for its meaning and effect on the verdict.
A grade can also have outcome: "verified" beside
outcome_reason: "open_question": it verified its scope while a question remains open.
shown_on_review: true identifies the grade the review page opens. Running grades are
included; crashed grades and finished grades without a view are not viable and are omitted.
A grade’s outcome describes its checks, not whether the comparison matched any tables: when
data.comparison.matched_count is 0, report both the zero-match comparison and the
grade’s own outcome. Grades started in a conversation the reader cannot open are listed
with contents_withheld: true; report only that such a grade exists. An empty grades
list means no viable grade was recorded.
For how the principal is recorded on a run started through the tool-call API, see
run provenance.
When presented.spec_grade.open_clauses is greater than zero, use the grade run’s
summary.open_clauses for each clause’s reason, remedy and evidence. Follow the Prover
partial-seal reporting and remedy rules
when presenting or acting on those clauses.
This include is opt-in because it costs the shared keyed candidate lookup described above,
the stimulus-feed harvest, and one batched read of surviving grade documents, plus per
distinct other conversation a hidden-flag lookup and at most one thread-access check.
For a declared-target zero count, use the Prover mapping guidance.
When read_comparison returns withheld_unlicensed or withheld_indeterminate, follow the
Prover comparison-card guidance
for presenting each withheld count beside its published headline and deciding what to do
next.
When data.comparison.unwitnessed_by_identity.sentence is present, relay it rather than
describing findings without witness rows as an evidence gap; see the Prover comparison
guide. Included finding rows
also carry rests_on_reopened_seal; follow the API field guidance
when interpreting that notice.
The completed comparison may include summary.unaccounted_sources; follow its
next_step before presenting table-level missing readings.
If summary.unassessed_sources appears, follow its statement; see the Prover mapping
guide.
When data.comparison.left_out_count or data.populations.elements.left_out is nonzero,
report it separately; see the [Prover comparison guide]
(/docs/Genesis-Prover/Overview#2-comparison-the-system-diff) for how it affects the verdict.
On every shape, data.comparison.unlicensed_count is the corrected count, equal to
published_unlicensed_count and data.populations.elements.unlicensed; it excludes
readings withheld for an undeclared target shape and readings on source tables the owner
left out. measured_unlicensed_count retains the stored count, and
unlicensed_count_basis states the arithmetic. If the owner’s record cannot be read, the
corrected count is null. In a full payload, a left-out table’s element is served with
verdict left_out and its stored verdict as measured_verdict; filtering by
unlicensed never returns it, while left_out does.
When data.comparison.keyed_reprove is present, offer that call to prove again with the
source’s declared row keys; it is the same keyed re-proof offered by get_run after a
keyless proof.
The review population’s comparisons_matched field records the engine’s matched count when
one was recorded; use 0 to choose schema_map re-proving and null to choose a comparison
re-run, while a pair with no one-to-one correspondence needs a declared mapping.
Every response also carries
data.populations, which keeps the two comparison
populations separate. data.populations.elements.total is the whole recorded
outcome denominator (match + licensed + unlicensed + left_out + indeterminate + errored_reads);
left_out is counted separately and is not in the narrower differing_or_indeterminate
subtotal or its legacy alias decided (licensed + unlicensed + indeterminate). See the
Prover comparison guide for
how to interpret readings on tables left out by owner decision.
data.populations.findings.total
is the separately scoped durable-ledger count when this call read findings, and is
null when it did not. Do not add the two totals or call either one “the differences”
without naming its population; data.populations.why_they_differ explains the scopes.
Counts that this response did not measure are null, not zero. The block is projected
without another query, so reading it adds no I/O cost.
The completed comparison also carries data.comparison.object_presence and
data.comparison.not_measured. Use object_presence to say which source objects the
target holds, including exact counts and bounded lists of missing, undetermined,
absent_as_declared, left_out, present, and surplus objects. A left_out table was
left unassessed by owner decision, not checked, and is not a gap. Its not_built list separately names
missing derived targets. Use not_measured to report every indeterminate or errored reading
and its cause. Both blocks are null for comparisons recorded before these disclosures
existed. Do not infer presence from a table list or treat an omitted reading as a clean
result; see the [comparison API contract]
(/docs/Genesis-API/API-Reference#get-api-estate-comparisons-diff-hash-review-population)
for the field shapes and bounds.
read_comparison returns the completed comparison’s run context alongside its populations;
data.comparison.comparable_digest_refold carries the run’s re-fold disclosure, including
accepted columns when present. Those acceptances come from the pair’s latest graded review,
not from a read_comparison argument. See the [comparison API contract]
(/docs/Genesis-API/API-Reference#get-api-estate-system-diffs-diff-hash) for its fields and
the Prover comparison guide
for how acceptance affects settlement. For the new endpoint-estate detail fields, see
the comparison detail API contract.
Full-shape tool answers prepend a bounded data.which_proof_applies summary ahead of the
comparison payload. It groups rewritten views by kind with counts, a shared sentence, up to
five named examples with their reasons (and, for a view whose proof run is named, its
test_case_coverage sentence), and a count of omitted views. same_text_views and
its shared reason cover unchanged definitions; next_view points to the view for the next
step. full_list locates every per-view record at
comparison.which_proof_applies.views; use it if the sample misses the view you need.
Scope reads omit this summary because they do not read views. See the [API field contract]
(/docs/Genesis-API/API-Reference#get-api-estate-system-diffs-diff_hash) for its exact shape
and Prover guidance
for what to do next.
When include names families or finding_keys, the requested rollup is the shape of
the whole comparison, so the tool reads it at comparison_shape="scope" by default.
Do not combine that rollup with comparison_shape="full" or verdict: those options
need the element document and are refused because the rollup and its elements are two
reads. Read the rollup first, then make a separate full, optionally verdict-filtered
call for the elements. Every response also carries data.comparison.value_coverage,
which says how many column values and whole-table checksums were compared, how many were
not, and why; a null block means the comparison predates this disclosure and is
unknown, not proof that all values were compared. See the [Prover comparison guide]
(/docs/Genesis-Prover/Overview#2-comparison-the-system-diff) for its counting basis.
When comparison.rows_compared_by_spec_obligations is present, it separately reports
rows_compared, the number of standing spec obligations, and its statement and basis. Those
are the standing grade’s row-by-row checks, not value readings in this comparison, so do not
add them to value_coverage.
When that field is present, the grade reports no failed checks, the comparison records no
objects paired by name (a zero matched_count or object_presence.counts.present, with no
positive present count), and value_coverage says no values were compared, the statements in
value_coverage and object_presence explain that the rebuild was graded against its plan
instead of paired by name. Their previous wording is preserved in measured_statement; when
the grade is verified or the card carries a person acceptance, the replacement statement also
says this reading is not a gap in the proof. This changes the explanatory wording, not the
comparison counts.
When you request families, grades, proceedings, or events, data.counts gives each
carried list’s total and returned; a cut proceedings or events page has total: null.
The findings page reports its own total and returned count. Use both numbers when reporting
a list, and do not infer a total from a bounded page.
When value_coverage.recharacterize is present, its readings count identifies refused
value readings for instrument_version_mismatch, or differing readings reached by a
known reader defect for measured_by_defective_reader. Re-characterize the snapshots
named in recharacterize.snapshots for every side in recharacterize.estates, then
compare again. recharacterize.build_version is the library version whose recipe the
new snapshots must share. For instrument_version_mismatch, every value reading in the
pair was withheld because the snapshots were measured by different known library
versions. For measured_by_defective_reader, values were compared, but the named
differing readings may be artifacts of the recorded defect; the block names the defect
and fixed_in version, and both estates must be re-characterized before reporting those
differences. If the cause is digest_family_mismatch, only the readings counted in the
block can be repaired by that re-scan; any remaining readings stay not_compared. When
recharacterize is null for instrument_version_mismatch, a side’s measurement library
version was not recorded, so the comparison cannot identify which side is stale; its
affected element reads unknown for that side’s source_value or target_value, and the
user may re-characterize that snapshot before comparing again.
When data.comparison.not_measured.by_cause contains
observation_skew_append_only, observation_skew_mutable, or wall_clock_dependent,
read_comparison also returns data.timing_rescan_evidence. Its timing_causes gives the
matching cause counts, and sides.source and sides.target each report the later-reading
evidence for that estate. Read the side’s basis and quote its statement; this evidence
does not change the comparison’s recorded verdict. unchanged_on_rescan means the compared
and later readings have the same content fingerprint and every abstaining object was measured
and equal on both. unchanged_fingerprint_only means the fingerprints match but the abstaining
objects were not all checked or located, so their equality is not established.
abstaining_objects_unchanged means the estate changed elsewhere while every abstaining
object was checked and held the same row count and digest; others names those other changes.
listed_abstaining_objects_unchanged makes that claim only for the listed abstaining objects
when the comparison’s listing was truncated. changed_on_rescan means the content changed;
not_comparable means a fingerprint is missing or differing fingerprints cannot be compared
across different or unrecorded measurement-library versions. no_later_reading means the
compared reading is still the newest; compared_snapshot_unplaced means the compared snapshot
cannot be found or placed on the timeline. The statement names both snapshot ids and seal
times when a later reading is available. Equal readings show no net change between those
readings, cannot rule out a reload or revert in between, and never establish a verdict. If
sides is null, unreadable gives the reason and no conclusion is established.
For large answers, data serializes timing_rescan_evidence, review, populations,
comparison_shape, and the review links before comparison; comparison.payload is last
within the comparison, followed by other returned fields such as requested projections. A
truncated preview keeps the serialized head, so check it for the decision evidence before
reading the spilled output. This ordering prioritizes those fields but does not guarantee
they all fit when the leading blocks themselves are too large.
Placement follows the compared snapshot’s estate, not its observation boundary: a later scan
of the same estate can be used even when the estate’s scope or contract changed between scans.
placed_by is estate when scan events bind the compared snapshot to an estate, and boundary
when no estate owns it and its boundary is the only identity available. cross_boundary is true
when the compared and later readings have different boundaries. In that case, a fingerprint
difference alone does not establish a content change: rely on the abstaining objects checked
one by one. A moved abstaining object supports changed_on_rescan; unchanged row counts and
digests for every abstaining object support an unchanged result. If those checks do not decide
the abstentions, the result is not_comparable. Objects present on only one side of a
cross-boundary whole-inventory comparison are described as scope changes, not content changes.
For the target side, abstaining_objects names target objects: it uses each element’s
target_object, then the comparison’s recorded pairing, and falls back to the source name when
neither supplies a target name.
This evidence is read automatically. With timing abstentions, it looks up each snapshot’s
owning estate and, when bound, that estate’s scanned snapshot ids; it also reads both estates’
snapshot timelines. If a target object name is absent from the comparison elements and its
payload is not already available, it reads the recorded object pairing. For each side with a
later reading it reads the two measurement-library versions; when abstaining objects are
listed, it also reads both snapshots’ object rows. If it does not settle the abstention, use
list_snapshots to find same-side snapshots sealed before and after the comparison’s two
reads, then use read_snapshot to compare the disputed objects’ row_count and digest_root.
Equal readings show no net change across the gap, but cannot rule out a reload or an update and
revert in between; report that conclusion as an inference, not as an engine finding. A null
reading is not evidence.
Change stamps can add evidence when their latest value predates both reads, but this only rules
out a stamped write on the source: a target stamp is usually copied from the source, and a hard
delete does not update one. Label values queried outside the recorded comparison as your own
readings. For wall_clock_dependent, only the same-side snapshot check applies to change
stamps. If the record does not settle the abstention, offer or run a narrowed re-scan of only
the disputed objects.
Compare each side’s past scan duration first; starting both scans together does not mean they
read at the same time. Re-scan each side with characterize(connection_ref=…, dialect=…, database=…, objects=[…]), adding role="target" on the target, and prove the returned snapshot
ids. These snapshots are not bound to an estate and will not appear in list_snapshots later.
Keep the comparison’s verdict as indeterminate; state separately which evidence supports or
rules out timing as the cause.
See the Estate API reference
for comparison engine provenance and retired-engine response behavior.
Request include=["license_audit"] when you need the stored evidence behind a licensing
explanation, an audit trail, or the question of what licensed a difference. This bounded
projection selects comparison_shape="audit", returns data.license_audit without
individual element payloads, and includes exact verdict totals, bounded comparison rows,
an aggregate remainder that preserves reconciliation, licensed provenance attributions,
and the used correspondence-rule ids. It must be requested alone. Check its coverage
and truncated fields before treating variable collections as complete, quote raw
provenance labels exactly, and read each returned rule dossier separately with
read_correspondence_rule rather than inferring a rule name or meaning from a label. See
the Estate API reference for the dossier’s sign-off
route and bundle-hold fields.
When include contains families, the rollup is scoped to the comparison’s own estate
pair—the two estates it compares—not only to their engine corridor. The response includes
data.families_scope with component_pair, pair_fingerprint, and status, so the
population is explicit. component_pair identifies the shared engine corridor, while
pair_fingerprint identifies the concrete estate pair whose comparisons contributed to
the families. If the comparison or its snapshots cannot resolve that estate pair, the
tool refuses instead of returning families from every migration on the same corridor.
comparison_shape is how a caller paging findings declines the element document. The
comparison does not change between pages, and the default re-sends all of it on every one:
86,682 B per call on a 177-finding comparison, 1.56 MB across the eighteen pages it takes
at limit=10. Read the comparison once at full if you need the element tallies, then
page at scope. data.comparison_shape names the shape on every response.
include=["finding_keys"] returns the same population as findings projected to
finding_key, event_role, object_name, column_name, and last_seen_diff — what
propose reads, without each row’s decoded evidence and disposition trail. Use it when
you are enumerating a comparison in order to disposition it. The limit is an upper
bound: the tool fits the keys page to tools.output_governor.inline_budget_bytes after
assembling the whole answer, including the comparison, populations, presented, and
pagination metadata. The response rewrites returned and next_offset to describe the
keys actually delivered; continue with next_offset, never by adding limit to offset,
until it is null. The page targets at least one key; if the complete answer still exceeds
the budget, delivery may shorten other lists while keeping the keys metadata honest.
settlement_basis and family_signature narrow the comparison before the page is cut, so
they filter the population rather than the page. settlement_counts continues to report
the whole comparison’s split beside a filtered page, so every count arrives with its
denominator.
Element details may carry cause="not_compared_by_design" or
cause="derived_target_not_compared" for these skipped digest readings; see declared
target mappings
for their approval meaning.
Only match means checked and equal. indeterminate means the comparison reached
the data but could not determine the result; errored means the read itself failed
before producing a measurement. Both are UNMEASURED, never clean. Count them as
unresolved rather than folding either into a match total. An invalid verdict is
refused instead of silently returning an empty payload.
proof_snapshot
Take a PNG of a comparison’s proof picture for a deck, app, room message, or chat.
It captures the replay viewer after its picture and rulings finish loading. The person must
be able to see the comparison; an unknown or invisible comparison is refused. Use
read_comparison for the proof’s findings and numbers, and use the live replay when the person
wants to inspect it interactively. A capture usually takes 10–40 seconds and can take up to
about two minutes. If the replay does not finish drawing a picture, or has no picture, the
tool returns no image and explains why; retry once, then share the replay link.
The response includes the selected
mode, the PNG’s upload path and dimensions,
inline_display for chat, and instructions for copying it into an app or deck or
attaching it to a room message. A new capture is made on each call.
prover_app_tools
Seal what a Foundry Workshop app shows, then prove its GenesisApp rebuild as a recorded
Prover run. Assign this group for app migrations; it is separate from prover_tools so
database-proof phases do not need to load the app verbs. The source and target app estates
use existing Foundry and Databricks connections, and the target locator names the landed
tables the GenesisApp reads. get_run and prover_findings(action="read_finding") work with
these runs as they do with database proofs.
The group holds one action tool, prover_app, beside get_run and prover_findings. Choose
the act with action and pass its inputs, the parameters listed below, in args:
Each answer is the act’s own, with its next call spelled as a
prover_app call. An unknown
action is refused with the closest valid one; an args key the act does not take, or an
identity name such as user_id inside args, is refused before anything runs. Values must
match the selected act’s parameter types; wrong types and strings containing route-rejected
markup or exceeding 50,000 characters are also refused before the act runs. Calling
help without args lists the available acts and their summaries. The three acts keep
their own names (register_app_estate, seal_app_spec, prove_app) for callers of
POST /api/tool_call and the MCP gateway; agents are offered only prover_app. An in-app
role with restricted tool access must be granted prover_app by name.
register_app_estate
prover_app(action="register_app", args={...}). Register the running source or rebuilt app. This records its locator; it does not read the
app. The returned estate_id is used by seal_app_spec for a source and prove_app for a
target. Re-registering the same named app returns the existing estate.
Cost: one estates read, plus one write for a new estate.
seal_app_spec
prover_app(action="seal_app", args={...}). Describe a live Workshop app or compile a
foundry_bundle source, then seal its deterministic proof floor. A bundle is read without
a Foundry call; its compiled SQL and table mapping are part of the sealed snapshot. Displayed values,
checkable text and controls, and checkable rendered widgets get obligations; an embedded
frame is covered only through its contents. Uncovered widgets and values remain open clauses
instead of silently counting as passing. The migration guide describes filter-section,
facet-count, and signed-in-viewer checks. The response includes spec_hash,
snapshot_hash, widget coverage, obligations by kind, and open clauses. It also returns
proof_kind: app_vs_app for a live Workshop source or spec_conformance for a bundle;
the bundle response includes proof_caveat. Normally, seal again only when the source app
changes; the returned spec_hash is the input to prove_app. A running Mission’s own agent
may also reseal with no person or grant only for a compiler upgrade: the Foundry source and
all sealed facts must stay the same while a newer build changes the compiled spec. First
seals and reseals for other changes still need the person’s authority. If a first seal or
changed-spec reseal is refused on an eligible person-owned chat or Mission turn, Genesis can
put a one-time Allow/Decline card in that person’s Work Queue. Allowing it wakes the same
conversation and lets the same call run once; this is not a standing grant. The successful
response includes allowed_from_queue with the approving person and step_id.
An app spec is registered only when recompiling it from its sealed source
snapshot produces the same hash. Registration also requires nonempty obligations,
at least the default 10 samples, and coverage of at least 0.8; do not
hand-edit a compiled app spec. A previously stored hollow app spec is refused
by proof loading.
The live Workshop description makes Foundry API calls (about five round trips plus one per
saved filter). A bundle description reads and hashes the bundle and, when its required
table locator is complete, queries Databricks information schema. Sealing checks each
source screenshot with a few file stats and a one-byte read, then reads and writes the
spec store.
prove_app
prover_app(action="prove_app", args={...}). Start a recorded app_proof run against the sealed source spec. The response returns a
run_id immediately; poll get_run(prover_run_id=...) until the run is terminal, or
leave notify=true to receive its completion notice. The terminal summary includes its
status (verified, verified_with_indeterminate, or not_verified), coverage, obligation
results, open clauses, findings, rendered and page-content checks, default-state checks,
sampled inputs and seed, visual-parity results, and action checks. It evaluates any
visual-parity obligations sealed with source screenshots; see the migration guide for
how those results are interpreted. For the rebuilt app’s rendering of AIP answer
Markdown and static images embedded in the Workshop definition, see the migration
guide.
Read finding details with
read_finding(finding_id=...).
For a foundry_bundle source, the run is spec_conformance: it compares each app value
with the bundle’s compiled SQL run on the target warehouse, not with a Foundry value. Its
summary includes proof_kind, the verbatim proof_caveat, and compared_against; report it
as spec conformance, not as a proof that the rebuilt app matches Workshop. Bundle changes
that alter the sealed surface are refused and require resealing. The run reads the bundle
again, checks the target’s tables and workspace, and queries per-value choices and sampled
values on Databricks; it makes no Foundry call.
With an optional recording and proof_instance, the summary also carries
scenario: its replayed steps and coverage. The first recorded step seeds the
instance’s scratch schema; each later step is a scenario_match obligation that
compares the action outcome and resulting objects with Foundry’s. When the recording
includes links_after, link pairs are compared too. A differing step is reseeded
from Foundry and replay continues by default; stop_at_first_difference stops after
the first difference. A replay adds one request for each recorded action call, a
warehouse read per recorded type and per recorded link at each step, and governed
scratch seeding, reseeding after undelivered or differing steps, and cleanup writes. See
the Foundry migration guide
for the proof-instance workflow and verdict meanings.
For a hand-built Databricks App target, the run records its route-discovery details in
summary.hand_built; see the Foundry migration guide
for registration, discovery limits, and verdict behavior.
The response includes summary.viewer_path when viewer probes are used.
Reading a large run summary
get_run(prover_run_id=...) returns the envelope by default. For a non-app-proof run, its
summary stays as stored when the answer fits the tool’s inline budget. If it does not fit,
envelope.summary is folded into a digest: the verdict, report sentence, blocking list,
status, error, and stop reason stay whole; large lists and blocks are replaced with bounded
summaries that name the stored section to read. Verdict lists also show their tally and
entries that did not pass. A pruned block names omitted values under
omitted_from_digest (or a suffixed variant); read each omitted value at the block’s
summary path joined to that key. The digest’s read_more field gives the get_run paging
instructions. If even the folded answer is over budget,
digest_over_budget_bytes reports the digest size.
For a finished comparison run, envelope.summary.headline is the short column headline,
and headline_detail is its full breakdown.
Pass a folded entry’s section path to get_run with offset and limit, then continue
with next_offset to read the stored value. For example, use
section="summary.obligation_verdicts.items" when that is the path named by the digest.
Section reads require an envelope, so use the default shape or shape="both"; shape="legacy"
has no envelope to page.
Reading a recorded app proof
By default,get_run(prover_run_id=...) returns the envelope shape with a digest in
envelope.summary, sized to fit a tool answer. It keeps the status and coverage, groups
findings by obligation and verdict with sample counts and keyed row differences, and
summarizes rendered-page widget rows and save rehearsals. To read the stored summary,
pass one of the app-proof sections below to get_run; on other runs, use the section path
named by a folded entry in the digest above.
List sections return items as stored unless an individual item exceeds the page size;
that item is shortened and the response marks
shortened: true. Follow next_offset
until it is null. Use read_finding(finding_id=...) for one finding’s details.
The separately stored per-input verdict record is not available through this tool; see
app mode for the REST read.
For an app proof, pass detail="summary" to poll for the verdict without building the
rendered-page and save-rehearsal sections. It returns status, status_basis,
reviewed_verdict, coverage_percent, venn, obligation verdict counts,
page_instruments, non-passing obligations and linked proofs, compact findings, the
open-clause count, and read_more. Use it while deciding what to fix;
omit detail for the run you record or whenever you need the whole digest. This option
requires the default shape="envelope" and no section.
The run reads the source and target apps for each sampled input, including a page
inspection for the first two inputs. It also reads the sealed spec and records findings in
the Prover ledger. For check meanings, sampling, coverage limits, and migration sequencing,
see Genesis Prover app mode.
prover_repair_tools
This optional group contains only disposition_system_diff_finding, also available in
source_contract_tools. Add it to a prove-data-work Genesis thread when the agent needs
to send one diagnosed build defect back; the one-tool group avoids loading the larger
source_contract_tools group alongside prover_tools. It is not always-on. Add it
with manage_context(action='ADD_CONTEXT', active_tool_groups='prover_repair_tools').
Tool: disposition_system_diff_finding sends one system-diff finding back by
recording target_defect. No approval is needed, and the finding stays open until a
fresh comparison shows the fix. See the
full tool behavior and refusal details.
Example:
disposition_system_diff_finding(finding_key="<finding-key>", disposition="target_defect").
source_modeling_tools
Assign this group when an agent needs to discover likely keys in a legacy estate without
trusting its declared constraints. First profile the immutable snapshot created by
characterize_estate, then infer key candidates from its measurements. The tools do not
change the snapshot. The group is not always-on.
The supported engines are Snowflake, DuckDB, and SQLite. profile_sources runs its warehouse
measurements in the background and returns a profile_id; by default it returns immediately
and notifies the calling thread when finished. wait_seconds can wait inline for up to 60
seconds. Follow the result with get_source_profile. infer_keys also runs in the background;
follow its findings_id with get_inference_findings. infer_grain uses the saved profile
and key findings (plus the relationships in a pass-2 key set) and does not query the
warehouse. classify_tables uses saved key and relationship findings to give each keyed
table a neutral modelling class and the rule that selected it; it also does not query the
warehouse. Read tools do not query the warehouse. Answers contain statistics, counts,
identifiers, and catalog names, never source values.
value_samples="non_sensitive" opts into storing a few frequent values for columns not
tagged sensitive, but those samples are never returned by these tools.
After each submit call reports finished, use the returned ids for the next step. If the
status is running, follow it with its read tool until it finishes. For grain inference,
run infer_keys pass 1, infer_relationships, infer_keys pass 2, then infer_grain on
the pass-2 findings. To classify tables, provide the pass-2 key findings and the
relationship findings to classify_tables.
profile_sources
Measure column statistics for a snapshot. The default is aggregate-only; an optional load
batch scopes objects containing its column to matching rows, while objects without that
column are profiled whole. Profiling and its exact key and relationship checks support
Snowflake, Databricks, DuckDB, and SQLite snapshots.
overrides accepts these keys and defaults:
The response includes
profile_id, profile_run_id, status, effective_params, and
params_hash. A finished small profile also includes counts and column statistics. A repeated
request with the same snapshot, parameters, and object selection reuses its stored profile.
get_source_profile
Read a profile or check whether it is still running. It returns per-object row counts and
per-column counts, available length and shape histograms, sensitivity and semantic-role tags,
and inclusion-sketch size when the engine supports it. complete=false means one or more
measurement statements failed; unmeasured names each affected object or
<object>.<column> and the omitted measurements. A failed measurement is also recorded as
an exclusion such as shape_classes:query_failed:DatabaseError and omitted rather than
stored as an empty histogram, sketch, or sample; absence therefore does not mean that the
column had no values. It never returns values or sketch signatures.
infer_keys
Propose single-column and composite keys from a profile measured on the same snapshot.
Candidates report confirmed (unique and no nulls) or dirty_key (at least 95% unique by
default), with score, confidence, signal contributions, and count evidence. When no confirmed
single-column key exists, it searches composite keys up to five columns and runs at most 30
exact checks per table by default. Exact check counts are recorded with the profile so a rerun
does not repeat completed checks. Pass 1 has no foreign-key reference evidence; those signals
are reported unavailable. To add that evidence, run infer_relationships with this pass-1
findings id, then run pass 2 with the relationship findings id. Pass 2 rescores the keys with
confirmed and dirty relationships; proposals based on matching values alone contribute no
reference points by default. Pass 2 requires a finished relationship set from the same profile
and snapshot. Key admission uses admission_score, the pass-1-comparable score without FK
points or the person-attribute penalty; the reported score and confidence still reflect
all available evidence. person_attribute_penalty defaults to 15 and down-ranks a
single-column key whose profiled role is PERSON_ATTRIBUTE; it does not exclude that
candidate or penalize composites containing other columns. When a column has no profiled
role, a name such as c_custkey in customer can count as an identifier; a profiled role
continues to take precedence. Counts measured on a sample (a sampled profile, one load batch,
or fewer measured rows than the table holds) are marked evidence.measured_by="sample" with
sample_rows; a key unique in that sample is at most dirty_key, never confirmed. A
evidence.rows_changed pair reports rows at the snapshot and at profiling time when they
differ; that is table growth or shrinkage, not sample evidence.
infer_keys.overrides defaults:
infer_relationships
Find likely foreign keys by comparing child values with keys of other tables; declared
constraints are not required. Call it after pass 1 of infer_keys, using that run’s
findings_id. It pre-screens candidates from profile statistics and inclusion sketches, then
checks surviving pairs with warehouse aggregates. It returns counts, never values. Exact
checks are recorded with the profile so reruns do not repeat completed checks unless an
administrator requests a fresh run. The run is
submit-and-poll; by default the calling thread is notified when it finishes. Run pass 2 of
infer_keys with the resulting findings_id to score keys using the relationships found.
At most fk_max_candidate_pairs exact aggregate checks run per call (default 5000);
fk_comparison_timeout_s defaults to 60 seconds and bounds each query where its driver
enforces statement deadlines. While the run is active, its response includes a live
progress object: phase moves through loading, screening, checking, selecting,
and saving; the object reports elapsed, queued, and per-phase seconds alongside candidate
and check counts, including how many checks came from the recorded-check store. Counts
refresh at phase changes and at most every 15 seconds within a phase.
infer_relationships.overrides defaults:
exclude_objects removes matching tables or views from both child and parent searches;
exclude_parent_objects removes them only as parents. Both accept case-insensitive regular
expressions searched against qualified and bare object names, and each pattern must match a
profiled object or the call is refused with the unmatched pattern named when safe to display.
Excluded objects remain in the profile and findings;
their objects.<name>.excluded_from_search is all or as_parent, and the search summary
counts their omitted pairs under screened_out.excluded_object or
screened_out.excluded_parent.
Set overrides.fk_fresh_run to true only when an administrator asks to measure every pair
again. This option is administrator-only and requires an audit entry; its fields are listed
in the Admin audit log. If the audit entry
cannot be recorded, the run is not started. A fresh run reuses neither a stored relationship
findings set nor recorded checks, and it records none of its checks. Each call gets its own
findings_id, so calling again starts another fresh run rather than returning the earlier
result. Leave the default false to use normal findings and check reuse.
fk_set_check_width pairs; composite pairs use their own statement. A set statement that fails
is retried pair by pair. Up to fk_check_concurrency statements run at once per run, with a
process-wide limit of six. These execution overrides do not change the inferred findings.
Progress and the final run summary include set_checks_retried when a failed set had to be
split into pair checks.
A relationship is confirmed when every child value matches a parent key, dirty_reference
when some child values are orphaned but containment meets the threshold, and ambiguous when
parent candidates tie or use an alternate key path. Findings include the child and referenced
parent columns, cardinality (1:1 or 1:N), confidence, score contributions, and counts for
matched and orphan rows and distinct values. No source values are returned. The search summary
reports pairs screened, checked, skipped over the cap, failed, or timed out. A value-only
match with no shared column name is proposed for a person to confirm; its confidence is at
most MEDIUM, and its evidence includes orphan counts. Value matching requires at least
max(fk_value_min_distinct, fk_value_distinct_per_log_parent_rows * ln(parent_rows))
distinct child values; fk_value_distinct_per_log_parent_rows defaults to 40, and
fk_value_min_length_agreement defaults to 0.91.
When the child column is its table’s rank-1 key and the parent column is the rank-1 key of
another table, a match whose names agree only after removing their prefixes is also
proposed, not confirmed; a real subtype relationship and unrelated surrogate keys can
look alike this way. The finding includes
evidence.proposed_because: "named_only_after_prefix_strip_between_keys" so a reviewer can
see why confirmation is required.
When a composite child tuple holds its table’s rank-1 key, a reference is also proposed as
same_grain_sibling when every parent-key column already appears in another admitted
reference out of that parent to a third table. For example, salary(player_id, team_id, year)
beside batting may be a sibling fact table, not a child of it; ask the reviewer to confirm
the relationship rather than treating it as a foreign key. The distinct-count screen
allows the number of orphans permitted by fk_min_containment (rounded up to whole values)
through to the exact containment check. At the default 0.95, a child with ten distinct
values can be one above the parent’s count; if its measured containment misses the threshold,
it is reported under objects.<table>.below_min_containment, not screened out by the count.
The search summary’s unmeasured names measurements the source profile could not complete.
screened_out.sample_limited counts sampled child columns whose sample had too few distinct
values to tell whether they clear the floor: these were not tested and are not evidence that
the columns reference nothing. When the snapshot has a whole-table distinct count, the search
uses it before screening the candidate as too_few_distinct.
get_inference_findings
Read findings from infer_keys, infer_relationships, infer_grain, or classify_tables, or
check an active run. Results identify their kind (key, relationship, grain, or
classification). Key findings include each candidate’s object and columns, status, rank,
score, confidence, score contributions, unavailable signals, and evidence counts. Relationship
findings also name the referenced parent key, cardinality, and containment evidence. Grain
findings add a form, member roles, parent keys, and a one-sentence statement of what one row
represents. Classification findings include the class, selected rule, grain, and evidence
counts. No source values are returned.
infer_grain
State what one row of each table represents, using the stored key findings, the profile’s
column measurements, and (for a pass-2 key set) the relationships used to rescore those keys.
Run it after infer_keys pass 2 for the full answer. It does not query the warehouse or read
source values; the stored findings are reused for a repeated request with the same inputs.
Pass 1 is also accepted, but relationships are unknown and the member-reference score is
unavailable; use pass 2 when the full relationship-based answer is needed.
The result has one grain finding per table: its key columns, member roles (reference,
temporal, identifier, or discriminator), form (entity, line, association,
history, extension, composite, or unknown), score and evidence. An ambiguous table
with no key has no stated grain. Call get_inference_findings to read the result, then
review_inferences to queue inferred grains for a person’s decision.
infer_grain.overrides defaults:
classify_tables
Classify each table in a finished infer_keys findings set, using that set’s profile and a
finished infer_relationships set from the same snapshot and profile. Run after key pass 2
and relationship inference. It states each table’s grain, then tries enabled rules in order;
the first match proposes entity, relationship, event, reference, descriptive, or
reject and is named by rule. If no rule matches or confidence is low, the result is
ambiguous and candidate_class retains any rule’s proposal. An approved class takes
precedence. It does not query the warehouse or read source values. Read the result with
get_inference_findings,
then send it to the Estate review queue with review_inferences.
In the default rule order, empty_table and scratch_name propose reject;
associative_key proposes relationship; history_of_entity and multi_valued_detail
propose descriptive; detail_of_event and transaction_fact propose event;
code_list proposes reference; and keyed_entity proposes entity. Earlier enabled
rules take precedence when more than one matches.
Each rule holds only when all of its conditions do:
A code table fails
code_list when no in-scope table references it, or when it has more
rows than reference_max_rows; it then usually matches keyed_entity and is proposed as an
entity. To accept larger code tables, raise the limit for the call, for example
overrides={"reference_max_rows": 2000}. A code table that nothing references needs that
relationship inferred or approved first, or a person’s approved reference class in the
Estate review queue.
classify_tables.overrides defaults:
Weights and
confidence_tiers accept partial objects. classification_rules accepts a
partial map of rule ids to booleans; classification_rule_order must list every rule exactly
once. reject_table_patterns accepts up to 64 regular expressions. temporal_name_patterns
and temporal_min_shape_share use the same temporal-column rules as infer_grain. The
temporal_shapes score is unavailable when the profile engine does not measure value shapes,
including SQLite; the finding reports engine_unsupported in that case.
review_inferences
Send a finished infer_keys, infer_relationships, infer_grain, or classify_tables findings set to the Estate review queue.
This queues findings only; it does not approve them or write outside the Estate store. A person
with source-contract ratification permission accepts, corrects, or rejects each candidate in
the review queue. Inferred table classes can be corrected to entity, relationship, event,
reference, descriptive, or reject. Corrected inferred keys and relationships appear as proposed → corrected;
the Estate API reference documents the
corresponding approved_fact fields. The response includes review_url for the Estate review section, plus the
counts queued, new, and pass_one_fallback, any objects_without_key, and the queued
items in the review queue’s own wording. Use list_only=true to inspect a set’s items before
recommending decisions: this reads the queue without adding candidates, and does not list
items that have not already been queued.
For a key set, the queue contains each table’s rank-1 confirmed or dirty key; for a
relationship set, it contains confirmed, dirty, proposed, and ambiguous relationships; for a
grain set, it contains inferred grains and grains derived from a key a person approved, but not
ambiguous tables or grains already approved as grains. A classification set queues each
classified table’s proposed class, but not ambiguous tables or classes already approved. Give
a reason when rejecting any candidate. A value-only relationship proposal is marked for a
person to confirm. Re-queueing the same finding keeps its decision, including a rejection,
and refreshes its summary; a person can reopen a rejected candidate with
revoke_rejection
and a rationale in the review queue. An approved or corrected key becomes the table’s key
in later inference runs and a parent key for relationship inference. An approved relationship
is counted instead of its inferred counterpart when pass 2 scores keys. These approvals do
not become source-contract obligations. Queueing reads stored findings and writes candidates;
it does not query the warehouse. See Source-modeling write-back settings
for the opt-in Context Graph and Team Wiki destinations.
The response’s items contains at most the first 200 matching rows in queue order;
items_total counts all matching rows and items_truncated is true when more than 200
match. Each item has item_id, display_label, link, review_status, and options.
display_label is the queue’s title and can be null when a title cannot safely be emitted;
link opens that item in the review page, or is null when the snapshot has no estate page.
review_status is proposed, accepted_fact, endorsed_policy, or rejected. options
lists the row’s available buttons using their exact labels: an undecided proposed item offers
Accept as fact (D), Correct…, and Reject; accepted_fact offers Correct… and Revoke;
rejected offers Revoke rejection. It is empty when no decision is available. When
recommending an answer or relaying a decision, quote the item’s display_label, item_id, and
link exactly and name an option exactly as listed. This identifies the same row the person
sees in the queue.
review_inferences(findings_id="<finished-findings-id>", list_only=True).
data_vault_tools
Use this optional tool group to design a raw Data Vault model from a snapshot’s approved
Estate facts. The design reads approved keys, relationships and table classes; it proposes
hubs, links and satellites but does not run source SQL, write a registry entry, or generate
DDL. A person must approve the facts in the Estate review queue first. Multi-active detail
tables are proposed as msat_ satellites with multi_active_key set to their carried row
identity. A satellite whose final name component starts with msat_ must declare this key.
The tool group is not always-on.
design_raw_vault
Propose the vault’s target_model from approved facts for one source snapshot. Entities with
approved keys become hubs, reusing registered hubs; relationships and events become links;
descriptive columns become satellites. Personal-data columns are separated by default. The
result lists objects, registry outcomes, history_sources, unresolved, dropped,
signals_unavailable, model_problems and params_hash. A registry status of
would_register (a new hub), would_reuse (one more source of a held hub) or
already_registered (this source already feeds the hub) describes the proposal only, and
registry_written is always false: the design does not write the registry. Use
register_hub_source, which answers registered or reused once it writes.
An empty target_model means no table yet has both an approved class and key. Pass the model
unchanged to generate_vault_code and check_vault_conformance; the latter checks code and
registry conformance only and returns data_checks="deferred" because it does not query data.
For a multi-active satellite, multi_active_key is an optional array of carried satellite
columns that identify one active row per parent; its identity columns must be present in each
satellite image, and it needs hash_diff to track changes per identity. Supply one state per
identity per batch.
Change rates are inputs, not measured by this call. history_sources identifies the history
tables over which to measure rates, including each history’s relation, order_column, and
key_columns. Pass rates with an explicit basis: measured rates name the same history and
its order/key columns plus a positive transitions count in window; assumed rates need no
history window. Rates are shares from 0 to 1. A measured entry is checked against the
history description, but its values are not recomputed. Assumed rates still split satellites
and are listed in signals_unavailable; satellites split by measured rates include the
stated change_rate_source. With no rates, each parent starts cold with one satellite and
appears in signals_unavailable.
withdrawn_key: true
and appears in that outcome’s withdrawn_sources; approving the key again clears the flag
without another registration. It does not read source values or execute a query. Unknown or
hidden snapshots, invalid rates or overrides, and unrecognized arguments are refused. Use
register_hub_source after review to record an approved hub source; it refuses an
unapproved, revoked or unknown key. One staged source may feed multiple hubs when it uses
distinct approved key columns for each hub.
generate_vault_code leaves out loads that depend on withdrawn keys; a hub with no live
feeding source is not generated. Link business-key parts follow participant order, and a
link can use its declared image or a unique staged split that supplies its participating hub
keys. If multiple staged splits can supply those keys, declare a link image to select and map
the source; an ambiguous or incomplete mapping leaves the link load out and reports a
problem. Staged key columns may be reused between a hub and its link.
Some shapes are refused, and each refusal names what to declare instead:
For multi-active satellites, loads keep a separate latest state for each parent and
multi_active_key identity. Loads must run serially, and the load-date column must retain
microseconds so a change at the current or a later timestamp receives a strictly later date.
The generated DDL uses a microsecond-capable timestamp.
check_vault_conformance reports generation_complete when the declaration supplies enough
information to generate its loads, as well as key_not_withdrawn for a hub fed by a
withdrawn source. Re-approving the key makes the source eligible again without changing its
registry entry.
Both generate_vault_code and check_vault_conformance take the model inline and return its
target_model_hash, the model’s content address: equal declarations share it whatever their
key order or spacing, and any change to the declaration changes it. check_vault_conformance
also records the hash on every finding event it writes, so each finding names the model it
judged. To tie a result to a model file kept in git, pass that file’s content and compare the
answer’s target_model_hash with the one on the finding.
When a repair adds sources to a declaration that previously failed generation_complete,
pass that failure’s full finding_key as supersedes_generation_finding to
check_vault_conformance. The repair closes only that named prior finding when generation
passes on the extended source leg and the same recorder and standard are verified; the
vault objects from the original finding must remain in the repaired model.
source_contract_tools
Use source_contract_tools for source-contract mining and deviation triage. Rewritten-view
behaviour proofs run through prover_tools as prover_run(action="fuzz"); they are not an
act of this group. For comparing estates, grading a spec, or reading a comparison or finding
back, use prover_tools instead. The group includes preflight_databricks_job_contract for
reading the canonical contract of a deployed Databricks Job. It also includes
the independent Adjudicator seat for reproduce-first triage of a completed
comparison. Credentials are resolved from connection_ref; never put credentials
in a profile payload.
Ten of these tools — the subsystems no Prover verb models — are also offered alone, as
the actions of one tool, prover_lab, in the group prover_lab_tools, without the rest of
this group: get_conformance_fix_brief, get_estate_leans, consult_estate_ruling,
mine_candidate_rules, compile_source_contract, get_source_contract,
verify_source_contract, list_estate_deviations, propose_correspondence_rules and
evaluate_estate_correspondence_rule. Call prover_lab(action="<tool>", args={…}) with that tool’s
parameters in args, or action="help" for its full contract. No skill requires
prover_lab_tools. A restricted role must be granted prover_lab by name, and it then
reaches those ten acts and none of this group’s writes, ratifications or estate
comparison. This group keeps offering all ten by their own names.
promote_trial_run
Promote a successful TRIAL comparison so it becomes the pair’s latest result. Use it only
when the person asked for the promotion or delegated it as part of a goal, Blueprint, or
mission. Promotion changes the pair’s latest comparison and replays the trial’s deferred
findings-ledger updates; it can therefore change findings other comparisons show. The
person must be able to see the comparison. A running or unsuccessful trial, a non-trial
comparison, or an already promoted trial cannot be promoted. Neither can a trial once a
newer real comparison or proof of the same pair has run since the trial started: its
findings would land over newer results, so re-run the trial on current data instead.
Example:
promote_trial_run(diff_hash="<trial-diff-hash>", approval_basis="agent_person_present").
The response includes proof_run_id, diff_hash, promoted_at, the promotion record, and
ledger_reconciles_replayed. Promotion resolves the caller and visibility, reads the trial
and its proof, then writes the promotion and replays each deferred ledger reconcile; the
agent path may also read the thread, project, and users table to resolve the attested
person. See the Estate API reference for the person-only
endpoint.
mine_candidate_rules follows the snapshot visibility and candidate-anchor behavior
documented for POST /api/estate/mine.
The stimulus submission tools consume the pair contract resolved for the run. On a
contract-governed pair, submit rows by logical table name and keep each row inside
that table’s declared island; the server maps the logical name to each side’s
physical relation and refuses a row that is missing the declared island column or
below its inclusive floor. A contract-less run uses the disclosed legacy default
instead. The REST preflight and run response describe the resolution, refusal, and
legacy-disclosure fields in the stimulus API reference.
For the administrator-facing permission labels used in tool refusals, see the
RBAC Practical Guide.
Every verb in this group refuses an argument it does not offer by name instead of
silently dropping it. The refusal names the fields in unrecognised_arguments and
confirms that nothing was run; runtime context fields injected by Genesis remain
internal and are not caller arguments.
An exception that escapes a Prover-family verb is returned as a structured
refusal.kind: "fault", not as an unclassified tool error. A fault is an outage,
not a decline: do not report it as a refusal of the request. Follow its next
guidance instead. For tools whose repeat could start the operation twice, next.verb
is null; first read the durable run, status, or list record and retry only when
that read shows that nothing started. Tools that can safely re-read the same act
provide the original verb and caller-supplied identifiers in next.
For machine-checkable predictions, write mart as the contract locus (raw.<logical_name>
for an input or marts.<logical_name> for a derived relation). The checker keeps that
logical locus as the identity used for spec coverage, then renders the declared relation,
column spelling, and key predicate independently for the source and target; a locus that
does not resolve uniquely is not checkable. A physical schema.name spelling is accepted
only when it maps back to one declared locus, so prefer the logical form in authored
specs. Sealed specs also translate side-physical loci through the same contract before
coverage and silence checks; see How a Run Works
for the run-level guarantee.
Cross-run migration history classifies column_element_counts findings—the
number of elements held by an array column differs—as the value phenomenon,
grouping them with other measured-content findings.
The source-contract attribution tools report the author held by each durable row,
not a caller-supplied name. A repeat submission of identical content keeps the
first author, so callers must use attributed_to_another before describing the
result as their own. A missing signed-in user is shown as unattributed; when no
row was registered, or a row names nobody, the verdict is null.
Contract-addressed tools act in the visibility scope of the person the agent is working
for. get_source_contract and verify_source_contract answer a hidden contract exactly
as an unknown one (Unknown source contract: <contract_id>); they check before reading
details or starting work. Each check costs one visibility-scope load beside one contract
read. list_estate_deviations returns an empty list for a hidden contract; it adds one
scope load and one contract read.
prove
Use prove after both sides have been characterized. It is the agent-facing
entry point for the Prover’s one-trigger flow; the API reference
defines the proof lifecycle and envelope. Omit spec_hash for a comparison-only
run, or provide a sealed hash to include grading in the same proof.
The comparison-only compare tool takes the same required title; grade also
requires one when grading an existing comparison.
When a sealed spec declares a target model, attaching spec_hash makes the comparison
run under that model before grading. If you instead grade a compare result made without
the model, the grade may recompute the pair under the spec; see when a grade names a
comparison made without its spec
for how the recomputation carries the comparison’s column_map and row_identity, and
reports a key that does not pair rows under the model.
For a no-spec prove or compare, change_expectation="must_match" declares a
lift-and-shift premise: a clean comparison is answered with next.verb: "propose"
for a human decision. must_differ records that the target should change but still
leaves the caller to author a specification; see how the Prover handles declared
no-spec shapes.
When a bot calls prove for a person, estate reads use that person’s identity for
connection access while the bot remains the acting principal. In an unattended mission,
the person is the mission originator; the same identity is used for warehouse connections
opened by Prover tools, while the operator remains the agent on behalf of label. A
personal connection therefore must be usable by that person. See the
proof endpoint reference for
the identity distinction, and Prover provenance
for how the run records its submitter.
When spec_hash is supplied, ratify_source_contract is checked for the person this
prove turn is acting for (the mission originator on an unattended mission). If no person
is behind the turn, the tool may instead proceed as the agent’s own commission when the
agent’s allowlist admits prove; this does not borrow a person’s permission or acceptance.
See Prover’s agent-started proof actions
for the boundary and attribution rules. A refusal does not start a proof; see one proof,
with or without a specification
before deciding whether a comparison-only call is an appropriate alternative.
Retries reuse a proof only for the same acting bot and submitting person (the mission
originator for an unattended mission). Repeating
the same estate question from another identity starts a separate proof; it does not
return a result created for the other identity.
See comparison cards in chat
for title handling on reuse.
The tool returns a run handle immediately by default. With notify (the default) the
thread that started the proof is told when it reaches a terminal status — on its next
tool result if it is mid-turn, or as a new turn once idle. A tool-result wake carries
the full handle when it fits the inline tool-output budget; otherwise it uses the
producer’s bounded form, or a notice naming get_run(prover_run_id=run_id) if no record
form fits. Use get_run when the wake says the record is incomplete; set notify=false
to disable the wake and check the run yourself. Set wait_seconds to wait inline before
the tool returns; the proof continues in the background if the wait expires. With
spec_hash, either connection id may be omitted; prove resolves available
defaults from the sealed spec’s seat. If the seat record does not supply a needed id, pass
that connection explicitly. When a connection is omitted, default resolution reads the
spec’s provenance and, if it names a thread, looks up that seat run. Attaching a
specification on a person-attributed call requires the person’s ratify_source_contract
permission; a no-person agent commission follows the allowlist boundary above. A
comparison-only proof requires only the source and target snapshots.
When this check refuses a spec-less prove or compare, the tool returns
refusal.kind: "invalid" and reason: "mission_plan_owned_mission_unread". Add a spec, ask
an admin to repair the Mission, or have the person explicitly choose as_reported=true on
their turn. See the [Prover workflow guide]
(/docs/Genesis-Prover/Agents-And-The-API#one-trigger-the-proof) for the full rule.
The related compare tool uses the same notify behavior and default, including the
bounded tool-result delivery described above. notify=false leaves get_run as the
polling path.
A wake delivered as a new turn goes through the thread’s mailbox, which caps a message
body. When the full handle does not fit, the wake keeps the envelope and every scalar of
its summary and replaces the summary’s nested blocks with summary.omitted_from_wake,
which names the keys left out and the get_run call that returns them. A record that
does not fit even in that form arrives as the notice alone, saying so and naming the
call that reads it; no mailed wake is ever cut by the mailbox.
The proof owns its comparison and grade child runs for notification as well as for the
result: while the proof is still running, a child completion rides the proof’s terminal
wake instead of creating a second thread notice. If the proof has already ended or gone
away, the child can still announce its own terminal state.
Submit-time artifact, field, and connection preconditions—including the terminal
refused response for an unregistered connection—are documented in the proof endpoint
reference.
A graded proof can also be refused before submission when the sealed scope cannot be
paired to the complete snapshot pair. Correct an unresolved scope name and reseal, or
declare the missing schema_map (and an object_map when object names differ); see the
proof endpoint reference.
For the pre-comparison grade_reads_no_comparison refusal when tiers omits
"structural", including its remedy and response fields, see the proof endpoint
reference.
To localize witnesses by a caller-known business key, pass row_identity as a
source-coordinate object map, for example {"PUBLIC.ORDERS": ["ORDER_ID"]}.
Each key position may also be a {"coalesce": ["col_a", "col_b", ...]} term
when the first non-NULL value across those columns is the business key; use the
API reference for the complete grammar and per-side form. See that reference for
concat row-identity terms.
The proof admits the run first; its comparison probes each declared key on both sides.
A key that repeats or contains NULLs on the source is refused before the comparison
starts, because it cannot identify the rows the migration begins with. The refusal
may suggest a single-column key supported by both scans; otherwise it says why none
was found. A key unique on the source but repeated or NULL-bearing on the target
still runs and reports the target finding. See the proof endpoint reference
for the remaining probe outcomes. Omit row_identity to use only the
engine-declared basis; see the
proof endpoint reference
for validation and evidence fields.
prove has no separate target_model argument: its behavior comes from the sealed
spec_hash. See Declared Data Vault target shapes
for the comparison rules and the proof API reference
for the sealed-artifact contract. A version-2 model can declare computed derived targets;
the comparison checks their presence and declared columns without comparing their rows to
one source table. A legacy source used only to build a derived target is expected to be
absent under its own name on the target side; see the target-model rules
for the same-name layer exception. If the target is vault-shaped, or objects are unpaired
on both sides, but the sealed spec omitted the model, the run summary instead carries
undeclared_target_shape guidance. Read the guidance, complete the model from the mapping
document, reseal the spec, and run prove again; when nothing paired, the resulting review
population is not approvable.
When comparison_counts.comparisons_matched is the integer 0 (not absent, null, boolean,
or negative), the proof report says that no objects matched before it presents the grade.
The grade may still contain an obligation tally; that tally does not mean values were compared.
For late-completion and terminal-attribution details, use get_run(prover_run_id=run_id)
and read How a Run Works
alongside the run API reference.
The Prover workflow guide
explains how addressing is recorded when proofs are repeated.
Catalog resolution and grade idempotency are defined in the compiled-grade API
reference.
Example:
compare_without_prior_map=True:
schema_map and object_map — the mappings above —
not with a declared-relations premise. The prove VERB does not accept one: it refuses an
unrecognised argument by name rather than ignoring it, so a call passing
declared_relations gets refusal.kind: "invalid" and nothing runs. The same is true of
tiers: the verb always grades every gradeable tier, because a tier subset is a different
measurement and narrowing it silently on an agent path is not a default worth having. Both
are properties of the proof ENDPOINT’s request model; see the
proof endpoint reference for them
and for the premise lookup window.
For a cross-engine relocation whose engines spell object names in different
cases, pass case_insensitive_object_names=true as well, or objects whose names
differ only in case pair with nothing and the whole target reads missing.
The response includes run_id, status, the common run envelope, and wait.
The envelope links to get_run; its summary names comparison_run_id and,
when a spec was attached, grade_run_id, and preserves the proof’s
source_snapshot_id and target_snapshot_id. Terminal refused means the system
declined the request (for example, a seal did not verify or a connection was not
registered), not that the run crashed. See the proof endpoint reference
for the full REST request and response contract.
When this is a Mission’s own comparison, the response’s data.mission_plan explains
whether the plan bound the run to a spec and row keys or a person explicitly chose
as_reported. The run’s provenance also carries mission, including the Mission and
comparison; a plan-bound run records its spec, while an as-reported run records that
choice. This metadata is absent for comparisons no Mission owns.
For graded-proof regression fields and the effect of an unmeasured tier, see the
proof endpoint reference and
what certifies.
propose_correspondence_rules
Seed and edge-qualify the default platform-correspondence (Π) rule pack for an
engine pair. A pack is available only for supported pairs; use
propose_rename_correspondence for renamed objects or schemas, and
triage_unlicensed_findings for residuals discovered by a comparison. Seeding and
qualification make the rules eligible but do not ratify or license them. Pass the
characterization snapshot ids when available so qualification is bound to the pair’s
environment.
Use
availability_only=true to find out whether a pair ships a pack: a plain call
seeds the whole pack, whose rules can be reviewed under Show rules and rulings on a
comparison run page. The counts are the same ones
GET /api/estate/correspondence-rules/pack-availability returns.
For legacy copies, Genesis also reseeds the pinned pack edition at backend startup; see
Genesis Prover for how rules are reviewed.
The response returns the qualified rules and any ratification_url, actionable, and
blocked_by hand-off fields. Each rule includes proposed_by, the author recorded on
its content-addressed row, and the response includes attributed_to_another: true
when any rule names another person, false when all rules name the caller, and null
when a rule names nobody. Re-seeding an existing pack returns its first recorded
authors rather than attributing the rules to the caller; an unnamed author is shown as
"unattributed". The operation writes and qualifies the pack, but takes no extra
author read because the workflow returns the recorded authors with the rules.
grade
Re-grade a new sealed specification against an existing comparison without taking new
estate characterizations. This also covers a migration whose tables were already landed
and compared before anyone wrote down its specification: author and seal the migration’s
requirements, then use grade to measure those obligations against the live estates.
Use it for a repair round when the characterized estate and comparison are unchanged.
Before a comparison exists, you can grade the spec’s obligations alone against the two
live connections with tiers=["derivational"]; this needs no snapshot pair. When you
also need the estates compared and the structural tier graded, use prove(spec_hash=...)
for the first comparison, or re-characterize and prove again after target configuration
changes. See how grading rounds stay
repeatable.
For how a value check’s finding identity and prior ruling behave when the sealed check id
changes, see finding identity in the Prover guide.
For how an unclaimed single-table membership or recompute failure keeps its table locus
across grades, see unclaimed keyed-check findings.
Every grade call also requires title, the business name shown for the comparison in
the comparison’s run page and in All runs. As with prove, a missing or blank title is
refused with a suggested value; the prove parameter table describes its format.
When the sealed spec declares a target model but the named comparison was made without
it, this tool compares the pair again under the model before grading and records that
replacement in the run provenance; the operation therefore performs a second full
comparison. It carries the comparison’s recorded row_identity_declared; a key that
does not pair rows under the model is reported as indeterminate, not guessed. See when a
grade names a comparison made without its spec
for the reason recorded on the grade and the rule that controls whether the replacement
comparison inherits its title.
If a failing grade read no comparison, follow its returned next call: it points to
prove for a single spec or to a SET re-grade with spec_hashes and the structural tier;
see how the Prover routes comparison-less grade failures.
Omit source_connection_id and target_connection_id to use the source and target
connections resolved from the seals when every member agrees. For a reseal with no recorded
connection, resolution follows its parent seals to the nearest recorded connection; see the
load_prior_spec repair binding rules. If a seal still does not resolve
a connection, provide its registered connection explicitly. A named source that differs from
a member’s sealed source is refused; a named target is refused only when that member’s seat recorded a
commissioned target connection. A target inferred from catalog placement on the source is
not a recorded target, so it does not prevent grading a migration on another connection.
If a set’s seals record different connections, no single call can grade all its members;
grade each separately with spec_hash on its own sealed connections. The refusal names
the conflicting connections and directs you to the applicable retry. For a single
connection mismatch, the proposed grade call preserves the other non-default grade
arguments you supplied and substitutes the seal-recorded connection; use it rather than
rebuilding the request.
The tool claims the round and returns a run handle immediately. Poll
get_run(prover_run_id=run_id) until the status is terminal, or set wait_seconds to
wait inline first. An expired wait never stops the grade. While the grade is running,
data includes request_key, tiers_graded, and pending_basis, but does not include
findings or obligations because those results do not exist until measurement finishes.
Read the verdict summary, obligation results, and durable #N finding ids from the
finished run. Its completed-run report can separate data-satisfied declaration differences
from the licensed-by-spec count; see completed-run reporting
for the optional classification.data_noted count and [the Prover overview]
(/docs/Genesis-Prover/Overview#3-spec-conformance-the-spec-agent-and-the-grade) for when
the grade records one. An identical finished request returns its complete verdict with
data.reused: true; a round already in progress is refused with kind: "conflict".
The request identity includes the running grading-code version, so repeating a request
after the grader changes grades it again instead of returning the retired grader’s
verdict. On a reused response, data.reused_from_grade_version identifies the grading
code recorded by the run that supplied the answer; it is null when the grade ran or
the reused run recorded no version.
If a grade errors after staging finished obligation checks, resubmit the same request to
resume eligible results instead of rerunning the whole grade. The [Prover run guide]
(/docs/Genesis-Prover/How-A-Run-Works#grading-is-separately-repeatable) explains when
staged checks can be reused; the [compiled-grade API reference]
(/docs/Genesis-API/API-Reference#post-api-estate-spec-conformance-grade-compiled)
documents the run fields.
For how get_run keeps a grade’s verified claims consistent with failed or refusing
outcomes and full grades with unconfirmed requested changes, including older stored grades,
see completed-run reporting.
If the seal cites a retired clarification (overturned by a person or withdrawn by its
recording agent), the tool refuses admission; see how a run handles reopened
seals for the
required reseal path.
When an unlicensed obligation fails, the completed verdict also carries
failed_checks, with the obligation id, available mismatch and row counts, up to three
sample keys, and a rendered sentence. For a failure over a column missing from the
target, the entry instead has a null mismatched_key_count, plus
missing_target_columns and unchecked_source_rows; see how failed checks are
surfaced
for how that unlocalized failure is reported.
Some keyed checks can also be attributed by table: when the target SQL is a UNION of
SELECT branches that each project a constant in the same single key column, a check
with at least two groups can be attributed per item when its failure identifies every
failed group exactly. An item whose table matches one or more groups fails only when one
of those groups failed; an item covered only by passing groups is not blocked. Items whose
tables no group names retain whole-check attribution. Unsupported SQL, capped or
incomplete key localization, aggregate failures, and missing target columns also retain
whole-check attribution. Tables match by name (schema and object when both are available),
not through view or derived-model lineage. This attribution also applies to grading within
prove.
The overview also explains how a membership difference with keys on both sides is
worded and when its examples identify the side for each key.
For a keyed obligation left unmeasured because its key is duplicated only on the target,
the grade records a decided fail rather than unverified. It does not make that
conversion when the degeneracy probe measured the expected side empty; an empty expected
population has no key to duplicate. For how the failed-check headline sizes refused
comparisons and combines key-probe evidence with measured mismatches, see failed checks
in the grade overview.
When a must_match table has columns dropped or renamed as the spec declares, the grade
compares the remaining and renamed columns individually. Matching column values alone do
not confirm the table’s rows: a passing membership or recompute check must pair that
table and cover every paired column. A qualifying failed check takes precedence; a check
that omits any paired column decides nothing. A table measured empty on both sides is
confirmed without a keyed check.
For how report_this points to failures beyond its named-check limit, see
reporting a completed run.
The Prover turns the same failures into Human Review blockers. If the grade read no
comparison, those blockers appear on the grade’s own proofless review; that review can
take rulings and exceptions but cannot be approved. Use its returned next call to
run prove or the required SET re-grade so a comparison-backed review can be approved.
The proofless grade block includes check_coverage when coverage was recorded: passed,
failed, errored, unmeasured, nothing_to_check, and obligation_count. Each missing,
malformed, or nonpositive outcome count reads as 0; a missing or malformed
obligation_count reads as null. Without a coverage tally, check_coverage is null.
A check confirms target data only when its vouches_for_target field is true; source-side
invariants and written_by checks do not vouch for target contents. See the
compiled-spec API contract for the field semantics.
For the membership-check case where both the measured source and whole target table are
empty, see how empty obligations are reported.
For a finished grade that read no comparison, both the grade result and a get_run
poll carry data.review_url, data.review_url_basis, and data.review_path for that
grade’s review, with review_path present in every case. review_url_basis begins with
addressed_grade when the deployment’s public address is available; it can also begin with
addressed_conversation or addressed_local when a fallback address is used. If neither
fallback is available, it begins with no_public_base_url or address_unreadable; use
review_path as the link target when review_url is null, and give it as
[Open the review](<review_url>). The
basis values are described above.
Use the grade response reference
for returned fork fields.
For the declared coordinate on conformance drift findings, see Drift findings declare
their coordinate.
When this production grade becomes the comparison’s review over a previously approved
review population, the finished response includes data.approval_superseded. It names
the recorded decision, approver, approval run, superseding grade run, and a sentence that
the approval no longer binds and the comparison is awaiting review again. A null value
means this grade superseded no approval. The same disclosure is promoted on the run
envelope and review surfaces; see when a re-grade changes approval truth.
A finished grade returns not_compared_by_design, derived_checked,
derived_unchecked, derived_unchecked_reasons, and row_checked alongside its verdict counts.
row_checked names same scope objects verified by passing row checks because their
whole-table digest cannot be compared across engines; the grade headline says they were
verified by row checks, not by digest.
The first is the number of design-skipped split-image digests; the two lists identify
derived targets whose skipped digest is cleared by sealed coverage or remains in the
blocking indeterminate results, respectively. A covering check that passes but measures
degenerate expected-side data (empty, all-NULL, or all-zero) confirms nothing, but does
not undo confirmation from another passing, non-degenerate check. A failed or unverified
covering check prevents confirmation. derived_unchecked_reasons maps each unchecked
target read by a check to the reason: a covering check did not pass, or its only covering
checks passed but measured degenerate. Targets with no covering check have no reason entry.
See declared target mappings
for the comparison rule. The report_this line also counts derived_checked tables as not
compared cell by cell; see reporting a completed run.
The grade summary also returns scope_unaccounted_columns, scope_unaccounted_limits, and
scope_unaccounted_readings; the first names new target columns awaiting a person’s
decision, the second discloses limits on the source columns used to make that reading, and
the third lists the exact unlicensed readings held for that decision.
See [scope verdicts]
(/docs/Genesis-Prover/Agents-And-The-API#scope-verdicts) for how these affect the grade and
Human Review.
When a carried scope entry is unpaired for want of a schema_map, the summary’s
schema_map_unpaired block groups the source and target objects attributed to that cause;
the grade and review population state the missing map once rather than counting each entry
and target object again. See [scope verdicts]
(/docs/Genesis-Prover/Agents-And-The-API#scope-verdicts) for the fields and grading semantics.
For the grade’s explicit distinction between failed and unmeasured items, and the
nullable derived-split fields, see the grade response reference.
When a verified grade still has owner questions open, its comparison card remains amber. An
unverified grade’s finding also names any open owner questions from its spec; see comparison
card guidance for how the
grade and failed-check cards read.
A verified grade that names readings not taken from a sealed fork is a pass for the reading
the build took: its run outcome is PASS, and verdict.readings_not_taken names each
reading not taken and why. See run outcomes.
For how the grade treats target objects outside the declared scope, see
scope verdicts.
A finished grade, including one returned by prove with a spec, can also end a check as
nothing_to_check, rendered Nothing to check (0 rows). Report it as a measured empty
population, not a pass, failure, error, or skipped check; use the grade headline to say
whether the other checks verify the claim. See how a grade reports an empty check.
For example, grade obligations before a comparison exists:
check_ids to grade; the API reference
defines the partial-result contract and refusal conditions.
summary.obligation_counts,
including on a derivational-only grade. Its top-level items are structural spec items,
not the obligations measured, so an empty list does not mean the grade checked nothing;
see the grade response reference
for the count fields and obligation-record paths.
If a declared key repeats or contains NULLs on the source, Prover refuses before
the proof starts; on the target, it reports a
row_identity difference and does
not localize that key. To localize rows, choose a unique, non-NULL key on both
sides. A refusal may suggest another single-column key from the scan evidence; if
the key is still repeated, a different form may add columns that distinguish rows,
use a first-non-NULL key such as
{"coalesce": ["adjusted_number", "original_number"]}, or declare different key
columns for each side with {"source": [<key terms>], "target": [<key terms>]}.
The backward comparison re-keys those per-side probes to its own source and target
roles; flat keys remain unchanged.
Example:
ratify_source_contract. The minutes of warehouse work run behind
the handle whether or not anyone continues polling.
Finished grades expose the structural and live-read intervals plus vintage_basis,
and on a blended grade vintage_between_reads, which says whether either estate’s
write history shows a write between the two reads. Relay the envelope’s vintage_caveat
beside the verdict; its wording and the limits of not_confirmable are described in
how a run reports observation vintage
and the grade response reference
for how to interpret them. For a set grade, every member’s obligations run, the response
returns the set identity in spec_hash plus sorted spec_hashes, and the completed run
view carries spec_set ownership, overlaps, and conflicts. When the structural tier was
graded, data.summary.spec_set_reading also relays those members, their seals, conflicts,
overlaps, and uncovered differences in the review card’s wording; see the API response
reference
for its fields.
Adjudication proceedings use the packaged constitution only when its content
matches the build’s integrity pin. For the current v4 constitution, the
expected SHA-256 is
7464dc71d2c0d65f8c6abbcde42b6dc2eba4d241cea415afe76776d0f98763fc. A digest
mismatch raises ConstitutionPinError and fails closed before the proceeding is
opened, rather than recording an unverified constitution as provenance. Open
proceedings continue to resolve the immutable constitution version and digest
recorded when they started, even after a newer constitution is pinned.
request_consult_ruling
Ask the built-in Prover Consult agent to measure one reason not to fix an open
finding rather than arguing about it. The caller supplies the finding number, one
dispute shape, and the implementer’s position; Consult hydrates the finding’s
rationale, compiled readings, computed values, check SQL, two databases, and ticket
from the ledger. The tool is available to agents carrying source_contract_tools.
Consult returns ACCEPTED_SUPPORTING, REJECTED, ESCALATE, or
INVALID_DOCKET, together with its read-only probes and any mechanical guard. It
uses one full bot turn and read-only SELECT probes, so call it deliberately and
only once per dispute at a time. A second call on the same finding is an appeal;
the service continues the same thread and allows at most three rounds for the same
measurement. This tool opens no review item and does not itself close or license the
finding. For an ACCEPTED_SUPPORTING ruling, a person asks for approval from the finding;
the decision is made through Action Review. See Prover roles and approvals
for which rulings use that route and what approval changes. The decision must use the
ruling’s exact ruling_digest_id, so a ruling made obsolete by a later Consult round
cannot be applied accidentally.
Consult performs the provider readiness check before creating its thread, so a
provider failure spends no round; follow the returned cause and remedy rather
than retrying in a loop. The check uses the shared
llm.provider_preflight_ttl_seconds
window. If the cause is empty_response, the provider answered without text; this
is often temporary, so try again in a minute. If it keeps happening, an operator
should read operator_detail on the refusal.
When a finding is one leg of a declared fork, the docket includes the fork axis and
the compiled readings for that axis. If the same leg’s grade changes between the
earliest and latest graded sightings while the finding remains open, the docket marks
the axis as moved and lists the direction of each measured change. In that case no
probe against the current build can establish which reading the ticket requires: the
build now embodies one of the readings, so re-running either leg only reproduces its
current state. An ACCEPTED_SUPPORTING ruling is therefore escalated rather than
licensed, with the implementer’s values standing for human review. The docket tells
the agent to use the ticket wording to identify the required reading, or record a
specification flag when the ticket does not decide the fork.
The response includes
rounds_remaining, the number of consult rounds the same
finding revision can still use. It reflects the durable ruling history rather than
the returned round_number: INVALID_DOCKET and an ACCEPTED_SUPPORTING result
without a valid probe do not spend a round. If the finding changes, is resolved, or
cannot be read while Consult is working, the ruling is returned but not recorded
against that obsolete revision; rounds_remaining then describes the current
revision (or is null when its budget cannot be read).
Example:
estate_char.consult.apply_mode configuration, and the Estate
API reference for the
read, approve, and decline endpoints.
Builder-facing fix brief
Each reconciliation round renders a builder-facing fix brief from the product’s episode records. It includes the ticket text, open findings with their rationale, readings, evidence, computed expected-versus-stored values, and the source/target SQL behind the check when available. It also includes perimeter questions for estate changes that are not claimed by the ticket. The brief keeps operator-provided ticket text and product-generated finding fields verbatim, including ordinary words such asscore or score-bearing column names;
those inputs are not oracle disclosures. Verdict language composed by the gate is
still refused, and the refusal identifies the bounded offending line so the source
can be repaired without guessing which finding triggered it.
When an item comes from one leg of a fork, the brief labels it as a fork leg instead
of presenting that reading as a settled expected value. It shows the fork axis, the
reading bound to the item, and every other compiled reading for the same sentence
with that check’s recorded standing: satisfied, not satisfied, or not measured. This
context is included so a builder does not change a check that currently satisfies a
rival reading without knowing that the specification has not settled the choice.
For a finding whose record carries several readings but cannot identify its bound
leg, the source SQL is likewise described as the result of one reading rather than
as the expected value.
For persisted conformance re-grades, an issue is closed by absence only when the
round’s tiers_graded coverage includes its category: structural covers both
structural and drift, while derivational covers derivational. Issues in
ungraded categories remain open for a later round; see the episode rounds API
reference.
Findings are grouped by their recorded state. open findings ask the builder to
make a change; findings closed by an independent ruling are delivered for context
but marked [NO ACTION REQUIRED — information, not a fix request]; and
escalated disagreements are delivered with the builder’s stored values standing
while they wait for a human ruling. The brief uses the durable finding reference
(for example, #42) for replies; compiled obligation IDs are supporting detail,
not reply IDs.
The brief states what the round asks separately from how many findings it contains.
On the ordinary finding level, the durable finding references are the requested
work. On the ticket level, the ticket’s opening words state the work because the
product could not attribute any observed item to the build; those items appear under
an unowned disclosure section with their location, observation, and reason no durable
item ID exists. They are not dismissed as acceptable, and they do not receive reply
IDs. Perimeter questions remain separately answerable with their PQ-n references.
The brief is oracle-blind: it does not tell the builder whether the build passed or
failed. The Prover tool group no longer exposes episode listing, episode reads by ID,
or issue-reply and adjudication tools. For episode operations, use the
source-contract API endpoints.
For a sealed-spec conformance run, use get_conformance_fix_brief after the
Adjudicator completes instead. That variant hands the builder only the cited
rules for target_defect verdicts, without suite grading numbers or adjudication
receipts.
triage_unlicensed_findings
Analyze the unlicensed residual from a stored system comparison and draft
proposals for differences that may be safe platform representation quirks. This
tool is read-only by default and never approves or ratifies anything. Set
register_proposals to true only when the human operator asks to file the
proposals; they remain unlicensed until they pass the qualification and human
ratification workflow.
For column_null_count findings, the tool can propose a null_form_equivalence
rule only for a text column whose measured categorical value-count map
corroborates that one engine writes absent values as SQL NULL and the other as
the empty string over the same rows. A difference where both sides have
different non-zero null counts, a non-text column, or a column without the
required map is left for review or unclassified rather than proposed. The
proposal includes the affected columns as null_form_columns and edge fixtures;
the comparison still keeps each column’s content digest, distinct-count, and
categorical-map verdicts separate.
The response includes exact counts, proposed_pi_rules, needs_review, and
unclassified buckets. Each
bucket is returned with at most sample_limit example entries (default 25);
counts remain exact, and a truncated bucket is marked with its corresponding
*_truncated field. Use this before ratification to turn a raw residual into a
reasoned proposal, then use the ratification tools for the human approval step.
When register_proposals=true, each returned item in proposed_pi_rules also has
proposed_by, the author recorded on that rule’s durable row, and the response has
attributed_to_another. The latter is true if any registered rule names someone
else, false if all name the current caller, and null when no rule was registered
or a rule names nobody; an unnamed author is returned as "unattributed". A
content-addressed rule keeps its first recorded author when another caller registers
the same proposal. Draft mode writes no rule and therefore returns no attribution
verdict. Before registration, every proposal’s rule_id must match the content hash
of its definition; if any id does not match or a definition cannot be read as a rule,
the call refuses the registration before storing any proposal.
list_finding_dispositions
Read the per-finding diagnosis state before proposing or correcting a package.
Use it to see which findings are undiagnosed, what verdict was recorded, the
grounds for that verdict, and who recorded or proposed it. The response includes
one row per matching finding, total, by_disposition counts for the filtered
set, and paging metadata. This call changes nothing.
Call this before
propose_finding_disposition_package or
propose_finding_disposition_correction. A named diagnosis can be inspected
through disposition_note, dispositioned_by, and
disposition_proposed_by; waived rows also include waiver_owner and
waiver_expires_at. See Prover waiver guidance
for how an elapsed expiry affects the finding. The model-scoped ruling field is
documented in the Estate
API reference.
Each finding row also carries person_exceptions: items a person accepted in review
(through the review page or an evidence-gap package) on the comparison where the finding
was last seen. These are separate from its diagnosis. With diff_hash, the response also
includes comparison-level person_exceptions, narrowed by object_name and including
accepted items that no finding row on this page carries. This includes a requested change
settled by person exceptions on every failed check; its record has carried_from with the
check review ids, at and audit_event_id from the newest check grant, by naming every
signer, and until set to the earliest grant expiry. An item carried by a row stays on
that row and is not repeated in the comparison-level list; other accepted items appear
there once. A carried requested change replaces its own lapsed exception in the row and
is listed as carried instead. The comparison-level list depends on the returned page, so
do not aggregate it across pages. Report these acceptances separately from diagnoses.
Each finding-row record includes joined_by to distinguish an exception on the finding
from one on a related item. See read_finding for the record fields. A
lapsed exception has
excepted: false and expired: true.
No evidence document is returned by this focused read. Results are scoped to the
person the agent is working for: findings from comparisons they cannot see are removed
before findings, total, and by_disposition are calculated. A diff_hash they
cannot open is answered as unknown. The visibility check costs one scope load (four
index reads) before the ledger read. Exceptions cost a review-log fold for each
comparison represented by the rows (and one additional fold for diff_hash); when a
person accepted something, they also require the population resolution and member set,
and a keyed evidence read for a failed check when needed.
disposition_system_diff_finding
Send one system-diff finding back to be fixed by recording target_defect
directly. A send-back needs no approval and leaves the finding open until a fresh
comparison shows the fix; the tool does not file a remediation request or hand
work to a builder. It refuses a finding already diagnosed with another disposition,
and it refuses findings the Adjudicator left as question or spec_ambiguity until
the owner answers. Other diagnoses settle a difference without a fix and require a
human-approved package; use
propose_finding_disposition_package (or
propose_finding_disposition_correction to replace a recorded diagnosis). On
success, the response includes success, finding_key, disposition,
dispositioned_by, already_sent_back, and open_package_items. The actor is the
signed-in user when present, otherwise agent:<bot_id> when the turn has an acting
bot, or the repository’s non-human marker when neither identity is available.
open_package_items identifies open packages made stale by the send-back; notify
their proposers. A refusal writes no disposition and returns no actor. Legacy
send-backs staged in open initial packages are also handled at startup; see the
Prover package approval guidance.
list_comparison_events
List completed comparisons, newest first, when the user refers to earlier
comparison work without a diff_hash or when you need to find the hash for
another comparison tool. Each returned event identifies the engine pair and
comparison time, includes verdict and finding counts, and carries the
systemic-family rollup. It deliberately returns one row per comparison rather
than per finding, so use list_system_diff_findings for one event’s findings
or read_comparison for the full classified element payload. The family samples
use the listing shape: coordinates, disposition, and only the source and target
values needed to render a list; full finding history remains available per event.
The per-event rows expose column, detail, source_value, and target_value beside
each evidence document; see the Estate API reference
for the complete row contract.
The result is a bounded page. Check
truncated before assuming the feed is
complete; total_row_count is exact when the page is complete and null when
more events remain.
Only comparisons the person you are working for can open are returned.
Visibility filtering can leave fewer rows than limit; hidden comparisons are
not counted. This adds one visibility-scope load to the event read.
An empty comparison_events list means no visible comparison has been run on
the deployment; characterize both sides and call run_system_diff first.
read_finding_ledger
Read the findings that remain open across all comparison runs. Each result is
folded from the append-only lifecycle log and includes its durable #N, current
ledger state (new, still_open, or reopened), consecutive-run count,
originating run, and lineage. Results also include last_seen_run_id and
rests_on_reopened_seal; see the ledger response fields.
Resolved findings are omitted. Use
list_system_diff_findings for one comparison, read_finding for one
finding’s complete case history, or list_finding_dispositions for recorded
diagnoses.
Only findings on comparisons the person you are working for can open are
returned; hidden findings are omitted and not counted. This tool has no
parameters. An empty findings list means nothing visible is open. The check
adds one visibility-scope load beside the ledger read.
For one comparison, list_system_diff_findings uses the same visibility boundary;
its count is computed after hidden findings are removed.
For an individual finding, read evidence.detail as its own detail. family_pattern
names the family template, with each number replaced by #; it is not the finding’s
detail.
read_finding
Read one finding in depth: its history, the reconciliation episodes it belongs to,
or the rows that evidence it. Use read_comparison first to get the finding’s
numeric id or durable key. The response combines the requested records with the
current folded state and the tamper-evident history from the append-only event log.
Episode reads include ledger.superseded_by; its meaning is in the episode-history API
contract.
History requires
finding_id; comparison episodes and witnesses require finding_key.
Reading a finding records no decision and needs no delegation grant; call it yourself
whenever the answer needs the record. Witness rows use the stored sample cache when
available; on a cache miss, and whenever refresh=true, Genesis runs read-only
statements against both estates’ warehouses and refreshes that cache. Those warehouse
queries may incur charges or wake a suspended warehouse.
read_finding also reads app-proof findings: supply their numeric finding_id or a
unique full or partial finding_key. A partial key that matches more than one app
finding is answered as unknown. App-proof findings have no reconciliation episodes;
their episodes record is empty and points to the Prover run history. Their witnesses
are the checks stored by the proof run that last saw the finding, not a fresh read of
either app; refresh does not re-read them. To page through all stored checks for that
run, use get_run(section="findings"). See Prover app mode
for app-proof findings and their stored checks.
If the identifier is unknown, the tool returns success: false with an actionable
error. When include requests history, its result includes rests_on_reopened_seal (a
reopen notice or null); see the API ledger response fields
for how to interpret the notice and the additional reads it requires. A history ledger row
also carries person_exceptions, items accepted in review on the comparison where the
finding was last seen. Each record identifies the item, its relation to the finding,
who accepted it, when, and through which review path. Only a verified, standing
this_item exception with no reopened assumption makes the history’s excepted true.
A lapsed exception is reported with excepted: false and expired: true. See the
finding history API contract
for the endpoint shape. A history ledger row with a
disposition also includes disposition_decision, which attributes a package ruling;
see the finding episodes API contract
for its fields and visibility behavior. Resolving that attribution costs one review-log
scan when the row carries a disposition. Finding exceptions cost a keyed findings-ledger
read and a review-log fold; when an exception is present they also require population
resolution, its member set, and a keyed evidence read where needed. Each history exception
includes item, review_finding_id, description, joined_by, by, at, until,
owner, reason, through, package_id, signer_verified, audit_event_id,
assumption_reopen, diff_hash, objects, excepted, and expired.
reason can fall back to the note written with the granting act; the comparison review
API contract
defines the reason and carried-exception fields.
Waived findings also expose their recorded waiver terms; see
list_finding_dispositions for the fields and how to
interpret an expired waiver.
History is available only when the person you are working for can open the comparison
that minted the finding; otherwise it is answered as unknown. Episode sightings are
filtered individually by their comparison or estate visibility. A finding not minted
by a comparison is answered as unknown when none of its episode sightings are visible.
Witnesses are also limited to findings on comparisons the person can open. For the
obligation-ledger fields withheld when an episode sighting is hidden, see the finding
episodes API contract. One visibility scope is loaded
per call and shared by its requested history, episode, and witness reads.
request_evidence
Ask for the facts behind one finding before anyone decides it. Read the finding with
read_comparison or read_finding first, then pass its finding key, comparison class,
and source- and target-side summaries; do not guess what caused the difference. This
files the same evidence request the Human Review finding pane’s former Request the
evidence button filed. It does not change either estate or record a disposition on the
finding.
For example, replace each placeholder with the corresponding value from the finding:
data.created and data.request
with request_id, kind, status, and server-written instructions. The request is
attributed to local operator (auth disabled). created is false when the same ask
for the finding—with the same comparison, objects, pair fingerprint, and family
signature—is already on file; the existing request is the answer, not a second request.
With authentication enabled, the tool does not file the request. It proposes it in Action
Review and returns data.proposed: true, proposal_id, the Action Review status, url,
opened, and remediation_request_id. A person may decide it there, or an agent may use
decide_approval_request on the person’s behalf when asked or working on a goal they set.
Only a person who can read the finding may decide the request. A newly opened request is announced
with a card in the agent’s thread. A repeated ask that is
already waiting returns opened: false and does not open another request; if the first
call could not send the card, a later ask can send it once. If the same ask is already
filed, the tool returns the existing data.request with created: false instead. Relay
data.request.instructions as written and tell the person the finding’s decision now
waits on that evidence. Sending the request to whoever gathers it is a person’s act, not
a tool call.
If the request was inserted but its read-back failed, the response has
request_exists: true, unavailable: true, status: null, and card_sent: false;
proposal_id is included when known. An unavailable or fault refusal that includes
proposal_id and url means the request exists but confirming it failed. For
unavailable, repeat the same ask to read the existing request; for fault, do not
retry, and give the person the url. Without proposal_id, no request was proposed.
The tool requires ratify_source_contract. A person who already declined the same ask
gets a conflict refusal; do not retry it. If the deployment’s Action Review policy does
not admit the request, it returns policy_denied with the policy’s reason. A caller
without ratify_source_contract is refused with permission. Invalid keys and prefixes
matching no finding are refused with invalid; a full key absent from the findings
ledger is refused with not_found. Genesis supplies bot_id, thread_id, and user_id
from the tool-call context; they are not caller parameters. Cost: one indexed
findings-ledger read to confirm the finding exists (without reading its evidence); a
short finding key needs one additional indexed lookup. A direct filing then costs one
remediation-ledger read and at most one insert. An authenticated proposal also costs one
remediation-ledger read and two Action Review ledger reads; opening a new request adds
one policy load, a second findings-ledger read, and one ledger transaction. A pending
request’s card check adds two narrow ledger reads; the one call that sends its card also
adds one guarded update, one sealed event, and the card delivery.
propose_app_packages
After an app proof finishes, ask for approval of its open findings with
prover_review(action="propose_app_packages", args={"app_run_id": "<run_id>"}).
This stages one Action Review request per open package; it never accepts findings
itself. Findings are grouped by the proof’s measured cause: data_differs means landed
data differs while the app shows it faithfully, app_wrong means the app shows a
different value, and not_shown means the app omits a value Foundry shows. An obligation
the proof could not check is reported as coverage, not offered for approval. Needs
view_connections and visibility to the app proof run.
The response includes
app_run_id, packages (each package’s id, title, cause, state,
item counts, Action Review proposal id, status, request URL, and any error),
open_package_ids, coverage, and approval_url for the app proof review page. Tell the
person how many packages are waiting and give them approval_url as a link labelled
“Open the approval”. Repeating the action
does not open a second request for a package that is already waiting or approved; a
declined package remains declined and returns its error. A run that is not an app proof
or is not visible to the caller is refused as not_found. For how Genesis presents open
packages to reviewers in chat, see app-proof package approval.
Cost: one run read; per finding the run saw, one ledger read and one review-log read; per
package, two Action Review ledger reads, and for each new request one policy load, a fresh
package derivation, and one ledger transaction.
adjudicate_findings
Send the findings from a completed system comparison—whether it came from a graded
proof, a comparison-only proof, or a compare run—to the independent
Adjudicator for read-only reproduction and routing. The Adjudicator records a
typed verdict for each finding as stands, spec_defect, target_defect,
platform, question, spec_ambiguity, candidate_improvement, or
no_deviation or instrument_defect, with rationale and query receipts. See the
False alarm (Prover) guidance
for the latter outcome. no_deviation records that
the Adjudicator examined the finding and found nothing to route; it requires a
one-line reason, is neither stands nor an abstention, and routes to nobody.
candidate_improvement records a deliberate build deviation that may be better
than the declared behavior; it is queued for human review and is not a license.
The tool returns a running adjudication_id. An unknown comparison or a
comparison with no findings is refused before a proceeding is started. The
spawned proceeding is visible on the Prover Adjudicator agent
page and is titled Adjudication <first 12 characters of diff_hash>, so a
reviewer can open the thread and read the Adjudicator’s reasoning.
Both adjudication tools record invoked_by as agent:<id> only when an agent acted;
a direct tool call naming no agent records user:<id>, or user:unknown when no user id
is available.
The Adjudicator checks the model provider before opening the proceeding. If it cannot
answer, the tool returns an unavailable refusal with cause and creates no
proceeding; follow that remedy before retrying. The check uses the shared
llm.provider_preflight_ttl_seconds
window. For empty_response, use the temporary-retry guidance under
request_consult_ruling.
The configured mode is fail-closed: an unset, uninitialized, or unrecognized
value is treated as
silent. The kickoff message is a table of contents, not a
copy of the materials: it names the proceeding’s sections, their counts and
serialized sizes, and the constitution pin. Read every section through the
Adjudicator-only fetch_adjudication_materials tool, starting with doctrine
and continuing each page until next_offset is null. Each citable register
entry has an entry_id; IDs use the forms
disposition:<finding_key>, ruling:<ruling_id>, rule:<rule_id>,
fork:<axis_id>, or reference:<basis_id>. A reference: entry is available
for a migration comparison without a sealed spec and means the target carries
the source’s content; it does not license content drift. The briefing must fit
the thread message-size limit; an oversized briefing is refused before the
proceeding or Adjudicator instance is created.
Reusing the same (run_id, round_n) returns the existing proceeding; it does not
re-mode it. The response’s requested_mode records the mode this call named, and
mode_basis is non-null only when that requested mode was dropped because the
existing proceeding uses another mode. A proceeding’s mode is fixed when it opens,
so choose silent or active on the call that creates the round.
With notify (boolean, default true), the thread that opened the proceeding is
told when it completes or fails, on its next tool result or in a new turn after it goes
idle. The wake carries the run result when it fits; a tool-result wake that exceeds the
inline tool-output budget uses a bounded form or a notice naming
get_adjudication_run if no record form fits. The response’s next_step says so while
the wake is armed. When armed, finish anything else this turn needs and end your turn
rather than calling adjudicate_findings or get_adjudication_run to poll. When the
record is too large for the mailbox, the new-turn form carries it without its verdicts
and says so under verdicts_omitted_from_wake, naming the get_adjudication_run call
that reads them. Use get_adjudication_run when the wake says its record is incomplete;
set notify=false to disable the wake and poll yourself. A caller without a Genesis
thread is not armed.
adjudicate_conformance_run
Send a parsed conformance suite result to the independent Adjudicator after the
suite grades a build against a sealed specification and before the builder sees
the raw output. The Adjudicator reproduces every non-PASS check read-only
against the target and routes it as stands, spec_defect, target_defect,
platform, question, or spec_ambiguity. The run is identified by the
canonical digest of the supplied result document, and the proceeding verifies
that spec_hash matches the run’s recorded spec_sha256 before it opens.
This intake runs only in silent mode: verdicts are persisted to the
adjudication log and do not stage a disposition package. Partial clause
coverage is accepted, and findings whose cited clause was not supplied are
listed as sealed_spec.findings_without_clause; supplying clauses for none of
the non-PASS findings is refused. A run without durable findings returns
without opening a proceeding; the API response includes the reason beside
no_findings. With notify (the default) this thread is told when the proceeding
completes or fails. As with other tool-result wakes, the record may be bounded to
fit the inline tool-output budget; use get_adjudication_run with the
adjudication_id when the wake says the record is incomplete. With notify=false,
poll get_adjudication_run yourself. adjudication_id is not a generic run id. Use
get_conformance_fix_brief after completion.
The run document preserves each finding’s durable_id (the persisted #N,
when one exists) beside its finding key, and includes as_of, the time the
grading run observed the estate. When a clause declares candidate_readings,
the materials also include its passing rival checks when another reading on the
same fork failed; those checks are marked role: "fork_context" and provide
measurement context rather than additional findings to route. The kickoff is a
table of contents; read the pinned doctrine, identity, cited clauses, findings,
and any other listed sections through fetch_adjudication_materials, continuing
pages until next_offset is null.
The materials identify the build under test in conformance_run.target using
the resolved target endpoint’s catalog and optional dialect. When no target
endpoint resolved a database, conformance_run.target is null and the
materials do not name the estate. Completed grading runs can also resolve their
source and target read-only endpoints from summary.provenance when the pair
was recorded there, as well as from the top-level snapshot fields. Findings
carry the measurements available from the grading run: mismatched_key_count,
a bounded mismatched_keys_sample (up to 20 keys),
mismatched_keys_truncated, and the sealed source_sql and target_sql. For
a finding covering multiple obligations, measurements stay with each
obligations entry; each entry also preserves its declared fork axis and reading
when available, so a fork leg remains identifiable in the downstream finding and
fix brief. A top-level measurements block is included only when the finding has
one obligation.
The run document also includes the open findings from the type_family durable
ledger, not only obligation findings. Those results carry tier: "type_family",
the durable durable_id when present, and the finding’s locus; when the family
grader recorded both halves of the comparison they also carry expected and
observed. Their cited clauses use the same type_family tier, so the
Adjudicator can distinguish a declared-type finding from an obligation that uses
the same sealed item identifier.
Each failing check is matched to a durable finding by its exact locus first. If
the run has no matching locus, the item’s declared spec_item_id can supply the
match only when exactly one open durable finding belongs to that item. This lets
runs without a recorded locus proceed while keeping one proceeding rule per
durable finding. An item with multiple open findings, or a check that resolves to
none of the item’s open findings, is refused rather than emitted with a composite
<spec_item_id>:<obligation> key that the caller cannot reconcile. Findings that
are already closed are not part of this open-finding match.
Example:
get_adjudication_run
Read a proceeding’s status, mode, constitution pin, materials manifest, and
submitted verdicts for either a completed comparison or a conformance run. If
its handoff instance ended without submitting, the run is reconciled to
failed, and a replacement can be started with the tool that opened that
proceeding.
A running status means only that the Adjudicator has not submitted; it does
not say whether the seat is still working. run.progress is the best EVIDENCE
about that, and it is evidence rather than proof — read it as such.
phase: "working" says only that the thread has been written to at some point;
the message count is cumulative, so it is not a liveness verdict.
last_activity is the seat’s own freshest write and it does not advance while
the seat is inside one model completion — five to ten minutes is normal at this
seat’s timescale — so a still last_activity is not on its own a stall.
streaming is three-valued: true with a recent last_chunk_at means the
completion is still delivering and the seat IS working however still
last_activity looks; false means the window passed with no chunk; null
means this response could not DECIDE stream liveness, which is not the same as
the stream having stopped. null has three causes: no chunk reading exists in
the process that served you, no staleness window was available to compare
against, or last_chunk_at did not parse. The last two still publish
last_chunk_at and stream_chunk_count, so streaming: null beside a non-null
last_chunk_at means a reading was held and could not be judged — not that
nothing measured it. A null last_activity is a third case again — read
unavailable_reason, which says which silence it is.
So: stale counters WITH streaming: true is a working seat. Stale counters with
streaming: false is the stall. Stale counters with streaming: null is
liveness UNKNOWN, and the honest report is that this response did not settle it —
not that the seat is dead, and not that it is fine. Quote what you read and say
which of those three it is, rather than converting any of them into a verdict.
A terminal proceeding reports its own end word as the phase with the counters
null — nothing read them, and null is not zero — and finished_at says when it
ended. A status this reader does not recognise reports phase: "unknown" with
the status named in phase_basis: it is neither classified as running nor
treated as finished.
Each returned verdict also carries its measured subject as object and column.
The briefed finding supplies those coordinates when materials are present; on a
terminal re-read without materials, Genesis resolves them from the durable finding
identified by finding_key. If neither source names a coordinate, the fields remain
present with null values rather than being omitted.
Narrow before paging: verdict_ids and outcome filter the proceeding’s verdicts,
then verdict_offset and verdict_limit page that narrowed set. An empty
verdict_ids list or an outcome outside the recorded vocabulary is refused.
verdict_page.total is the narrowed set’s size, returned is this page’s size,
and next_offset is the next offset or null when the set is complete. Advance
using next_offset, not the requested limit. verdict_selection echoes the
filters and page coordinates so the response identifies which rows it contains.
For example, get_adjudication_run(adjudication_id="...", outcome="question", verdict_limit=25) reads the first page of question verdicts.
Reading progress for a running proceeding costs a thread read per call (and,
where a handoff is recorded, the orphan probe beside it), so poll deliberately
rather than in a tight loop.
Narrowed or paged reads also count the matching verdict set; if an orphaned
proceeding is reconciled during one of those reads, the selected verdicts are
read again afterward.
fetch_adjudication_materials
Read one section of the Adjudicator’s kickoff table of contents. This is a
private tool for the pinned Adjudicator identity and only serves the
proceeding in the caller’s current thread; it does not perform a live estate
read. The kickoff carries no materials, so use this tool for everything the
Adjudicator must read: start with doctrine, then read each listed section to
completion before submitting a verdict.
The available sections are doctrine (the pinned constitution and proceeding
addenda), identity (what is being compared and the read-only connections),
advisories (tier-0 flags), license_register, cited_clauses (for a
conformance run), prior_verdicts (earlier rulings on the same pair-scoped
findings), and findings. A section is listed only when that proceeding holds
it. prior_verdicts contains the newest earlier verdict for each finding, with
finding_key, verdict_id, adjudication_id, outcome, confidence,
rationale, and recorded_at. Comparison and grading-run proceedings include
this section, even when its list is empty. A grading-run proceeding includes
prior verdicts only for pair-scoped durable findings. The direct
adjudicate_conformance_run tool includes an empty prior_verdicts list because
the supplied suite’s test IDs do not identify an estate pair. Read the section
before deciding whether your verdict differs. When a prior verdict is found under
the same finding’s key from another compared scope, its entry also includes
aliased_from, the key on which that verdict was recorded. Finding identity is
scoped to registered estate-pair ownership, not just the databases being compared;
the Prover’s scope and finding guidance
defines which pair keys belong to the same finding identity class.
Register pages list entry metadata without the rationale and qualification; request
those fields by naming the corresponding entry_ids.
Pages default to 20 entries and accept at most 50, but the transport byte
cap can return fewer than requested. Use the response’s next_offset as the
next offset until it is null. The response reports unknown named IDs rather
than silently dropping them. The read loads the proceeding’s stored materials
snapshot, then slices it; it does not query either comparison endpoint. A
doctrine read also reloads and verifies the pinned constitution before serving
it.
Example:
get_conformance_fix_brief
Read the builder-facing brief after a conformance adjudication completes. The
brief contains the run ID, target, specification hash, and one item for each
target_defect verdict. This conformance intake runs only in silent mode, so
candidate_improvement verdicts do not produce a builder order here. Each item
includes the finding key, clause ID, and the charged rule with its citation, but
omits grading numbers, the Adjudicator’s rationale and confidence, and query
receipts. An empty items list means the run’s failures were assigned to the
specification, platform, or an escalation; the builder has no rule-based fix
request.
This tool refuses an unknown or incomplete proceeding, a comparison proceeding,
or a proceeding whose stored materials cannot be read.
submit_adjudication_verdicts
This is the Adjudicator’s private submission tool, not a general estate-agent
tool. Submit one typed document containing the verdicts reached so far. Each
verdict requires finding_key, outcome, confidence (high, medium, or
low), rationale, and at least one receipt with query and observed. A
no_deviation verdict additionally requires a non-empty one-line reason
saying what was examined and why there was nothing to route; it cites nothing.
A stands verdict must also include a non-empty
license_refs array containing the entry_id of a covering entry in the
proceeding’s license_register; citations that do not resolve to that register
are refused. A disposition:<finding_key> entry covers only its own finding,
while ruling:, rule:, fork:, and reference: entries identify broader
classes whose
coverage must be supported by the verdict’s receipts. A fork: entry identifies
an axis declared by the sealed spec, and the receipts must establish that its
measurements settled the fork. A reference: entry is valid only for a
migration without a sealed spec; its receipts must show the same content on the
source and target endpoints, and a content difference remains drift rather than
a covered representation difference. If no register entry covers a deviation,
route it on its merits instead, such as question with a provisional_position when
the data owner must settle it. Use provisional_position for question and
spec_ambiguity escalations; those outcomes do not stage dispositions. A
candidate_improvement verdict must include an improvement object with
non-empty build_behaviour, declared_behaviour, clause_ref, value, and
risk strings. Its optional mode is pocket by default or blocking; it
cannot include license_refs. The object may also include waiver_expires_at
(optional string, default null; a future ISO-8601 date-time) and waiver_owner
(optional string, default null, naming who answers for the waiver if accepted). If the proposed expiry is unreadable
or has passed, only those terms are dropped; the improvement is still filed, and the
response’s waiver_terms_dropped explains why. See Prover docket review
for how a person reviews the proposed terms. For comparison proceedings, earlier verdicts on the
same findings are included in prior_verdicts. If your outcome differs from that
ruling, include departs_from with exactly its verdict_id and a non-empty why
explaining what you measured that it did not. Submission is refused if a changed
outcome omits this field, names another verdict, or supplies it when there is no
prior ruling or your outcome agrees. Your confidence must reflect your own receipts,
not the earlier seat’s confidence.
For example, include the optional waiver terms inside the improvement object:
Only the pinned
Adjudicator identity may submit. A finding without a verdict
does not count as no_deviation: submit an explicit no_deviation row when it
was examined and nothing needed routing. If a document covers only some
findings, the accepted verdicts are persisted and the refusal returns
proceeding: "awaiting_coverage" plus unruled_finding_ids; send an additional
document for those IDs rather than resending accepted verdicts. The proceeding
completes only after every finding carries a verdict. In silent mode, accepted
verdicts are persisted to the adjudication log and nothing else changes. In
active mode, each target_defect verdict and pocket candidate_improvement
verdict is sent back immediately under the Adjudicator’s name; the finding stays
open until a fresh comparison shows the fix, and nobody approves the send-back.
blocking candidate improvements write a docket entry but send no builder item
back. spec_defect, platform, and instrument_defect settle a difference
without a fix, so they are staged together as one disposition package for human
approval. No package is staged when there is nothing requiring approval. The
candidate-improvement docket entry is written for human review and is never a
license. no_deviation, stands, question, and spec_ambiguity do not stage.
The response also reports
docket_entry_ids, held_for_review, staging_skipped, docket_discarded, and
waiver_terms_dropped. Each dropped-terms item explains why an improvement’s proposed
waiver terms were omitted; the improvement remains filed. Filing an improvement also attempts to open its Action Review
request automatically. docket_requests returns one result per finding, with
finding_key, proposal_id, status, url, and opened (true only when this
submission created the request), for entries that remain open. An entry already
accepted or rejected is named in docket_discarded instead and has no
docket_requests row. An error means this filing opened no new request, not
always that no request exists: with a proposal_id, the row identifies the
finding’s current request; with no ID, refused means no request is asking for
the finding, while unavailable or fault means its request state is unknown.
The docket entry remains filed in each case; do not file it again to ask for
approval. Candidate-improvement docket entries can be filed on Snowflake ledgers
as well as the other supported substrates. For Snowflake acceptance and its
findings-ledger write lock, see Prover docket review.
On completion,
verdict_count and these proceeding-wide fields describe the union of verdicts
accepted across all documents, not only
the latest submission. In active mode, sendbacks_applied lists finding keys
sent back by this proceeding, including keys already applied on an earlier retry;
sendbacks_made_stale maps each send-back to open-package items it made stale.
A send-back on a numbered finding the ledger no longer holds closes the proceeding
as blocked. By contrast, before recording anything, submission refuses the whole
document if a send-back or staged disposition targets a finding briefed without a
durable ID (#N) and the ledger read confirms no row for its finding_key; the refusal
returns those keys as unheld_finding_keys and leaves the proceeding open. Re-rule
each returned finding with an outcome that neither sends it back nor stages a
disposition, retaining the measurements in its rationale and receipts, then retry
the whole document.
A finding diagnosed by a person after the proceeding opened keeps that diagnosis
and is returned in staging_skipped. Failed writes or findings that moved during a
send-back leave the proceeding open for retry with the same document. Other
routable verdicts stage on the
comparison named by the proceeding manifest’s diff_hash; this is the
comparison ledger the proceeding holds, not the subject document’s hash. If
that comparison is absent from the instance, the verdicts remain recorded but
the proceeding closes as failed with proceeding: "blocked", because retrying
cannot make the named ledger appear. If the ledger refuses the disposition
package, the proceeding also closes as failed with proceeding: "blocked"; the
same document will meet the same refusal, so report it and open a new proceeding
rather than retrying. A failed package write or linkage refusal leaves the
proceeding open for retry with the same document. Every refusal includes
proceeding and next_step: awaiting_coverage means send
an additional document for exactly the returned unruled_finding_ids; open
means correct and retry as directed, closed means the terminal record stands,
blocked also covers a stored finding inventory that cannot be read: that proceeding
closes as failed, returns inventory_error, and records
error_type: "inventory_unreadable". Report it and open a replacement proceeding rather
than retrying. In all cases, blocked means the stored materials cannot support any
submission, and
unknown means the call did not establish the state, so read the run with
get_adjudication_run before deciding what to do next.
For how human reviewers accept or reject these entries, including the Action
Review path for agent-filed candidates, see the Estate improvement docket
API. The reviewer-facing
statement of what an accepted finding’s licence covers is described in
Prover roles and approvals.
propose_finding_disposition_package
Stage an agent’s diagnoses for multiple findings from one system comparison for
human review. Staging writes no dispositions. By default, the returned
approval_url opens the package’s own Prover approval page, where a reviewer sees
each proposal beside the finding’s current source and target evidence. Reviewers can
approve or decline the package exactly as staged, but cannot edit, drop, or re-diagnose
an item. If an item is wrong, decline the package and ask for a corrected one.
This agent-staging tool refuses a direct tool call that names no agent, before staging
anything; use propose for a caller’s own package instead.
Unless for_bundle is true, the tool also creates one Action Review item with
action type prover.approve_disposition_package.v1 for this package generation.
For a package with its own request, give the person the returned approval_url as a
link labelled “Open the approval”, and keep action_review_proposal_id. The same package generation reuses its Action
Review item on replay, and a declined or policy-denied item is not replaced by
another approval request.
When for_bundle is true, the package is staged without its own Action Review
item or approval request so a later propose_approval_bundle can make the bundle
the person’s single request. In that case, use the bundle’s link instead of this
package’s approval_url.
Any signed-in person can approve the package, including the person who asked the agent
to stage it; no special approval permission is required. When asked or acting on a goal
the person set, the agent can also use decide_approval_request to approve or reject the
package request for them. See Prover roles and approvals
for how the package records the agent’s decision and its basis.
A correspondence rule already claimed by a live bundle request prevents a new
package request: if detected during staging, the package is not staged; if the
claim wins during request minting, the package remains staged and
action_review reports claim_refused without a request. See the disposition
package API reference for the
refusal codes. A replay checks the existing request against a fresh rule claim.
If the request pins a rule its claim did not hold, it is ended and reported as
drift; if another live request now holds a claimed rule, it is ended and
reported as claim_refused. If rule holds cannot be read and no unclaimed
pinned rule was found, the request remains standing and the response reports
unavailable. After drift or
claim_refused, ask again to mint a request for the package as it now stands.
If an agent’s composite bundle adopts the package request, that bundle request
holds the package: an approval mint for the same package will not create a
competing Action Review item. Decide the bundle request first; after it is
declined or policy-denied, stage a new package to ask for approval again.
The package’s native approval and unsign surfaces refuse while that Action Review item owns the
decision; a person decides it from the package approval page, which uses Action Review
behind the scenes, or an agent uses decide_approval_request on the person’s behalf.
For the human approval-run flow, including per-item progress and retryable rulings,
see Prover roles and approvals.
For an inconclusive result when post-approval read-back fails and the one-time card
behavior on replay, see Prover roles and approvals. For how an
Action Review approval affects a promoted rule’s review record, see
Action Review also reviews promoted rules.
For Snowflake storage options for the estatechar review-event and findings records,
see Estatechar store settings.
Packages refuse target_defect, whether it is listed directly, selected by family,
or included in a corrective package: a send-back is applied directly with
disposition_system_diff_finding(disposition="target_defect"), never staged for
approval. Active Adjudicator target_defect verdicts are also applied directly.
If a difference requires a fix, do not propose a package for it.
Write plain_summary
for the person signing in ordinary business English, and note for an engineer
reading the technical record. The justification, each plain_summary, and each note
are shown to the reviewer. Do not ask the reviewer to change, edit, correct, or amend an
item; if an item might be wrong, explain what would make it wrong and ask the reviewer
to decline the package so you can stage a corrected one.
Package staging, including packages with staged rules, works on a Snowflake ledger.
Before writing the package event or any staged rule, staging checks whether a minted
rule can pass durable qualification; a refused rule therefore leaves neither the
package nor that rule written. The package retry identity is claimed with an
insert-if-absent MERGE, so a repeated request returns the winning proposal instead
of creating another one. Open package claims use a guarded update; if another event
holds the claim, the request is refused. That guard is not a serialization guarantee
for two truly concurrent claimers; the approval service’s door check is the
concurrency boundary. Approval that promotes a rule also works on Snowflake. It
checks each promotion before writing its rule; a refused promotion writes nothing,
and an Action Review approval still applies every item or none. If the store changes
between a check and its write, or a statement fails, the Snowflake transaction rolls
back as a whole. If ledger read-back cannot account for a package result — for
example, no row or more than one row exists at the claimed address — staging fails
closed and returns the audit reference for the recorded derivation failure; it does
not silently treat an ambiguous package as successful.
For the Snowflake batch-write performance of approvals that create standing rules,
see Prover roles and approvals.
Each approved diagnosis stays attributed to the agent as its proposer, with the human
reviewer recorded as the person who approved it. When the reviewer approves a
package, each licensed
disposition other than target_defect also resolves matching
unexpected_change blockers in the selected Human Review population when the
package covers them completely. An approved package can also settle a matching
failed spec-check blocker as an exception, but only when a verified person approved
the package; an unverified approval leaves that check unresolved. Retracting that
approval re-opens the package-bound blockers it resolved; see the disposition
package endpoints for response
counts and API details. The review-population API reports these
package-resolved members as resolution="exception"; a person’s separate
recorded ruling is reported as resolution="ruling".
A proposed disposition is a recommendation, not a decision. The reviewer approves
or declines the package exactly as staged, as a whole; no row can be changed on the
package. Propose your best reading rather than withholding one: declining to choose
leaves the reviewer to sort through the findings one at a time. When the choice
depends on something only the reviewer can answer — such as whether the difference is
expected for this pair of systems from now on or accepted only for this run — say
exactly that in plain_summary and propose anyway. The review surface shows
plain_summary on the row and uses it to group the package, while note appears
behind a collapsed technical-note disclosure.
Do not propose target_defect or spec_defect for a finding whose latest
Adjudicator verdict is question or spec_ambiguity unless the owner has
answered it. Ask the owner in chat, then record their answer with
record_clarification on an estate of the comparison’s pair, after the seat
asked. Have the owner ratify it on the review page while signed in; then cite its
clarification_id on that finding’s item. The citation carries the defect only
when a signed-in person ratified the clarification after the seat asked. An
agent-certified clarification, or one ratified with authentication disabled,
does not carry it; on a stack with authentication disabled, the owner records
the diagnosis themselves on the review page. A promote_delta or waived item
can instead cite the owner’s ruling behind it: the clarification must be
recorded on an estate of this comparison’s pair and not overturned;
ratification is not required, and the item shows its provenance label. A
citation on any other item is refused. The other route is to seal the owner’s
answer into the spec and re-open adjudication so the seat can rule on it.
Dispositions that charge no defect can still be proposed.
For agent-versus-caller attribution when Genesis invokes this tool, see the
disposition package API reference.
Clarification citations also follow the signed-in person’s run visibility; see that API
reference for how hidden citations are handled.
An item proposed as waived grants a time-limited exception and must carry a
future waiver_expires_at and a waiver_owner. Set the terms on each item, or
use the package-level defaults; an item’s own values take precedence, and an
omitted owner defaults to on_behalf_of. Waiver terms are part of the retry
identity, so changing only a term does not replay the earlier proposal.
disposition must be one of target_defect, source_drift, promote_pi,
promote_delta, spec_defect, instrument_defect, or waived. note is optional rationale
shown beside the evidence and is limited to 2000 characters. plain_summary
is optional, limited to 600 characters, and should be one sentence explaining
what approving the diagnosis actually means without schema or migration jargon.
For the effect of an approved promote_delta, see the API disposition reference.
Each item accepts only finding_key, disposition, plain_summary, note,
rule_id, and clarification_id; the optional clarification_id is the
recorded owner answer or ruling described above. See the API
reference
for how unknown request fields are reported.
The package must contain at least one item and at most 2000 items; each finding
must be an open finding on the comparison and must not already carry a diagnosis.
The response includes package_id, diff_hash, mode: "initial", item_count,
subject_fingerprint, approval_url, action_review_proposal_id, and an
action_review object with the Action Review proposal status, digest, whether
the card was sent, and whether the item was renewed. When for_bundle is
true, action_review and action_review_proposal_id are null; the bundle
creates the approval request. Otherwise, a mint failure is reported
inside action_review beside the staged package; it does not discard the
package. A ledger failure sets unavailable: true, gives a safe message, and
can be retried. If insertion succeeded but read-back failed, action_review still
names the request with proposal_id when known and status: null; retry to read its
state. During replay checks, a ledger failure remains unavailable, while a defect
checking an existing request sets fault: true; its detail is in the server log and
retry will not cure it. An audited derivation refusal sets
refused: true and includes audit_reference; only typed
ProjectionDriftError or ValueError causes are shown, while other causes are
logged and replaced with a generic refusal. SQL and driver error text is not
returned to the agent. The response also includes a coverage block containing
proposed_here,
exhibited, dispositioned, and undispositioned counts. The coverage is
measured when the package is staged and is returned unchanged on an idempotent
Prover replay, so its denominator is the original comparison state.
The optional open_package_conflicts response array lists each conflicting package’s
package_id, diff_hash, and item_count; see the linked API reference for the
staging behavior and package-item details.
Staging conflicts involving a claimed correspondence rule are described in the
disposition package API reference,
which also defines the HTTP response’s expansion metadata and corrective-selector refusal.
If the comparison or any item is
invalid, the tool returns success: false and an error without staging the
package. If the finding changes before approval, the reviewer must stage a fresh
package. Use disposition_system_diff_finding for a single finding you are
certain about; use the package tool when a human should review several proposed
diagnoses, including waivers.
Only one open initial package can stand for a comparison in the public review
lifecycle. A second proposal returns success: false with open_package_ids and
standing_package; read or finish the named package, or withdraw it with
retract_finding_disposition_package, before proposing again. corrective packages
are not blocked by this rule.
For a package containing promote_pi, staging runs the approval preflight before
writing the package. If any lasting rule cannot be approved — for example, its
fixtures fail, its approval for this pair was revoked, its evidence does not survive
the pair’s configurations, or it does not license the finding — the whole proposal
is refused. The tool returns success: false, an error, and refused_items with
each finding_key, its finding locus, the approval reason, and plain_reason;
unbound promotions may also include unbound_promotions with qualified-rule advice.
Nothing is staged, so remove or correct the named items before proposing again.
The promotion preview used by Human Review applies the same preflight and reports
unapprovable items in unavailable with reason and plain_reason, rather than
showing them as licences. A previewed rule also includes
plain_reusability_refusal when the reviewer cannot approve it, including when its
approval on this estate pair was revoked. Qualification that requires running
against the comparison pair’s environment remains checked during approval. If
approval derives and registers a rule, retries and repeated clicks reuse the
content-addressed rule and do not append a duplicate review-log audit event.
For reviewer-derived value-rendering and type-correspondence rules, the
applicability boundary must name the same object and column as the finding’s
evidence using exact identifier text. Differences in case or whitespace are
not treated as the same element; re-propose the rule from the finding so both
fields are generated from the same rendering.
In a Prover finding or issue-group chat, input_metadata.prover_context is the
authoritative captured subject. The package must include exactly the captured
members, use instrument_defect, and match the current comparison ledger and
review population; malformed, stale, incomplete, or changed evidence is refused
without staging. A successful Prover-bound response also includes
evidence_fingerprint, evidence_summary, evidence_scope,
evidence_member_count, idempotent_replay, and remeasurement: "not_enqueued".
The same source message returns the existing package with idempotent_replay: true; changed package content requires a new message. Human approval remains
required, and only a fresh comparison can discharge the Prover finding.
For an existing diagnosis that needs replacement, use
propose_finding_disposition_correction instead; its approval page shows the
recorded and proposed verdicts.
propose_finding_disposition_correction
Stage an agent’s proposed replacements for diagnoses that are already recorded.
This is the corrective counterpart to propose_finding_disposition_package:
staging writes no findings, and the returned approval_url opens a Human Review
package that a reviewer approves or declines exactly as staged, as a whole; if any
replacement is wrong, they decline it and ask for a corrected package. Read
list_finding_dispositions first so every item has an existing diagnosis and the
new diagnosis is different. The package records the prior verdict for audit, and
approval returns the old-to-new corrections.
The new
disposition must be one of target_defect, source_drift,
promote_pi, promote_delta, spec_defect, instrument_defect, or waived, and must differ
from the finding’s current diagnosis. The package must contain at least one and
at most 2000 items, each most recently exhibited by diff_hash. The tool
refuses an undiagnosed finding, an unchanged proposed diagnosis, duplicate or
unknown findings, and invalid comparisons without staging anything. Nothing
changes until the request is approved, by a person or by an agent using
decide_approval_request for that person. A corrective package cannot be
unsigned; correct it again with another corrective package instead.
In a Prover finding or issue-group chat, authoritative prover_context binds the
correction to the captured comparison and member set. The tool accepts only the
instrument_defect replacement, refuses malformed or stale evidence and changed
membership, and returns the same evidence and idempotent-replay fields as the
initial package tool. It never enqueues remeasurement; a fresh comparison is
required after approval to discharge the Prover finding.
retract_finding_disposition_package
Withdraw a disposition package you staged when nobody has ruled on it yet. This
removes the request from the reviewer’s waiting list without changing any finding
disposition. You can withdraw only a package proposed under your own bot identity;
packages with an existing approval or rejection cannot be withdrawn, and an
already-withdrawn package cannot be withdrawn again. A reason is required and
must explain in one sentence what you got wrong or what changed; a blank reason is
rejected. Read the returned error for the reason instead of retrying. See the
disposition package API reference
for the corresponding HTTP endpoint and response details.
The tool returns
success, package_id, diff_hash, status: "retracted",
retracted_by, retracted_as: "proposer", reason, and item_count. A missing
agent identity, including on a direct tool call that names no agent, fails closed rather
than allowing a caller to withdraw as an agent. This tool records proposer withdrawals
only; when a person declines or policy denies the package’s linked Action Review request,
the review workflow closes the package as retracted with retracted_as set to
"declined_in_action_review" or "policy_denied_in_action_review", respectively.
list_finding_disposition_packages
List the disposition packages already staged for one comparison, newest first.
Use this before staging another package to find work already handed to a human
or to recover a package whose approval link was lost. Each row is a summary with
package_id, title, status, item count, and moved_count. See the package listing
API response
for what moved_count means and how it affects approval. Use read_proposal to
read its proposals and evidence.
The comparison is checked against the visibility of the person the agent is working
for before packages are read. A comparison they cannot open is answered as unknown,
without exposing its packages. The visibility check costs one scope load (four index
reads) before the package read.
The response reports
viewer_can_sign: false and
viewer_cannot_sign_reason: "no_signing_identity" for every row because agents
do not hold a signing identity. Each row also includes approval_url,
approval_generation, and the current action_review head when an Action
Review item owns that package generation. Give a person the package URL, not
the generic Action Review tab; the Prover page is where this package is
decided. A package closed after a person declines or policy denies its Action
Review request appears with status: "retracted" and the matching
retracted_as value; the comparison is then available for a new package. An
unrecognized status returns success: false instead of an empty
list. An empty packages list means nothing has been staged for that
comparison; use propose_finding_disposition_package to stage a diagnosis
batch. The listing reads package events and, when an open package exists, one
findings-ledger read across its undecided items to calculate moved_count.
list_packages
List every disposition package staged for a comparison and the counts by status.
Use this to find package IDs and check whether anything is still open before
proposing another package. Unlike list_finding_disposition_packages, this read
always includes every status so counts.open is a complete count; use
read_proposal to inspect one package’s proposals and evidence.
The response includes
packages newest first, counts (open, closed,
retracted, and total), and open_package_ids. Each package row includes
moved_count, viewer_can_sign, and viewer_cannot_sign_reason. The viewer fields
describe the signed-in caller, not the agent’s borrowed visibility. Open package
rows include their approval URL. Top-level person_exceptions lists items a person
accepted in review on this comparison, separate from package rulings; see read_finding
for the record fields. A lapsed exception has excepted: false and expired: true.
When counts.open is zero but
person_exceptions is nonempty, nothing is waiting for package approval, but a person
has made a decision; report it rather than saying nothing was decided. The comparison
is checked against the visibility
of the person the agent is working for before packages are read. A hidden comparison is answered as
unknown. This read includes approval-item state and page links for every package;
it reads no per-item finding evidence, which is loaded by read_proposal one
package at a time. It reads the comparison’s review log, folds each package’s
status, reads the Action Review link and status for each request, loads the
page-address cache, and reads the findings ledger once across undecided items in
open packages to calculate moved_count; it does not query per-item evidence.
person_exceptions adds one review-log read and, only when an exception exists,
the population resolution and member-set read.
read_proposal
Read one staged disposition package and its decision status, including its
proposals and the finding evidence currently held by the ledger. Use this to
inspect what a package contains before reporting it as ready for review; use
list_finding_disposition_packages to find package IDs.
If the comparison has no package with that ID, the tool returns
success: false; the package may belong to another comparison or may have
been retracted. A successful response includes approval_url,
approval_generation, and action_review when an Action Review request owns
the package’s current generation. The approval URL opens the package’s own
Prover page, and the conversation also renders its decision card when the
package is open. A package staged with for_bundle: true has no individual
request; carry it with propose_approval_bundle to create the one request, or
use the package page’s Ask for approval action if it should be reviewed alone.
The signing card uses the same subject evidence returned by this read; see the
package-read API response
for how it locates failed checks without a structural item.
read_bundles
List the approval bundles still waiting on a comparison, or read one waiting
bundle with its full rationale and members. Use the list before reporting what
needs sign-off; pass a bundle ID to inspect its rule IDs, package finding keys,
and evidence-gap members. Only waiting bundles appear. Reading does not approve
anything; give the person the returned action_review.url as a link labelled “Open the
approval” (its target is approval_url when the bundle has no Action Review request).
For example, list waiting bundles with
read_bundles(diff_hash="a1b2c3d4").
The list includes each bundle’s brief, proposer, timestamp, carried-member counts,
and Action Review request details. The comparison is checked against the visibility
of the person the agent is working for before bundles are read; a hidden comparison
is answered as unknown. The read costs one review-log read and may also plan
evidence-gap populations when a waiting bundle carries gaps. Each returned bundle
also reads its Action Review link and current request status.
record_review_decision
Record a run-level verdict on a comparison when the person in the conversation asks you
to sign it off or reset it, or when the verdict is part of a goal, Blueprint, or mission
they set. The record identifies the agent and person and carries the approval basis. This
is not needed when the comparison is already Verified with nothing left to decide;
read data.review.nothing_to_decide from read_comparison first.
The person must be able to see the comparison. See Prover roles and
approvals
for the owned-agent exception. A missing or unknown
approval_basis refuses with invalid;
when there is no person to act for, the tool refuses with
unidentified. awaiting_review records that the comparison is not approved. With
authentication disabled, the local operator remains the recorded identity. Resolving
the person requires up to two thread reads, one project read, and one users-table read;
recording the verdict reads and appends to the comparison review log. To withdraw a
sign-off you recorded, the person can use Withdraw this sign-off beside its sign-off
line on the comparison’s run page and confirm, or ask you to record awaiting_review here.
That reset records the comparison as not approved; it is not the same as never signing,
and keeps the comparison off Verified until a person approves it again. The returned
folded review state includes decision_approval_basis.
decide_approval_request
Approve or reject a Prover approval request on a person’s behalf when they ask in this
conversation, or when deciding it is part of a goal, Blueprint, or mission they set. The
tool covers Prover requests for disposition packages,
bundles, proposed rules and mappings, seat rulings, evidence requests, and test cases when
the caller is eligible. Other Action Review requests are not eligible. An approval applies
its requested change immediately; a rejection records the decision and applies nothing.
The person must be able to see the request’s subject. With authentication disabled,
approval_basis is still required and the decision is recorded as
local operator (auth disabled). A request that is not a Prover request is refused with
human_authority; a request outside the person’s visibility is
reported as not found. A missing or unknown approval_basis refuses with invalid, and
a turn with no person to act for refuses with unidentified. An agent may decide its own
request when that request is eligible for delegated approval; the record names the agent as
both requester and decider. For an owned-agent request, the recorded basis is
agent_delegated, and the record can separately identify the asking agent and the basis the
agent attested (asked_by and claimed_basis).
To credit an evidence-gap approval to the person’s answer, call in the turn the answer
started and quote it in persons_words; the server only accepts an answer received after
the request was created. For a bundle with no Action Review request, omit reason; decline
it with prover_review(action="retract_bundle") instead.
For a package’s own Action Review request, the agent that staged it receives one
follow-up in the staging conversation with the package’s actual outcome, including
what was applied and rejected or that the package was declined. From when the package
notice is queued through delivery, Action Review withholds its own hand-back. Once the
package notice is durable, it satisfies that hand-back; if delivery is lost before it is
durable, the ruling remains owed and the delivery sweep retries it. A ruling with no
package notice still receives the normal Action Review hand-back. When a bundle carried
the package, the package notice names the bundle request and follows the same one-notice
behavior.
For example, to approve a package the person asked you to accept:
decided, success, final_status, refusal_reason,
execution_refusal_reason, the proposal status (including decided_by_label), and
decision_basis. For a decision this call recorded, decision_basis reads back the
sealed record as {basis, agent, person, persons_words}; for an owned-agent request it also
identifies the asking agent and any different attested basis as asked_by and claimed_basis.
persons_words is present when
the agent quoted the person. It is null when this call decided nothing. If the decision
was recorded but its basis could not be read back, decision_basis is null and
decision_basis_unread is true; tell the person the decision stands but its record was
not confirmed. Do not say the person’s words were stored unless persons_words is
present. Resolving the person costs up to two thread reads, one project read, and one
users-table read. The decision also reads the proposal and its subject’s visibility,
loads policy, records the decision, and reads back its basis in one additional
single-row ledger read; approval runs the request’s application work.
propose_approval_bundle
Stage a single approval bundle for a comparison. The bundle can carry
the three review-queue populations together: correspondence-rule proposals,
disposition packages staged earlier with propose_finding_disposition_package
(prefer for_bundle: true when staging them for this request), and evidence-gap
exception packages. Staging changes none of them. When the
response includes action_review, send its url to the person; otherwise use
approval_url or, when it is null, approval_path. The agent that proposed
the bundle may decide its request for the person when asked or when it is part of a goal
they set, using decide_approval_request.
Attribution follows how the tool is invoked. A Genesis turn is an agent act, even
when it has no attributed agent; a direct tool call naming an agent is attributed
to that agent. A direct call naming no agent is the calling user’s own act, as with
the HTTP route: it is not treated as an agent-origin bundle and does not adopt
pending member requests, though it retains the conversation. Bundle retraction uses
the same acting identity rule.
Use rule_ids or all_proposed_rules for correspondence rules, and use
evidence_gap_package_ids or all_open_evidence_gaps for evidence gaps, never
both forms for the same kind. package_ids names already-open disposition
packages and does not amend them. A bundle must contain at least one member.
For partial-seal open-clause packages, use the bundle API contract
for the bulk-selection exception and explicit package-id behavior.
The response includes
bundle_id, approval_route, approval_url, and carries,
which reports counts against their source populations: proposed rules,
undispositioned findings, and open evidence-gap members. See the
Estate API reference for
route meanings and when action_review is returned. Relay carries.excluded_rules too.
When supplied, brief is also returned with the bundle and shown before its full
rationale on the Action Review request. Keep the brief in plain language and
write proposal and why in at most three sentences each, as requested by the
tool; write weigh as the uncertainties a person should consider. For example:
brief={"title":"Approve the customer ID mapping","proposal":"Record the matching ID on the customer table.","why":"The comparison found a consistent mapping.","weigh":["The sample may not cover every customer.","The source key may not be unique."]}.
A missing part, a part over its limit, or an extra field is refused rather than
shortened. Re-proposing the same standing bundle does not replace its brief. See
Prover review guidance
for what the person sees and what the decision attests to.
The defaults eligibility predicate excludes rules whose subject is a statistic
derived from measured values; each excluded row gives the rule and its reason.
all_proposed_rules never sweeps in a data-derived or unclassified rule. An agent
may carry one only by naming it in rule_ids and proposing a rules-only bundle;
the human’s Action Review request shows the rule’s sealed evidence. See the
Prover review guidance
for what the reviewer sees.
The bundle records the comparison run and population scope at proposal time.
If the same proposer retries with the same membership and scope, the tool
replays the standing bundle instead of creating a duplicate. If a package or
evidence-gap membership changes before approval, the human must receive a fresh
bundle. For details, see the Prover review guidance.
The human signs through the linked Action Review request when it is
present, or the bundle’s API review surface otherwise; no Prover tool can sign
it. On an authentication-disabled deployment, the human review doors
accept an optional X-Genesis-Signed-As header and disclose that self-reported
name in the stored signer label; see the Estate API reference
for the shared signer rule. For ratified rules without attached evidence, the request
names the component pair and licensed object or column; see Prover roles and approvals
for the full reviewer explanation. While that request is live, the carried rules cannot
be signed off separately; the same page explains how a live request on another
bundle blocks approval of a shared rule.
When a person rejects that request, eligible carried agent- or service-proposed
rules are withdrawn from the comparison; see the Prover guidance for the
comparison scope, reversibility, and exceptions.
An agent may name at most one data-derived or unclassified rule in a rules-only
bundle, which uses Action Review. Do not include disposition packages or evidence-gap
packages with it, and do not use all_proposed_rules to select it. Naming more than
one is refused with one_data_derived_rule_per_bundle; combining one with other
members is refused with data_derived_rule_needs_a_rules_only_bundle. A person
naming such a rule is refused; the rule’s own Action Review request is its approval
path.
Other agent bundles that combine Action Review-only correspondence rules with
evidence-gap packages but no disposition package are refused with
agent_rules_need_their_own_bundle; submit those rules and evidence gaps separately.
When an agent bundles a disposition package it staged earlier with
propose_finding_disposition_package, the bundle adopts that package’s pending
Action Review request if the same agent asked for it on behalf of the same
human. The earlier request is withdrawn and the composite bundle request
replaces it; data.action_review.adopted_package_requests lists the withdrawn
proposal IDs. If a member request belongs to someone else, was already decided,
is carried by another bundle, has no conversation-thread origin, or is denied
by package policy, the whole bundle is refused before staging. A request made
without a conversation thread—for example, when a person selects Ask for
approval again on the package page—cannot be taken over by the bundle and is
reviewed on its own. Check
refusal.detail.rule: package_approval_owned, package_approval_decided,
package_in_other_bundle, package_policy_denied, or
package_request_not_adoptable; leave that package out and propose again. If
creating the composite request fails before it exists after adoption, the freshly staged
bundle is withdrawn and the error reports withdrawn_package_requests and
bundle_retracted; the member packages can then be asked for again or included in a new
bundle. If insertion succeeds but reading the composite back fails, the bundle remains
staged (bundle_retracted: false), and the unavailable result names its proposal_id
when known and lists the adopted IDs in withdrawn_package_requests. Repeat the same
proposal to read the existing request; do not stage a duplicate.
evaluate_estate_correspondence_rule
Report whether a proposed estate correspondence rule passes its own accept
and reject fixtures before handing it to a human. This is a report-only check:
it records no qualification evidence, advances no provenance tier, and cannot
ratify the rule. For transition-contract artifacts, use
qualify_transition_contract_rule instead.
The response includes
fixtures_pass, fixture_count, failed,
untested_claims, per-fixture results, the rule’s current provenance, and
qualification_recorded: false. fixtures_pass is true only when every
fixture passes and every claim has a boundary fixture; failed counts fixtures
that did not hold, while untested_claims names claims that have no boundary of
their own. This distinguishes a rule with a failing fixture from one whose
fixtures pass but do not exercise all of its claims. It also returns
ratification_url, actionable, and blocked_by; the handoff follows the same
comparison-pinning condition described for ratify_correspondence_rule above. This
tool evaluates only estate rules; an
artifact hash from the transition-contract registry is refused as the wrong
identifier family.
preflight_databricks_job_contract
Read the profile-ready execution contract from one deployed Databricks Job. Agents
holding prover_tools call it as prover_run(action="preflight_job", args={…}). This performs one or more Databricks
REST calls, depending on the number of Job response pages, and does not modify the
Job. The read follows the Jobs API 2.2 next_page_token until the complete Job is
available; an incomplete response is refused rather than hashed or pinned.
The response includes
job_settings_sha256, job_hash_contract_version, and the
runtime parameter_formats. It returns a canonical run_as when the live Job
identity can be pinned by the profile contract. Otherwise it returns either
run_as_absent or run_as_unpinnable, together with an instruction for correcting
the Job and running the preflight again.
The Job read uses the person on this turn, when there is one, and the agent. An approval-woken turn uses the
thread owner as its person, so a Databricks connection tied to a person’s own
account is read as that person.
Example:
migration_intake_tools
Use this group to start a migration plan from chat. ask_migration_connection
presents the person’s connections as a card when the source or destination is
still open; find_migration_pipelines reads lineage metadata for the source
database and presents a card of candidate pipelines; propose_migration_plan
binds the selected scope and presents an approval card;
get_approved_migration_plan reads the full approved boundary.
The intake and plan-reading calls do not run or modify a pipeline. After approval,
start_migration starts eligible plans as a Mission in the approving chat. These
tools require a signed-in person; the server binds approval to the presented plan.
For the supported approval channels and the user flow, see Approving a plan
without its button.
For the wizard flow and migration stages, see Database migration blueprints.
start_migration launches in goal mode from Plan, and start_onboarding launches
in goal mode from its first phase. For mode behavior, see
Blueprint Library and Missions.
When a held feeds spec exists, get_approved_migration_plan, start_migration,
and apply_migration_plan_amendment return feeds_spec_hash; see the approved chat
migration blueprint
for how the Prove phase uses it.
When a user chooses Not sure? Continue with Eve in the Launchpad migration
wizard, the handoff includes the choices already made and the remaining questions.
Keep those choices, resolve each name (Platform) to its registered connection
id, and continue with the first unanswered question; do not ask for a choice
again. If the handoff includes a [BEGIN MIGRATION PIPELINE CHOICE] block, use
its exact pipeline_ids in propose_migration_plan and do not present the
pipelines card again. Code the user chose in the wizard arrives in a pinned
choice block; pass its code_location to propose_migration_plan instead of
pipeline ids. If a user points to code in ordinary chat without that block, do
not build a location from their message; offer to find the code or move the data
only. For
the user-facing wizard and card behavior, see Migrate data and
pipelines.
ask_migration_connection
The response always includes
connections (connection_id, name, type,
usable_for_proof). usable_for_proof is false for connections that sign in
as each person or run as the signed-in Databricks App user. With card=true,
those connections remain listed, their type.name values appear in
presented.not_for_proof, and presented.proof_reasons gives each distinct
reason once with the affected type.name values in its connections array.
presented.proof_reason retains the first reason for older card consumers, or
is null when none are marked.
With card=true, it also includes a presented card of those connections
grouped by platform, with search and a way to add a new connection; with
card=false, presented is omitted. A source request includes database connections the
person can see and pipeline-service connections the person and selected agent
may use; the source card offers up to 40 of those additional pipeline-service
connections. Foundry is already listed as a data source. Destinations remain
database connections, and the destination card offers a plan-only choice. A
destination response also includes presented.new_container: terms maps each
listed data-connection type to its container word (catalog for Databricks,
dataset for BigQuery, and database for other types), while default_term is
database. The destination card uses this offer to let the person name a new
container inside a listed connection. Ask for the source first; when asking for
the destination, pass the chosen source’s connection_id as
source_connection_id so it is omitted from the choices. A connection click sends
one line naming the pick, such as “Migrate from etf_vignette (PostgreSQL).” for the source or
“Migrate to lakehouse (Databricks).” for the destination; a new-container click
names the listed connection and the container to create, for example “Migrate to
lakehouse (Databricks), into a new catalog foundry_migration.” A typed answer
works too. A plan-only destination sends “Plan only, for Snowflake — there’s no
connection yet.” and continues with target_platform: "snowflake". Each call
reads the registered connections; the source lookup also checks which additional
pipeline-service connections the person and agent may use. The response’s next.activate names
manage_context(action='ADD_CONTEXT', active_skills='plan-data-work'); when the
skill is not active yet, make that activation in the same turn so the chat route
and its pipelines and plan cards are available.
Do not pass a connection with usable_for_proof: false to
find_migration_pipelines or propose_migration_plan, whether it came from a
card click, typed answer, or guided start. Explain its reason using the entry in
presented.proof_reasons whose connections includes that connection’s
type.name, and offer
connections whose usable_for_proof is true. The card marks these connections
as Not usable for proof; choosing one displays the reason and
shared-credential choices instead of sending the pick.
When the destination is a new catalog or schema in a listed connection, pass
the chosen connection as target_connection_id and the requested catalog and
schema as target_database and target_schema to
propose_migration_plan. These fields select the namespace but do not create
it. For Databricks destination plans that copy the source first, a visible
missing catalog is marked in defaults_applied as target_catalog:create or
landing_catalog:create; create that catalog before the data moves. For a
warehouse whose catalog list is empty or unavailable, Genesis does not infer
that the catalog is missing. Schemas still need to exist before the data moves.
For the user-facing
answer behavior, see
Migrate data and pipelines.
find_migration_pipelines
For a database source, the response includes grouped pipelines, their
read/write tables and code locations, producer-search status, and a
presented
pipelines card. If there are no pipelines, the card may offer candidates matched
by table name only; keep them only when the person selects them. Every table in
the selected schemas is included in the plan: kept-pipeline tables are rebuilt,
and other tables are copied as data. A databricks_job without a landing copy
does not copy the remaining tables; a chosen schema the connection cannot read
under its listed spelling is also omitted and named in the plan notes. See the
migration-producers API response
for the meanings of source_scanned, candidates, and code_search. Pass only
the kept pipeline_id values to propose_migration_plan. If lineage is
unavailable or finds nothing, a data-only plan is still possible. The lookup
reads the Context Graph and is bounded to 45 seconds; an older graph can require
table-by-table reads, and a fallback code search may make a second graph read.
The card can also list other_procedures from a SQL Server source: stored
procedures classified as setup, read-only, or having unreadable or dynamic SQL
that prevents lineage from being determined. They are never preselected; keep
one only when the person selects it. If more procedures exist than the card
shows, it tells the person to type one by name.
For a pipeline-service source, the tool does not query database lineage or
return a pipelines card. It checks that the person and agent may use the
connection and returns a next.why handoff instead. For Foundry, activate
palantir_foundry_tools,palantir_foundry_migration_tools and follow the Foundry
migration tools’ next_step instructions; that workflow writes to Databricks.
For Airflow, Astronomer, or MWAA, activate airflow_tools; for dbt Cloud,
Matillion, Airbyte, or Fivetran, activate dbt_cloud_tools, matillion_tools,
airbyte_tools, or fivetran_tools, respectively. Inspect the pipelines, then
continue the migration intake with the database warehouse they load. If Genesis
has no tools for the selected pipeline service, ask which warehouse its
pipelines load and continue with that database connection.
propose_migration_plan
Use
schemas to narrow which source tables move; exclude_objects can further
omit a table or view, but not one a kept pipeline builds or reads. Use
landing_catalog when a databricks_job must copy source tables for its rebuild.
Use code_location only when the person agreed to migrate code in Genesis Git;
do not combine it with selected_pipeline_ids. For code found in the Context
Graph, use the repository id and path from its git://<repo_id>/<path> node,
and include any required files in paths. Never invent paths. A code-location
plan adds one repository permission read and one local Git open.
The code_location object accepts these fields:
The plan response includes the selected objects and their roles, destination,
pipeline list, candidate row keys and their basis, Prover checks, applied
defaults, notes,
blueprint_refusal, and the checksummed bound scope.
For the meaning of blueprint_refusal, see the migration plan API response.
Proposing performs bounded
Context Graph and source-catalog reads and writes the scope record. The server
binds approval to the presented plan; see Approving a plan without its
button
for the supported channels. Use
get_approved_migration_plan with the approved server_scope_id to read the
complete bound object and pipeline lists.
get_approved_migration_plan
Returns the checksummed source and target boundary, selected objects and
pipelines, pinned code revisions, target namespace, naming and runtime, and
scope.target_design when the approved scope has one. Its steps identify the
proposed replacement for each kept pipeline; older approved scopes may not have
this field. For a stated-direction plan, it can also return upstream and
reporting_database with status: "to_be_confirmed" and the corresponding lineage
hint when that side was chosen but still needs Eve’s investigation. Only the person who approved the plan can read it, while they retain
access to its connections. See the migration-plan API response
for the field shape. The upstream block can include pipeline_ids, the
lineage-discovered pipeline ids supplied to Eve for the selected upstream side.
A data-only plan also returns summary.load_recipe: use
bulk_copy for a non-PostgreSQL source, or the destination’s recipe for a
PostgreSQL source. Follow this field rather than choosing a data-only recipe from
the destination alone.
The response may include exact_copy_spec_hash for a plain copy or
landing_copy_spec_hash for an initial unchanged landing copy;
see the start_migration instructions below for when to use each.
start_migration
Call with no arguments on the turn carrying the server-bound approval or a
Launchpad hand-off. The response’s approval record identifies the approver,
channel, and plan requester. It also includes the Plan phase instructions; follow
them. See
Approved chat migration blueprint
for the phases and supported-plan rules.
The tool reads the approved scope record, checks visibility for each bound
connection, checks that each can support proof, and checks the
ratify_source_contract permission. A previously approved plan is refused if a
bound connection signs in as each person; no Mission starts. On success, the
tool creates the Mission project, Git repository, and thread properties, then
enters the Plan phase. A typed approval or a second plan cannot restart an
existing migration; start a new chat to run another plan.
For a plain-copy plan that copies tables without changing their data,
start_migration returns exact_copy_spec_hash when it successfully seals the
approval as the spec. Pass that value as spec_hash to
prover_run(action="prove"); do not author another spec. The field is absent
for plans that transform or rebuild data, or when the spec could not be
recorded. In those cases, author a spec for the proof as usual.
A Databricks job plan that first copies source tables unchanged to its landing
catalog can return landing_copy_spec_hash for that copy. Pass it as spec_hash
when proving the landing copy and author no spec for that proof; the job’s rebuilt
tables use the spec authored from its code. The field is absent when the plan has
no landing copy or its spec could not be recorded.
Example: on the approval turn, call start_migration() with no arguments. The
response includes the Mission details, Plan phase instructions, and the approved
plan’s server_scope_id.
onboarding_intake_tools
Use this group when Eve is onboarding raw or bronze tables into an existing
silver table with the bronze_to_silver_onboarding blueprint. The tools present
the connection, raw tables, target table, and approval plan as chat cards; they
do not map or load data themselves. All database lookups run as the signed-in
person and read their visible connections or live catalog. The explore-first
Launchpad chat route uses the tools below to inspect a stated bucket-folder
direction and draft its pipeline plan; the standard Launchpad plan also starts
the data_onboarding_pipeline blueprint through start_onboarding. For the user
flow, see Onboard raw tables
and the bucket-folder pipeline blueprint.
ask_onboarding_connection
The response includes every database connection visible to the person
(
connection_id, name, type, and usable_for_proof) and a card grouped by
platform, with search and a way to add a connection. usable_for_proof is
false for a connection that signs in as each person or runs as the signed-in
Databricks App user; those connections are listed in presented.not_for_proof
as type.name. presented.proof_reasons groups identical reasons as
{reason, connections} entries, with each connection named by type.name.
presented.proof_reason retains the first
reason for older card consumers, or is null when no connection is excluded.
Each call reads the
registered database connections. Once the connection is known, use
find_onboarding_tables.
find_onboarding_tables
The call reads the live catalog: it reads the database list and visible schemas,
then reads tables from up to four selected schemas. It selects raw-layer schemas
for a source or silver schemas for a target when the database has them, falling
back to all visible schemas otherwise. The response includes table names as
catalog.schema.table (up to 200), the selected schemas and up to 200 other
visible schemas and databases by name, plus connection details. The card puts
listed tables, other visible schemas and databases, and typed lookups in one
search field; it names counts for additional schemas, databases, or tables not
listed. If the connection has no default database and visible databases are
available, the card first asks where to look; it returns no tables and lists
the databases as choices. Source tables are added one at a time and submitted
together with Use selected; a target table is submitted as one pick. Typing a schema,
catalog.schema, or catalog.schema.table offers a lookup choice in the field.
A schema lookup lists its tables. Lookups run as the signed-in person; names
they cannot access are not listed. After both picks, call
propose_onboarding. This tool and propose_onboarding refuse connections that
sign in as each person or run as the signed-in Databricks App user, because the
onboarding ends in a proof Prover cannot make on that connection.
propose_onboarding
This call validates the picks against the live catalog, querying each named
schema. Its response includes the plan and a card with the workflow steps and
approval controls. The server binds approval to that plan; see Approving a plan
without its button
for the supported channels and typed-approval limits. The card’s load option is
enabled by default. Use this tool again when the person changes picks or supplies
the documents folder.
Example:
start_onboarding
Call with no arguments on the turn carrying the plan card’s Approve and start
action or another server-bound approval. It reads the approved picks from that
turn, confirms the person still has access to the source connection and selected
tables, and, for a pipeline plan, the selected GitHub connection. If that
connection is no longer visible, it starts no Mission. It then starts the
approved blueprint as a Mission in the current thread: bronze_to_silver_onboarding
for a table load, or data_onboarding_pipeline for a bucket-folder pipeline.
The Launchpad and explore-first chat route have separate plan tools;
propose_onboarding remains for raw-table plans. The result records who approved
and through which channel. The Mission description comes from the approved
request’s description, not its kickoff text;
see Onboard raw tables
for the typed-approval and load-option rules. If the thread already has an
onboarding Mission, another approval does not replace its original picks.
The explore-first tools are available only when Onboard data, explore first is
switched on in Advanced Settings (Features) and the chat opened with a checked onboarding direction. The user flow is described in
Onboard raw tables.
look_at_onboarding_source
Read one part of the stated direction. The direction comes from the chat’s
opening message, not tool arguments; each answer also returns stated with the
person’s picks and identifies their note and uploaded-document names as data,
not instructions.
The folder look lists one level and profiles up to four files (up to 64 KB
each). The destination look reads database and schema metadata as the person.
Repositories are listed only as far as needed to reach 50 pushable entries; if
the answer says
listing_stopped_short: true, the person may have other
repositories. When a look and the person’s stated direction disagree, use the
evidence to explain the difference in the plan reasons. Ask only for choices
that remain open; never land or write during a look.
propose_onboarding_pipeline
Draft a data_onboarding_pipeline plan card from the direction and completed
looks. The tool validates the folder, warehouse, development target, technology,
and GitHub destination as the person; files are not landed until the card’s
Approve and start action.
The response includes the presented plan card, differences from the person’s
stated direction,
pipeline_draft (the values approval will use), and
draft_origin (bot_id, thread_id, and user_id identifying the chat and
requester that may approve it). For the approval and launch sequence, see
Onboard raw tables.
Example:
measurement_tools
Freeze portable records of database estates, read them back, declare how two
frozen estates relate, and compare them — without opening live database
connections for the compare step. This group is not always-on; agents
receive it when a migration or measurement workflow needs it.
This group contains one action tool, measurement. Each tool in the table below is one of
its actions, under the same name: call measurement(action="<tool>", args={…}) with that
tool’s parameters in args, or action="help" with args={"action": "<tool>"} for its
full contract. The five keep their own names for callers of POST /api/tool_call and the
MCP gateway, under the same permission gate; agents holding this group are offered only
measurement, and a restricted role must be granted measurement by name.
Permission gate: every tool in this group requires manage_all_connections,
including reads. Frozen records can disclose per-column value evidence from
customer estates. The in-app measurement tabs under Migration verification
use the same gate via /api/transition_contract/measure/*.
Relationship to transition_contract_tools: transition-contract tools
compile and execute governed verification runs against live estates with a rule
registry and human ratification. Measurement tools work on frozen records
already stored in the registry. For ad-hoc keyed spot checks without the
transition-contract registry, use
system_diff(action="verify_against_contract", …) from system_diff_tools instead.
characterize_and_freeze_estate also closes a run when its background hand-off is
refused. The response carries success: false, the run_id, and status: "error";
if terminalization fails, it adds terminalization_failed: true and reports that the
row may remain running until startup reconciliation.
characterize_and_freeze_estate
Returns immediately with
run_id and status running. Poll get_measurement_run until terminal. A succeeded run includes frozen_contract_hash for render_frozen_contract and diff_frozen_contracts. The frozen record’s created_by is the signed-in user, or unattributed when the turn has no signed-in user; attested_by remains the separate claim about who asserted quiescence. Read the author from render_frozen_contract rather than treating attested_by as the record author.
declare_measure_correspondence
The caller does not provide
declared_by. Genesis records the declaration on
the signed-in user’s identity and, on a bot turn, includes the acting agent in
that recorded principal. A scheduled or bot-only turn without a signed-in user
is refused with refusal_code: "NO_HUMAN_PRINCIPAL" and stores nothing.
Successful responses include correspondence_hash, declared_by, and
declared.
diff_frozen_contracts
Read
object_pairing before the counts in the response. An unverified declaration licenses no comparison — covered regions come back indeterminate.
See Data Explorer — Measurement tabs and measurement endpoints for the operator UI and REST equivalents.
Estate agent-tool availability
Agent workflows for commissioning, advancing, backfilling, and measuring synthetic transition campaigns, and for source qualification, have been removed. The jitter toolsrun_jitter_campaign, get_jitter_campaign, and
run_clone_jitter_campaign remain in code but are not offered to agents; the
separate estate jitter HTTP routes remain available in the
API reference.
video_tools
Watch an MP4 in a conversation, either from its uploads path or from a direct HTTPS
link to the file: video_transcript returns a timestamped transcript of what is said,
and video_frames saves still frames, a contact sheet or scene changes. The tools
read MP4 with H.264 video and AAC or Opus audio. A URL must
lead directly to an MP4, not a page with a player; YouTube links are refused. Genesis
downloads an accepted link into the current conversation’s uploads before decoding it.
video_frames needs nothing but the shared browser and is always offered.
Give exactly one of relative_path or url. With relative_path, the file must be in
the uploads repository or another repository the caller may view; repo_id applies
only to this path. An uploads path may name a file in another conversation owned by
the same user (for example, <other_thread>/explainer.mp4); files owned by another
person are refused, even in a shared conversation. Generated files still go to the
current conversation’s uploads. With url, Genesis
checks every HTTPS redirect and resolved address before requesting it, refusing private
or otherwise non-public destinations. video_transcript returns segments (start,
end in seconds and text), duration_seconds, and speech_model; an empty transcript
includes no_speech_reason. video_frames returns stills or a contact sheet with their
paths and timestamps, plus how_to_look; up to 16 evenly spread frames listed in
show_images are shown to the agent immediately and remain available for the rest of
that turn (fewer may appear when images are very large). Each shown image adds about
1,200–1,900 input tokens to later requests in the same turn. Use image_analysis
for a frame that was not shown, in a later turn, or when the model cannot read images.
The server accepts files up to
video_tools.max_file_mb (default 200 MB, maximum
1000); it serves video bytes to the shared browser in 8 MB ranges. For a
fragmented MP4 or MOV without a header duration, the browser measures the length before
the tools proceed. A linked MP4 or MOV is downloaded to the current conversation before it
is decoded; video_tools.max_file_mb (default 200 MB, maximum 1000) limits this
download too. video_frames accepts MP4 and MOV files with H.264 (avc1) video.
An iPhone HEVC movie can be transcribed, but video_frames cannot decode it on
the server; re-export it as an H.264 MP4 or record with the iPhone’s Most
Compatible format. video_transcript refuses videos longer than
video_tools.max_transcript_minutes (default 20 minutes). video_tools.timeout_seconds
(default 300) bounds each linked-file download, browser decode, and speech-transcription
step. Speech transcription
runs on the server CPU at roughly five times real time on a busy server; raise the timeout
with longer videos. The speech process uses about 3 GB peak memory. See
Configuration Reference for the allowed ranges.
The shared browser decodes the video; transcription runs the NVIDIA Parakeet TDT 0.6B v2
and Silero VAD speech model on the server; the model is about 2.5 GB. First-use downloads are
enabled by default with video_tools.speech_allow_download=true. Set it to false to disable
downloads. video_tools.speech_bundle_dir defaults to empty, which uses
<storage>/models/parakeet-tdt-0.6b-v2; set it to a pre-fetched model directory for an
air-gapped install. A configured directory is read, never written. Transcription itself does
not use the network. See Speech model availability for when the
tool is offered and how Genesis checks download access.
video_transcript returns the speech model’s segment text unedited. It has no
product-name vocabulary and can mishear terms such as Genesis Prover; listen to a
suspect line when transcript accuracy matters.
<other thread folder>/<file>), so a video need not be copied into the current conversation
first. The thread’s recorded owner must be the person the conversation acts for: a thread
someone else owns is refused even when it is shared with them, as is a thread with no recorded
owner. Frames and contact sheets are saved in the current conversation’s uploads, or in the
owning Slack thread’s uploads when called from Slack.
Speech model availability
Agents are offeredvideo_transcript when the model is installed, or when
video_tools.speech_allow_download allows its first-use download:
Availability is determined by the installed model and these settings; Genesis does not
probe Hugging Face before offering
video_transcript. When the model is missing and
downloads are allowed, video_transcript(download_model=true) starts its one-time
background download and Genesis notifies the conversation when it completes. If the server
cannot reach the download hosts, the download fails and the tool explains how to fix access;
video_frames remains available.
Allowing the download on Snowflake (SPCS)
A Genesis service in Snowpark Container Services reaches only the hosts its External Access Integrations allow, and the speech model’s hosts are not among the defaults. Add these to Custom Endpoints and connect them, the way GitHub’s endpoints are added:huggingface.co:443us.aws.cdn.hf.co:443
hf.co. To see which, run this where egress is open:
Air-gapped installs: prefetch the model
Where the hosts cannot be allowed, fetch the model on a Genesis checkout that has internet:video_tools.speech_bundle_dir at it. Genesis only reads a configured
folder, never downloads into it, and contacts no download host while it holds the whole model.
Transcribing itself never uses the network.
hive_lesson_action
Keep the corrections people give an agent in its Hive Brain lesson ledger. The tool is offered
when Hive Brain is on (rooms.hive_brain_primer_enabled, default true), the agent has
Internal monologue enabled, and rooms.agent_tools_enabled is on (default true).
Corrections inform the agent’s primer. Use wiki_write instead for graph-anchored domain
knowledge about a data asset.
RECORD each correction in the same turn, one rule per lesson; make a separate
RECORD call for each additional rule. If its meaning is already kept in another
lesson, Genesis reinforces that lesson and returns status: "reinforced", matched: true,
and a note naming it, rather than creating a duplicate. promote_reason can make a
lesson active immediately; without it, a lesson becomes active when taught again.
REINFORCE can count a named lesson again by ID, unless this person already taught it
in this conversation. LIST returns lessons most often taught first; pass person to show
only the public lessons taught by a teacher whose name contains that text. Each lesson keeps at
most 100 evidence rows; older rows roll off while occurrences and people continue to
count all teachings, while threads counts only the retained rows. The ledger’s soft cap is
300 lessons. Above it, stale candidate lessons that were taught only once and are not in the
primer roll into lessons-archive.json, with their evidence preserved; when no lesson can
roll off, Genesis keeps the lessons and reduces retained evidence rows as needed. Genesis
records who taught a lesson and where from the conversation, not from tool arguments. When
rebuilding the primer, Genesis groups lessons that mean the same thing and counts the people
and threads behind them.
Only a person’s words addressed to the agent count: a direct message, mention, reply in a
thread the agent is in, or web chat. Scheduled, mail, room, agent-message, watched-channel,
and other overheard turns do not record a lesson. Private conversations keep only general
lessons and do not expose the teacher’s name or conversation. The ledger is readable as
lessons.json in the agent’s hive; DOC_WRITE cannot edit it.
Each call reads the conversation’s messages and the ledger (Git reads). A RECORD that is
not an exact wording already kept also makes one short request to the fast model to check
whether an existing lesson means the same thing. RECORD and REINFORCE also write a Git
commit; record each lesson once. Direct /api/tool_call and MCP
callers cannot use this agent-conversation tool.
user_memory_action_tools
Manage what an agent remembers about each person. With rooms.person_memory_enabled=true,
the tool uses person memory: one shared working tier and a private tier visible only on that
person’s own turn. The switch defaults to false; import existing memory with
rooms.person_memory_import before enabling it; that setting defaults to dry_run, and an
administrator can run an import pass through the
person-memory API. Each write is a Git commit; on hardened
hosts it also makes a durability round trip. A write beyond a tier’s cap is refused rather
than evicting an item. On a turn without an identified person, the working tier can be read
but nothing can be written. Save only what a person says directly to the agent in a
message or line addressed to it; do not save overheard meeting talk, channel chatter,
or context that was not addressed to the agent. See person-memory configuration.
When person memory is off, the legacy actions continue to address the person whose own
message this turn answers. On turns with no confirmed person (including UDF proxy, mail,
room, agent-message and scheduled turns), those legacy actions refuse without reading or
changing memory. Per-person memory files remain excluded from general file, indexing, and
repository operations.
user_memory_action
In person-memory mode,
GET returns person, the working rules and notes
(with their IDs) and profile, and slack_mention when known. It includes the
private tier only on that person’s own turn; otherwise it reports that the
private tier is unavailable without revealing whether it contains anything.
ADD_RULE adds a standing rule to the working tier and the agent’s prompt;
EDIT and REMOVE use an ID returned by GET, and PROMOTE shares one of the
speaker’s own private items on the working tier.
Example:
snowflake_ai_tools
Access Snowflake Cortex AI capabilities from Genesis. In practice, this maps
most directly to Cortex Agent Tools,
Cortex Search Tools, and the
Snowflake SQL helpers below.
When an administrator has hidden the virtual System
Snowflake connection,
agent-facing Snowflake SQL helpers (_run_query_sqlapi, _run_query_async),
Cortex tools (_cortex_search, _cortex_agent), and Snowpark entry points
that default to connection_id="Snowflake" return success: false with
type: connection_disabled if the call targets that connection. Use a
user-created saved Snowflake connection id instead. Internal non-agent callers
are unaffected._run_query_sqlapi and _run_query_async
These Snowflake SQL helpers execute SQL through the Snowflake SQL API.
_run_query_sqlapi runs the statement immediately, while _run_query_async
uses action="submit" and later polling with check_status or get_results.
If either tool returns
requires_confirmation: true, review the returned
classification and sql before retrying. confirm does not authorize
CATASTROPHIC operations, and multi-statement catastrophic work must be
split into single-statement calls so user_override applies to exactly one
operation.When the optional SQL intent-match guard is enabled, these Snowflake SQL
helpers can also return requires_confirmation: true with
severity: intent_mismatch when the planned SQL does not clearly match the
user’s latest request. In that case, wait for a fresh chat reply that
explicitly names the exact operation and target before retrying. confirm
or user_override can still be required afterward by the normal SQL safety
gate.delegation_grant_tools
The delegation_grant_tools group holds one tool, delegation_grants. A delegation grant is a
person’s signed permission for one named agent to take listed acts on named objects until a
stated time. The tool lets an agent draft a grant for the person to sign, see the grants and
drafts that name it, and revoke one when the person asks. It has no action that confirms or
issues a grant and it never sees the hash a person signs: a person signs on their own sign-in,
through a route no tool reaches. A draft allows nothing.
An agent activates this group when it needs to see or propose a grant. Role files cannot grant
it. An administrator can change
action_review.delegation_grants_enabled
to control the feature; no restart is needed. When it is off, the tool’s list is empty and no
grant is honored, though a person may still revoke an existing grant.
When an agent proposes a grant in chat, Genesis can show an inline card with the terms the
person will sign. If the card is unavailable or the thread is reloaded, the draft remains in
Work → Queue. Signing wakes the thread that was waiting so the agent can continue with the
result. When this Genesis address is configured, the proposal result also includes card_url,
a direct link to that draft in the person’s Queue. Migration Mission starts can also offer a Mission-scoped grant; see
Blueprint Library and Missions for that flow.
For a job grant, set
scheduled_job_id to one of the person’s jobs and leave
grantee_agent out. See scheduled-job Mission grants
for its authorization and runtime behavior.
Example job grant draft:
propose accepts up to 20 act IDs and a scope object. Scope fields include
mission_ids, app_ids, source_estate_ids, foundry_module_rids, catalogs,
blueprint, and databricks_connection_id; the server validates which field binds each act.
The optional expires_in_hours uses action_review.delegation_grant_default_hours when
omitted and cannot exceed action_review.delegation_grant_max_hours. The allowed acts are
prover_register_app_estate, prover_seal_app_spec, prover_reproduce_artifact, prover_code_lineage,
prover_certify_substrate, prover_stage_for_person, prover_technical_note, and
prover_declare_should_match, databricks_app_deploy_ack, and databricks_app_share.
Reading a finding or a sealed spec’s substrate needs no grant; agents call those
read tools directly.
Under a grant, prover_declare_should_match is limited to change_expectation="must_match"
with every item expectation also must_match, and only in a Mission using one of the
Foundry migration blueprints: foundry_to_databricks, foundry_logic_to_databricks,
foundry_quiver_to_aibi, foundry_workshop_bundle_to_appkit, or
foundry_workshop_to_app. A granted prover_seal_app_spec can seal a first spec or a
verified recompile only; see the Foundry app guide
for its recompile conditions and proof record.
start_blueprint_mission does not issue a grant through this tool. A grant may authorize a
Databricks Apps deployment or sharing, but not deployment to another backend or a secret
change. When a deployment shares the app with recipients beyond its recorded access list,
the same grant must cover both databricks_app_deploy_ack and databricks_app_share; those
uses are counted together. The share act grants CAN_USE on the app only, not access to its
data. An app_ids value may end in one * after at least three fixed characters;
other scope values do not accept wildcards. A draft expires after one hour if it is not signed.
org_health_tools
The org_health_tools group is the private, read-side loadout for the
customer-facing GenesisAuditor agent. It audits the deployment’s AgentSkills
packages, blueprints, and live agent activations against the pinned Genesis
Organization Model, then reports structural findings with source coordinates.
Only the GenesisAuditor identity can invoke this group; it is not discoverable
by other agents. Its separate org_health_fix_tools group proposes the auditor’s
fixes for a person to apply in Action Review; this read group has no configuration,
data-connector, or handoff tool.
The audit reads the deployment’s files and metadata. Run it once for a review and
use the returned summary for complete counts and rankings. By default, the audit
returns findings from organization content: content the customer authored or
imported. Use platform for Genesis-shipped content, or all for both content
universes plus findings whose provenance is unknown. Findings against a live agent’s
own configuration (agent:<agent_id>) are always organization findings because the
deployed configuration is administered by this organization, regardless of who
seeded the agent. The summary always reports all, organization, platform, unknown,
and hidden totals for findings and unclassified references, so you never claim more
than the requested scope shows. Do not present findings or unclassified references
from another scope unless the user asks about that content. The findings,
unclassified references, owned skills nothing loads, blueprint lint, and co-load index
can be paged when the response exceeds the inline tool-output budget.
Every page re-runs the audit and uses audit_id plus the same scope to refuse a
continuation when the organization or visible audit lists changed between calls.
Skill activation findings use the runtime’s identity resolution order rather than
matching pins to package directories by name alone. A package’s SKILL.md
frontmatter name and supported compatibility aliases can resolve to that package;
when a package directory has the same name as a requested identity, the directory
identity takes precedence. Repository-backed skill specs are also checked by reading
their names from the existing skills/skills_repository.json file without creating
or seeding a repository. This prevents a valid frontmatter name, compatibility
alias, or repository-backed spec from being reported as a missing skill. If the
repository file exists but cannot be read or parsed, the audit reports a read gap
instead of claiming that no spec resolves the pin.
When the audit reads a Git-backed skill’s full document, it uses the package
already admitted for that read. With features.skill_revision_tracking off (the
default), it reads from that package’s checkout; when revision tracking governs
the skill, it reads from the pinned revision.
run_organization_audit
Run the organization audit for a requested content scope. No business data is queried
or changed, and this read-side operation does not modify audited artifacts.
The response includes the pinned doctrine name and hash, deployment and corpus
metadata, findings with
provenance, unclassified_references with each reference’s
file and line coordinates plus provenance, counts, summary, co-load totals, and
read_gaps when part of the deployment could not be read. Unclassified references
could not meet the analyzer’s evidence gate, so inspect them under the audit response’s
“could not classify — check these” heading rather than treating them as dead references
or defects. blueprint_lint lists each blueprint’s slow designs by the
blueprint lint’s
rules, with the rule, the fix and the phase’s coordinates. Entries with source: "pattern" come from re-running the lint’s pattern rules on the manifest as it is now;
entries with source: "recorded_review" are what the lint’s model review recorded when
the blueprint was last saved. The audit makes no model call of its own. These entries
are not findings and are not counted in findings_total; summary.blueprint_lint_total
counts the ones in the requested scope. A finding that spans owners can appear in both organization and
platform scopes because each owner has a copy to act on. Use
get_organization_finding for the source behind a finding,
get_organization_co_load_set for one co-load breakdown, and
get_organization_skill for a complete skill document.
get_organization_audit_page
Continue one list from a response whose corresponding page reports
complete: false. This tool is also read-only, but it re-runs the full audit on
each call. Pass the same scope as the page being continued; the audit reference
and scope together identify the visible findings list.
If the inline budget cannot fit even one entry at the requested offset, the tool
returns an error rather than a cursor that cannot advance. The budget is controlled
by
tools.output_governor.inline_budget_bytes.
org_health_fix_tools
The org_health_fix_tools group holds GenesisAuditor’s fix proposals. Only the
GenesisAuditor identity can invoke it, and it never changes anything itself: each
tool files an org_health.fix.v1 proposal in Action Review, which always waits for a
person, even when admission policy would allow the action. The fix is applied only when
a person who may manage the target approves and applies it. The group is silent by
default (org_health.fix_mode), and only organization-owned content can be fixed. The
user must explicitly ask GenesisAuditor for a fix; an earlier audit finding is not
authority to propose one.
When a person applies a fix, Genesis re-checks the fix mode, the person’s right to
manage the target, and the target itself. It writes only if the target still holds
exactly the state the approved proposal expected. The execution receipt records the
state the fix replaced, so the fix can be reversed.
For fixes that edit a whole blueprint manifest or skill document, Genesis measures
the handler-known serialized proposal content before admission. If it exceeds the
org_health.proposal_payload_max_bytes ceiling, the fix is refused before an Action
Review proposal is stored. See Advanced Settings
for the 750000-byte default and fallback behavior.
remove_dead_skill_pin
Propose removing one skill pin from a target bot’s active_skills context default.
The proposal re-checks the current policy, skill corpus, aliases, specs, and the
agent’s live pin list, and keeps every other stored pin unchanged. Nothing changes
until a person applies it; applying repeats the proof and refuses if the agent’s pins
or skill access policy changed since the proposal. The response reports
pending_review and the action_review.proposal_id.
Proposing refuses when the identity is missing or incorrect, the fix mode is not
active, the requesting user may not manage the agent, the target cannot be
canonicalized, the doctrine or gate cannot be read, or the pin is not inert. See
Advanced Settings for the
configuration key and default.
admit_blocked_skill
Propose admitting one skill that an agent activates but its own skill access policy
excludes. Use this for an OH-AGENT-SAT finding after asking the user which of the
two honest resolutions they want: admit the skill with this tool, or remove the
activation with remove_dead_skill_pin. This tool changes only that skill’s
treatment in the access list; it never changes skill_access_mode or widens the
agent to all skills. Nothing changes until a person who may manage the agent applies
the proposal in Action Review. The response reports pending_review and the
action_review.proposal_id while it is waiting.
The proposal re-proves that the agent still activates the skill, that its policy
still excludes it, and that the skill would load after admission. It refuses for a
system seat such as
GenesisAuditor or Eve, an already-permitted skill, a skill the
agent no longer activates, or a name that resolves to no skill package. It also
refuses a repository-backed skill spec because that spec loads without a
SKILL.md body; author a skill package for the name or retire the spec instead.
For an allowlist, the proposal adds the skill name; for a denylist, it removes the
name. See Advanced Settings
for the configuration key and default.
repair_blueprint_skill_requests
Propose repairing every selected phase in one organization blueprint that requests
a skill which does not exist. Pass one entry in repairs for each missing skill:
omit replacement to remove the missing name, or provide an existing skill only
when the user explicitly chose that replacement. Omit phases to repair every
phase that requests the missing skill. The proposal re-checks the missing names,
replacement packages, blueprint source, and manifest before filing the edited
manifest for Action Review. Nothing changes until a person with permission to
manage the blueprint applies it.
The tool refuses a replacement that is not an existing skill package, a blueprint
whose source is remote or cannot be established as local, or a second proposal for
the same blueprint after the first has been applied. Applying the proposal rewrites
the manifest, so YAML comments in that manifest are not preserved; the prior text
is recorded so the fix can be reversed. Whether a replacement is admitted by the
agent’s skill policy is not checked. See Advanced Settings
for the configuration key and default.
repair_dead_skill_reference
Propose repairing every selected dead skill reference in one organization’s SKILL.md.
Pass one entry in repairs for each dead reference in that document: omit replacement
to remove the reference wherever it occurs, or provide an existing skill only when the
user explicitly chose that replacement. Put every dead reference in the document in one
call; the proposal is compared against the whole document, so a second proposal is
refused after the first is applied. Nothing changes until a person with permission to
manage skills applies the proposal in Action Review.
The tool re-checks each dead reference at its exact lines, verifies each replacement is
an existing skill, and proves the edited document still loads without the finding or new
findings. Removal is supported only when the reference occupies a whole list item, table
row, or line; a reference inside a sentence is refused and must be repointed or rewritten
by a person. References that could not be classified, skills published by managed
repositories, and skills Genesis ships are refused. See Advanced Settings
for the configuration key and default.
cut_routing_cycle
Propose cutting one user-selected edge from an OH-CYCLE routing cycle. Pass the skill
whose routing row should be deleted and the skill that row points to; this tool never
chooses the edge for the user. One call proposes one edge, and nothing changes until a
person who may manage the skill applies the proposal in Action Review. The proposal
re-checks that the skills are still in a routing cycle and that deleting the selected row
breaks their remaining paths. If another path still connects them, the proposal is
refused and names the skills that continue to cycle so the user can choose another edge.
The proposal deletes only a whole routing row whose only backticked content is the
routed cell. Rows containing another skill, another backticked token, or the routed
skill repeated in prose are refused and left for a person; rows in the frontmatter block
are never deleted. Skills published by managed repositories and platform skills Genesis
ships are also refused. Any other cycles remain listed on the Action Review card, and the
user is told about them before approval. The response reports
pending_review and
action_review.proposal_id while the proposal waits. See Advanced Settings
for the configuration key and default.
retire_broken_blueprint
Propose hiding one organization blueprint whose manifest has an OH-PARSE finding.
The proposal re-checks that the manifest still fails to parse and files removal of
the blueprint’s registration from the live listing. The manifest is not deleted,
and a person can reverse the applied fix through reverse_org_health_fix.
Retiring a managed-source blueprint also requires repository-management permission
from the person applying it. A blueprint synced from a remote repository is not
edited by this tool; change it in the source repository instead. See Advanced Settings
for the configuration key and default.
reverse_org_health_fix
Propose undoing one applied organization fix by restoring exactly the state the fix
recorded before it changed anything. Like a fix, the reversal waits in Action Review
for a person who may manage the target. A reversal proves only that nothing about the
target’s recorded state changed since the fix: for a dead skill pin, the agent’s pins
and its skill access policy; for a blueprint skill repair, the manifest text; and for
a retired blueprint, its registration. It does not repeat the fix’s own check. It is
refused if the fix was never applied, if it is itself a reversal, or if any recorded
field changed after the fix, when proposed and again when applied.
get_organization_finding
Read the evidence at a finding’s exact coordinate before describing it to a user.
For a corpus file, the response returns surrounding source lines. For a live-agent
coordinate such as agent:<agent_id>, it returns the agent’s activation evidence.
The default scope is organization; pass platform or all only when the user asks
about that content. The response includes provenance counts for that coordinate.
get_organization_co_load_set
Open one co-load set to see each member’s character contribution, provenance, missing
members, blocked members, source coordinate, and total size.
get_organization_skill
Read one complete SKILL.md, including frontmatter. The response includes the
document text, character count, path, and whether the result is complete.
audit_organization_health
This entry point is in system_manager_tools, which Eve holds. It starts a hidden,
background GenesisAuditor thread and returns its thread_id and handoff_id.
The background run reads the organization’s skills, blueprints, and agent records;
it can spend model budget and creates a thread and messages, but the auditor’s own
loadout cannot modify the audited organization.

