41af2124fleetd owns native processes through runtime adapters. crossfire owns coordination, authorization and observations; it never launches or kills agents.
The adapters support Codex and Earendil Pi. Claude configuration is rejected. Adapters use runtime protocols rather than reading terminal text for control.
Execution boundary#
fleetd and its shared listener stay on the host. Instances default to host execution. Unreleased source builds can select a fleet-owned VM image/profile for Codex or Pi on managed C#, NativeAOT and Rust. Published 0.1.26 archives do not contain this feature.
The VM runs the native engine and its tools. Exact sessions, histories, workspace and approved data remain on host storage at their original paths. One host-only writer gate excludes competing kernels; exported locks are not that gate. A failed VM never changes placement to host. Cleanup must close the exact execution group before another writer can open those histories.
Restoring a sleeping fleet starts no VM or model turn. Explicit inspection and first approved native-history initialization may boot without inference. Codex terminal attachment uses the existing private guest SSH connection and does not open a host writer or a replacement VM.
Settings and histories#
A role definition supplies native defaults. Instance top-level settings override them; nested tables replace whole values. The adapter resolves and validates the same effective settings for inspection, startup, resume, recovery and reset. Unavailable model/effort combinations fail before startup; no substitution occurs.
Codex requires stock 0.158.0+ and the actual native capabilities used by this release, including developer-item injection. A version number alone is not proof. Selected model/effort support is checked through native config/model APIs. Managed defaults are danger-full-access and on-request approval unless explicitly configured. A supported explicit bypass is a deliberate owner choice.
Each activation atomically refreshes provider authentication from the current authorized host source. It does not import the setup assistant’s history or silently switch a running engine’s account. Invalid private login files fail; an absent source removes stale file login.
Instructions are inserted as native developer or custom entries without making a model call. Unchanged instructions do not append duplicates. Changed AGENTS.md, skill or administrator text uses the same producer on the next eligible activation.
Message delivery and interruption#
The listener filters normalized backend events using current account, room, wake and controller authority. Input identifies the receiving agent and owner, sender, room, event and timestamp. Missing metadata is marked unknown.
Eligible native user mentions interrupt the exact captured active turn before replacement input. Humans and agents have the same accepted-source rule. Display names, quoted text, edits, old snapshots, self and internal notices do not become controls. Shared context targets the shared history; per-room mode targets only that room.
Steering bypasses ordinary collection/work queues. Cold startup still has a finite native-start capacity; non-admission is visible and does not consume unread input. The owner DM records receipt, interruption/already-idle and exact input acceptance with measured timestamps. A delivered input receipt is not completed model work. Cancellation does not roll back prior tool effects.
Unconfirmed delivery#
The adapter journals exact input identity/text and history boundary before sending. Only an exact native receipt advances unread state. RPC success or a client correlation ID alone is insufficient. Confirmed input survives restart without replay; genuine pending input is resolved before another ordinary message. Restart does not create a historical-task reminder.
A restarted process has no old running turn. If delivery of the previous message cannot be confirmed from history, that message is saved to a private file. A new restart instruction points to it. The instruction says delivery was unknown and asks the model to inspect prior effects before continuing. It does not claim exactly-once external execution.
Invalid/corrupt identity journals are permanent conflicts, not unlimited restart conditions. Do not delete them to force a new context.
Owner output and decisions#
With output mirroring enabled, visible non-thinking native output goes only to
the verified private owner DM. The operator can select
listener_options.mirror_output = false
to suppress new native-output deliveries for a collector. This requires the
matching fleetd distribution; update explicitly before selecting it.
Explicit messages, activity, usage, approvals and questions remain available.
Reasoning traces, hidden protocol credentials and secret answers are excluded.
Shared-room replies require an intentional messaging-tool call with an explicit
destination. Terminal output never infers a public audience.
The owner is trusted to see this transcript, including shared-context information from rooms they have not joined. This is not room confidentiality isolation. Machine-specific paths may appear in that owner DM; agents are instructed not to disclose them to other audiences. That instruction is not a guaranteed scrubber.
Native permission/questions use one decision port. Only the current owner can answer the exact pending request. A choice URL is read-only; an authenticated, same-origin/CSRF-protected submission is required. Silence is never consent. Multiple questions require one complete answer set.
Pending, Answered, Responded, Cancelled and Expired have distinct meanings. Responded records the original native socket-write completion, not proof of subsequent model execution. Request-clear notifications can be cancellation. Unsupported shell/TUI prompts are not guessed from prose.
Activity, sleep and failure#
Native state distinguishes idle, working, waiting, sleeping, waking, failed and unavailable. Message-driven initialization stays waking until input/receipt readiness. Unknown activity prevents automatic sleep instead of inventing idle.
Idle timeout defaults to thirty minutes. Busy contexts, questions, pending input, startup/cleanup and uncertain receipts veto sleep. Eligible input resumes the exact saved history. Explicit Stop cancels desired activation and stays stopped.
Unexpected native failure closes the affected generation and waits for genuine eligible input before retrying the retained history. Listener reconnection uses bounded backoff; authorization/configuration conflicts require action. Failed cleanup blocks a replacement writer. The controller reports incidents to the owner’s private crossfire management DM. Lost contact is unknown execution state; a dead controller cannot report itself.
For host execution, every implementation’s process adapter guards the owned native engine group against controller death, including SIGKILL. C# uses an exact parent process handle and Rust an exact parent pidfd. The guard holds the private native-group lock while terminating its group. The history lock also refuses competing writers. These mechanisms do not contain arbitrary subprocesses that escape the group. A full host restart, where old processes are gone, is a different case. No implementation scans process names, adopts an orphan or copies its history to bypass ownership. Retained input and receipts still require recovery; process cleanup cannot prove whether an external action completed.
Native terminal access#
fleet agent contexts FLEET INSTANCE lists exact retained histories.
fleet agent attach returns a running-session command, not another process,
listener or forked history. The token itself is not printed. Closing the TUI
leaves the managed engine running.
Pi RPC does not support live TUI attachment. Its API returns unsupported without starting a second writer. It has no emulated native permission sandbox. Tools use controller-user privileges in host execution or the selected VM’s boundary.