Overview
The Blueprint Library is the reusable workflow catalog inside Genesis. It lets customers browse curated blueprints in tile or list views, search and filter them, sort by name, author, source, or dates, import or export ZIP packages, and start new missions from a known workflow pattern.
slack_issue_rca blueprint is a sample Mission for issues posted
in a monitored Slack channel. Configure a monitor with work: mission and
blueprint: slack_issue_rca to start it for matching messages.
For production alerts, use the shipped slack_incident_response blueprint. Add
a Slack channel monitor with work: mission and
blueprint: slack_incident_response; monitors are disabled until configured
(slack.channel_monitors defaults to []). Choose a trigger that matches the
alerts in the channel; the monitor’s default trigger is tagged. See
Slack Tools for monitor fields and defaults,
and Slack setup for Slack
prerequisites.
Monitors can also start a custom blueprint; Genesis passes only the Slack
context fields that blueprint declares as inputs. See Slack Tools
for input filtering and Mission-start failure handling.
The foundry_logic_to_databricks, foundry_workshop_to_app, and
foundry_workshop_bundle_to_appkit blueprints treat
starting a Mission as the go-ahead for the steps they describe; questions needing
person-held information appear as cards in the Mission thread and are also listed
in Work → Queue. See the
Palantir Foundry integration guide
for the workflows, including the edited-object plan in foundry_to_databricks.
The data_onboarding_pipeline blueprint’s proof loop checks source-side data
against the latest row per key that the target keeps, rather than counting every
copy retained in bronze. Apply the mapping’s latest-state step before filters;
the same checks run again when another file arrives. Before its first proof, the
mission reads the authoring seat’s findings and the sealed checks; it repairs a
spec defect before proving.
Repairs use the Prover repair workflow and the full parent spec_hash; see
How Agents Drive the Prover.
The Mission acknowledges each alert in its thread with a severity guess and
first check, then investigates read-only using connected tools. It reports
sources it could not check instead of guessing, and files one ServiceNow or Jira
ticket when available (otherwise it posts a ready-to-file summary). People can
steer the work by replying in the thread. The Mission asks for a person’s
explicit go-ahead in that thread before applying a system change; it posts only
milestone updates and a resolution summary there.
Other pending approvals for the Mission are also surfaced in its Thread tab,
above the composer; see Chat and Threads for details.
Main library actions
White-labeling can product-name shipped blueprint display titles. See
Branding.
Blueprint lint in the editor
In the Blueprint editor, select Lint blueprint beside the save actions to check the current draft without saving it. The lint combines pattern checks with a fast-model review and reports where a design may make each run slower, with a problem and suggested fix. For an existing blueprint, it checks the saved manifest with the editor’s unsaved changes applied. Use Apply fix on a finding, or Apply all fixes, to revise the draft and run the lint again; review the revised phases and save them when ready. A finding can instead be marked intentional. To keep a rule from appearing for a phase, add its rule ID to that phase’slint_ignore; put lint_ignore under
blueprint to ignore it across all phases. For example:
create_blueprint tool reference
for the agent action and Blueprint lint endpoints
for the REST API.
See Git Action Tools for branch guidance.
If blueprint discovery reports repositories in
unconfigured_repos, those
repositories are present on disk but are not registered as managed blueprint
sources. Before editing or syncing blueprints in one, register it in the
Genesis web app at Blueprints → ⋯ menu → Remote Repositories → Configure.
Register each repository separately; registration is performed by the user in
the web app, not by a tool call. Without registration, blueprint discovery,
canonical per-blueprint branches, and dashboard merge-request surfacing will
not work correctly.Creating a new blueprint from example threads runs asynchronously. During
generation, Genesis can report
pending, analyzing, generating,
optimizing, and saving before the job reaches complete or error.
If analysis or manifest synthesis reaches the model’s output-token limit,
creation ends in error rather than saving a partial blueprint. If the
optional optimization reply reaches that limit, Genesis keeps the complete
synthesized manifest and continues without optimization.Library index resilience
When Genesis encounters a malformed field in a hand-written blueprint manifest while building the library index, it skips that blueprint instead of discarding the entire library. The remaining blueprints stay available; the generated index summary reports how many entries were skipped, and the server log names the affected blueprint and the manifest rendering error to help you correctblueprint_manifest.yaml.
On the Blueprint detail page, the Author row shows a readable author label.
Genesis uses the RBAC creator’s display name or email for custom blueprints when
available, then falls back to the manifest author and finally Unknown.
Genesis-shipped blueprints display Genesis Team, or the white-label product
name in reader-facing copy when white-labeling is enabled. The API fields are
documented in Key Blueprint detail response fields.
Blueprint detail recovery
For a validation error while the detail page is showing an active working copy, the page offers Retry or Discard working copy. Discarding requires confirmation and removes the working copy and its branch, including local commits and uncommitted changes; it also closes any linked pull request. This cannot be undone. See the Blueprint detail API reference for the validation response behavior.Hidden built-in blueprints
The built-inupgrade_check blueprint is marked hidden: true, so Genesis does
not include it in blueprint listings. The post-upgrade check starts it by name
through the internal upgrade-check API. Its single fast-tier phase uses the
read-only get_project_bots tool to count the mission’s agents, writes that
count to reports/upgrade_check.md, and exits. A completed mission verifies
that the mission engine, a tool call, and the configured LLM still work. See
Internal upgrade-check endpoints
for the API that runs the check.
Genesis’s own release and QA test blueprints are hidden the same way:
system_test, system_test_lite, spcs_system_test, fast_test_tier_matrix,
llm_qa_lite, llm_qa_full and cli522_smoke_test. They do not appear on the
Blueprints page, in the agent’s blueprint index, or in capability search. They
still start by name, through POST /api/blueprints/{blueprint_name}/start, the
agent’s start_blueprint_mission tool and
Programmatic BlueprintRun; Genesis’s
release validation starts them that way. The customer-facing fast_test and
genesis_health_check blueprints stay listed.
A hidden built-in still owns its name. Creating, copying or renaming a custom
blueprint to that name is refused with HTTP 409, and an imported blueprint with
that name is installed under a numbered name such as system_test_2.
Local and managed installs
When you import a blueprint ZIP, Genesis supports two destination patterns:- Local install is the default. Genesis installs the blueprint into the
local
blueprintsrepo and registers it in the Blueprint Library immediately. - Managed repo install writes the blueprint into the selected managed git-backed blueprint repo, commits it in that repo’s working copy, and registers the managed artifact for shared use.
REGISTER_BLUEPRINT cannot find a manifest in its usual blueprints/
lookup, a supplied blueprint_name triggers a repository-wide search. If more
than one manifest declares that name, registration refuses with the candidate
paths; pass file_path naming the directory of the intended blueprint. An
unnamed registration does not guess from the first manifest it finds.
Managed blueprint visibility
Each Genesis instance stores managed-blueprint enablement locally. A blueprint published by a managed source appears in the Blueprint Library only when its artifact is enabled on that instance. If an administrator disables the artifact, Genesis omits it from both the library and the blueprint capability registry; the source’s selectors and the repository contents are unchanged. To diagnose or restore a disabled managed blueprint, open Config → Managed Sources → Blueprints on the owning source and enable the artifact, or call:REGISTER_BLUEPRINT
reports that the managed source still controls visibility and returns the
enablement hint. Likewise, UNREGISTER_BLUEPRINT cannot hide a managed
blueprint; it can remove only a stale manual registration, without changing the
managed artifact’s visibility. See the managed-source endpoint details in the
Genesis API reference.
Deleting a provisional blueprint saved into a managed source retires its
artifact registration as part of deletion. If a Mission still uses it, Genesis
hides the blueprint first and retires the registration after the local cleanup
completes; released artifacts remain owned by their source.
When an administrator deletes a managed source, Genesis stages its ownership
records before cleanup so a failed deletion can be retried without the deleted
legacy source returning after a reload. See the managed-source deletion
contract
for retry behavior and error codes.
For remote-backed Blueprint workspaces, manage_own_git can start, discard, or
submit a pull request only when the person also has write access to the
Blueprint’s backing repository. manage_git reaches every repository; the
same ownership rule applies to renaming a remote-backed Blueprint. See the
RBAC scope guide.
The commit-revert API’s access checks are documented in the
Blueprint revert endpoint reference.
Organization health blueprint fixes
Whenorg_health.fix_mode is active, GenesisAuditor can propose repairing
missing skill requests or hiding a blueprint whose manifest does not parse. These
changes wait in Action Review for a person with the required management permission;
remote-backed blueprints are changed in their source repository rather than by the
local fix. See the GenesisAuditor tool reference
for parameters, refusal conditions, and reversal behavior. The proposal uses the
same plain-language decision brief and full-record disclosure described in
Chat and Threads.
Import collisions and versioned updates
Genesis previews every blueprint ZIP before importing it. When no blueprint matches, the package is installed as a new local blueprint. When the exported identity matches an editable local blueprint, the import dialog offers:- Import as a separate copy keeps the existing blueprint and installs the
package with a suffixed name such as
_2. A versioned package restores its bundled history into the new copy. - Add as a new version keeps the existing name,
blueprint_id, access rules, production assignment, and destination-owned history. Genesis saves the imported working copy as the next local version. Re-importing identical content is an idempotent no-op. Genesis also commits the import to the backing Git repository (Import blueprint version: {name}) so it appears on the blueprint’s Edit History tab. The import dialog includes a Promote the imported version checkbox; select it only when the new version should immediately become production. Otherwise, review and promote it later from the Versions tab. - Replace swaps the editable working copy without creating a version. Existing ownership, access grants, destination version history, and production assignment remain unchanged, so the replacement appears as working-copy changes relative to the current baseline.
created is a
non-empty creation string preserved verbatim, tutorial_mode is a boolean
retained from the source (including false), and copied_from is the
non-empty immediate source blueprint name set by COPY_BLUEPRINT. Invalid
values are reported as metadata validation errors.
Exports created by current Genesis versions carry identity metadata and can be
matched automatically. Older ZIP exports remain supported, but because they do
not contain a blueprint_id, Genesis requires explicit confirmation before
using an exact name match for Add as a new version. Default, WIP, ambiguous,
and managed-repository blueprints cannot receive ZIP-imported versions;
managed artifacts should be updated through repository sync.
Blueprint import copies files with symlink confinement: entries whose real path
resolves outside the source root are refused (following them would pull external host
content into the managed, API-readable blueprint). Refused symlinks are neither copied
nor treated as a loss — they are excluded from the import completeness check so a
blueprint that legitimately contains an escaping symlink can still import successfully.
_blueprint_tool(action="INSTALL_BLUEPRINT_FROM_UPLOAD")
and create-only IMPORT_BLUEPRINT paths refuse same-name collisions. Use the
Blueprint Library import UI or the REST import endpoints above when you need
Add as a new version or Replace behavior.
To move an updated blueprint between Genesis instances:
- In the source instance, open the blueprint card’s actions menu and choose Export.
- In the destination instance, choose Blueprints → Actions → Import and select the downloaded ZIP. For exact file-selection behavior in downloaded Blueprint packages, see the API export reference, alongside its endpoint-specific manifest details.
- Review the detected identity. Choose Add as a new version to update the same logical blueprint while preserving destination history, Replace to swap only its working copy, or Import as a separate copy to keep both.
- After a version import, open the blueprint’s Versions tab to review the newly created local version. Promote it only when it is ready for production. Promoting from Versions switches the detail view to Production Version so you can inspect the pinned snapshot immediately.
Remote repository selector matching
When you configure or edit a remote repository source, Genesis scans the selectedrelease_ref and shows a preview grid of discovered artifacts. The
checkbox state in that grid follows the same include / exclude selector
rules that Genesis applies during sync.
includeandexcludearestring[]fields, and both default to empty lists.- Selectors without glob metacharacters are exact matches.
- Selectors containing
*,?, or[...]use shell-style glob matching. - Genesis compares each selector against
artifact_id,artifact_type:artifact_id,path, andartifact_type:path, whereartifact_typeisblueprint,app, ormission. excludeoverridesincludewhen both match the same artifact.
blueprint:sample_* matches blueprint IDs by prefix, while
apps/team/* matches artifacts by repository path.
Sync recovery and reauthorization
Remote repository sync can now return an actionable warning instead of only a generic failure when the saved Git provider grant has expired.- When Genesis detects an expired OAuth grant during repository add, update, or manual sync, the warning toast includes a Reauthorize action for the affected provider.
- Completing that reauthorization refreshes the saved connection so you can retry the repository sync and pull the latest remote changes.
- When you start a mission from a remote-backed blueprint, Genesis first tries a best-effort refresh of the release copy. If that refresh fails, the mission can still start from the previously synced commit or version, and the warning tells you what release Genesis used and how recently it was last synced.
- If the failure is the same expired OAuth grant case, the mission-start warning can include the same Reauthorize action. Missions that already started keep running on the previously synced release.
Card summaries
Blueprint cards and list rows are optimized for fast scanning. Each entry shows a Genesis (gold) or Custom provenance badge so you can distinguish Genesis-shipped blueprints from customer-created ones at a glance. Tile cards also show the resolved Author (for example Genesis Team on shipped blueprints by default, or the RBAC creator’s display name or email on custom blueprints). When a blueprint manifest includesblueprint.short_description, Genesis uses
that text on the library tile and falls back to the full description when
short_description is blank.
Keep short_description outcome-focused and around 116 characters for the best
card layout. The Blueprint editor accepts up to 200 characters, but the library
truncates longer visible summaries on the card.
Quick preview from the library
Use the preview action on a blueprint card to open a lightweight modal before leaving the library. The preview can show the full blueprint description, use cases, key features, tags, and the first phases in the workflow. From the same modal, you can open the full detail page or start a mission immediately. Starting a mission from the preview modal or full detail page uses the standard mission-start flow: Genesis creates or reuses the Mission context for that conversation and enters the blueprint’s entry phase automatically. The Mission’s chat stays until the Mission is deleted. See Chat and Threads for the chat-deletion behavior. Deleting a Mission releases its chat’s Mission binding, so you can start another Mission in that conversation. At the top of the Start Mission modal, Genesis shows the selected blueprint name and description. Long descriptions are clamped to four lines by default so the rest of the setup form stays visible. When the description is truncated, Genesis shows Show more and Show less so you can expand or collapse the full text without leaving the modal. The same modal also lets you choose an LLM provider and chat tier (frontier, main, or fast) for the mission thread. Genesis persists these
as mission kickoff defaults on the thread and uses them for subsequent chat
turns unless a turn supplies its own explicit model override. When you leave
either control at its default, Genesis uses the selected agent’s inherited
provider and chat tier.
For exact-model pinning at Mission kickoff, see the
start_blueprint_mission parameter reference.
On Genesis Desktop, selecting a provider other than Genesis AI opens the
Genesis Enterprise modal instead of changing the mission provider. With
white-labeling enabled, the provider label in this modal follows the configured
product name; see Branding.
The modal also shows the Working context controls described in
Working context selectors.
Choose the repository, an optional folder, and the connections for the mission;
Genesis validates those selections before creating the Mission thread. If no
repository is selected, the blueprint’s resolved mission repository is used
when the mission-start flow supplies one. The selected working context is saved
on the resulting thread for subsequent chat turns.
For a migration blueprint, when authentication is on and delegation grants are
enabled (see action_review.delegation_grants_enabled),
the modal offers a checkbox to let the selected agent act under a grant scoped to
this Mission. It starts checked; clear it to start without that grant. The grant
stops authorizing work when the Mission ends. Starts made without this person’s
checkbox, including API and agent starts, can leave a draft for the Mission’s
person to sign in Work → Queue; a draft allows nothing until signed.
On hosted Genesis, a child Mission started by a blueprint-chain handoff from a
person-owned Mission carries over that parent’s still-active grant for the child
Mission; it does not need another signature. If there is no eligible live grant,
the child follows the usual draft flow. The inherited grant keeps its existing
scope and expiry.
Scheduled-job Mission grants
A person can authorize one of their scheduled jobs to start Blueprint Missions by signing a grant drafted withdelegation_grants(action="propose", scheduled_job_id=...).
Its scope.blueprints lists the allowed blueprints; optional
scope.max_concurrent_missions limits how many of that job’s Missions may be running.
The grant can last at most one week and may include prover_seal_app_spec in acts
to allow the Missions’ first seal. The grant carries the job’s standing into those
Missions when they clarify, author, and seal. New starts are checked against the limit;
resuming a Mission is allowed but still counts toward later starts. The run itself or
one handoff from it may start the Mission only when that job has the person’s signed
grant. This is always required for a job created from mail, a room message, an MCP
session, or another agent’s turn, even when
action_review.require_job_start_grants is off. Such a run can use only its own job’s
grant; it cannot hand off to a Blueprint Mission without it. See
delegation-grant tool parameters.
Whether every scheduled job must have a signed grant, and the fail-closed cases that
apply even when it does not, are controlled by
action_review.require_job_start_grants; see Advanced Settings
for its default and enforcement details.
If workspace Code Execution Controls prevent the mission from starting, the
modal identifies the required tools that are blocked. Viewers who can manage
workspace policies can open Workspace Policies → Tool Permissions → Code
Execution Controls from the notice;
other viewers are prompted to ask an administrator to enable the tools.
The Assign to agent dropdown lists agents by display name but stores and
submits each agent’s bot_id. Genesis matches the selection by bot_id only —
display names are labels, not identifiers, so an agent merely named Eve or
Adam is never treated as the built-in agents with those ids.
For disposable demo blueprints (manifest tag demo:disposable), start the
mission through the presenter routes. The
client_file_onboarding blueprint is also available from the standard Start
Mission modal: the web client generates a browser-tab
presenter_session_id (pattern presenter- plus 1–20 lowercase letters or
digits) and submits it without a demo_scope. Genesis derives the canonical
demo_scope from your authenticated user id and that session. For other
presenter starts, submit both demo_scope and presenter_session_id.
Genesis persists the scope with a collision-resistant demo_resource_scope on
the Mission, appends the scope to the mission name, and returns both identifiers
from ENTER_PHASE so every mutable artifact can be namespaced without
colliding across concurrent Sales Engineering runs.
Genesis rejects starts where a submitted demo_scope does not match the scope
bound to that session and user. Genesis reads the tag from blueprint metadata at
start time — blueprint name alone does not mark a workflow as disposable.
Approved disposable demo blueprints are client_file_onboarding,
demo_dashboard_root_cause, and demo_data_migration.
Presenter Controls
The Presenter Controls panel is no longer in the web UI. The user menu
offers the same Genesis Staff users a Presentation mode toggle instead
(below). The presenter routes described here still prepare, start and clean up
each vignette for API clients.
Presentation mode
On an instance withfeatures.presenter_controls_enabled, Genesis Staff users
see a Presentation mode toggle (screen icon) beside their name in the user
menu. Turning it on shows only the page, without the header and side panels, for
screen sharing. Exit presentation or Esc turns it off. The mode lasts for the
browser tab, across reloads.
Presenter routes
Presenter Controls was a header panel (sliders icon) for Genesis Staff users whenfeatures.presenter_controls_enabled is true. It prepared, reset, and cleaned up Sales Engineering
vignettes so every demo starts from a known baseline and only deletes resources
owned by the current presenter session.
The rest of this section describes that retired panel, for reference: its
scenario cards, selectors and buttons are gone. API clients reach the same
prepare, start and cleanup operations through the
Presenter Controls endpoints.
Genesis stores one presenter_session_id for the browser profile in localStorage
(format presenter-{id}). The backend combines that session with the
authenticated user to derive a deterministic demo_scope and prove exact
ownership before any mutation. All tabs in the same browser profile therefore
show the same presenter examples; other browser profiles and users remain
isolated for active work. The proactive dbt Cloud card additionally shows the
newest completed dbt run and Slack investigation from the demo environment so
every authorized presenter has an immediate finished example.
Reusable demo versions
Presenter Controls keeps a version catalog for the three reusable scenarios: Proactive pipeline recovery, Client file onboarding, and Ticket-driven dashboard anomaly. Use the Demo version selector inside each scenario card to choose a curated version or one of your tailored versions. To create a tailored version, choose Create tailored version…, enter an industry or prospect context (at least two characters), and optionally provide a version name. Genesis prepares the draft immediately. A successful preparation compiles the scenario’s business story and evidence-backed fixture; the version then becomes Ready and is shared with presenters. Drafts and failed preparations remain private to their creator, while a prepared version is immutable so earlier demo evidence remains available. Starting a scenario creates a fresh isolated presentation run for the selected ready version. The catalog retains every run, its Mission, investigation, and scenario artifacts. After a completed presentation, use Recommend as gold to mark the run as the recommended example; clearing that marker does not delete the run history. Ready Client file onboarding versions also expose the exact immutable synthetic client-file bundle for download before the Mission starts. Mission-backed vignettes opened the blueprint Start Mission modal with the presenter scope locked. Of the disposable demos, onlyclient_file_onboarding
starts from the Blueprint Library’s Start Mission modal; start
demo_dashboard_root_cause and demo_data_migration through the presenter
routes.
Ticket-driven dashboard anomaly. Select a ready ticket-dashboard version
and click Reset dashboard fixture. After the
fixture is ready, choose Prepare Jira ticket. Genesis creates a real Jira issue in the configured automation project with a
dashboard screenshot, live dashboard link, and tailored business story. It also starts the matching dbt Cloud failure fixture and posts the failed
run details to the ticket. Assign the issue to a configured Genesis worker (for
example Genesis) to launch the ticket_dashboard_rca Blueprint as a
continuous Mission on that same Jira thread (Jira automation names the mode
explicitly); no parallel chat is created. The
Mission traces the affected app through Twin, diagnoses the bound dbt Cloud run,
applies the smallest repair to the isolated branch, reruns the same configured
job, obtains protected Prover PASS, refreshes the app, and posts the exact
five-line Genesis RCA final debrief before moving the ticket to Done. If the
Mission cannot start or its public link is unavailable, Genesis posts a blocker
to Jira and dispatches no repair. When Jira automation is not ready, Presenter
Controls surfaces setup guidance and a link to Config → Jira.
API clients can call the presenter routes documented in
Presenter Controls endpoints.
See Advanced Settings — Genesis Staff resolution
for how Genesis identifies staff users on every authenticated instance.
A Mission starts in its blueprint’s
default_mode unless you choose another
mode. Every blueprint that ships with Genesis defaults to goal mode, except
the interactive ones (blueprint_tutorial, cli522_smoke_test,
dbt_engineering, simple_dbt_loader and source_to_target_mapping), which
default to manual, and a new blueprint is created in goal mode. In goal
mode the agent pursues the overall mission outcome under goal-mode limits; one
run-level goal carries across phases while their exit gates still control
transitions. See goal mode transitions.
Choose manual mode to review and approve each phase before the next starts.
continuous mode is a legacy value: Genesis still accepts it from the API,
Programmatic BlueprintRun hosts and
existing blueprints and Missions, but the Start Mission modal and the
blueprint editor offer it only for a blueprint whose saved default is already
continuous. For a blueprint saved without a default_mode, the Start
Mission modal preselects manual, and an API or tool start must name a mode.
In the Start Mission modal, goal mode displays an optional Goal statement
field. If left blank, Genesis uses Complete the <blueprint> blueprint without stopping, except as directed by the blueprint phases or if you need help from the operator; enter a custom statement to make the mission goal
reflect the requested outcome.context_defaults
(for example code_executor_tools implies execute_python_code, and
dbt_action implies dbt_action) and from phase text that references a
code execution tool by name (dbt_action, execute_python_code, or
_run_sqlite_cli_commands). An administrator must allow the code execution tool
family before operators or agents can start that blueprint.
The same preflight applies to chat start_blueprint_mission,
POST /api/blueprints/{blueprint_name}/start, and programmatic
POST /api/blueprints/{blueprint_name}/runs.
Genesis also carries a stable blueprint_id behind the scenes for Blueprint
actions. When the same blueprint name exists in more than one source, Genesis
keeps using that identity as you move from the library into detail, versioning,
access, edit/WIP, rename, delete, or mission-start flows so you stay on the exact
selected blueprint.
When a mission starts, Genesis records its resolved blueprint_id when one is
available. Mission phase details and template-file reads use that identity. For
older missions without a recorded id, Genesis resolves a duplicate name from the
mission record and the blueprint selected by name when the mission ran; if it
cannot identify a matching candidate, the read remains ambiguous rather than
choosing another blueprint.
Rename a blueprint
Genesis lets callers with Blueprintmanage access rename existing
non-default blueprints from the library actions menu or the Blueprint detail
header.
- In the web UI, Genesis trims the entered value, lowercases it, and converts spaces to underscores before submit. The final name must use only lowercase letters, numbers, underscores, or hyphens, and it must be 100 characters or fewer.
- Local blueprints rename immediately. Genesis updates the blueprint manifest and re-points completed missions and related Blueprint metadata to the new name.
- Remote-backed blueprints open a rename pull request against the managed repository. The rename becomes effective after that pull request is merged and the next source sync runs.
- Genesis blocks renames when the blueprint still has in-flight missions. Default blueprints and active WIP sessions cannot be renamed.
Source-aware detail views
When a Blueprint detail page has more than one readable source, Genesis shows a source chip in the title area and, for callers who can edit or manage that Blueprint, a source switcher in the header.- Working Copy is the editable draft. On the detail page, Genesis keeps this state lightweight: the title chip stays visible, and the explanatory text moves into that chip as a tooltip instead of showing the larger source banner.
- Production Version is the read-only pinned production snapshot for a versioned Blueprint.
- Default Release is the read-only synced checkout from the backing repository, available on remote blueprints when Genesis needs to let you compare the release source against an active draft.
Working Copy so you can inspect phases, files,
missions, and metadata without leaving the current draft context.
Working-copy edits use a preview-before-apply flow. When an edit targets a
specific phase field, action, or exit criterion, Genesis preserves the rest
of that phase in the preview instead of rewriting unrelated fields. For
broader rewrites, review the preview carefully and make each intended field
explicit before applying it.
The source switcher appears only when Genesis has more than one source to
show and the current caller can
edit or manage that Blueprint.Typical workflow
- Open the Blueprint Library.
- Search or use the filter menu to find a relevant blueprint.
- Use the quick preview for a summary, or open the full blueprint details.
- Start a mission from the blueprint, or import a new blueprint package.
Blueprint and mission execution consume concurrent working agent (CWA)
slots. When all slots are busy, Genesis may queue the run automatically and
start it when a slot opens, with queue position shown when available, or ask
you to try again later. If you need more parallel mission capacity, contact
Genesis about increasing your Genesis License.
Start from a goal instead of a known blueprint
If you know the outcome you want but not the right blueprint name, open Missions and Tasks and select the full-page Create Mission flow. Genesis can ask up to two clarifying questions, then return up to three ranked blueprint recommendations with fit rationale, match strength, and blueprint details. When you already have visible saved connections, Genesis can use them as soft platform hints while still prioritizing the goal you described. Select Start Mission with this Blueprint on a recommendation card to open the standard mission setup flow with the goal, any answered questions, and the recommendation rationale prefilled in kickoff notes. Genesis uses only one follow-up round in this guided flow. After you answer the clarifying questions, it returns recommendations instead of asking a second round of follow-up questions. When the blueprint advisor’s auxiliary LLM call fails — for example because the active provider is misconfigured, the provider returns an error or empty response, or the model output cannot be parsed — the wizard shows a clear AI failure notice with a recommended next step and, when available, a Support ID. It does not display raw provider error text or treat the failure as “no blueprint fits.” For the HTTP status and response fields, see the Blueprint wizard error response contract. Disposable demo blueprints (manifest tagdemo:disposable) are excluded from
this recommendation list. Start those vignettes through the presenter routes
instead.
Access and visibility
For how Mission access affects run records associated with a conversation, see Mission and project list endpoints. When authentication is enabled, the Blueprint Library shows only blueprints the current user canview.
Genesis resolves blueprint ownership from blueprint_manifest.yaml using the
top-level created_by field, with fallback to legacy
blueprint.created_by and, when needed, origin.created_by_user_id. The
owner automatically satisfies Blueprint RBAC checks, and newly created or
copied blueprints remain owner-only until you add role grants.
When you grant access from a blueprint’s access panel, choose a configured RBAC
role from the searchable Select a configured role dropdown. The list is
populated from available_roles on
GET /api/blueprints/{blueprint_name}/access, so callers with Blueprint
manage access (or ownership) can share a blueprint without the manage_users
system permission. Genesis only accepts built-in and custom roles already
defined in Config → Users; the Grant button stays disabled until you
pick a matching role from the list.
Custom and imported blueprints can also carry an origin block for
provenance. Genesis preserves who created the blueprint, how it was created or
imported, and any recorded source-thread or import-event history so library,
detail, export, and re-import flows keep that audit trail intact.
For blueprints that are visible in the library, the actions Genesis shows still
depend on the caller’s Blueprint access level, including manage, edit, and
execute.
Organize the library with folders
The Blueprint Library has a Blueprint folders sidebar for grouping blueprints. Select the plus (New folder) button to create a private folder, then use its options menu to rename it, delete it, or choose Share and select configured roles. Shared-folder roles can view the folder and its blueprints; direct blueprint grants are retained, and folder sharing does not grant permission to run, edit, or manage a blueprint. Deleting a folder returns its blueprints to Ungrouped without deleting them. Use Move to folder on a blueprint to place it in a folder or return it to Ungrouped. Moving requires management access to the affected folders and, for blueprints in shared folders, permission to manage Blueprint sharing. The sidebar can show all blueprints, ungrouped blueprints, or one selected folder; thefolder query parameter keeps that selection in the URL. For API request
shapes, see Blueprint folder endpoints.
With authentication enabled, starting a mission from the Blueprint Library or
the mission-start API also requires execute access. A user who can view a
blueprint may still be denied permission to start it; ask a Blueprint manager or
administrator to grant the role execute. See
Blueprint RBAC actions
for how Genesis resolves these grants. Agent-initiated management and mission
starts are checked against the person acting for the agent too; an agent’s tool
access does not replace that person’s Blueprint or repository permissions.
The guided recommendation flow used by Create Mission only returns
blueprints the caller can execute.
Blueprint inputs and outputs
Blueprints can declare an input/output contract inblueprint_manifest.yaml
under blueprint.inputs and blueprint.outputs.
inputs.required— each entry hasname,type, anddescription. These names must be supplied (by exact name) when starting the blueprint viaPOST /api/blueprints/{blueprint_name}/start, the Start Mission UI, orBLUEPRINT_HANDOFF.inputs.optional— same shape; omitted values fall back to manifest defaults when defined.outputs— artifacts downstream blueprints or handoffs can consume (for examplemigration_repo_idwithtype: repo_id). Entries withtype: documentand apathalso declare report filenames for the report consistency guard at phase exit.
GET_BLUEPRINT_INDEX (via
_blueprint_tool), the response includes inputs (required and optional
arrays) and outputs, plus a summary line listing required input names when
present.
When BLUEPRINT_HANDOFF fails because the target blueprint still needs
required inputs, Genesis returns a structured awaiting_inputs response with
missing_required_inputs and agent_action_required (retry with the inputs
parameter filled from the parent blueprint’s outputs) instead of a generic
“requires inputs” error.
Manifest-controlled handoffs
For ablueprint_handoff action in the parent’s active phase whose
target_blueprint matches the call, the manifest takes precedence for each setting it
declares: target_bot, mode, expected_outputs, on_failure, timeout_minutes, and
inputs_mapping. Call values fill only settings the manifest leaves unset. In a tool call,
use handoff_mode ("async" or "sync") for whether to notify on completion or wait for
the child; mode is also used for phase entry and is not the handoff-mode parameter.
When expected_outputs is declared, a completed asynchronous handoff checks the child’s
stored outputs and reports the result to the parent. With on_failure: "error", any missing
expected output makes that check fail; with "skip", missing outputs are reported but
tolerated. If the output lookup is unavailable, Genesis reports that the check could not run
rather than claiming every output is missing. In synchronous mode, "error" returns a
failure for any missing output; "skip" tolerates a partial result but still fails when none
of the expected outputs were produced.
Before a handoff child can end its Blueprint with on_failure: "error", it must report every
required output. Genesis can report an output automatically when the manifest declares a
repository path and that file exists; otherwise the child must report it with
store_blueprint_outputs. An attempted exit that still has unreported outputs names them and
does not end the Mission.
The Start Mission modal shows declared string, repo_id, and database
inputs as text fields, integer inputs as numeric-entry fields, and boolean
inputs as yes/no selectors. Required fields for these types appear in the form;
optional fields for these types are under More inputs. Prefilled values
appear in their fields and can be edited. A blank optional field uses its
declared scalar default when the modal sends structured inputs. Launchpad-
prefilled values without a field of their own remain visible in the selection
summary; object values are shown as JSON.
When required inputs are complete and typed values match their declared types,
the modal sends the values as inputs to
POST /api/blueprints/{blueprint_name}/start; Genesis stores them on the
mission thread as blueprint_inputs for phase entry and downstream handoffs.
If required values are missing or a typed value is invalid, the modal preserves
typed values in kickoff notes instead of sending them as structured inputs.
When a blueprint declares inputs, Plan with [agent] opens a new chat with
the selected agent and includes the values already supplied, missing required
inputs, optional inputs and their defaults, the selected mode and version, and
kickoff notes so the agent can help complete the inputs and start the Mission.
When switching from WIP to latest production, the modal loads that version’s
input declarations for review before the Mission is started.
Phase action guidance
A phase action can setrequires_user_decision: true to guide the agent to ask for a
user decision and wait for a response. This is guidance only; it does not create a
platform-enforced approval gate.
Blueprint journeys
Genesis can attach a journey recipe when a mission starts from a guided flow such as Launchpad. Journey recipes are declarative YAML files (for exampledatabase-migration) that declare:
entry_blueprint— the first blueprint in the chain (must match the firststages[]entry).stages[]— ordered steps withid,blueprint_name,label,description, optionaloptional: true, and optionalrequires_target: truefor stages that need a live target connection.edges[]— conditional transitions between stage ids (for exampletarget_connection,user_approval).input_bindings— maps Launchpad answers into structured blueprint inputs (for examplesource_connectionsfrom a connection-picker step).
journey_context object:
Genesis validates that
entry_blueprint on the journey matches the blueprint
being started, stores blueprint_journey_context on the mission thread, and
inherits that context across blueprint_chain handoffs to child threads.
Resolve a journey recipe with
GET /api/blueprints/journey-definitions/{journey_id}?variant={variant}.
See Genesis API — Blueprint journeys.
Mission Center blueprint chain
When a mission is part of a multi-blueprint journey or has spawned child blueprint handoff threads, Mission Center shows a Blueprint chain strip above the mission tabs. The strip lists each stage in journey order (or spawned order when no journey recipe is present). Spawned journey-node labels reflect the installation’s chosen brand, detailed in Branding. In the Missions list, Last activity is shown as relative time (for example,5m ago or 3h ago) and refreshes while the list stays open. Hover for the full
local timestamp; sorting continues to use the underlying timestamp.
Mission Center also sets the browser tab title for the open mission. It uses the
format Mission: mission name | Thread: thread name when both names are
available, Mission: mission name when only the mission name is available,
and Genesis when no mission or thread title is available. Standalone mission
tabs use the same title format.
- Solid pills — a spawned thread exists; select the pill to open that
thread on the Thread tab (
chain_threadURL parameter). - Dashed pills — a planned stage that has not started yet.
- Expected — upcoming stage from the journey recipe.
- Skipped — stage omitted because plan-only mode or a missing target
connection made a
requires_targetstage unnecessary. - Optional — journey stage marked
optional: true(for example incremental CDC testing).
remediation_round on each chain node (1-based, chronological under the same
parent).
Run-state indicators. A pulsing green dot on a stage pill marks the mission
that is actively running (run_state="running" from the blueprint-chain API).
For the current mission, an amber pulsing dot marks current_status equal to
IN_PROGRESS_NEEDING_INPUT or STUCK, and a gray dot marks PAUSED; the gray
paused indicator does not pulse. The dot follows live execution — for example,
it moves back to the runner pill when a validator hands work off in a
remediation round, even if you are still viewing the validator thread.
Collapsed remediation groups show the highest-priority indicator from their
rounds: awaiting input, paused, then running.
The active phase of a paused mission remains available after a server restart,
including before its thread has taken another agent turn; Mission Center reads
the phase from the thread’s saved state.
When the runtime reminds an agent to keep a Blueprint mission going, the mission
thread shows the reminder as a folded system note — System note — reminded the
agent to keep the blueprint going — rather than as a message from you. For
transcript prompt pinning, see Chat and Threads.
To retrieve visible missions waiting on a person and their unanswered Blueprint
task questions when available, use GET /api/projects/awaiting-input; see the
Genesis API reference for its response fields.
Retired missions. A mission with status RETIRED is permanently terminal:
Genesis blocks new Blueprint phase entry and phase progression for it. The blocked
operation reports the mission’s retirement reason when one is recorded. Start a new
mission if the work needs to continue; do not retry Blueprint operations on the
retired mission.
Handoff toast. When the chain spawns a new mission thread while you are
viewing a different stage, Genesis shows a clickable toast (forward handoff or
remediation re-fire). The toast stays visible until you click it, dismiss it, or
leave the mission screen — it does not auto-dismiss. Click it to open the new
stage on the Thread tab (Genesis resolves the latest chain state at click
time so navigation reaches the child’s mission workspace when it is ready).
Toasts fire only for threads that appear after you open the mission — existing
chain nodes never trigger one on load.
When you select a spawned stage:
- If the chain node belongs to a different mission project, Genesis navigates to that mission’s Overview tab.
- If the node shares the current mission project, Genesis opens the Thread
tab with
chain_threadset to that stage’s thread id (preserving other URL parameters exceptdebrief_id).
GET /api/projects/{project_id}/blueprint-chain. See
Genesis API — Project blueprint chain.
Journey debrief
When a mission chain has two or more spawned nodes or two or more planned journey stages, Mission Center adds a Debrief tab on the root mission project. That tab aggregates evidence from each recorded stage — child mission debriefs, phase checklist history, query activity, validation outcomes, and connection context — into one Journey debrief (source_kind="journey").
Genesis generates the aggregate on demand (or returns a cached version when the
underlying evidence fingerprint is unchanged). Synthesis can produce a narrative
headline and summary; when the Journey is still in progress or synthesis fails,
Genesis falls back to deterministic copy while keeping per-stage evidence intact.
For an in-progress stage, the aggregate uses the stage’s live
blueprint_phase (phase_number or phase_id) and phase_name, marks that
phase in_progress, and includes it even when it is not yet present in the
recorded phase timeline.
From the Journey debrief, open a stage’s mission workspace via the chain
stepper, or drill into an individual stage’s mission debrief without leaving the
root mission (?tab=debrief&debrief_id=<child_debrief_id>). See
Missions and Tasks — Journey debrief tab
and Genesis API — Debrief endpoints.
For pull requests opened by approved source-control requests on a Mission thread,
see Missions and Tasks — Finished Mission debrief.
Database migration blueprints
Genesis ships paired Snowflake and Databricks migration suites. Each platform has four blueprints that chain together. In demo mode, these blueprints (and other gold-path vignettes such asclient_file_onboarding and
demo_dashboard_root_cause) carry the manifest tag demo:gold so Mission
Center can default to today’s gold demos — see
Missions and Tasks — Mission Center.
Replace
{platform} with snowflake or databricks.
The person-interaction points are not approval pauses on every phase. Planning
asks the data-quality and conversion decisions during its review, then asks
whether to hand off to the runner. The runner pauses once after creating flows
and before extraction writes data; a remediation re-fire also asks the person to
approve fix scope before any write, and its final handoff is a separate question.
Validator work runs through its read-only checks without phase approval pauses;
it asks before a remediation re-fire, presents Prover’s preserve-or-correct
decision in the final report, and asks whether to hand off to the incremental
test. The incremental-test mission pauses once after its baseline snapshot and
before injecting test data, not again after comparison or rollback.
Approved chat migration blueprint
Chat migration plans that the blueprint can execute run asmigrate_and_prove,
a lightweight Mission in the chat that approved the plan. It starts only from
the plan card’s Approve and start action or a Launchpad hand-off—not from a
typed migration request—and is hidden from blueprint listings. The start reads
the plan bound to that approval and begins in goal mode; the approved plan
id is the Mission’s server_scope_id input.
For this Mission’s exit, an acceptance may come from the proof review page, a card
that listed the findings, or the person’s answer in chat or on a question card.
For a chat or question-card answer, the agent must record the acceptance with
prover_decide(action='accept_finding') in the turn the person started, quoting
their answer. Recording it later (for example, on a Mission nudge) does not count,
unless the server carries the person’s earlier answer for exactly the same items
into a re-grade of that review; that carried acceptance counts and the person is
not asked to accept those items again.
Missions started before blueprint version 0.7.0 keep their original pinned Prove checks
alongside the current exit criteria; they do not need to restart.
After every proof is settled, migrate_and_prove offers once, in a plain question, to
build a demo board as a Local App, and builds it only if the person agrees. It uses every
link returned by
get_migration_board_links,
each proof’s result and replay link, the target catalogs, and the plan; its figures come
only from the Mission’s READOUT.json, build receipt, and latest Prover findings, not
hand-entered values.
For foundry_to_databricks leg A, pin the Foundry scan’s objects to the dataset RIDs
of every inventory raw source (undetermined included) and every output label whose build
record does not confirm a concrete producer. Pin the target scan to the landed raw
tables. This keeps pipeline outputs and cutover copies outside the leg while ensuring
a raw source that failed to land is still detected as missing. If there are no eligible raw sources, skip
both leg scans and record the empty perimeter; do not pass an empty pin, because an empty
objects list means the full source. See the
[Foundry migration integration guide]
(/docs/Integrations/Palantir-Foundry/Palantir-Foundry).
If a required check keeps Prove open, the response lists each standing check in
checks_standing: it has not run, its proof is not verified because an undecided part
remains unaccepted, or its last run did not pass. Do not report the phase as done or its
proof as proven while a required check still stands.
For Prover’s status and next-step guidance during the migration, see the
Prover status guide.
For a Snowflake dbt migration, eligible reference tables no kept pipeline writes are
added as seeds to the same dbt project and loaded before its build; the project owns
both the reference copies and transformed tables, with no separate Genesis Flow doing
the copy.
Migration Missions use the documented
create_catalog workflow
for a Databricks target catalog marked for creation.
The Prove and Readout phases do not load flow_tools. The prove-data-work
skill supplies prover_tools, keeping unrelated Flow tools out of the thread’s
provider tool set. A behaviour test is optional and advisory: the phase may offer a budgeted
fuzz run only as described in [chat comparison guidance]
(/docs/User-Guide/Chat-And-Threads#review-agent-generated-comparisons-in-chat), and the data
comparison remains the proof. Otherwise the plan reports its data as matched and its behaviour
as not tested.
The blueprint runs pipeline plans rebuilt as dbt on Snowflake or as a
declarative pipeline on Databricks, and data-only plans on either platform. A
Databricks declarative-pipeline plan that names a landing or a
comparison_database takes the warehouse-rebuild path: its pipeline SQL is
written from the pinned warehouse code and its materialized views are rebuilt
in full on every update. The Prover spec is written from that code; a landing
copy and an old-warehouse comparison are proved separately when named. The
old-warehouse comparison uses its own spec generated from the plan and the
two measured snapshots, never the rebuild’s spec (which describes the copy the
old warehouse does not have). Prover binds it automatically when the Mission
has no earlier graded spec for that pair. If its answer requires as-of windows,
characterize both sides with those rules and prove again using the new snapshots;
write a spec by hand only when Prover cannot generate one. See Prover’s
old-warehouse comparison guidance
for what the generated spec compares and what its windows exclude.
For data-only plans, PostgreSQL sources use the destination’s existing recipe; other
sources use one bulk_copy Flow step per table. A destination with no blueprint
recipe still runs and proves in chat instead of being presented as a blueprint
refusal; see Migrate data and
pipelines.
For plain-copy plans and Databricks job landing-copy proofs, see
Migration intake tools
for when the approval supplies exact_copy_spec_hash or landing_copy_spec_hash to use
in the Prover run.
Other plans’ Prove phases seal a source-contract spec and therefore require
ratify_source_contract. If the plan is usable in chat but cannot run under
these blueprint conditions, it continues in chat without this Mission; it does
not run beside a migration Mission already active in the thread. Pipeline-service
sources do not start this Mission directly; see Migrate data and pipelines
for their service-specific handoff. For approval and chat-card behavior, see
Migration intake tools.
Bronze-to-silver onboarding
The built-inbronze_to_silver_onboarding blueprint treats the source schema as the
Prover’s source estate. If no answered document says whether other source-schema tables may
be left unassessed, ask in DECISION_REQUEST.md; only add them to TARGET_MODEL.json’s
unassessed list when the owner agrees, and quote that ruling as basis. See Declared
target mappings
for the distinction from a split with "images": [] and the comparison rules.
The approved source_connection_id and target_connection_id, with their
source_platform and target_platform, are durable Mission inputs. The blueprint
uses those exact connections and providers for mapping, reads, authorized loads,
and Prover seats; it does not rediscover or substitute another connection. Missing,
inconsistent, or inaccessible bindings stop the work before loading. To change
connections, create a new Mission from a newly approved plan.
The target estate is limited to the tables the mission builds: it registers every
derived target in TARGET_MODEL.json through included_objects, with one
schema.table entry per derived target, so scans do not read other tables in the
target schema. Before the first load and after each
load, the mission lists target-schema table names (and last-altered times when
available) without scanning them; a new or changed non-build table is noted but
does not block the proof. If it cannot name every built table as schema.table,
it falls back to the whole target schema and records that broader scope. Register
the pinned target estate only after the loads have created all of its tables.
Name each estate for the data it reads, not for the Mission: the source by its
<database>.<schema> and the target by its <database>.<schema>.<table> scope.
Later Missions over the same tables reuse the same estate and its name, which the
proof and Debrief show. For several pinned target tables in one schema, append
the additional table names with + (for example,
<database>.<schema>.<table> + <table>).
The kickoff’s Load: line must name the target to authorize a load. Rows already
in that target that this Mission did not load are replaced without asking only
when the line also says overwrite and reload allowed; otherwise, ask the owner
before replacing them.
The mapping guide and data dictionary are optional. When no documents are supplied,
the target table’s DDL and comments serve as its data dictionary, and the blueprint
works out the mapping from the data. A supplied documents folder adds the mapping
guide and dictionary as inputs.
During Map, sttm-author re-checks questions and assumptions against the run’s sources
before owner review; see the skill guidance
for how it classifies open and settled items. In Answer, it asks the Part A, B, and C
items as question cards in the Mission thread and keeps DECISION_REQUEST.md as the
record of the questions. It copies the person’s answers into an answered copy of that
record; the download-and-return document is only for a reviewer who is not in Genesis.
For the Prover decision card and how the Mission proceeds while its owner questions
remain open, see [Prover decision-card guidance]
(/docs/Genesis-Prover/Agents-And-The-API#open-questions-and-provider-faults).
When the onboarding finishes with a Verified grade, it also writes BUILT.json from the
target model, mapping SQL and proof-loop record. The Mission Debrief uses that record for its
What was built diagram; an unfinished or unverified onboarding does not write it. When a
recorded Debrief has a proof, its proof card shows the compared sides, the proof’s rounds in the
Mission through that proof, and the number of data checks; the diagram’s Prover step and the card
open the same proof. A verified proof also carries the Certified ribbon.
For a bucket-folder pipeline onboarding, the Debrief shows the recorded bucket folder as the
source and draws the build through Load, dbt, Prover, and the pull requests opened by its
steps. Opening the finished Mission result opens its Debrief. Click a diagram part to pin its
details below the diagram; the details offer the part’s rows, files, code, run, or related page
when available, including the whole project at the pull request’s branch when its provider link
is available. A step’s pull requests appear at the end of the diagram and open in a new tab.
Each pull request shows its provider-reported state when available. Statements that describe
what merging does stay under What this PR will do once merged while the request is open;
they move under What is true now only after a provider reports it merged. A closed,
unmerged set of requests is labeled What this PR would have done instead. The Debrief also has a
separate Documents the Mission wrote card: it counts the Mission’s documents, names the
first few, and opens listed Markdown, HTML, or text files in a dialog without reading them
until selected. The list uses plain names such as Mapping, Owner’s decisions, and
Column coverage; hover over a name to see its path, which distinguishes duplicate names.
When you pin a table or view, its row preview shows each column’s warehouse-reported type when
available. Pinning starts two bounded warehouse reads: one for the row sample and one for the
column list. The type lookup does not delay or prevent the row preview, and opening the Debrief
alone starts neither read.
For the Launchpad approval handoff to this blueprint, see
Onboard raw tables.
In Answer, the blueprint rebuilds the rule table and mapping SQL from the
owner’s answers recorded in the answered copy of DECISION_REQUEST.md instead
of patching rows in place; those answers govern over artifacts the mission
derives. An answer that explicitly corrects a kickoff instruction replaces it,
while an unmarked conflict with the kickoff goes back to the owner. Each changed
rule cites its answered item.
Before proceeding, the blueprint checks the rule
table, SQL, and answers against one another and records the result in
SPEC_SYNC.md; the sync check must report zero mismatches. During Build and
prove, each repair or later answer updates both the rule table and SQL and is
rechecked before the next load or proof.
Bucket-folder pipeline onboarding
Thedata_onboarding_pipeline blueprint turns a bucket folder whose files keep
arriving into a scheduled pipeline for a database schema. The Launchpad creates
this plan for an AWS or Google Cloud bucket folder; it is not proposed by the
chat onboarding tools. The person names database.schema, not a table; the agent
maps each feed to every target table its rows define, and several feeds may fill
the same table. Every file of a feed goes into those same tables, not a separate
table per file. The schema’s shape defines its tables:
For a Databricks target, record a Schema inventory in the mapping specification:
the dictionary version or approved owner clarification, whether the exact set means
all_relations or business_outputs, and each expected output’s name and native
table type. A literal one-table requirement remains all_relations; do not reclassify
it as business outputs because the pipeline creates internal storage. That change needs
an explicit owner clarification cited in the specification. The proof registers this
as a schema_inventory obligation; see the
register_obligation contract
for the exact fields and grading behavior.
For a Snowflake target, include the exact Schema inventory in the mapping before
the person approves it in Map. List every table the development target builds in the
schema, using the names and TABLE_TYPE from INFORMATION_SCHEMA.TABLES; dbt models
are BASE TABLE, regardless of another engine’s definition. If the definition promises
the exact set, quote that line. The approved list is the inventory proof: it compares the
listed name/type pairs with every row Snowflake exposes for the target schema, so an extra,
missing, or differently typed table fails. Do not leave this promise open because there is
no schema_inventory reader for Snowflake.
The five phases are Triage, Map, Build the pipeline, Run and
prove, and Hand off. Triage asks the owner a qualifying business question
in chat; Map produces portable SQL and asks the owner to approve it on a card in
the Mission thread (Work lists the card too). That approval ratifies the exact
versions of the mapping specification, mapping SQL, and (for a PDF schema
definition) its text copy that the card names. If a table, column, key,
relationship, source, or rule is added, removed, or changed, or any mapping SQL
file is added, removed, or changed, the owner must
approve the new version before the Mission treats it as approved. Wording-only
changes to the specification do not need another approval when the SQL files are
unchanged; the Mission records them in OWNER_DECISIONS.md under Wording changed
after approval, with the commit, what changed, and why, while proving the
approved versions. The approval card presents the mapping as What identifies
a row, Where the columns go, and a heading naming the agent’s assumptions
for review. The first section shows how up to three rows’ keys change from the
file to the table. The second counts the columns and shows source-to-target
values for columns the mapping changes. The assumptions section shows up to
five assumptions with example values. These examples are read from the snapshot
and the committed mapping SQL; these reads do not write to the data.
Personal-data values are hidden. A table gets no sample values if its key, or a
file column from which that key is derived, contains personal data. If values
cannot be read, the card says so and still presents the mapping. When approval is
requested again after a mapping change, the same sections show table, key, and
column details without sample values. For a multi-table schema, the mapping
approval lists every table, its key and contributing feeds, then each declared
relationship between tables; composite relationships are shown as a whole. The
proof checks each table and each declared relationship, including composite-key
references. Build creates a Snowflake dbt project or a Snowpark Python
procedure and task, or a Databricks declarative pipeline and job; Run and prove
checks the landing and proves the target tables; Hand off opens a pull request.
In development, the Mission creates the Snowflake task suspended or the
Databricks job schedule paused, then runs the pipeline explicitly; it leaves the
development schedule off. The production deploy definition enables its own
schedule, which reaches production only after the team merges and deploys the
pull request.
When the first grade reads Verified as the phase exit defines it—either exactly
verified, or verified_with_indeterminate held only by open clauses the Prover
gate counts as accepted on that grade—Genesis asks one choice: Check the folder
again or Hand off now. See Prover one-time exceptions
for the acceptance conditions. Choose Check the folder again to have the Mission look in the
bucket folder for a file it has not loaded. When one is there, it checks and proves it through the same pipeline, then asks
again when the grade first reads verified; when none is there, it says so and shows the card again. Choose Hand off now to finish the Mission and
open the pull request. The card is how the Mission waits for the next file; it does not poll or
schedule a wake for the bucket.
The approved Deploy: kickoff line authorizes creating, scheduling, and running
the pipeline only in the target schema’s database. Data reaches tables only
through the pipeline, and no pre-existing table is written by the Mission;
production changes only when the team merges the pull request. The proof covers
bronze-to-target mapping and per-file row counts, not every file value during
landing. For Snowflake, the Mission records each run found in the task-history
window, including runs started by the schedule, so a scheduled run that loaded a
new file is included in the run evidence. For the Launchpad flow, including the
one-time bucket load option, see Onboard raw tables.
The Launchpad kickoff names the GitHub repository, the person’s GitHub
connection that can push to it, and the code folder they chose. Build uses that
repository and connection without selecting another; its onboarding/<source_name>
branch keeps the pipeline’s files inside the chosen folder. If the connection
cannot reach the repository, the Mission stops rather than pushing elsewhere.
The Launchpad plan asks what builds the pipeline: dbt or snowpark on
Snowflake, or declarative-pipeline, python-job, or dbt-job on Databricks.
The Databricks choices are a Lakeflow declarative pipeline, a Python script run
as a Databricks job, or a dbt project run as a Databricks job. Snowpark uses a
Python procedure scheduled by a Snowflake task. Bronze tables retain repeated copies
of rows when later files resend them, so the pipeline’s Prover run does not
declare a row_identity for bronze; the mapping’s sealed checks compare the
target’s latest-state rows instead. The plan also requires the target environment to
be development; production databases are not pipeline targets. The pull request
is the handoff to production.
Planning inputs and online vs plan-only mode
The planning blueprints declare these inputs in the manifest:
When
target_connection is provided and valid, the planning mission runs in
online mode — artifacts can be validated or executed against the target
during planning.
When target_connection is omitted, planning runs in offline (plan-only /
artifact-generation) mode. All SQL, flow definitions, and execution manifests
are written to the mission repository but not executed against the target.
For the Databricks planning blueprint’s bulk Git deployment, each selected
source directory is placed under the requested workspace target by its basename
while preserving descendants; repository ancestors above the selected
directory are not reproduced. A single source file is placed by basename. See
sync_from_git path mapping
for the exact path rules and deployment response fields.
The Launchpad Migrate data and pipelines journey uses the
database-migration journey recipe (snowflake or databricks variant). It
collects source_connections and target_connection up front, then asks
whether you are migrating Pipeline and its data or Data only. The
data-only choice follows the existing migration journey. The pipeline choice
lets you select a repository, immutable revision, entrypoint, and supporting
files; Genesis inspects those selected files without running them or changing
the checkout, then carries the pinned source into the migration mission.
The current planning intake also builds a reviewable migration plan from the
source catalog and Context Graph. It identifies tables and views written or read
by the selected pipelines, finds candidate row keys, chooses a destination
namespace and rebuild runtime, and lists the Prover checks the plan will use.
An intent-only wizard plan also preserves the person’s separate choices about
rebuilding the source’s upstream producers and its downstream consumers; the
Plan phase investigates only the chosen sides and leaves a side out of the draft
when it finds no work there. When lineage supplies upstream.pipeline_ids, Eve
uses those exact IDs as the selected upstream pipelines in her plan, rather than
resolving them again from names. See Migrate data and
pipelines for
what the wizard and amendment card show.
The user approves the displayed plan before the mission’s selected agent acts on
it; the approved scope is bound server-side. With a Snowflake target, the default rebuild runtime is dbt.
With Databricks, the default is declarative_pipeline, and databricks_job is
also available when the plan includes code to rebuild. For databricks_job, the
selected agent builds the pipeline or pinned Git code into a Databricks job and proves
the resulting tables against a specification derived from that code; it is not a
data-only copy. Planning without a destination can record the intended platform
and runtime, but does not authorize execution. See Migration intake tools
for the chat route and migration plan API
for the request contract. For user-facing plan amendments, including column
rename requests, see Migrate data and pipelines.
An approved plan may also carry prover_declarations for table history and shape
changes. The approved plan’s sealed scope checksum binds these declarations to the
person’s approval; compare_rows request options can label the same changes but cannot
explain them. See the row-pairing tool reference
for the declaration fields and verification rules.
For a selected pipeline, review the objects it reads and produces, choose
Rebuild the outputs from the current inputs (full_refresh) or Process new
and changed data (incremental), and confirm the run requirements. The
converted pipeline is deployed at the destination and Prover compares its
outputs with the source execution. The mission workspace exposes the pinned
files, task dependencies, target execution, Prover result, and the requested
incremental and replay-without-new-input checks. A pipeline proof is not shown
as complete until the published code and its execution evidence are verified.
The journey maps its connection and pipeline choices into structured blueprint
inputs. When you choose I don’t have one yet — plan only on the target step,
it passes journey_context.plan_only: true; the selected source is still
captured as immutable identity for the plan. Genesis also records connection
context in kickoff notes, but the structured inputs and journey context drive
plan-only vs online behavior and the Mission Center chain stepper.
Launchpad does not expose private demo-only journey cards. Use Migrate data
and pipelines for standard customer migration demos. Use its Data only
choice when you need the existing table migration flow, or Pipeline and its
data when the source code that produces the data must also be migrated.
Legacy sales-demo
blueprints such as
demo_data_migration and client_file_onboarding remain
in the Blueprint Library for direct starts through the standard Start
Mission modal when an operator still needs them; they are not linked from
Launchpad.SQL syntax validation during planning
During analysis and SQL conversion phases, migration planning blueprints syntax-check converted SQL with_validate_sql from data_connector_tools.
Pass dialect as the sqlglot dialect name for the target system the SQL
will run on — for example dialect='snowflake' for Snowflake migration
targets and dialect='databricks' for Databricks targets. The tool uses
sqlglot parsing only; it does not execute SQL against a live connection.
Returns valid (whether the SQL parsed cleanly), dialect (normalized
dialect used), errors (parse failures, if any), and normalized_sql (first
1000 characters of transpiled SQL). Pair with _diff_sql for side-by-side
source vs converted diffs during manual review.
_validate_databricks_sql remains as a deprecated alias that forwards to
_validate_sql(dialect='databricks'); new work should call _validate_sql
directly with the correct target dialect.
Palantir Foundry to Databricks
Genesis ships thefoundry_to_databricks blueprint in the Blueprint Library for an
end-to-end Foundry migration. Start a mission with the required foundry_connection
(the Connections-service name, not a token), foundry_space (a compass folder RID or
display name), target_connection, and target_catalog. Optional inputs select
pipeline_mechanism (pyspark by default; dlt or designer are also supported) and
land_derived_datasets (default false) and the destination schemas: raw_schema
(foundry_raw), curated_schema (foundry_curated), ontology_schema
(foundry_ontology), and semantic_schema (foundry_semantic). The estimated duration
is hours, depending mainly on landing volume and the proof loop.
The mission runs in goal mode and advances through seven phases:
By default, phase 1 lands only datasets classified as raw sources; a dataset with
undetermined provenance is treated as raw and landed too. Pipeline outputs are rebuilt
into
curated_schema. Turn on land_derived_datasets only when a copy is needed for
cutover or parallel-run. These copies are outside leg A and are never used as the source
side of a proof claim. For a pipeline that phase 2 could not rebuild, phase 5 compares the
landed copy itself with Foundry, if present; otherwise it records the output as not
delivered. For rebuilt outputs, leg C compares the rebuilt Databricks target with Foundry
read over its own connection at prove time. Chained pipelines read upstream rebuilt
tables from curated_schema, so leg B recomputes each result from the inputs that pipeline
actually used.
The mission asks for input only on decisions the business owns, such as a name, a
destination, an intended change from the source, or whether to proceed with an irreversible
action. The mission presents a recommended answer and reason in terms of the effect on the
owner’s data. Choices that can be derived from the estate and code—including proof shape,
object addressing, comparison method, and compute selection—are handled by the blueprint
rather than asked of the user. Hand-entered tables required by a pipeline are created and
recorded as part of rebuilding it, rather than offered as a delivery choice. The agent’s
own cleanup defaults (dropping Foundry edit-tracking columns and normalizing identifiers
Databricks cannot hold) are recorded in the spec, not asked of the person; only a change
they intended is a business question.
For a normalized column, the blueprint declares the corresponding rename_column
with must_differ; the cleanup is not a requirement change and is never asked
of the person. If a comparison pairs the original and normalized names, that
does not mean the names match Foundry: describe the change as, for example,
order date becoming order_date. If the spec already declares the rename but
the table says No keyed check confirms its rows, fix the keyed check; otherwise
report a checker defect. If it is not declared, add one rename_column item
per renamed column, then seal and prove again; do not ask the person to accept
the difference.
A question that stops the run appears as one question card in the Mission thread, with a
plain-language explanation, two to five choices, and a recommended choice with its reason;
Work also lists the card in the Queue. The person answers in the thread, and the answer
resumes the run without a separate typed reply or review-page visit.
Every question in that stop is sent together in one message with the phase number, because the
answer applies to the last question set. For a genuine data difference the person can choose
to investigate and fix the cause or stop the migration. A finding the checker should have
credited is a checker defect, not an acceptance decision: the run documents the evidence,
reports the gap in one line, and blocks on the Genesis team; it retries the check automatically
when the fix is deployed, without asking the person to retry. The person can reply stop to end
the run. Stopping writes the final record and ends the goal with the item failed, without
completing the phase. Questions that do not stop
the run remain distinct from this Queue workflow. A phase question with no Mission behind its
thread, or no waiting phase task, cannot be shown as a Queue task and remains available as a
notification instead.
For questions raised by a Prover comparison, the agent also puts the proof’s pending asks
in the mission conversation; see Prover pending asks.
Phase 0 also records which SQL route served its reads, using served_by from
foundry_query. If legacy_data_proxy serves a read instead of
public_sql_queries, every remaining read in the run uses the legacy route. Record
the route as an observation, not a defect: proof work is unaffected, and the routes
have not been compared for latency on this estate, so do not attribute run duration
to the route. A long proof reflects the digests it computes over the rows it reads.
Record Foundry’s refusal verbatim. A 403 ReadQueryInputsPermissionDenied does not
mean the token lacks data access or needs a wider scope. The public route is gated by
the resource-scoped foundry-sql-server:read role granted on the project; that role
is independent of the token and administrator status. Do not grant dataset
permissions for it.
Each proof runs in the phase that produces its result: leg A checks the landed copies,
and leg B checks the rebuilt transformations against their stated rules. For legs B and C,
declare the ratified float tolerance per FLOAT or DOUBLE column as
column_tolerances: {"<float column>": {"rel": 1e-12, "abs": 1e-300}} with
tolerance_provenance: ticket; DECIMAL, NUMERIC, text, dates, and other non-float values
remain exact, as do NaN and infinity except against an identical value. Read back the
per-column tolerance applied by the grade and record it in the proof note. Differences
outside the bound remain findings and stop the phase. The phase records the grade run ID
and actual verdict even when it is not verified. A landing difference that remains
unexplained, or a transform difference that cannot be fixed or licensed, stops that phase;
an unstated business rule raised during leg B also waits for a business decision in the
person’s Queue. Leg C then checks the
Foundry objects against the delivered ontology end to end.
If characterization or translation records a column as non-reproducible, declare it in each
leg’s spec as a modify_etl_derivation item with change_expectation: unconstrained, naming
the random pipeline step in its description. Do not use must_match (which demands the
source’s particular random values) or must_differ (which can fail when draws coincide).
Add one target-side check linked to the item in spec_item_ids to prove the column’s domain:
an invariant on the target table with a constraint stating its NULL policy (not_null, or
allowed_values including null when the source allows NULL), or a self_consistency check
whose target_sql reads the column. A finite constraint alone does not establish the
domain. Cite the pipeline step in requirement_source.citation. Keep the column out of every
membership and recompute check, including keys, compare_columns, SQL expressions and star
selects; use a stable row identity for those checks. Excluding a column from value comparison
alone leaves it unproven. Such source-pipeline behavior is not a person-facing decision. See the
Prover comparison guide for
how comparison results treat non-reproducible columns.
The proof phase gates the build on a Prover grade with the verified verdict. Its
record’s heading states the verdict and includes the spec hash, grade run ID, verdict
sentence word for word, and run IDs for legs A and B. The mission does not treat a
successful pipeline run or row-count match alone as proof.
A grade limited to selected checks is always partial and cannot satisfy this gate; grade
every check to prove the build. See selected-check grades
for the Prover result semantics.
Use the characterization inventories’ object names in each proof spec’s scope; a
display title from a ticket does not resolve. An identifier is also valid when the
engine resolves it to exactly one characterized object. If neither estate’s latest
snapshot holds a scoped object under the supplied name, sealing refuses with
scope_entry_unresolved; a prove-time map cannot repair the sealed scope.
Declare comparison mappings on the prove. When the spec’s scope names objects under
source schemas absent from the target, and the prove-time pre-check applies, submission
is refused with cause schema_map_undeclared before comparison: there is no run ID or
verdict, and the refusal ends “Nothing was submitted.” An explicit schema_map={}
does not avoid that refusal. This differs from an indeterminate reading with the
same cause: when the pre-check does not apply, comparison runs but cannot address the
objects. This can occur with no spec attached, a spec with target_model, incomplete
scan enumeration, a pair with a ratified addressing rule, or an unaddressed source
schema not named in the scope. Treat the refusal as a request to fix the mapping, not
as a grade.
Use object_map for individual renamed objects (keys and values are schema.object),
and schema_map for a source schema whose objects retain their names after relocation.
They can be combined: an object_map entry takes precedence for that object, while
other objects fall through to schema_map. A schema mapping covers every object in
that schema, including objects outside the scope; prefer the smallest set of entries
that addresses each source schema named in the scope. A key that matches nothing is
inert, while overlapping or contradictory entries can still produce an addressing
finding. A map does not repair a scope sealed with the wrong spelling.
When authoring a spec, measure questions about the existing data (such as types,
nullability, keys, row identity, and row counts) rather than asking an owner to look
them up. Apply recurring rulings with the same answer on every run as defaults and
record them in the spec. Ask an owner only about an intended change from the source
or a rule the data cannot settle, with a required recommended answer and its reason.
Write owner-facing questions in business terms, not Prover terminology, and refer to
the owner’s actual columns and tables. Unaccounted-for data differences still stop the
phase; only knowable rulings cease to be blockers. Migration defaults are adopted
silently; questions about them, if raised, appear on the run summary as
migration_default_questions, not as owner questions.
Legs A and C are cross-estate comparisons: their source_sql runs against Foundry’s
own estate on the Foundry connection, while target_sql runs against Databricks. Do
not use a landed copy as the source side; that would put the migration step on both
sides and could hide a landing defect. Leg B is intentionally different: it recomputes
the expected result from the pipeline’s own inputs and compares it with the rebuilt
output, both on Databricks. For chained pipelines, those inputs include upstream rebuilt
tables in curated_schema. If Foundry’s SQL
route is unavailable during leg A, report the proof as unmeasured. The grade-time
rewrite cannot substitute the landing being graded with another copy of that same
landing.
For derived targets, submit target_model with schema_version: "2" and a derived
list. Each derived object uses object, sources (the original Foundry objects),
layer_sources (the immediately preceding Databricks layer), columns, grain (a
list of key columns), and a prose derivation. For a hand-entered table that reads no
Foundry object, declare sources: [] rather than an input the pipeline does not read, and
prove its rows against the pipeline definition; see declared target mappings.
Re-submit the model with every
submission: it is carried only within one authoring thread, and a resubmission opens a
new thread. Prefer resubmission_of with the previous spec-author seat run’s run_id
and omit target_model to carry its registered mapping unchanged. Confirm the response
includes data.target_model_carried_from; if absent on this leg, submit the full model
instead. Re-submit the full model unchanged as the fallback when the earlier run ID is
unavailable or the build does not support carrying. A resubmission can also
continue the saved draft of an interrupted, unsealed run; see the
author_spec tool reference
for when the draft is carried.
The final phase is what the grade is for: a verified ontology that nobody can question has
not finished the migration. It does not accept a created Genie space as its result — the
evidence it records is the number of asks, the number of distinct answers each question
produced across its repeats, and the number of governed answers that disagreed with their
control query, none of which a bind call produces. The mission advances only when each
governed question produces one distinct answer across its repeats, every answer agrees
with its control query, and Genie uses the governed measure rather than SQL of its own;
it then returns the bound space ID as genie_space_id. Otherwise, the mission names the
measure and question and waits for input rather than re-asking until an answer agrees.
For a tailored migration outside this standard seven-phase workflow, an agent can also use
the palantir_foundry_tools and palantir_foundry_migration_tools groups. Give the agent
a ticket that states the outcomes (datasets landed at Foundry’s counts, each Pipeline
Builder pipeline translated to a PySpark script, published as a workspace notebook and
run on Databricks, ontology object types materialized, the migration proved) and it
sequences the work itself: it plans pipeline dependencies from Foundry’s job specs,
extracts long datasets through a background handle it polls until terminal — resuming
that handle rather than starting a second extraction, and reading foundry_list_landings
to clear any staging table an abandoned attempt left — and hands each landed dataset to
the Prover. Unsupported pipeline nodes, ontology links and action types are recorded
rather than silently dropped; a copied derived input is labelled as copied from Foundry,
not recomputed.
Each translated pipeline is published into the customer’s Databricks workspace as a notebook
by foundry_publish_notebook, which splits the compiled script at its function boundaries
and leads with a provenance header (the Foundry pipeline name, RID, sandbox and version, when
it was translated and the compiler’s source hash) and an output-contract table naming every
target table with the columns and Spark types the Foundry target declares. That notebook is
the durable artifact the customer’s own engineers open and review; a Databricks Connect run
leaves nothing behind. Publishing refuses rather than replacing: it writes onto a path the
workspace confirms is free, or over the notebook recording the same Foundry pipeline, so
re-translating a pipeline updates its own notebook and nothing else. Execution stays with
foundry_run_pipeline_script, which runs the
same script through the Databricks Python session — running the published notebook itself
would go through the Jobs API and create a job run, which this migration path deliberately
does not do.
The verification step is foundry_verify_migration, which registers and characterizes the
Foundry dataset and its Databricks target before submitting a Prover proof. Record the
returned proof_run_id and diff_hash in the migration report; a successful pipeline run
or a row-count check is not a proof. See Palantir Foundry migration
tools for tool parameters and
Genesis Prover for the verdict and review flow.
Power BI to Databricks
The Blueprint Library includespowerbi_to_databricks, a goal-mode migration that rebuilds
Power BI semantic models on Databricks and gates completion on a Prover grade. It reads model
files (.pbit, .pbip, TMDL, or .pbix) or a scanned Power BI workspace, recomputes Power Query and
calculated logic from source, creates metric views from DAX measures, and optionally repoints
Power BI reports or rebuilds them as AI/BI dashboards.
Required inputs: target_connection (Databricks) and target_catalog. Supply model files
with model_files_repo and optionally model_files_path (default /), or provide both
powerbi_connection and workspace for a live workspace scan. If no complete source is
supplied, phase 0 blocks and identifies the missing input. A workspace scan is partial: calculated
columns, relationships, and row-level security roles are not read, so those objects and
anything depending on them are listed as not migrated and excluded from the proof. Model files
provide those definitions. Phase 0 reads repository files with
power_bi_get_model_definition,
including each model omitted from an oversized full response. A .pbix supplies only its
report and Power Query, not the whole model; save it as .pbit or .pbip for a complete
model. A file attached in chat can also be the source; see the
model-file tool reference
for the uploads repository path and access requirements. Unreadable files are listed with
their reason.
Optional inputs are semantic_models (comma-separated names or IDs; all models by default),
pipeline_mechanism (sdp by default, or pyspark), raw_schema (pbi_raw),
curated_schema (pbi_curated), semantic_schema (pbi_semantic), reports (none,
repoint_powerbi, or aibi; default none), decision_owners, and source_mapping.
When source_mapping is supplied, source_connection is also required: give the name of a
read-only connection to the report’s original source. Use source_mapping to reuse a source
an earlier migration already rebuilt in Unity Catalog: provide its mapping as JSON, a
JSON-file path in model_files_repo, or derive to draft it from target_catalog in phase
0. Every mapping is raised as a decision with the default to use it and all mapped pairs it
affects. Mapped tables are used in place, not landed again. Their Power Query or native SQL
source query is rewritten onto the mapped tables with
power_bi_map_source_query;
each table mapping must include its real target columns from Unity Catalog, and the rewriter
refuses conversions whose T-SQL meaning would change on Databricks. The Blueprint records
the rewritten query and any remaining Power Query steps for rebuilding. Only sources not
already in Unity Catalog are landed. During proof, each mapped table is compared with its
own source query run against the original source through source_connection, never against
the rewritten query over the mapped tables. If that connection cannot read the source, the
run stops and identifies source_connection. Business decisions are recorded with
recommended defaults and sent to their owners in phase 0 without pausing the build; an
overruled choice rebuilds and re-proves only affected objects. The run stops for a person
only when proof finds a data difference no one can explain.
The current tool set does not run DAX against a published Power BI model or provide Power BI
as a Prover source. The proof therefore compares against the model’s source tables and
measure control queries, and the proof report identifies that reference.
Semantic fidelity during SQL conversion
Migration scoring is a pattern scan plus a type-fidelity check, not a semantic- correctness verdict. ASIMPLE rating means no known vendor-specific patterns
were detected; it does not certify the transpiled SQL or eliminate manual
review. Check numeric types against the source schema before accepting the
output, especially when a source type carries implicit precision and scale:
- For Databricks targets, a bare
DECIMAL,DEC, orNUMERICdefaults toDECIMAL(10,0)and can silently truncate scale. BigQueryNUMERICmust be preserved asDECIMAL(38,9). - For Snowflake targets, a bare
DECIMAL,DEC,NUMERIC, orNUMBERdefaults toNUMBER(38,0)and can silently drop scale. BigQueryNUMERICmust be preserved asNUMBER(38,9). - For SQLite sources converted to Databricks,
REAL,FLOAT, andDOUBLEaffinity columns are mapped to DatabricksDOUBLEbecause SQLite stores this family as 64-bit IEEE doubles, while DatabricksFLOATis 32-bit. The DDL conversion reports the widened column count inwarnings; override it only when the source values are known to be 32-bit.
type_fidelity_warnings and
does not rate those objects SIMPLE. If sqlglot_transpilation.success is
false, the object requires manual conversion. The Databricks DDL generator
also fails when its draft contains an unparameterised decimal; repair the
returned databricks_ddl_draft with explicit precision and scale from the
source schema before retrying. It also refuses a draft that no longer declares
the source table or columns; see Connections — Query comparison safeguards
for the returned loss fields and other conversion refusals. For the source-type
mapping table and the BIGNUMERIC decision, see the platform-specific migration
blueprint’s type mapping reference.
The scorer can return UNKNOWN with parse_check when unreadable input would
otherwise rate SIMPLE or LOW; see Data Connector Tools — SQL complexity
assessment.
Runner handoff and resume recipes
At the end of planning, the agent offers handoff to{platform}_migration_runner. The runner requires a live target connection
and cannot run in artifact-generation mode.
Online planning (target was configured): the planning phase declares a
handoff_decision exit criterion — present the runner handoff, wait for a
separate user reply, then exit with boolean completion_proof fields. See
Handoff decision exit criteria
for manifest fields and same-phase retry behavior. On approval, hand off with
these three required inputs:
migration_repo_idsource_connectionstarget_connection
flow_definitions_path — defaults to
03_staging/flows/FLOW_MANIFEST.json; pass only when the generated flow
manifest is elsewhere.
Remediation mode (runner re-fire). On both Snowflake and Databricks, in
Phase 6 (Fix Loop), after the validator authors 10_validation/RUNNER_ACTIONS.md
and 10_validation/FIX_DELEGATION.md, it presents the delegation package and —
on user approval — triggers a declarative blueprint_handoff to
{platform}_migration_runner (mode: async, on_completion="notify" so Phase
6 stays open and the validator resumes automatically when the corrective mission
finishes). Genesis maps these inputs automatically:
When
remediation_repo_id is present, the runner enters remediation mode:
Phase 0 routes directly to the remediation phase — only the delegated fixes
are applied and only the affected objects are rebuilt; the full pipeline is not
rerun. In remediation mode, runner_repo_id (the original runner mission repo,
whose 09_run/ logs hold execution context) is also required. When the mission
is part of a database-migration journey, this handoff appears as a spawned
stage in the Mission Center blueprint chain, inheriting blueprint_journey_context
from the parent thread. When starting remediation outside the validator handoff,
remediation_actions_path defaults to 10_validation/RUNNER_ACTIONS.md and
remediation_delegation_path defaults to 10_validation/FIX_DELEGATION.md.
Plan-only planning (no target at kickoff): do not attempt
BLUEPRINT_HANDOFF to the runner yet. If kickoff notes already declared
plan-only mode, treat that as the user’s standing decision. Otherwise the agent
asks whether a target connection is now available and waits for a response.
Whenever runner handoff is skipped, the completion message and the planning
summary manifest (08_summary/EXECUTION_MANIFEST.md for Snowflake,
08_summary/WORKSPACE_MANIFEST.md for Databricks) must include a resume
recipe with the runner’s exact input names — migration_repo_id,
source_connections, target_connection — filled in with the actual values so
operators can copy-paste when a target connection becomes available.
Migration validator: data equivalence and open-deviation reconciliation
The{platform}_migration_validator blueprints validate code conversion and
data equivalence after the runner completes. Data-equivalence and reporting
phases load system_diff_tools (one tool, system_diff) and scheduler_tools in addition to
data_connector_tools, git_action, and platform-specific connector tools
(databricks_tools for Databricks; flow_tools for Snowflake).
Contract-driven verification (preferred). For keyed tables and query outputs, the
validator uses system_diff(action="verify_against_contract", args={"spec_yaml": …}) with a Contract YAML: source and
target connection_id + query, a required non-empty keys list, and
per-column method, tolerance, and normalize rules where exact checksums
are insufficient. The run is submit-and-return — it returns a run_id with
status: "running" (optionally pass wait_seconds up to 60 for small tables).
Poll system_diff(action="get_verification_run", args={"run_id": …}) until finished_at is set. Finished runs
carry a tri-state verdict (PASS / FAIL / INDETERMINATE),
rows_compared, mismatched_key_count, mismatched_keys_overflow,
hot_suspended_key_count, truncated / truncation_reason, and per-column
method details. Treat a FAIL with zero mismatched keys as a confirmed mismatch
whose localization is incomplete — never as clean.
Quick checks with _compare_query_results. Keyless spot checks still use
_compare_query_results (row count, aggregates, samples). The tool also
accepts optional keys (array of strings). When provided, Genesis runs the
same system diff verifier and adds checks.keyed with a tri-state
verdict. Only PASS keeps the overall comparison clean — FAIL and
INDETERMINATE both fail the overall result. Verifier errors surface as
checks.keyed.verdict == "INDETERMINATE" with an error reason; they are never
silently skipped.
Open-deviation reconciliation (validator-owned). While a validation mission
is open, the validator — not a background Genesis job — reconciles open deviations:
- Surface the queue — when writing
10_validation/REGRESSION_REPORT.md, callsystem_diff(action="list_open_deviations", args={"spec_name": …})for each contract-driven verification. Record each deviation’s status (timing-noise,real-regression,known-tolerance, orhot-suspended) so the report separates accepted noise from true regressions. - Event-driven recheck — after a code fix, data reload, or timing-window
change, call
system_diff(action="recheck_deviations", args={"spec_name": …, "spec_yaml": …})before updating the regression report. Therecheck_deviationsaction returnsstill_openandnewly_passed; keys that now pass are retired, while keys still failing past the window escalate towardreal-regression. - Time-based aging — distinguish transient replication lag from true
regression by registering a contract-scoped recurring job with
scheduler_action(action="ADD_JOB",job_id="validator_recheck_<spec_name>", an interval or cron trigger sized to the lag window, and awhat_to_do_promptthat drivessystem_diffrecheck_deviationsand updates the report). Record eachjob_idfor teardown at sign-off. Usereplace_existing=truewhen re-entering the phase.
validator_recheck_* job with
scheduler_action(action="REMOVE_JOB", ...) and confirm with
scheduler_action(action="LIST_JOBS") that none remain.
Reporting, remediation, and final-validation phases inject
validation_instructions.md with the full workflow. See
Process Scheduler Tools for
scheduler_action parameters and
Connections — Query comparison safeguards
for verifier limits and keyed-check behavior.
Foundry Workshop app to GenesisApp
For app migration separately from the data-and-pipeline migration, Genesis shipsfoundry_workshop_to_app in the Blueprint Library. It rebuilds and proves a
Workshop app as a GenesisApp; use it in addition to, not instead of, the
data-and-pipeline migration. See the migration guide
for supported write-back actions, linked-table setup, and the migration sequence.
The Blueprint’s table-setup phase also checks for stale properties and refreshes
app-owned read tables; see the migration guide for the read-schema requirements.
If a Workshop map is reported as unsupported_map: no data layers because Foundry
does not serve its template, the Blueprint asks for the person’s layer definition;
record it under map_layers before describing the app again. See the migration
guide for the fields and
proof behavior.
The mission seals the Workshop surface and supplied source screenshots in phase 0,
then proves the rebuild against that spec with prover_app (action prove_app) in its phase-2 fix loop. Proofs are recorded
as Prover runs; reuse the sealed spec after rebuilding the target. For the compiler-upgrade
exception to resealing, see seal_app_spec.
When supplying screenshots, use the repository-relative ref form in the
seal_app_spec contract,
not a path relative to the mission repository.
The default widget coverage threshold is 0.8. The proof
uses the screenshot obligations sealed in phase 0; see Prover app mode
for how those checks affect verdicts.
The Blueprint also requires a separate visual self-check; see the Foundry migration guide
for its timing, checklist, and record.
Optional recording (a '<repo_id>:<path>' Foundry recording, omitted by default)
supplies action history for replay on a separate proof instance; the instance is also
deployed when proving a deployed app. See the
Foundry migration guide
for the replay setup and results.
Required inputs are foundry_connection, module_rid, target_connection, and
target_catalog. ontology_schema defaults to foundry_ontology, app_id
defaults to a slug of the Workshop app name, and deploy_target defaults to
genesis; set deploy_target: databricks_apps to deploy and prove it again as a
Databricks App. A proof that does not read verified is a warning, not a blocker
to deployment; record its status and open items and explain them to the user. The
Foundry migration guide
describes the proof and deployment reporting. app_runtime defaults to auto: Databricks
targets (deploy_target: databricks_apps) use appkit, as do Genesis-only targets whose
logic manifest maps at least one ported function; other Genesis-only targets use flask.
An explicit app_runtime choice is kept. For supported actions and limitations, see the
Foundry Workshop migration guide.
When foundry_logic_to_databricks produced a manifest with ported_logic, pass
logic_manifest: '<repo_id>:foundry_logic/logic_manifest.json' to run mapped
function-backed actions and function columns in the deployed AppKit app. The Genesis
preview does not run the port.
For the service-principal
read grants DEPLOY applies to schemas the
app reads, see Databricks Apps.
Record DEPLOY’s read_access result for each schema: it reports readable,
missing, or unknown, and the Databricks Apps guidance explains what to do for
each status.
To let the Prover connection open the deployed app, pass it to DEPLOY with
share_with_connection; the same section documents sharing with app users.
If DEPLOY reports an older template file, follow its SCAFFOLD refresh note, restart,
and deploy again; see the SCAFFOLD guidance.
The mission takes an estimated 20–40 minutes per app. See the
Foundry Workshop app migration guide
for the workflow, linked-app deployment requirements, and proof details, including
first-open selection and unsorted-list handling. The mission records each embedded Notepad document’s read status and
reason, plus its name and images when read; it asks for exports only when
foundry_describe_app could not read a document. It keeps every app in the same catalog and ontology schema on the estate’s
shared write schema; see the guide for those requirements.
When a Foundry recording is supplied, the mission also needs a second, scratch-only
proof instance to replay it; the real app is never the replay target. The deployed
proof follows the same warning-not-blocking rule: record its status and open items,
and tell the user what Prover still flags. See the migration guide for the recording
and proof-instance procedure, including how replay grants a deployed proof instance
access to its scratch schema.
Foundry ontology logic to Databricks
Usefoundry_logic_to_databricks before the per-app Workshop migration when the
ontology’s action and function logic needs an inventory and handoff. It assumes the
ontology data is already in Unity Catalog. Required inputs are foundry_connection,
ontology, target_connection, and target_catalog. ontology_schema defaults to
foundry_ontology; write_schema uses the estate’s recorded schema or
ontology_schema; module_rids defaults to every Workshop module found in
folder_rid. Optional inputs include folder_rid, repo_rid, tag, logic_overrides,
recording, and proof_instances. The mission produces
foundry_logic/logic_manifest.json for later per-app runs and takes an estimated
15–30 minutes per ontology. See Palantir Foundry integration — Reading action and
function logic
for its phases, handoff, and limits. The TypeScript source also gets a fixed-rule
port onto @genesis/ontology, saved beside the original; the port is not executed
or proof, and unmapped calls must not be completed by hand. Different consumers can
pin different versions: the source and port cover each pinned tag, and the handoff
keeps each consumer on its own version. A Workshop-only function is settled without
confirmation only when one candidate’s method matches its label; see the Foundry
logic inventory
for the reported mapping fields. Automations become Jobs only when a person
describes them in logic_overrides.json; the mission creates those Jobs paused, and a
person enables them after review. Write or revise the whole overrides file with
foundry_write_logic_overrides,
not a file or Git tool, so Genesis records who supplied each entry.
Foundry Workshop bundle to Databricks AppKit
Usefoundry_workshop_bundle_to_appkit when the Workshop app comes from an
offline export. Required inputs are
bundle_path, target_connection, target_catalog, and target_schema, where
the app’s data is already migrated.
Start it from the Blueprint Library and leave the box that lets the agent work
as you ticked, so the run does not wait on an Allow card in your Queue.
The mission validates the bundle and landed
tables, including primary-key uniqueness/nulls and link-key orphans when the
Databricks connection is available. Composite primary keys are checked as tuples, and links
to them are checked across every key column. It builds and deploys a Databricks AppKit app,
then proves it against the
compiled spec. Without a Foundry connection it makes no Foundry requests; that
spec-conformance proof confirms the app serves its compiled queries, not that
those queries match the original Foundry app. Optionally supply foundry_connection
to also prove the deployed app against the live Workshop app. It is the
Connections-service name, not a token. The mission uses the app module identified
by the bundle or the supplied module_rid; when it cannot identify one, it shows
the candidates’ bundle files and Workshop module RIDs (when available), not their
titles, and asks which is the app. Record the selection in
00_bundle/BUNDLE_INTAKE.md; linked modules are recorded separately as described in
the offline bundle workflow.
The optional live proof uses that same module; use ontology when the connection can see more than one ontology. It is the stronger
app-against-app proof, and failure to read the selected module/version blocks the
proof instead of silently falling back. See the
offline bundle workflow
for its inputs, key-check blockers, and proof distinction.
When a person supplies or changes behavior the bundle does not contain, record it
in the whole logic_overrides.json with
foundry_write_logic_overrides,
not a file or Git tool, so Genesis records who supplied each entry.
The mission’s screenshot limits and data-freshness intake are described in that
workflow; screenshots guide appearance, not values.
For saved object set blockers and the AppKit readiness gate before building, see the
offline bundle workflow.
For an app with row policies, the blueprint now runs bundle landing even when
the app has no writable objects. When row-policy blockers are the only remaining
describe blockers, it refreshes the describe after landing before building. Use
both results’ readiness gates; the landing and refreshed describe can reveal
different blockers.
The bundle blueprint’s generated-view type coercion, including strict boolean
parsing, is described in that workflow.
For a link_orphans blocker, show the person the link and its orphan_rows and
ask whether to accept it as a known gap. Only links they accept may be passed as
accepted_link_orphans; the resulting accepted_gaps remain in the spec but do
not block the build. Any other blocker still stops the mission. Record accepted
links, their orphan_rows, and who accepted them in
00_bundle/BUNDLE_INTAKE.md; record each accepted gap in
01_spec/APP_SPEC.md.
This Blueprint also requires a visual self-check; see the Foundry migration guide
for its timing, checklist, and record.
For app values that follow many-to-many links, include the declared join-table
mapping described in that workflow before starting the mission.
The mission uses the compact summary=true response for its initial inventory and
then records the complete description after checking landed tables; see the
tool reference.
For a v1 export that should carry app functions source and its imported object types,
see the optional functions_source parameter in the export tool reference.
See the offline bundle workflow
for what changes when foundry_connection is omitted and the operator prerequisites.
For tables spread across schemas of that catalog, also provide target_schemas
and/or table_schemas; the mission records the schema map and uses it for
validation, deployment grants, and proof. See the
offline bundle workflow
for the mapping format and restrictions. Compiled write actions retain the landed
base table each current view reads; see the
Workshop migration guide
for schema and read-grant behavior. When compiled actions write object types, the
mission also sets up their edits tables, current views and action log with
foundry_land_bundle_app_tables, using the same bundle and target mapping as the
describe step. A row policy without its <object>_secured view blocks building,
because the offline setup does not grant or construct secured views. Optional
load_bundle_data defaults to
no and is for demo bundles that include CSV rows; write_schema defaults to
target_schema, app_name to a slug of the
Workshop app name, warehouse_id to the target connection’s warehouse, and
prover_connection to target_connection. The mission takes an estimated 30–60
minutes per app.
Apps with row policies must use the AppKit runtime rather than Flask; see the
Foundry row-policy guidance
for the shared-identity restriction and link-action behavior.
The proof phase accepts the optional viewer_probe_connection and
no_grant_probe_connection mission inputs; see the
Foundry migration guide
for the prerequisites and results.
The blueprint creates the GenesisApp without repo_id, so its source stays in
the apps repository rather than the mission repository. Record the returned
workspace_path in 02_build/APP_BUILD.md; CREATE refuses a repository that is
not a managed source with apps scanning enabled before it writes anything.
If a redeploy is refused because DEPLOY could not confirm a required grant,
leave it stopped in the Mission and record the named grant and statement for the
person. Do not pass the acceptance option on an agent-started turn; see the
Databricks Apps deployment rules.
Foundry Quiver dashboard to Databricks AI/BI
foundry_quiver_to_aibi is a managed mission for one Quiver dashboard. The
Foundry-to-Databricks data migration must already have landed the ontology in
Unity Catalog. The mission takes an estimated 10–20 minutes per dashboard and
writes a spec, build record, proof, and migration report. See the
Quiver dashboard migration guide
for the workflow, coverage gaps, and Workshop-app linking.
Required inputs are foundry_connection, dashboard_rid, target_connection,
target_catalog, and dashboard_folder. Optional ontology_schema defaults to
foundry_ontology; warehouse_id defaults to the target connection’s warehouse;
linked_app_ids is a comma-separated list of migrated Workshop apps that embed
the dashboard.
Dashboard root-cause demo blueprint (Demo 2b)
Genesis shipsdemo_dashboard_root_cause (v0.10) for repeatable Sales
Engineering demos that bake a real dashboard, versioned Python ETL Flow with a
plausible business-logic anomaly, Twin lineage chain, and operator-safe handoff
document. When features.presenter_controls_enabled is true, the recommended path is the
ticket-driven dashboard anomaly vignette through the presenter routes:
set up the dashboard Mission, choose an ETL system, then prepare
the Jira ticket so Genesis files a real
Jira issue and starts the matching failure fixture before Jira automation hands
work to Eve. It is a disposable demo, so the Blueprint Library does not start
it; the standard mission-start API does, given its presenter scope (demo_scope
and presenter_session_id). No private Launchpad journey or demo_builder bot
is required.
The dashboard’s daily recognized-revenue chart highlights a material low outlier
against the recent operating baseline, rather than always highlighting the latest
day.
Kickoff must include only the standard profile label:
demo.allow_remote_git=true, provider credentials, an
origin/default branch, and managed Flow source capability. PR creation uses
flow_action managed-source actions (REGISTER_MANAGED_SOURCE,
SYNC_FROM_REPO, EXPORT_COMMIT) — not broad raw Git mutations.
The live handoff is fail-closed:
diagnose → immutable scratch proof → post-diagnosis routing approval →
managed-Flow PR/rehearsal artifact → explicit apply approval → safe rerun →
warehouse + dashboard proof → debrief
A PR failure never falls through to a Flow update. Apply runs the proven
candidate into a validated replacement table and swaps rows transactionally;
failed reruns or dashboard proof automatically restore the prior Flow
definition, pin, and warehouse rows before idempotent cleanup. Mission-repo
handoffs contain symptom and routing guidance only — never the correction or
corrected expected value.
Every mutable artifact is prefixed
demo_<scenario_id>_<demo_resource_scope>__* using the bounded collision-resistant
scope persisted at mission start (demo_resource_scope is derived from the
presenter demo_scope plus the unique project identity). Copy the exact
demo_scope and demo_resource_scope values returned by ENTER_PHASE — do not
derive them from repo_id or a truncated mission id. Concurrent SE runs stay
isolated because each mission gets its own demo_resource_scope. Flow Python
steps consume the runner’s parameters mapping; fixture and template integrity
use file(action="read", include_sha256=true) and flow_action
definition_sha256 responses for preflight checks.
Data Estate Health Dashboard blueprint
Genesis shipsdata_estate_health_dashboard for creating a client-specific,
point-in-time health snapshot from a populated Context Graph. The blueprint
organizes the result into Trust, Cost (Benefit), and Hygiene views;
it is not a recurring monitor and does not replace an existing app. A run takes
approximately 30–60 minutes and a later run creates a new snapshot.
Launch the blueprint from the Build Data Estate Health Dashboard journey in
Launchpad when the Context Graph contains data. The journey collects five
structured inputs:
The mission uses the Context Graph as its scope and lineage authority, then
prepares and verifies its owned analysis runtime before it captures bounded
evidence, analyzes deterministic signals, materializes a mission-scoped dataset,
and builds the dashboard from that dataset. Capture is admitted only after the
runtime preparation check passes, and the normal dashboard review requires
stakeholder approval before the retained-resource handoff is published. Missing
or incomplete evidence remains
unavailable or partial; it is not converted
to zero. The dashboard labels weighted compute as an estimate and ranking proxy,
not billed credits. For each accepted source, the workflow makes at most one
compact SEARCH_NODES request. If the response indicates another page, the
workflow records partial coverage and the continuation instead of fetching more
pages. See Lineage Tools for the paging
parameters and response fields.
Each run owns its app, dataset, SQLite projection, and mission files for the
app’s lifetime. The mission does not delete those resources at completion; the
handoff records ownership, retention, recovery caveats, and the manual deletion
order.
See Digital Twin and Context Graph
for the Context Graph workspace and Lineage Tools
for the graph statistics and lineage actions used by the blueprint.
Client file onboarding blueprint
Genesis ships aclient_file_onboarding blueprint for repeatable Sales
Engineering demos that onboard a realistic four-file client file package into
Databricks or Snowflake.
The blueprint runs as one goal-mode mission with four phases:
Every mutable repository, Unity Catalog schema, volume, pipeline, and table name
includes a ten-character SHA-256 suffix derived from the complete mission
repository id so concurrent runs stay isolated. The blueprint never writes to an
unscoped shared schema.
Launch the flow from the gated Onboard client files Launchpad journey when
features.show_client_file_onboarding_journey is enabled. See
Chat and Threads — Onboard client files
for the local-file attachment flow and wizard steps, and
Advanced Settings — Launchpad feature flags
for enablement.
For the local_files attachment workflow and its waiting, retry, and cancel
behavior, see Chat and Threads — Onboard client files.
When source_mode is local_files, Launchpad uploads and stages one or more
client onboarding files before the target-selection step opens the generic
Start Mission modal. The modal shows the number of files selected in
Launchpad; it does not provide a second upload control. The staged file ids and
session id are passed with the mission-start request, and Genesis verifies each
upload, preserves the exact bytes in the Mission repository, and starts Eve
with the staged files ready for mapping. Chat-started Missions that do not
provide pre-staged files continue to use the attachment workflow linked above.
The target Databricks connection needs SQL warehouse access plus USE CATALOG,
CREATE SCHEMA, USE SCHEMA, CREATE VOLUME, WRITE VOLUME, and CREATE TABLE privileges on the catalog the mission pins during preflight.
For Snowflake targets, this blueprint uses the repository-backed execution
profile and carries its execution evidence into validation.
For Databricks Prover targets, reusable model SQL must use only two-part
<target_schema>.<table> relations and must not embed the live target catalog.
Keep target_catalog in execution configuration and evidence; the guarded
Prover adapter selects the mission’s sandbox catalog and retargets the reviewed
SQL before execution. The selected target model key must list every dependency
SQL file the adapter consumes, in execution order, with the mart file last when
one exists.
Behavioral Prover contract inputs
The validation phase’s credential-free source and target execution contract is shaped as follows. A behavior test is optional and fuzzing is off while it is being redesigned, so the Databricks migration validator reports rewritten views asNOT_RUN without running fuzz,
including when the source is sqlite_sql and the target is databricks_repo_sql. See
Behaviour Fuzzing. In selected-bundle
or local-files mode, use the adapter-keyed descriptors below and replace every
placeholder with the verified mission value:
client_file_onboarding, profile_scope must be the exact
repo_id:validation_specification_checksum binding shared by both profiles;
the checksum is 64 lowercase hexadecimal characters. Phase 3 also emits the
authoritative_onboarding_validation_ready completion proof, which requires a
finished, reproducible Prover result with zero findings and at least one case
and model validated, plus validation_reference.schema_version: 1, the
checksum, and the matching Prover run id.
Managed storage is connection-owned. The authoritative Databricks connection
may provide the optional non-secret prover_managed_location_root; do not copy
it into the profile, emit a managed_location field, or auto-discover arbitrary
external locations. Legacy stored runtime profiles may still contain
managed_location, but new Mission-authored profiles must leave managed storage
to the connection. Every source
schema_columns key must have a matching csv_files key, and every stimulus
row must use one of those logical keys and only its declared columns. The
target_node suffix after the final . must match a key in both
transform_sql and model_sql_files; use the stable logical key, not a physical
table name.
Use JSON null for nullable non-string stimulus values, never an empty string;
date values must be valid calendar dates in the source format.
When Launchpad pre-stages local files, the server adds local_file_bundle to
the execution inputs. It contains the complete Mission repo_id, the fixed
manifest path client_files/manifest.json, the manifest SHA-256, and an
ordered files list with each file’s path, filename, byte_size,
mime_type, and SHA-256. The mapping phase must verify this evidence before
reading the files and must stop if any path, size, MIME type, or checksum does
not match.
For the client-file onboarding blueprint, the final FinData projection uses
this exact ordered contract: position_id STRING, internal_security_id STRING,
isin_number STRING, security_name STRING, fund_name STRING,
portfolio_name STRING, current_market_value_usd DECIMAL(18,2),
unrealized_gain_loss_usd DECIMAL(18,2), portfolio_weight_pct DECIMAL(18,6),
cusip_id STRING, trade_date STRING, px_last DECIMAL(18,6),
composite_esg_rating DECIMAL(18,6), letter_grade STRING,
carbon_intensity DECIMAL(18,6), has_identifier_mapping INTEGER,
has_latest_market_data INTEGER, and has_esg_data INTEGER. Both final
SELECT lists must explicitly cast and alias every expression in that order;
do not use SELECT *. Indicator expressions must return integer 1 or 0,
not boolean values.
Cross-engine validation normalizes declared numeric values to canonical decimal
text (including exponent forms), booleans to lowercase true or false, and
migration test-value timestamps to UTC wall-clock YYYY-MM-DD HH:MM:SS text.
For System Diff comparisons, full timestamp values in columns declared date
or timestamp by both engines compare as one instant when drivers use T or a
space as the separator, and Z, +00:00, or no UTC suffix. Fractional seconds
are preserved, with trailing zeros ignored. Other offsets and text-typed values
are not canonicalized. Text values are not coerced. The comparison uses the
declared output types from both engines when they are available.
A migration whose source consumes landing FILES rather than table rows uses the
file_python_oracle source kind instead of a SQL adapter. Declare the reviewed
program that executes the transform, pinned by sha256, together with the
landing location, the input files and the typed declared outputs.
Name only a profile kind that is actually registered, and never present a
profile as ready for a runtime that has none: preparation answers
status: "unsupported" with the exact missing capability, and that answer is
the one to relay rather than a substitute profile. When the executable oracle is
a reviewed clone rather than the original runtime, set
oracle.assurance: "reviewed_clone" and name the original in stands_in_for —
the campaign then records that it does not cover that runtime, and the Blueprint
must not describe the result as proving it.
No verb prepares, approves or runs these cases any more. Behavior testing is optional while
fuzzing is off; see Behaviour Fuzzing.
For the ticket-driven dashboard path, assigning the prepared Jira issue to a
configured Genesis worker authorizes investigation and remediation of that
isolated fixture; Eve does not request a second approval or token. Completion
requires a successful recovery run, Prover PASS, and a successful refresh of
the materialized dataset bound to the affected app before the dashboard is
confirmed recovered. Eve calls dataset_refresh_tool, waits for the refresh to
succeed, and verifies the dashboard is backed by the recovered relation. If the
ticket asks for a new dashboard instead of an in-place repair, deliver that
dashboard and link it on the ticket. Root-cause claims still require evidence;
the ticket states the requested outcome, not the diagnosis. Then post the
five-line Genesis RCA final debrief comment before closing the Jira issue.
Phase order and document flow
Blueprints can declareblueprint.phase_order in blueprint_manifest.yaml as a
list of phase ids. Use this when phases use string ids (for example catalog,
select_documents) instead of only numeric keys.
Genesis uses phase_order to lay out the blueprint document-flow graph, to pick
default “next phase” hints in the phase details modal, and to map legacy numeric
active-phase indices to the correct string id during mission replay. Phases not
listed in phase_order still appear after the explicit list, using numeric-then-
alphabetic fallback ordering.
For a programmatic mission whose entry phase Genesis enters before the first
agent turn, Document Flow shows that server-started phase and the injected
documents returned by ENTER_PHASE. The kickoff message records the phase entry
and its documents so they appear in the graph even though the agent did not
enter the phase with a tool call.
Programmatic BlueprintRun missions with string phase ids should always keep
phase_order in sync with the manifest phase keys. See
Programmatic BlueprintRun for host
integration details.
Phase work summaries
When a phase exits with work context, Genesis generates a work summary from that phase’s thread activity and completion proof. The summary excludes the runtime’s synthetic idle nudge, which is not a person’s work message. A generated summary is passed to the next phase; whenauto_update_work_log is enabled in the blueprint manifest, Genesis also
appends it to the mission repository’s WORK_LOG.md. Summaries that name
recognized artifact files absent from both the phase activity and completion
proof are replaced with a completion-proof-based summary.
If the phase has no work context to summarize, Genesis does not generate or pass
on a summary. Instead, the mission work history records that no summary was
available. A thread-history read failure is recorded separately, so it is not
reported as an empty phase.
Database read and write activity on the graph
When a blueprint mission executes SQL through governed connectors, Genesis records compact execution activity with the active blueprint phase (phase_metadata) and classifies each statement as read or write access.
The mission Document Flow graph uses that attribution to render separate
connection nodes per phase:
Select a connection node on the graph to expand or collapse its inline activity
list. Open stored query results from clickable entries when available, and (for
reads) jump to related tables referenced by phase artifacts. Activity labels
prefer explicit titles; when none was recorded, Genesis derives a short SQL
summary for display. Each node shows the connection’s product mark; the Vertica
node uses its square V mark, adapted for contrast on dark cards. When a computed
result combines saved results from multiple connections, the graph labels its
node Computed results rather than showing the placeholder connection ID. Journey debriefs and
GET /api/data/bots/{bot_id}/threads/{thread_id}/query-activity use the same
underlying activity records. See
Overview tab: Document Flow and database activity.
Injected documents and mission file preview
Phases can list input documents undercontext_management.inject_documents in
blueprint_manifest.yaml. Each entry is either a path string or an object with
a path field (and optional description, required, or repo_id). Genesis
injects those files into the agent context when the phase runs. Phase-transition
results deliver injected documents in full (they are exempt from the tool-output
governor). When any new phase is entered, Genesis stubs document content from
all prior phase-transition results to reclaim context window space; stubs
keep file_path / repo_id so the agent can re-read on demand. A hard ceiling
of 256 KB total injected-document content applies per transition — documents
past the budget are replaced with read-it-yourself stubs instead of being
truncated mid-string.
In the mission work log phase-details view, Genesis resolves declared paths
against mission artifacts so Open and Preview target the mission
repository copy when a match exists:
- Injected documents — Genesis searches outputs from earlier phases.
- Exit criteria and branch
requires_documentspaths — Genesis searches outputs from the current phase.
Bare-filename fallback applies only when the spec contains no
/ and no
*. Specs with a directory prefix require an exact or wildcard match on the
full path — docs/ARCH.md does not match other/ARCH.md.
When more than one earlier phase produced an artifact with the same basename,
Genesis uses the match from the earliest phase.
These rules apply to mission UI preview and download links. The blueprint
document-flow graph still uses exact and wildcard matching on manifest paths to
decide whether an injected document is a prior-phase output.
Review details and files
When you open a blueprint detail or phase view, Genesis can expose related files for preview or download when the blueprint includes them. During a mission, the phase-details panel in the work log uses the same preview controls for injected documents and deliverable paths; see Injected documents and mission file preview. In OAuth- or OIDC-protected deployments, protected downloads run through your current signed-in session automatically. Some built-in blueprints also carry executor-specific implementation guidance. When a blueprint phase asks you to run local Python with third-party packages, follow the managed environment workflow from Code Executor Tools: create the environment withcreate_env, inspect it with list_env_deps, reuse it with
execute_python_code(..., env=...), and add packages later with update_env
instead of invoking pip inside the executed script.
For the built-in synthetic_data_generation blueprint, database destinations
now require Genesis-side connection and query proof before the run is treated
as complete. When the generated output is a database rather than files, the
delivery should record the final Genesis connection_id, whether the
connection was newly registered or reused, and the registration details used
for access. SQLite runs created in the repo should capture the repo_id and
relative_db_path used to register the database with Genesis.
Validation scripts for this blueprint should use the standard-library
unittest framework; pytest is not installed in the Genesis runtime.
The same run should also include docs/GENESIS_CONNECTION_VERIFICATION.md and
docs/GENESIS_QUERY_VALIDATION.md. These documents should show that Genesis
could query the generated database through _query_database, including table
discovery, SELECT COUNT(*) checks for every manifest table, representative
schema checks proving expected columns are queryable, relationship or integrity
queries, and at least three realistic read queries that a Genesis user would
care about. File destinations do not require this extra database connection
proof.
The Railway sandbox environment previously used for the built-in
legacy_data_lake_workshop blueprint was retired in October 2026. Run the
blueprint on any Genesis instance with LOAD_LAB_SOURCE_DATA_DB=true to make
the shared workshop source sqlite.lab_source_data available before the
mission starts. Each run then provisions its own target SQLite database
automatically, so workshop participants stay isolated while the shared source
remains read-only.
In Phase 2, the source and target SQLite databases are separate files and cannot
be joined with ATTACH. The mission exports each RAW_ table as JSONL into its
repository, loads it into a target staging table, and builds the BRZ_ tables in
one transaction. The landing files are transport copies: deleting them from the
working tree does not remove them from repository history. The target’s
_genesis_provenance rows remain as lineage records; a failed load or bronze
batch uses the phase cleanup SQL to remove only staging tables.
For the built-in genesis_health_check blueprint (category: system_validation),
Genesis runs an operational health mission that validates configured connections
with read-only probes, confirms the active LLM path can complete prompts and
record usage metadata, and—when prompt caching is enabled—proves cache-read
telemetry from usage counters rather than model text. The blueprint ships with
default_mode: goal, so a Mission started without a mode runs the checks end to
end without manual gates between phases and stops for a person only when it
stops making progress. MCP, agent-to-agent and
Programmatic BlueprintRun hosts that
pass continuous still get the legacy continuous run.
Typical use cases include verifying a deployment after startup, deploy, or
config changes; confirming connections are reachable; and validating that prompt
caching produces observable cache-read counters when the provider supports them.
The mission produces structured reports under reports/ in the mission
repository:
Prompt-cache pass/fail uses turn-level or thread-level usage metadata such as
cache_read_input_tokens, cache_read_tokens, cache_creation_input_tokens,
cache_write_tokens, cached_tokens, and thread_cost_summary.cache_rate_pct
when available. The warm-up/repeat probe must show cache-read telemetry on the
repeat turn when caching is required; Genesis does not pass this check based on
the assistant response text alone.
The blueprints described from here to the end of this section are Genesis’s
internal release and QA tests. They are
hidden from the Blueprint Library and start only
by name.
For broad tool-family validation across git, SQL, and logging, Genesis’s release
validation uses the hidden built-in system_test blueprint
(category: system_validation, version 1.5). It exercises core tool families with concise per-phase
summaries and ends in a final error-log hard-gate that produces an explicit
PASS/FAIL/BLOCKED verdict; unverified mission-log provenance is reported as a
harness-inconclusive outcome, not as a clean pass. Its requested test artifacts, including generated
sample data, are synthetic and pre-authorized; the mission does not ask before
creating them. A general run may omit release_context; when that input is
provided, the run is release acceptance for aws/alpha only and must include
independently verified target, candidate tag/SHA, deployed-version, run tier
and pinned provider/model, and evidence-source details. Contextual runs carry
run_tier, run_provider, and run_model; Genesis pins that provider/model
for the run tier inside the mission only and rejects the start with HTTP 400 when
any of them is missing or invalid. No phase pins its own tier, so
context_tools(action="GET_CONTEXT") reports the run tier throughout, and the
observed model must equal run_model. The mission never switches tier or
escalates. Record observed usage. The mission must not change shared
assignments or agent defaults; the release wrapper owns model selection.
Version 1.5 adds the optional invocation_started_at input. Release callers
capture this timezone-aware server timestamp immediately before starting the
mission so a restart on a reused mission thread cannot reuse an older start log
as its identity anchor. A manually started fresh mission may use its observed
timezone-aware project created_at only when exactly one distinct matching
start exists; project creation time is not a restart boundary.
For unattended sandbox validation, provide trial_context instead of
release_context (the two are mutually exclusive). Include the verified
lab/<name> target, candidate SHA/version, and external restricted-user denial
evidence, plus run_tier, run_provider, and run_model. The mission pins
that provider/model on the run tier; record its observed usage. Shared model
assignments are only a baseline and must not be changed. Missing or mismatched
evidence blocks the run. The mission stays on the run tier, runs the
functional checks and strict error-log gate, and records that it is not release
acceptance. It must not deploy or wake an environment, change shared models, or
submit tickets.
Runs supplied with release_context or trial_context are unattended. If a
required prerequisite fails or is blocked at any phase, the mission immediately
writes reports/system_test_report.md with the first cause and available
evidence, and marks every unreached required check BLOCKED. It does not ask
the operator, wait for input, or repair shared configuration. After saving the
report, it changes this mission’s status to FAILED, verifies that the change
succeeded, and ends without claiming phase completion. If a provider error
prevents the report from being written, the external runner captures diagnostic
evidence.
For a shorter unattended lab check, release validation uses the hidden built-in
system_test_lite blueprint. Its required release_context supplies a verified lab target,
deployed_version, test_revision, run_tier, run_provider, run_model,
required_connections, and exclusions; provide candidate tag/SHA only for an RC
run. Genesis pins the provider and model on the supplied run tier from the first
call. Verify that context_tools(action="GET_CONTEXT") reports that tier and
that observed model evidence matches run_model. There is no model fallback:
missing access to the pinned model blocks the run. The mission checks context,
read-only required-data queries, and report read-back without changing shared
provider, tier, or settings. The caller collects final model/usage evidence and
deletes the mission’s resources.
For release acceptance and sandbox trials, the RBAC check validates the
runner-provided denial evidence against the target and candidate SHA, requires
a real GET /api/rbac/users response with status 403 from a verified
non-admin user without manage_users, and rechecks that permission in the
mission thread. Missing or mismatched evidence blocks the run. Do not include
the user’s token in mission inputs or reports. Do not use this full blueprint
for SPCS release validation.
Both system_test and spcs_system_test take one initial
get_error_logs(include_rotated=true) snapshot before validation starts and save
a compact record of it to reports/error_log_baseline.json: its observed_at,
error_log_path, total_records, total_groups, groups_complete, and the
signature, level, and count of every group it returned, built from the result’s
structured fields rather than copied from its display text, so a result too large
to show in full is still recorded completely.
The snapshot’s observed_at becomes the immutable error_log_since boundary. If
the snapshot fails, has no timezone-aware observed_at, or its recorded groups do
not account for its own counts (after recovering an archived result with
GET_COMPRESSED_TOOL_RESULT, never by calling get_error_logs again), the run is
BLOCKED as mission_log_provenance. A recovery reads the archived result page by
page: it follows next_offset with the same result_tool_call_id while has_more
is true, joins every value_chunk in order and decodes the joined text before
reading any snapshot field, so a recovery that fails or stops before its last page
is BLOCKED the same way. The tool-output governor caps a result over its inline
budget before the thread keeps it, leaving a shortened object or a preview envelope
that names full_output_ref; the snapshot is then rebuilt from that full copy, read
with file(action="read", repo_id="apps") from start_byte=0 and following
continuation.next_start_byte to its last byte, never from the shortened groups or
the preview, and a capped result with no full copy or a read that stops early is
BLOCKED the same way. Once found, the file also gets an invocation object with
the start anchor’s record_timestamp and record_text, the observed project id,
mission thread id, blueprint name and bot id, invocation_started_at, and
attribution_since; this metadata does not change the snapshot fields. The final gate passes that
boundary to get_error_logs(since=error_log_since, include_rotated=true), so
errors already in the initial snapshot are reported separately as accompanying
recommendations, not failures. The report’s error-log section lists every
recorded baseline group with its count, level, and signature in a section headed
Accompanying errors outside the mission window — do not affect the verdict, or
states None. when there are no groups. The snapshot holds at most 50 groups
(the default max_groups of get_error_logs); its total_groups field gives the
full count, and groups_complete is false when it exceeds them: the accompanying
list then says how many groups it lists, and a window group whose signature is not
among the recorded groups is marked “not in the recorded baseline” instead of
“new since baseline”. The model expectation comes from release_context, which
holds the runner’s authenticated assignments read; the mission makes no HTTP
request of its own. In system_test, the final gate writes both reports as an
in progress checkpoint on entry, before its first get_error_logs call, naming
the invocation and the pending window query, unless the error-log report already
holds this invocation’s checkpoint: a gate re-entered after compaction then
resumes from it and never overwrites it. The report names the invocation (the
mission thread id, invocation_started_at and the anchor’s record_timestamp)
in three invocation lines, and every write of the error-log report keeps the invocation lines,
so a gate re-entered after its verdict was written finishes its ticket proposals
from the saved report, without a new window query or rewriting the verdict.
A report is resumed only when all three invocation lines match, so on a reopened
Mission thread, which keeps its invocation_started_at, the anchor of the new
start’s baseline keeps an earlier start’s checkpoint or verdict from standing for
the new window; an entry stopped between its two writes rewrites the missing or
stale summary checkpoint from the error-log checkpoint on its next entry.
Once window collection finishes, the
checkpoint adds the observed_at, total_groups and tool call id of the call
whose groups are decided, and the error-log report is rewritten after each
decision with each group’s level, original sample and decision, plus the
grep_logs pattern and matched record. A mission stopped at the runner’s
deadline thus leaves its partial results instead of no report, and a compacted
context resumes from that file instead of starting the gate over. A resume
recovers the exact window result the checkpoint records with
GET_COMPRESSED_TOOL_RESULT, reading every page and, for a capped result, its
full copy as the baseline recovery does, and makes no further get_error_logs
call; a recovery that fails or stops before its last page or byte counts as a lost
result. A
recovered result for a window of more than 200 groups keeps deciding the groups it returned,
and the window’s truncation still keeps the gate from passing. When that
result cannot be recovered, a checkpoint that already records an attributed group
keeps the gate FAIL: each saved attributed group is reported with its level and
original sample, and the recovery failure (mission_log_provenance) is recorded
beside it as diagnostic evidence; otherwise the gate is BLOCKED as
mission_log_provenance (blocked_cause="harness_block") with the checkpoint’s
decisions as partial results, and an unattended run then ends through the same early
abort report as a preflight provenance block: its required_checks keep every
required check already recorded, a failed one included, so the runner grades the run
as a harness block only when no required check failed. A repeated window call cannot stand in for the lost
result, because a size rotation of the error log can replace the records a
decision examined while the group’s count stays the same. With an incomplete baseline the
final report gives its new-since-baseline count as “unknown”.
These recommendations never change the verdict or excuse or offset an error in
the mission window. The windowed call groups all server errors by signature and
returns at most 50 groups by default. If total_groups exceeds the number
returned, the mission repeats the call with the same since and requests
max_groups=total_groups (the limit is 200); a still-truncated result is
BLOCKED. In system_test, a window call whose result the tool-output governor
capped is read from its full_output_ref copy the same way as the baseline before
its groups are counted; a full-copy read that fails or stops early leaves the window
groups truncated and is never a reason for another get_error_logs call.
Each blueprint also finds the mission’s MISSION_STARTED INFO log line with
grep_logs, using the observed project id, mission thread id, blueprint name,
and bot id. The caller-provided invocation_started_at is the inclusive search
boundary; it prevents an earlier start on the same thread from identifying a
restart. For a manually started fresh mission, the project created_at fallback
is valid only when exactly one distinct matching start is found. Genesis writes
the anchor when a Mission starts a phase without preserving an existing active
phase; its message format is
MISSION_STARTED project=<id> thread=<id> blueprint=<name> bot=<id>. The
anchor does not replace the immutable error_log_since baseline. Attribution
uses the later of that baseline and the anchor’s own record_timestamp as
attribution_since.
The gate attributes a window group only when a parsed log record’s own
record_timestamp is at or after attribution_since and its structured
thread_id or parent_thread_id matches the mission thread. Do not date a
traceback from a neighboring record. If a group’s 2,000-character sample does
not establish attribution, grep_logs confirms that group’s exception and
distinctive message in the same time window, then the returned structured thread
identities are checked exactly. A full oldest-first result is retried with
max_results=100. A matching product error remains FAIL, even if other
diagnostics are incomplete. A no-match establishes a server-wide group only
when the mission anchor exists and the search is complete; failed or incomplete
searches, unknown timestamps, truncated results, or missing/ambiguous anchors
make the result inconclusive (blocked_cause="harness_block"), not a clean
absence. The gate passes only when every window group is returned and decided
and none is attributed to this mission. Server-wide groups are reported
separately and do not change the verdict. Each report records the immutable
baseline, invocation anchor, attribution_since, and matched records with their
own timestamps and structured identities. See Application log search
for the grep_logs parameters and response fields.
Phase 6 runs get_error_logs as the authoritative gate — not grep_logs.
grep_logs searches the full application log by pattern; get_error_logs
reads the curated daily-rotating error log and returns grouped error signatures.
grep_logs is used only to confirm attribution for a group returned by
get_error_logs; it does not replace the error-log gate. If get_error_logs
returns success=false (for example when GENESIS_ERROR_LOG_FILE is empty),
the gate is BLOCKED because it could not be verified.
For system_test, ticket proposals cover mission-attributed window groups as
blockers, and server-wide window groups plus accompanying pre-window groups as
recommendations. Propose a group only once; if it is attributed to the mission,
label it a blocker. Proposals are grouped by signature and deduplicated against
open tickets. General interactive runs ask for operator confirmation before
filing approved items. Release acceptance and sandbox trials run unattended:
they record proposed tickets in
reports/error_log_report.md, do not ask for confirmation or submit tickets,
and continue to the final report with the gate’s verdict.
reports/error_log_report.md records the gate verdict (VERDICT: PASS,
VERDICT: FAIL, or VERDICT: BLOCKED), attributed window groups, any groups
whose attribution could not be confirmed, and separate server-wide and
pre-window sections that do not change the verdict. reports/system_test_report.md rolls
up per-phase successes, errors, log highlights, environment validation, ticket
proposals by blocker and recommendation, and the overall PASS/FAIL/BLOCKED verdict
driven by the error-log gate. It also gives counts of server-wide and
accompanying pre-window groups and points to their sections in
reports/error_log_report.md.
For lightweight Snowflake release validation, Genesis uses the hidden built-in
spcs_system_test blueprint (category: system_validation, version 1.2). It
is intended for Snowflake release validation and covers the
Native App account identity, a read-only qualified query for the expected
runtime service, that service’s required provider external access integrations,
run-tier/model evidence, and mission-attributed error-log checks. It does not repeat Git, file, media,
general RBAC, or other broad UAT checks. The required release_context input
must provide independently verified target, candidate tag/SHA, deployed-version
evidence, account identity, application/schema, runtime service, run tier and
pinned provider/model (run_tier, run_provider, run_model), required EAIs,
and evidence sources. The blueprint writes
reports/spcs_system_test_report.md with an explicit PASS/FAIL/BLOCKED verdict;
missing, mismatched, skipped, or unverifiable evidence cannot produce PASS.
Supply required_eais as the native app’s external access reference names. If
the target’s deployments.json entry declares
snowflake.environments.<env>.required_eais, pass that list unchanged and
confirm it is backed by manifest.yml and setup_script.sql. If the key is not
declared, source the list independently from target/provider configuration. The
service must list each required reference as reference('X'); do not derive or
revise the required list from the service query results.
An unverified mission-log provenance check is identified as a harness block and
graded inconclusive rather than as a product failure.
This release run is unattended. On any failed or blocked prerequisite, including
a model mismatch, missing native connection, runtime service or EAI evidence,
or error-log failure, it immediately writes the report with the first cause and
available evidence and marks every unreached required check BLOCKED. It does
not ask the operator, wait for input, or repair shared configuration. After
saving the report, it changes this mission’s status to FAILED, verifies
success, and ends without claiming phase completion.
Both system_test and spcs_system_test accept the optional
invocation_started_at input for the same restart-safe mission-log anchoring
described above. On a mission_log_provenance abort, the early report includes
a machine-readable mission_abort object and a required_checks list of atomic
verifications, preserving observed failures and marking unreached checks as
BLOCKED with the blocking prerequisite.
The release runner saves the original QA bootstrap controls and shutdown
schedule before claiming a target, then records the snapshot identity and
ownership acknowledgement before waking only the captured services. It also
captures the original HTTP configuration before validation and verifies it
before the test can mutate configuration. Cleanup restores and verifies the HTTP
configuration before restoring service/pool controls and the shutdown schedule.
Missing snapshot evidence, unknown drift, or an unverified restore leaves the
target blocked for operator recovery; recovery requires the original owner,
terminal child runs, and exact live readback.
In the release flow, spcs/qa runs on main; elsewhere, the mission uses the
run tier named by its release context. release_context.run_provider and
release_context.run_model are pinned before its first LLM call; a missing or
invalid value rejects the start with HTTP 400. context_tools must report the
selected tier and the observed model must equal run_model. An empty required
EAI list needs independent evidence that LLM egress for the run provider is
available, for example through the deployment’s catch-all external access
integration. Record the observed model evidence. Manual starts without
release_context retain their requested provider and tier.
For mission-level tier inheritance and per-phase tier overrides, Genesis uses the
hidden built-in fast_test_tier_matrix blueprint (category: testing). It runs five short math
phases in under five minutes and mixes inherited mission tiers with explicit
context_defaults.model_tier overrides so operators can confirm tier selection
propagates correctly.
LLM configuration matrix probes
For automated LLM provider configuration verification, Genesis ships two hidden built-in probe blueprints incategory: testing:
llm_qa_lite— a strict two-phase subset (phases 0–1, both main tier). Each phase performs deterministic arithmetic on an injected starting value and writes token-exact lines toresult_phase_0.mdandresult_phase_1.md(RESULT=<computed>andTOKEN=LLM-QA-PROBE-P0/TOKEN=LLM-QA-PROBE-P1). Used for quick per-cell verification in the LLM config matrix QA harness.llm_qa_full— a four-phase tier matrix derived fromfast_test_tier_matrix: phases 0–1 use main, phase 2 uses fast, and phase 3 uses frontier. Phase 3 writesFINAL_RESULT.mdwith a formula-derivedSUMMARY=LLM-QA-FULL-P0=<p0>-P1=<p1>-P2=<p2>line. The harness reads mission artifacts throughGET /api/git/{repo_id}/{path}and asserts expected token content programmatically.
required_document exit criteria only — no agent-judged prose.
llm_qa_lite phases 0–1 are byte-identical to the corresponding phases of
llm_qa_full.
Model tier during blueprint missions
Mission kickoff tier selection applies to every phase that does not set its own tier. Blueprint authors can pin a different tier on a specific phase withcontext_defaults.model_tier in blueprint_manifest.yaml (frontier, main,
or fast). Genesis applies that override when the phase starts
(ENTER_PHASE). Legacy use_fast_model: true remains supported; prefer
context_defaults.model_tier: fast for new blueprints.
For each turn, Genesis resolves the effective chat tier in this order (highest
precedence first):
- Per-message tier override (user selects a tier for that specific turn in chat)
- Active phase
context_defaults.model_tier(recorded at phase entry) - Thread-level tier override (from thread model settings)
- Mission kickoff tier from the Start Mission modal,
start_blueprint_mission, orPOST /api/blueprints/{blueprint_name}/start - Agent default provider and inherited chat tier
context_defaults.model_tier inherit the mission kickoff tier
from step 4 for their turns.
The built-in bronze_to_silver_onboarding blueprint pins all three phases
(Map, Answer, and Build and prove) to the frontier tier. The phase pin
applies unless an individual chat turn specifies its own tier.
When entering a different phase in the same blueprint, Genesis announces a
model-tier change when both phases declare different startup tiers. Phases that
inherit a tier do not produce a tier-change notice.
Tool groups during blueprint missions
Blueprints can declarecontext_defaults so required tool groups load at thread
start and optional model_tier pins the chat tier for that phase. Declare
blueprint.context_defaults to provide defaults for every phase; a phase’s own
context_defaults overrides the blueprint value for each field it declares,
and inherits fields it omits. Tool-group lists are replaced, not combined: a
phase’s active_tool_groups (or tools_in_context) replaces the blueprint’s
list for that phase. See
Model tier during blueprint missions for
inheritance rules. When a phase’s context defaults are applied, the phase-entry
response includes phase_context_defaults_applied: declared shows the values
requested by the phase, while effective shows the resolved model tier, active
tool groups, and active skills for the next turn. The effective lists account for
always-on and skill-required groups as well as the agent’s capability policy. If
a declared group or skill is absent from the effective list,
declared_but_not_applied identifies it; check its spelling and whether the
agent’s policy allows it. If Genesis cannot resolve the effective state, the
report still includes declared but omits effective.
If a phase still reports tool not found, activate the missing groups in the
current thread with
manage_context(action="ADD_CONTEXT", active_tool_groups="flow_tools,databricks_tools")
(comma-separated group names). Prefer per-thread activation during a mission; use
set_bot_context_defaults(default_tool_groups=...) only when the agent should
keep those groups on every future thread.
When a phase declares active_tool_groups or tools_in_context without either
project_manager_tools or blueprint_phase_exit_tools, Genesis adds the private
blueprint_phase_exit_tools group at phase entry if the agent’s capability policy
allows project_manager_tools. This group contains only _blueprint_tool, so the
phase can call its exit action without loading the full project-manager tool group.
The platform-added group appears in effective, not declared, in
phase_context_defaults_applied; if the policy does not allow
project_manager_tools, Genesis does not add it.
The built-in bronze_to_silver_onboarding blueprint includes
project_manager_tools in every phase’s active_tool_groups, keeping
PROCEED_TO_NEXT_PHASE available for phase exits.

