Native application lifecycle
These are application-author APIs. Ordinary users use the standalonemeerkat-connect CLI or their application’s integrated Console. They do not
assemble a gateway, private channel, policy files or recovery records themselves.
Choose the startup path from the application’s existing transaction:
A selected path and hash describe inputs; they do not authorize an application
transaction. The application retains its source lease, policy validation,
publication and recovery decisions. Fresh preparation and replacement each
consume one attempt. A lost reply or failed startup cannot authorize another
preparation, update or publication. Restore can reconnect only after cleanup of
the previous native child and its private channel has settled.
The Python runtime classes and
TypeScript builder bindings
implement these three paths. They use the existing native runtime and callback
owner. The separate Rust
NativeSetup API
embeds a standalone setup conversation over its factory-created native adapter;
it is not an application replacement API.
Fresh application startup with a setup helper prepares the offline integration
resources before the gateway can acknowledge meta/init. Set Meta’s gateway_init_timeout explicitly
to cover that preparation within the host’s startup budget. Its 60-second default
can expire while preparation is still making progress; the bundled bootstrap
uses its own 300-second budget. init_deadline separately bounds settlement
after native init has been accepted, while ApplicationPreparation.timeout
bounds the private preparation observation. Selecting only those latter budgets
does not extend the pre-accept request wait. Keep normal cancellation and cleanup
handling; a timeout is an unknown outcome, not permission to retry installation.
During fresh preparation, cancellation closes private admission and prevents
publication that has not entered. An entered finalizer and native initialization
must settle. Retain their actual outcomes and any returned native cleanup
capability, including after an error. Cleanup is not rollback; a preparation or
bootstrap acknowledgement is not native readiness or completion of the user’s
original task.
Service connectors expose operations under the selected account and grants.
Agent frontends additionally require a compatible long-running host that owns
admission, routing and delivery. These startup adapters preserve those host
bindings; they do not supply a generic frontend host or make a one-turn realm
session persistent. The custom-extension path
describes package compatibility.
Optional agent setup with an ordinary helper (unreleased)
To let an initial application agent request connector discovery and installation, select the existing singleton setup helper in the application’s preparation plan.ApplicationSetupProfile::Dedicated supplies the packaged profile/resource
projection; CheckedInstallation selects the checked setup surface. This uses
the existing schema-1 plan and schema-4 application input, without another
installer or a new runtime entrypoint.
The helper is a real initial member with an actual inline research profile,
identity, destination and policy row. Set its roster initial_message to None
and select no background or proactive helper work. Native preparation still
creates its session and starts its selected MCP adapter; this configuration
avoids an unsolicited setup/model turn, not startup resource use. Keep any
zero-instance application classes declared alongside the real initial members.
They need no placeholder instances and cannot reuse the selected exclusive
helper profile.
The host keeps its existing model/auth configuration, qualified principals,
source authentication, policy provider/revision and publication transaction.
Neither the caller’s text nor a tool declaration supplies these facts. Request
account or public-research scope separately; setup access does not approve an
installation or grant account access. The existing known-target MCP enrollment
flow is not a substitute for the agent setup presenter.
Pass the pinned plan to the existing Python
or TypeScript fresh application
entrypoint. Keep the normal finalizer and use the retained
HostBootstrapSelection
for Restore. Ordinary helper cleanup and recovery restrictions still apply;
Restore must not regenerate grants or treat unfinished setup as an empty round.
This recipe describes the existing development source contract, not an installed
acceptance result. Applications without a selected helper have no agent setup
path merely because they declare member classes. Later-added callers also need
their own supported current-source setup binding; the initial caller’s selection
does not flow to them automatically.
Unreleased, source-reviewed development code also supports explicit protected
setup review for an already Active ordinary caller added from a declared class.
The class declaration grants nothing: select the actual current caller, session
and application owner for that original request. Connect rechecks this selection
after the human review. If the caller retires after grant issuance, the issued
result remains recorded and later setup work is refused. The ordinary initial
caller flow is unchanged. Native validation of this extension is still pending.
Applications without a setup helper (unreleased)
Source-reviewed development code allows schema-4 application preparation to omithelper, helper_tools and helper_profile together. The plan then omits
acquisition and helper-specific authority requests. An empty initial roster
requires nonempty declared member classes and an explicit empty member-policy
list. Keep the real class customizer configured even when no members start.
Completion retains the compiler-owned artifact_directory and application
policy without a helper, setup server or resource handoff. The installed
native_host.setup selection uses the schema-2 application-only carrier. Existing
helperful encodings stay unchanged. Fresh startup still completes the actual
held callback, publishes the selected artifacts and adopts the same native owner;
Restore uses the retained installation and current application roster.
Connect 0.9.10 includes this helperless path; Forge does not update a
helperless application in place.
Declare member classes (unreleased)
A member class describes agents the application may add later. It can have zero instances alongside a fixed initial roster, such as a chief and a discovery agent. Declaring the class creates no placeholder member, session or grant. The application compiler supplies the samemember_classes declarations in its
schema-1 inventory input and schema-4 compilation input. Each
CompiledMemberClass selects an id, inline profile, trusted host factory
identity, callback definitions and a grant template. Callback account information
is explicit when known. Inventory lowering returns identity mappings for the
initial roster; it does not generate class declarations. Keep those declarations
in the compiler’s selected input.
For the SDK gateway, the existing application build customizer supplies the
executable callbacks. Connect wraps that customizer and checks its actual tool
names, descriptions and schemas against the selected class. The factory field
identifies this trusted construction contract; it is not a Python import, an
executable path or a name to discover in a platform factory catalog. An empty
callback class can use a pass-through customizer. A class declaring callbacks
must supply their implementations through the customizer. Configure it for both
fresh startup and Restore; see the SDK requirement.
Rust embedders can instead provide the existing MemberClassFactory interface.
The initial roster’s concrete policy and a class’s grant template have different
jobs. During an authorized Add, Connect’s existing policy owner materializes the
template for the exact admitted member and coordinates policy with native
publication. Keep that owner composed with the application driver. A raw Meta
host with an immutable initial policy does not provide this lifecycle, but its
restriction does not rule out dynamic classes in a Connect-managed application.
Restore uses the retained admission and the same real customizer.
Service-policy changes also use the canonical policy owner. A fresh proposal
must preserve the complete initial roster and every Prepared or Active class
instance from the same prepared snapshot. Each class row must match its exact
selected declaration, admission and materialized grants. Rebuilding the policy
from only the initial roster drops required members and is refused. Keep both
lifecycles attached to that owner; declaration names alone cannot supply this
preservation evidence.
The selected service-approval path currently targets an initial-roster member.
Preserving a class instance does not select it as a new service recipient or
authorize another Add. Recovery validates an old approval against the exact
class rows and canonical admission state, including any pending reinstatement.
That historical approval does not restore a retired member’s grants. Current
policy and native admission checks still govern use.
These are development contracts. The class declaration alone proves neither
successful Add nor callback execution, account access or cold recovery.
Select native peer and Recorder operations (unreleased)
The development SDK can select finite native operations for a new host-authenticated original. Use the running application’s inherited private client after fresh startup or Restore. Retain the authenticated event, then prepare itsPrivateOriginalSubmit before submitting that same original with
its unchanged content and transport evidence.
Python hosts can first call
meerkat_toolkit.host_control.validate_native_original_operations_request.
It returns an isolated dict, never None, or raises HostControlError for an
invalid request. Validating its output again produces an equal value; pass that
same snapshot to preparation. This checks request shape, not current permission,
and does not retain intent or issue grants.
The NativeOriginalOperationsRequest selects installed peer routes for Message
or Request, peer-directory reads, or the caller’s own identity Recorder
Read/Write/Delete operations. Supply a finite time window and distinct issuance
IDs. Connect resolves the actual peer keys, declared recipient audiences and
caller identity scope; model text and tool names do not supply them. Active
members added from a declared class can be selected through the same path.
Preparation retains the selection without submitting an input. First submission
binds its native grants; later operations still check current source, member and
grant authority. Retain the exact request, including its time window and issuance
IDs, for an exact retry. An existing original cannot be retargeted or renewed by
changing that selection, including after Restore. Retained selection does not
replace current member, source or grant checks.
This does not authorize incoming peer originals, automatic
replies, or Mob/Realm Recorder scopes. The source-reviewed sender path is not
proof of recipient delivery or a complete conversation.
The separately reviewed receiver candidate requires standing authority retained
during a newly accepted member Add. It selects messages and replies to the
actual sender (not requests), and the receiver’s own-identity Recorder Write
for the triggered work. An older
admission without that selection does not gain it through Restore, same-ID Add
replay or incoming message content. This receiver path still awaits native
validation. See the
current development status.
Documentation clarification, 2026-11-12: the conditions below clarify the
peer-delivery limitation recorded under 0.9.11 in the changelog carried
forward with Connect 0.9.14. This is a documentation correction, not new
runtime behavior or a guarantee that an operation succeeds. See the
dated erratum.
origin_unverifiable), when an original of the sending work narrows
nothing (sender_basis_unbounded), or when the sending work names more than
64 works (contributor_bound_exceeded). A host-triggered delivery, one from a
member that runs no governed work and one over a network carry no governed
origin. These still require Connect’s normal receiver admission and standing
selection; a peer sender must resolve to a member in the same local mob roster.
In Connect 0.9.14’s member composition, admitting a same-process governed
peer delivery does not by itself authorize a message, reply or Recorder
write. Each operation must fit both the receiver’s standing selection and the sending
work’s current grants for that target. The receiver’s standing selection
allows messages and replies to its actual sender (not requests), and writes
to its own Recorder. If the sending work’s grants do not cover those targets,
the receiver’s messages, replies and Recorder writes are refused. Requests
and sends to other peers are outside the receiver’s standing selection
whether or not the delivery carries a governed origin. Target coverage is a
necessary condition, not a guarantee that an operation succeeds.
A host-triggered delivery carries no governed origin, but still uses the
receiver’s standing selection: writes to its own Recorder, and messages and
replies to the sender when a member sender is identified (not requests).
Connect declines a delivery without the required standing selection. This
describes the receiver binder and member composition Connect selects, not a
general rule for all Core hosts.
Member admission and standing grants do not declare peer topology. Select the
intended peer relationship through the existing native topology owner before
sending; that relationship alone grants no operation authority.
After successful Add activation, reconcile the application’s complete desired
roster and declared edges through the existing host topology provider. Keep
reconciliation outside the held Add finalizer: that callback still holds the
bootstrap controller needed by reconciliation. A full reconciliation may retire
members omitted from the desired roster, so supply the complete desired state.
Enroll a read-only collector (unreleased)
Trusted Rust hosts can enroll a collector through the existingOperatorSetup
owner. Obtain CollectorSetupHost from the actual gateway factory, select its
native installation and verified account, and bind the collector principal and
audience. prepare_collector_enrollment creates the exact protected review;
finalize_collector_enrollment retains the approved selection and native grant.
Use resume_collector_enrollment for that retained decision rather than creating
another approval or issuance ID.
PrivateOriginals::resolve_collector_operation rechecks the canonical selection,
current configuration, account and exact read-only MCP operation. The collector
is a service original, never an agent input or retained contributor. Cancellation
fences it before the durable revocation write; an uncertain write stays
unavailable. Confirmed source cancellation and native grant cleanup remain
separate outcomes.
Enrollment is separate from opening a connection or making a read. The Rust
occurrence adapter under development uses this sequence:
- Call
ToolkitGatewayHost::open_collector_occurrencewith the sameCollectorSetupHost, retained setup ID and trusted-hostServiceOccurrence. Supply explicitMcpStdioLaunchProfileandHttpEgressProfileselections and a finite, positiveready_timeout. Opening resolves the current enrollment, checks the actual connection and account, and prepares Core’sServiceCall. The occurrence identifiers do not prove that a schedule fired. - Use the returned
CollectorOccurrence::tool_catalogto construct calls, then callreadwith the actualToolCallViewandToolExecutionResolutionContext. Catalog visibility grants no permission. Each read rechecks the enrollment before Core checks the source, grants and exact operation at entry. - Await
CollectorOccurrence::closeand inspect its nativeMcpRouterShutdownObservation. Dropping the handle starts physical cleanup; it does not prove settlement. The host retains router custody for its normal joined close. Opening errors preserve any returned cleanup observation.
HostAuthService that verified the enrolled account.
It starts no login or browser and installs no ambient credential fallback. This
first adapter refuses stdio configurations with nonempty secret_env: the
factory does not expose the realm’s launch-secret resolver.
read preserves Core’s complete ServiceCallOutcome, including both result
and audit; an audit failure after a provider call does not change that call’s
result. audit_key() identifies the occurrence’s rows in the native store.
Core makes the decision durable before dispatcher entry. An entry without an
outcome row means the outcome is unknown and the call may have taken effect;
do not treat it as a confirmed refusal or replay a call to repair the audit.
This adapter uses the native audit-owner API introduced in
Core 0768728d204a.
The selected readiness/close and public occurrence read/audit controls passed on
development candidate 068f515 with Core dd0ada78 and Meta a8840da7;
see the current integration status.
This is a finite Rust
occurrence API, not an executable scheduled Gmail collector. It supplies no
runnable, scheduling, announcement delivery or public SDK collector command.
See the collector development limits.
Member MCP application storage
The optional developmentMemberMcpApplication participant uses the
application’s existing private admission row for exact binding retention and
cold lookup. Load that storage before constructing or connecting the native
runtime; lookup can run before the application’s normal start hook. Supply it to
the selected fresh, restore or replacement constructor. For a later process
Restore, create a new participant over the same retained application rows; the
previous participant stays closed after shutdown. Native end-to-end qualification
of this development path remains pending.
On shutdown, close callback entry and join entered writes by awaiting
participant.join() to settlement before stopping the integration that owns
storage. Keep storage open across cancellation until the existing host cleanup
owner finishes that join, and preserve callback or acknowledgement uncertainty.
The runtime’s later shutdown repeats the idempotent join. This ordering also
applies after failed startup; it does not authorize replay or imply rollback.
The Python example specifies the exact
row, empty-versus-missing and private-reference contract.
Development source also supports a remote Python observed requirement
callback. It carries the full accepted source and ordered intent with pending
binding locators before issue, then re-observes around issuance. Drift withholds
the binding and triggers exact revocation; failed cleanup is retried before
registration on the next startup. The application owns its row comparison and
final publication. The existing in-process Rust owner keeps its synchronous
predicate, and operator_self behavior is unchanged. See the
Python contract. Eight focused native
controls passed on 87568b0, 1288df8 and 068f515. The latest candidate passed
all 44 selected native controls; installed shared setup remains unqualified.
These results do not qualify remote Add, caller-owned final publication or
installed Forge setup. Existing human approval and grant owners still apply;
this is not approval reuse across members.
Private Services setup conversation (unreleased)
The private JSONLservices and forge_services adapters run a dedicated setup
conversation in an actual fresh Connect session. They do not require an
artificial application member or make helperless application startup itself a
discovery conversation. Use the host’s trusted viewer, selected realm and exact
packaged resource digest in protocol-3 initialization. Keep the private child,
prompt channel and entered work under the host’s existing lifecycle owner.
The development source now composes this sequence:
- Forward the user’s complete request and constraints with
connect/send. The agent requeststoolkit_prepare_services; the selected packaged helper opens under that session’s native attempt guard. Discovery and help do not install a service or grant access. - Let the agent check and install the selected integration. Software approval
is separate from
toolkit_enable_public_service, which reviews the exact installed job, no-sign-in declaration, agent, raw operations and duration through the existing protected approval owner. This adapter’s tool set does not expose account or secret setup. - After approved public access, Connect prevents new input and lets the native
turn finish. Preserve that turn’s completion separately from the later
service_finalizationevent. Only an explicit native quiescentClosedand successful cleanup of the same helper, guard and host resources allow the existing configuration/grant finalizer to run. - Read the retained finalizer result, then retire and close the private child.
Successful persistence and access do not attach the service to the old setup
conversation. Start an ordinary
rkatsession in the same realm and roots to perform the user’s actual service request, as in the terminal setup/use flow.
2a8b345
candidate, focused native component checks passed, but all four packaged private
Services attempts failed at setup catalog readiness. Later source corrections
do not establish successful installed setup or use. See the existing
validation record.
Prepare a setup researcher
For broad discovery beyond supported registry searches, give the dedicated setup researcher an explicitly authorized general public research capability alongside Connect’s setup and acquisition tools. Exact known packages or candidates found through supported registry searches can still be acquired without that broader capability.PreparedSetupHelper preserves the host’s
selected inline research profile and adds the setup server; it does not supply
or authorize research tools on the host’s behalf.
Connect includes setup_search_github and setup_read_github on its existing
setup MCP server for public repository discovery and document reading. The
agent chooses its own queries and sources. These tools use anonymous GitHub API
requests; no provider account or separate research server is required.
For a prepared application helper, give the exact native helper member explicit
Invoke grants for the selected research operations. Application compilation
selects that optional server ceiling before retaining the helper definition and
resource owner; completion and restore require the same compiled-policy selection.
The prepared server ceiling and current application policy must both permit each
call. An advanced standalone
setup host can select the same surface with --enable-public-github-research
during preparation. This selection does not authorize calls by itself.
The host must classify the operations’ behavior explicitly; an MCP annotation or
allowlist alone is not read-only authority. Keep the task’s data, audience and
expiry limits when composing the researcher. Public query text can still disclose
private knowledge, so target validation is not a semantic privacy guarantee.
Installing a complete MCP server and granting access to selected operations are
separate decisions. Public service access selects declared raw MCP operations;
the application policy separately grants the corresponding model-facing tools.
Installing a package does not grant every operation it exports. Operation
filtering does not make an unsafe selected operation or unsafe startup behavior
safe: inspect those behaviors before installation and access approval.
Select a fresh planning member (unreleased)
A host can reserve a compiled member for a workflow’s planning lead during a fresh full-roster bootstrap. Supply a freshDurableAgentSpec with
InternalOnly addressability and no existing context, initial message, binding
or placement. Distinct workflows can select distinct compiled members; the
member name is not a global singleton.
Retain the canonical workflow terms and the exact authenticated planning source
before construction. The planning grant must be independently issued to the
lead. One waiter’s cancellation does not by itself revoke the shared planning
source or its grant; final departure still drives source closure and cleanup.
A workflow reference or member selection supplies no grant.
External Rust hosts obtain SetupWorkflowTerms.planning_source by awaiting
PrivateOriginals::source_record_key with the retained planning reference.
This owner-derived historical locator handles equivalent route aliases without
exposing the private key layout. It may still resolve a cancelled source; the
reservation and planning owners separately enforce current authority.
PreparedGatewayRuntime::adopt binds the prepared construction to the final
host. It does not publish native readiness or start acquisition recovery. Use
the existing gateway runtime lifecycle to complete bootstrap and publish Ready;
member selection alone is not a completed startup. Do not start a second
recovery loop or manufacture a gateway readiness value.
An in-process Rust host that completes the supported identity bootstrap directly
uses ToolkitGatewayHost::publish_runtime_bootstrap_completed(&runtime) to
publish that runtime’s actual one-use completion. The runtime must still match
the host’s bound machine, identity owner and native mob incarnation. This starts
the configured acquisition recovery owner under the existing close gates;
normal host close and join_close retain responsibility for joining it. The
method does not emit SDK Ready, admit an input or certify recovery completion.
This development API and its new lifecycle regressions are not yet runtime
qualified.
The gateway validates the selection before reserving it, then selects its exact
host lifetime in the existing source owner and composes the restriction with its
existing registration hook. Invalid reservations leave the lifetime unselected.
Normal bootstrap confirms the same live host and binds the actual machine; a
different host cannot take over a reservation. A later bootstrap failure retains
the restriction and does not mean the member was activated. The static reservation
path requires actual registration capture during full-roster construction;
reserve_workflow_member is not an API for adding to an already active roster.
It retains the registration participant internally. The distinct declared-class
commissioning path below performs an actual held Add on a running host.
Keep the existing factory, registration and MemberMcpCustody owners. The
registration and input owners enforce the workflow restriction against the
captured native session and controller, including for retained inputs.
InstalledWorkflowMember::session is an observation, not a capability to
stop or replace a member. An explicit planning: None preserves ordinary
singleton setup; an unavailable selected workflow does not fall back to it.
For online creation, the development application_driver::run_with_workflows
composition exposes the existing ApplicationWorkflowRuntime to the application’s
trusted launch owner. The supplied toolkit_gateway selects its private launch
adapter with --private-workflow-launch. It commissions a declared
SharedWorkflow member through actual native held Add, then requires the
application’s durable listing acknowledgment. It uses the actual admitted parent,
selected WorkGraph claim and independently reviewed helper authority; a class
name or JSON configuration cannot invent those inputs.
The trusted host first prepares the parent original with the exact
WorkflowCommissionRequest that it will later commission. Do this before the
parent’s first input. Preparation retains the immutable workflow selection and
issues the parent’s finite operation ceiling through the existing native grant
owner. It neither creates the setup agent nor makes its tools available to the
parent. An admitted parent with an empty ceiling would otherwise prevent the
setup agent from using its catalog, even when that agent has its own grant.
For an authenticated Console child, the development Python client instead uses
prepare_console_workflow_child(ConsoleWorkflowChildRequest(...), enrollment)
before the normal authenticated /console/send. The request selects the actual
parent, planning input, child WorkGraph claim, finite targets and audiences,
plus that send’s key and content digest. The key and acknowledged enrollment
are correlation only. At bind, the installed ingress checks the native verified
human, the same live login owner, selected identity, raw input and current
workflow. Child preparation uses the actual bound session/controller before
native admission, and retains the login on that source for protected review.
An exact repeated proposal returns either None or the retained source locator.
The locator is recorded before the first awaited source write and is not proof
of successful preparation or admission. After a partial failure, cancellation or
login retirement, the same immutable proposal and enrollment owner can still
observe that locator while the exact enrollment remains retained on the same
open private connection. Expiry and enrollment pruning can make this observation
unavailable; retain any observed locator with the request and issuance IDs.
They cannot claim another Console
input, refresh authority or issue again through this observation. Retain the
request and issuance IDs. Cold source evidence preserves the exact input but
does not restore a login or permit protected work. Ordinary unselected Console
sends and application-event prepare_workflow_child keep their existing paths.
These Console-child changes remain pending native and installed validation.
Retain the request and its explicit issuance IDs across an uncertain reply;
retry the same selection rather than allocating new IDs. A changed commission
or an attempt to retrofit an admitted parent is refused. This preparation is
specific to the selected shared workflow. Ordinary singleton setup keeps its
existing configuration path.
A prepared commission is not a submitted G input or completed acquisition.
Retain its attempt and join an entered publication even if the observing caller
is cancelled. The application selects a real shared workflow before each
participating original’s first submission; a later new original can join, but
an already-bound singleton original cannot be upgraded. Ordinary Console requests
without that host selection keep their single-caller setup path. No heuristic
grouping or new model-facing workflow tool is implied.
The full supplied two-caller installation, use and ordinary continuation case
remains unqualified. Actual ordinary class Add and same-session respawn have
passed separately; that result does not qualify shared G resource reconstruction.
Observe shared setup progress (unreleased)
An admitted peer can read its ownsetup_job and setup_jobs progress while
another peer’s selected validation is running. Those reads retain the exact
peer and acquisition scope; they do not expose another caller’s jobs or permit reuse of a
closed read entry. Installation and other effects remain serialized, including
publication of their exact job and validation ownership.
Shared setup_state also avoids probing a selected Node toolchain for planning
data that its response omits. Ordinary setup state still observes that planning
data afresh, and an actual build check still validates the selected tool. These
changes passed local Python concurrency, isolation and changed-tool controls;
they do not establish deployed latency or installed shared-workflow acceptance.
Restore selected workflow sources (unreleased)
After ordinary native resume, a host can restore the explicitly selected sources for a shared setup workflow without submitting their prompts again. The parent and caller must have opted into retaining their exact bound inputs before their first submission. Inputs that were not selected stay with their application and cannot be retrofitted from conversation history.
The composed
MobBootstrapSpec must carry the application’s actual
controller_pin_source. Configuring that source only on a separate
MobSessionBridge does not populate the runtime field used by the gateway.
Keep the real session service and its current actor ownership; stored metadata
cannot replace it.
When the member factory uses AgentFactory::user_config_root, the mob’s session
service reports that root (MobSessionService::session_comms_identity_root), and
the mob seats dormant in-process members under it without a declaration.
MobBootstrapSpec::with_session_identity_config_root stays as an override that
wins over the reported root: a declared root that differs is logged as a warning
at bootstrap, and a member seated under a root its factory does not load from is
refused at its first materialization. A session service that reports no durable
root has every dormant seat refused unless a root is declared. Empty roots are
refused during bootstrap.
UnifiedRuntimeBuilder::session_identity_config_root configures builder-owned
specs and rejects a caller-supplied spec; use the raw-spec declaration for a
custom session service. Matching the roots lets dormant seating and subsequent
materialization use the same session comms identity. The declaration itself
does not resume a member or establish cold-recovery acceptance.
These methods restore source custody only. The setup agent remains restricted
until its actual workflow attachment is completed. Restoring a caller does not
grant its effects to the setup agent, create a delivery interest, start recovery
or complete the original task. Missing, changed, cancelled or unselected evidence
is refused. Both Find-only and explicitly selected effect-waiter sources have
reconstruction paths. Effect restoration retains the exact previously issued
target references without reissuing grants; each operation still checks its own
current target authority. Five idle component controls passed, which does not
establish convergence of both live recovery owners after Ready.
Cold rebind distinguishes an enrolled historical source whose native custody is
still unknown from a source that is no longer retained. Until exact native
restoration succeeds, the former reports PolicyUnavailable; a stored Pending
or Promoted decision does not itself grant custody or establish
AdmissionPending. Failure or cancellation of the restoration read leaves that
uncertainty intact. A validated Withdrawn decision or an explicit source release
returns NotRetained for the current custody observation. Operation cancellation
is checked independently and refuses the original.
These source methods do not reconstruct a late-created shared G’s physical peer
or approval custody after process loss. The implemented warm respawn path uses
the same Driver’s retained resource owners for its exact Active/Resume successor,
preserves the same-session approval binding and replaces the retired peer. It
retains an eight-peer lifetime bound. Full shared G respawn and gateway restart
remain unqualified by installed execution.
Existing installed activation is the supported composition path for cold
reconstruction; a new upstream activation callback is not required. Select the
same completed installation and canonical workflow/admission before ordinary
native restore, preserve actual registration and build callbacks, and let native
Ready publication start the existing recovery owner. Do not repeat fresh
held-bootstrap finalization or submit another G prompt to recreate authority.
Ready alone does not establish usable setup tools or settled prior work.
A restored member can have a durable seat without an executor. Reading identity
status, ownership or session records does not wake it. The development Connect
setup-continuation path resolves the historical session’s canonical identity,
checks the selected member, role and current session, then explicitly calls
materialize_tracked before consulting live registration and custody. It checks
the returned session and identity again and retains the existing native
historical-input and current-authority checks. This wake does not submit another
input or replay the original task. The public wake API has no atomic
expected-session argument, so the surrounding checks do not prove that a
concurrent replacement can never be woken. This correction and its two cold
continuation regressions remain unqualified by runtime execution.
The physical owner now retains exact close snapshots and request history and
supports a one-use reattachment claim under the original local lease. Local
Python controls cover empty and fully settled resources, changed requests and
unknown work. Prior preparation and validation handles remain readback only;
reattachment cannot use them to dispatch an old effect again.
Development source now connects the exact completed-artifact and
workflow/admission association to the native, approval and physical owners’
close observations. The opt-in private-workflow path selects ordinary installed
Restore, rechecks current admission and registration, and reconstructs the helper
from its original source provenance before new caller work. Legacy rows without
that provenance remain refused. A physical snapshot alone cannot authorize
reattachment, and prior approval records cannot authorize new work.
This path has passed source review; actual two-process recovery followed by
fresh caller work and restored helper tool use remains unqualified. Pending
approvals, interrupted work and unknown effects retain their original records
and remain unresolved; they cannot be replaced by fresh authorization or
silently retried. Full recovery includes those cases and is unfinished. Source
restoration, ordinary empty-round helper reattachment and warm shared respawn
do not qualify cold shared-G recovery or selected-preparation replay.
Restoring a live Console login is a separate path, and arbitrary older Meta
stores, including those written by MobKit 0.8.x, are not supported merely
because a schema number or source reconstruction method exists. See the
store compatibility contract.
Ordinary authorization review window
The installed host gives ordinary work and already-admitted controller decisions an initial 30-minute local policy allowance, including enrolled collector operations that require human review. The host-configuredconsent_validity,
native grant expiry, retained restrictions and workflow limits can shorten the
usable approval window. Checking a prepared decision does not extend its
original expiry or grant additional operations.
This is a finite window, not a guarantee that a pending approval will remain
usable for 30 minutes. Authority changes, cancellation or another earlier bound
can invalidate it first, and a longer human wait can still outlast it. Do not
silently refresh authorization or retry a protected effect to hide that refusal;
use the operation’s reported state and the caller’s explicit recovery flow.
Setup-helper Operation decisions keep their exact canonical setup deadline.
The ordinary window cannot extend or replace it, and an unavailable helper
deadline is still refused. This allowance change adds no renewal task or retry
and does not change the native owners’ shorter grant or restriction bounds.
Cancel one original’s operations
These APIs describe unreleased development source. For an authenticated original retained by the host, pass its exactPrivateOriginalRef:
The development SDKs return one of two states:
The host starts its acquisition recovery worker only after native bootstrap
publishes readiness. Prepared-owner adoption alone does not start it; preserve
the native lifecycle completion
when composing the host. Keep that existing worker running for pending cleanup.
Repeating cancellation is not required to drive it. Neither state means every entered
operation, process or model run has stopped. Sibling requests and shared access
retain their own owners. A timeout leaves the outcome unknown; the SDK does not
repeat the command automatically.
For a selected shared workflow, the same recovery worker retires the exact
membership’s future setup calls when setup expires or commits its result. It
preserves sibling memberships and the Original’s other work.
When setup admits an approved service continuation, the acquisition remains a
cohort member until that exact native service input has a finalized receipt.
Admission alone does not release membership. Missing, pending or unavailable
receipt observations leave it pending; the worker observes the retained input
without restoring a Console login or service grant. A finalized failure also
permits departure, so departure does not establish successful service use.
Explicit cancellation, setup failure, expiry and ordinary results without an
approved service admission retain their independent departure behavior. A
pending result continuation remains deliverable; an acknowledged continuation
is not replayed to perform cleanup.
After the last waiter leaves, cleanup fences the lead’s future effects and
observes its exact admission or terminal receipt. Active, unknown or receipt-less
work remains pending. This observation does not establish member retirement or
physical MCP cleanup. Keep the existing recovery owner running after the caller
returns.
Use matching development SDK and host generations. Older SDK decoders reject the
pending-cleanup state, and bootstrap v1 does not negotiate it. Focused
cancellation/recovery controls pass; the complete shared setup journey is still
under development.
Retained original inputs (unreleased)
The ordinary-input retention correction is implemented and source-reviewed.
Compilation and its native recovery regressions remain pending. This does not
establish installed cold-recovery acceptance.
Unavailable before a Candidate is staged. It
leaves the previous source row unchanged; an association legitimately written
by the earlier binding step can remain. The host does not truncate the input or
raise the storage limit to make it fit.
The exact private payload remains for the lifetime of the existing source row;
this change adds no automatic pruning. Include that retained content when
assessing protection and retention of the source database and its backups.
Existing rows without retained input remain readable, but cannot supply missing
bytes after native payload retirement. Older host binaries reject rows carrying
the new retention field. Mixed-version writers and rollback to an older binary
against those rows are unsupported; there is no automatic conversion or repair.
Read a service input receipt (unreleased)
For an authenticated approved service original already retained by the host, pass its exactPrivateOriginalRef to the development SDK:
The read preserves native admission, receipt source, input identity, recipient
batch and outcome. An absent or pending receipt does not establish completion.
Reading again observes the retained input; it does not submit the work again.
A
finalized report means a native receipt exists, not that the service action
succeeded. In particular, outcome.completion_type: "outcome_unknown" means the
prior work’s outcome is unknown. Preserve that result without marking an answer
committed or automatically retrying the action. Its runtime_termination receipt
has a null report run_id; the historical run ID is inside outcome.run_id.
That historical ID does not identify a new execution.
Use matching development host and SDK builds. Receipt decoding does not itself
provide native cold recovery, physical cleanup or support for older stores;
those paths remain under development.
Recover unpublished service approvals
This is unreleased development functionality. Focused native, verified-Console
and terminal controls pass; explicit installed recovery consumption remains
unqualified. Published Connect 0.9.0 and the successful V40 business package do
not include it.
ApplicationAcquisitionParameters, before Build/Prepare. These are
independent opt-ins; omitted values preserve existing behavior. For Console:
recovery_management: "operator_unpublished_service_approvals"
alongside the existing origin and requester-leaf policy. The current verified
human must also be the exact retained operator, with current administrative and
member access. A viewer or requester-leaf grant alone cannot select operator
cleanup. Use the host’s supported exact-selection producer; do not edit a compiled
artifact after approval. Ordinary Forge generation does not enable this option.
Its custom-selection consumption and full-controller reconstruction are separate
Meta Forge responsibilities.
In the integrated setup panel, open Unresolved service approvals, inspect the
agent, operations, resource, native access and policy observation, then choose
Revoke this unresolved approval for an actionable row. The same current
login and owner are checked again at entry. A retained published source or another
approval’s child is preserved.
For an application whose configured service operator is the actual local OS
operator, independently select the inherited-terminal adapter:
/recover while that application’s inherited
operator terminal is idle. Choose a displayed row number, review the protected
request, then enter its exact displayed approve <approval-id> or
deny <approval-id> response. refresh, next when offered, and back operate
only on that host’s inventory. The existing terminal keeps sole input ownership.
A remote Console issuer cannot be treated as the local OS operator.
A trusted Rust host can use its existing ToolkitGatewayHost directly:
local_service_recovery() returns the selected owner-bound view; page(None)
reads the first bounded offer, and revoke(&page, row_id) consumes a displayed
row after the host’s explicit operator decision. Retain the existing host and
native owners; do not open another runtime or pass a principal as proof. A custom
host opts in with with_local_operator_recovery(...) before native attachment.
Cleanup attempts exact native grant revocation. It does not uninstall software,
remove credentials, roll back tool policy or stop running work. An absent parent,
partial result or lost acknowledgement stays unresolved. Do not replay an old
offer or retry automatically; obtain a fresh inventory before any later deliberate
decision. Policy is an offer-time observation, not proof of current policy or
logout settlement. This adds no standalone meerkat-connect --realm recovery
command or general remote CLI transport.
Helper catalog access after reset
This setting is unreleased development functionality. Published Connect 0.9.0
does not support it.
authorities.helper_catalog authorizes only the helper session
captured during preparation. A host that needs catalog access after normal helper
resets can explicitly select:
agent_setup.helper_targets, it must
independently request the matching catalog target with target: null. That
request authorizes catalog delegation to the selected helper, not direct catalog
access by the original agent. Keep all other targets unchanged.
Use new issuance IDs for changed selections, including an enclosing agent setup
selection whose bounds change. Existing grants cannot be reinterpreted or renewed
in place. Omitted scope and exact_session retain the previous behavior; a reset
alone grants nothing. Host adapters must preserve and validate the new scope and
the returned helper.catalog_capability before advertising this mode.
Acquire another public service through the same live helper (development)
This optional development path now passes an installed controlled Console API
case: one session uses X, requests Y through the same helper, reuses X’s checked
job and then uses X+Y with fresh grants. Five displayed grants are revoked and
all physical owners join. Autonomous choice, Browser interaction, helper reset
and authenticated-service batches are separate qualifications.
AgentSetupCapabilityRequest.helper_targets
selection with OperatorSetup::configure_agent_setup, or the stopped-host
configure_application_agent_setup_with_helper method. Select the actual helper
and its required operation targets, including an independent catalog target
(target: null) with its own issuance_id. Preserve canonical target order and
all existing operation grants. A target list or installed job is not authority
by itself. Normal Forge preparation already emits this optional catalog entry;
that source support is separate from installed warm acceptance.
For public-service review, InstalledServiceTaskSource::prepare_public_service
captures the current configured selection before the continued task’s first
binding. It requires the same audience and distinct actual agents and sessions.
InstalledServiceTask::has_configured_setup reports the selected proposal, not a
permit. Use prepare_public_instruction and the returned
PreparedPublicInstruction::{Single, WithSetup} through its request and
approve methods. The existing multi-service review uses the same selected owner.
These methods are additive; existing public signatures and struct-literal fields
are unchanged.
The same protected access review names the new task’s setup authority, exact
service set and task deadline. Its metadata permission covers both named agents
across both named sessions: the full four combinations, not only two paired
agent/session entries. Read that scope and the separate persistent tool-policy
successor before approving. Setup, catalog and service targets remain independently
authorized. First admission requires the complete selected basis; after admission,
revoking setup access blocks another acquisition without revoking independent
business access.
The continued task can request another public integration through that same
surviving helper. To keep an earlier connection X while adding Y, the helper must
select both exact checked jobs for the new access review. A still-current X job
can be selected again without reinstalling it, but the new continued task gets
fresh grants for both X and Y. Earlier grants are not copied or revived, and every
required attachment must be Ready before continuation.
Omitted, report-only, initially expired or otherwise valid but ineligible optional
setup selection keeps legacy public preparation. A selection that changes after
capture refuses; it does not silently downgrade. Software and authenticated
preparation keep their previous paths. Legacy singleton and public_services_v1
wire bytes remain unchanged. The setup-enabled public_services_with_setup_v2
and catalog-v2 records are explicit new versions; older readers are not
transparently forward compatible.
Advanced library host setup
Start with the local installation guide for the current distribution and setup command. The existingbootstrap_host.py installs and
verifies an offline setup client, then calls prepare_host.py to write its host
configuration. A host with an already verified client can use prepare_host.py
directly. Successful preparation supplies a generated mcp.json; it does not
start setup or connect an account.
The host registers that setup connection with its existing MCP support. The
agent can then choose, inspect, configure and install an integration through the
exposed setup tools. After validating and authorizing the installed launch, a
Meerkat host can use the existing public mcp_add operation to attach it to the
original live session. Keep setup and that session alive through the handoff.
The native runtime applies the change at a turn boundary; actual catalog
discovery and invocation establish whether the selected tool is usable.
For deferred operations, the original session needs its own explicitly authorized
tool_catalog_search and tool_catalog_load scope. A service Invoke grant alone
does not expose a hidden tool. Select tool_policy.catalog for a reviewed grant
when needed. Leaving it null can remain valid when the session already has the
required catalog authority or the host exposes the operation eagerly.
See live-session attachment
for the supported mapping and example. persisted=False attaches the configuration to the live session. Inspect its connection state after the next turn boundary.
For an already installed stdio MCP integration, use the
ordinary Meerkat host configuration. Use the application’s native setup, authentication and continuation owners for those parts of the workflow.
Enable selected Node builds (unreleased)
A host may opt into explicit Node build plans during resource preparation. Pass--node-build-profile /absolute/path/profile.json and
--node-build-profile-sha256 <exact-sha256> through the existing resource-packaging
or host-preparation command. The profile requires an enabled Node validator and
explicitly selected Node and npm runtimes. Omission preserves ordinary installation
with npm lifecycle scripts disabled.
The version-1 host profile has scope selected_node_build and contains the exact
Node target, named executables and input files with absolute paths and hashes, a
fixed nonsecret environment, and time/output limits. Preparation retains the
profile in the existing resource bundle; it does not install the referenced
compiler, headers or other tools. Their paths must be valid on the execution host.
Do not put credentials in this profile or its environment.
The agent sees a bounded planning projection through setup_state.node_build
and proposes commands using those IDs. It cannot supply a replacement host profile
through tool arguments. The existing software-install approval carries the checked
plan, and the existing installer owns execution and readback. No separate build
agent, runtime or Core API is required.
See packages that need a build
for the setup sequence. Focused preparation controls and one Linux compile/load
fixture pass. Use matching rebuilt development resources; this is not in 0.9.0.
Standalone service-secret setup
The standalone terminal adds initial credential setup for checked library stdio integrations and selected Python/Node stdio packages. Library metadata supplies a completecredential_environment_references mapping and published operations.
Outside-catalog metadata supplies researched environment_secret_slots names
and an exact operation_tools map in the selected portable entry, with binding
authentication. These are process requirements, never verified account identity.
The canonical checker retains them in the same approved plan and reconciliation;
omitting them preserves software installation without enabling secret setup.
Connect keeps library field labels distinct from selected environment names and
lowers names only into native McpStdioConfig.secret_env. The generic installed
MCP document remains unchanged. Through toolkit_enable_secret_service, the
model proposes only the installed job, operations, agent and explicit access
lifetime. The protected terminal reviews the concrete configuration and collects
values privately. Both before input and after setup closes, selected packages
retain exact package and activation/declaration byte checks.
The same retained review, native ResolvedStorage and original AgentFactory
reach finalization after setup has closed and its host resources have settled.
Connect uses the realm’s existing McpRealmPersistTarget to add the installation,
set_mcp_service_secret with the factory’s paired ProviderAuthPersistence to
save each slot, and the existing stock grant owner to issue exact reviewed
access. Slot presence must be observed as all NotStored before setters begin
and all Stored before the grant. Core’s RealmMcpServiceSecrets supplies the
slots to later native MCP launches. This uses the service-secret storage mode; it does not create a model
account or an OAuth connector identity.
The route requires the service name to be absent at review and finalization,
including from the inherited view. Only a known successful
add(config, Some(reviewed_generation)) may proceed to credential writes. A
competing initial installer that loses that native configuration comparison
writes no slots. An already present definition is refused, even if it is equal
or has empty slots. This prevents two supported initial attempts from combining
their values. It does not introduce a new vault or an atomic multi-slot update.
The original cancellation listener remains in use during finalization. An
entered native operation settles before stopping; an observed cancellation
prevents later effects. Embedding callers must retain the finalization future
until it settles. Retained results still describe any saved configuration,
credentials or grant. Failure does not trigger automatic retry or rollback. Preserve known failure and uncertain write outcomes
separately. A later Stored observation proves presence, not which uncertain
write landed. Credential changes affect future reads; an already running process
retains its launch environment. Repair, rotation and account switching need their
own concrete owner contracts.
The terminal finalizes service-secret setup through native realm configuration and credential storage. It then returns to the setup conversation; use the service in a new ordinary agent session in that realm. An integrated Console supplies its application-owned persistence and runtime composition.
See the terminal journey
for the user-facing steps.
Advanced host composition
1
Choose a current adoption surface
Python and TypeScript service libraries run without Meerkat or Meta. Supply an explicitly selected authenticated transport and enforce grants before each operation. For inert discovery, use the package library and read-only discovery dispatcher.
2
Provide application owners
Identify current credential, account, principal, grant, approval, persistence, deployment and delivery owners. Establish who creates and checks their revisions. A metadata capability declaration cannot enforce them.
3
Select exact integration inputs
Pin package identity, version, strategy, exports, artifact or remote endpoint observation, configuration and dependency closure. Check compatibility before importing code or starting processes.
4
Compose native tools through the existing owner
Use Meerkat’s existing native tool-bundle registration owner and the accepted Meta composition path for the selected upstream version. Registering a dispatcher does not itself grant every profile access. Avoid private parallel registration or session authorities.
5
Verify the actual execution surface
Observe
identity_resolved_tools for the intended identity and dispatch the selected operation through the real runtime. Exercise the supported restoration and spawn paths before claiming durable availability. Customizer registration alone does not establish these facts.6
Project state to users
Read current owner observations into the UI. Keep package, account, grant, runtime and frontend outcomes distinct. Authenticate every management read and revalidate every command at the actual owner.
Custom extension dependencies
Validate an extension’s selected files, dependencies and import origins before binding it. The pure-Python dependency profile accepts closedpy3-none-any packages without extras, native code, namespace-only packages or startup hooks. Extensions with no third-party dependencies can use their compiled release records.
Recheck the selected files before binding and retain the application’s lifecycle, policy and domain checks. See package contracts.
