Queueing versus steering, permission prompts, plan mode, background tasks, and the MCP server.
What separates a good session from a frustrating one is mostly knowing how
input reaches the agent and when the agent is allowed to act. That is this
page.
The object model
A session is one agent process inside a workspace.
A chat thread is the durable conversation. Threads outlive processes: kill
the session, restart the app, reconnect from another machine — the thread and
its transcript are still there, because archcar owns them, not the UI.
A turn is everything the agent does between one of your messages and the
next. One tool call is not a turn.
Several sessions in one workspace is normal and share the branch on purpose.
Several workspaces is how you keep work independently reviewable. Do not reach
for a second workspace when what you want is a second chat.
Listed by archcar providers, not launchable as sessions in this build
Cursor, VS Code
Editor launch only
archductor archcar providers # what this build knows, and how completelyarchductor setup # what is installed and authenticated here
Starting a session
archductor session start fix-auth --kind codexarchductor session start fix-auth --kind claude --model opus --plan-modearchductor session list fix-autharchductor session stop fix-auth
Options at launch: --model, --plan-mode, --fast-mode, --approval-mode,
--reasoning-mode, --effort-mode, and for Codex --codex-personality,
--codex-goals, --codex-skills. They are passed through to the harness, so
the accepted values are the provider’s, not Archductor’s.session open prints or runs the equivalent command for an external terminal
instead of a managed session — useful when you want the agent’s own TUI.
Queueing versus steering
This is the part worth internalising.Messages go into a durable input queue owned by the daemon. They are not
typed into a terminal. Consequences:
A message survives the app closing, the daemon restarting, and you switching
machines.
It is delivered when the agent is ready for it, not into the middle of a
running turn — so you can queue three follow-ups while the agent works and
they arrive in order, each as its own turn.
archductor session send fix-auth --kind codex "Also add a regression test"archductor archcar queue list <thread-id>archductor archcar queue remove <queue-id>
Steering is the opposite: deliver now, into the turn in flight.
In the app that is mod+enter. Use it to redirect an agent that has gone the
wrong way; use the normal queue for everything else. Interrupting a good turn
to add a nice-to-have wastes the turn.archductor archcar interrupt <session-id> stops the turn without sending
anything.Input kinds — user, review-prompt, control-command, raw-terminal —
control how the input is framed. You rarely set them by hand; the app uses them
when staging a review comment or a failing check into a session, which is the
feature that replaces copy-pasting diffs into chat.
Permission prompts
When an agent asks to do something that needs approval, the request becomes an
interaction the daemon holds. It does not block on a TUI you have to be looking
at.
archductor archcar interactions list --all --detailarchductor archcar interactions show <interaction-id>archductor archcar interactions allow <interaction-id> --alwaysarchductor archcar interactions deny <interaction-id> --message "use the existing helper"archductor archcar interactions answer <interaction-id> --answers-json '{"choice":"b"}'
--always records the approval so the same request is not asked again.
deny --message is the useful form: the message reaches the agent, so it can
choose a different approach rather than just failing.
Plan mode
Plan mode puts a chat into research-and-propose instead of build. You get a
plan to read before any file is written.
archductor archcar plan-mode <thread-id> --onarchductor archcar plan <thread-id> # the plan it is working fromarchductor archcar plan-mode <thread-id> --off
In the app: mod+shift+tab to toggle, mod+shift+enter to approve. Worth using
by default for anything touching more than a couple of files — reading a plan
is much cheaper than reading a diff you then have to reject.Plans the agent saves live under the workspace’s .context/plans/ and are
listed by archductor archcar context-plans <workspace>.
Mid-session controls
archductor archcar model <session-id> <model>archductor archcar effort <session-id> <level>archductor archcar fast <session-id> # --off to disablearchductor archcar permission-mode <session-id> <mode>archductor archcar interrupt <session-id>archductor archcar kill <session-id>archductor archcar screen <session-id> # current PTY screenarchductor archcar messages <thread-id> # a thread id, not a session id
Switching model mid-thread is the common one: start cheap, escalate when the
agent is clearly out of its depth, without losing the conversation.
Keeping track of who did what
With several sessions in one workspace, “which agent wrote this” stops being
obvious. The daemon tracks it.
archductor archcar contributions <workspace> # per-session touched filesarchductor archcar session-runs <workspace> <id> # commands and checks that session ranarchductor archcar snapshot-contribution <workspace> <id> \ --risk "migration is not reversible"archductor archcar diff-contributions <workspace>
A snapshot writes a durable patch under
.context/archductor/contributions/, records the commands the daemon ran, and
keeps any risks or blockers you attach. Those risks then appear in the
generated PR body, which is the point — the person reviewing should not have to
excavate them from chat.Tasks and summaries are the same idea at workspace scale:
archductor archcar tasks <workspace>archductor archcar create-task <workspace> "Migrate the session table"archductor archcar update-task <workspace> <task-id> --status blocked \ --review-notes "waiting on schema review"archductor archcar draft-summary <workspace> # do not storearchductor archcar refresh-summary <workspace> --scope-type workspacearchductor archcar context-briefing <workspace>
context-briefing is the one to hand a fresh agent that is picking up someone
else’s workspace.
Background tasks
Fire-and-forget: create the workspace, run the agent, run the checks, write the
summary, optionally open the PR — without you watching.
archductor archcar start-background-task my-app \ "Upgrade the http client to hyper 1.x and fix the fallout" \ --provider codex --open-prarchductor archcar background-tasks --active-onlyarchductor archcar background-task <id>archductor archcar cancel-background-task <id>archductor archcar tick-background-tasks # advance now instead of waiting
A supervisor thread ticks every 10 seconds and moves the task through
pending → running → checking → summarizing → opening_pr → ready, or to
failed / cancelled. Liveness comes from real session state, not from
guessing at terminal output. The desktop shows an OS notification on
ready and failed.--agent provider[=prompt] (repeatable) runs additional agents in the same
workspace, each with its own session and optionally its own prompt. All of them
link to the workspace task, so per-agent provenance still works.
Background tasks run Codex and Claude only. A shell has no idle signal, so
there is nothing to advance the task on.
--no-checks skips the repository’s configured checks. --open-pr opens a
draft; add --ready-pr for ready-for-review.
MCP
Archductor is an MCP server, so an agent can query and drive Archductor itself.
archductor mcp serve # full surface, 31 toolsarchductor mcp serve --read-only # mutating tools hiddenarchductor mcp serve --profile session # the six context toolsarchductor mcp register # register with claude and codex on this machinearchductor mcp unregister --client codexarchductor mcp status <workspace>
Two profiles, for two different jobs:
full — an external client driving Archductor: workspaces, tasks,
sessions, prompts, summaries, context, changes and diffs, checks, review
status, PR draft and create, background tasks.
session — what an agent needs to keep its own workspace context
current, and nothing else: set_workspace_context, get_context_briefing,
get_summary, list_tasks, create_task, update_task. This is the right
default for mcp register, because an agent that can archive its own
workspace is a hazard, not a feature.
Because the tools are archcar requests, an MCP client can drive a remote
daemon by pointing it at one — see
Running on a server.The server deliberately exposes no presentation state. Layouts, panel
positions, and theme are not MCP tools.
Skills and MCP servers across agents
Different agents keep skills and MCP servers in different places, so installing
something in one does not give it to the others. sync fixes that with a union:
whatever any provider has, every selected provider gets.
archductor archcar skills # what is installed herearchductor archcar skill-catalog # what is installablearchductor archcar install-skill <name>archductor archcar sync-plan # exactly what would be writtenarchductor archcar sync # write it
It only ever adds and overwrites; nothing is deleted, and any file it replaces
is copied to <name>.archductor-backup first. Run sync-plan before sync —
the preview is the whole point of them being separate commands.
Known rough edges
Terminal rendering handles common ANSI and control redraws but is not a full
terminal emulator. Programs that assume one may render wrong.
Pull-request review-thread resolve and reopen are CLI-only
(archductor pr resolve-thread, archductor pr reopen-thread).
There is no product policy yet for Codex unsafe-approval or sandbox bypass.
Treat approval modes as something you set deliberately, per session.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Perceo","description":"Local-first dev suite for people who run coding and computer-use agents all day.","colors":{"primary":"#8b5cf6","light":"#a78bfa","dark":"#7848e6"},"logo":{"light":"https://mintcdn.com/perceo/qEdnE_JQlmrFu8Jz/logo/light.svg?fit=max\u0026auto=format\u0026n=qEdnE_JQlmrFu8Jz\u0026q=85\u0026s=bcf86f4052452600412cca82101192cd","dark":"https://mintcdn.com/perceo/qEdnE_JQlmrFu8Jz/logo/dark.svg?fit=max\u0026auto=format\u0026n=qEdnE_JQlmrFu8Jz\u0026q=85\u0026s=ffe9ec1031c35dd24ff17c6dab039daa","href":"https://perceo.ai"},"favicon":"https://mintcdn.com/perceo/qEdnE_JQlmrFu8Jz/favicon.png?fit=max\u0026auto=format\u0026n=qEdnE_JQlmrFu8Jz\u0026q=85\u0026s=db3cc32c3366ec0a2972aa492e5f0c07","appearance":{"default":"dark"},"background":{"decoration":"grid","color":{"light":"#faf8f7","dark":"#312f2f"}},"navbar":{"links":[{"href":"https://perceo.ai","label":"perceo.ai"}],"primary":{"type":"github","href":"https://github.com/perceo-ai"}},"footer":{"socials":{"github":"https://github.com/perceo-ai","website":"https://perceo.ai"},"links":[{"header":"Products","items":[{"label":"Archductor","href":"https://github.com/perceo-ai/conductor-arch"},{"label":"Archfleet","href":"https://github.com/perceo-ai/archfleet"},{"label":"Archivum","href":"https://github.com/perceo-ai/archivum"}]},{"header":"Perceo","items":[{"label":"Home","href":"https://perceo.ai"},{"label":"Products","href":"https://perceo.ai/products"}]}]},"fonts":{"family":"Instrument Sans"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"perceo","hasAudioNarration":false,"actualSubdomain":"perceo","customDomains":["docs.perceo.ai"],"gitSource":{"type":"github","owner":"perceo-ai","repo":"perceo-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ab9d4add880fe9600af514a","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Archductor","count":11},{"language":"default","tag":"Get started","count":8},{"language":"default","tag":"Guides","count":4},{"language":"default","tag":"Reference","count":4},{"language":"default","tag":"Perceo","count":4},{"language":"default","tag":"Archivum","count":2},{"language":"default","tag":"Concepts","count":2},{"language":"default","tag":"Archfleet","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--perceo-ground: #312f2f;--perceo-surface: rgba(255, 255, 255, 0.045);--perceo-surface-hover: rgba(255, 255, 255, 0.07);--perceo-border: rgba(255, 255, 255, 0.1);--perceo-border-strong: rgba(255, 255, 255, 0.2);--perceo-accent: #8b5cf6;--perceo-accent-soft: #a78bfa}:root:not(.dark){--perceo-surface: rgba(49, 47, 47, 0.03);--perceo-surface-hover: rgba(49, 47, 47, 0.06);--perceo-border: rgba(49, 47, 47, 0.12);--perceo-border-strong: rgba(49, 47, 47, 0.22)}#content-area h1,#content-area h2,#content-area h3,.prose h1,.prose h2,.prose h3{font-style:italic;letter-spacing:-0.015em}#content-area .eyebrow,#content-area [class*=\"eyebrow\"]{text-transform:uppercase;letter-spacing:0.18em;font-style:normal;font-size:0.72rem;font-weight:600}#content-area .card,#content-area [class*=\"accordion\"]{background:var(--perceo-surface);border-color:var(--perceo-border);border-radius:8px;transition:border-color 0.2s ease,\n\t\tbackground-color 0.2s ease}#content-area .card:hover{background:var(--perceo-surface-hover);border-color:var(--perceo-border-strong)}.dark #content-area pre,.dark #content-area .code-block{background:#101014;border:1px solid var(--perceo-border);border-radius:8px}#content-area code{font-size:0.875em}#content-area a:not(.card):not([class*=\"button\"]){text-underline-offset:3px;text-decoration-thickness:1px}#content-area a:not(.card):not([class*=\"button\"]):hover{color:var(--perceo-accent-soft)}#content-area table{border-color:var(--perceo-border)}#content-area th{font-weight:600;text-transform:uppercase;letter-spacing:0.1em;font-size:0.72rem}.dark{scrollbar-color:rgba(255, 255, 255, 0.16) transparent}"}]}
{"page":{"pagePath":"archductor/agent-sessions","slug":"/archductor/agent-sessions","pageMetadata":{"title":"Agent sessions","description":"Queueing versus steering, permission prompts, plan mode, background tasks, and the MCP server.","href":"/archductor/agent-sessions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Queueing versus steering, permission prompts, plan mode, background tasks, and the MCP server.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`What separates a good session from a frustrating one is mostly knowing how\ninput reaches the agent and when the agent is allowed to act. That is this\npage.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-object-model`,children:`The object model`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`session`}),` is one agent process inside a workspace.`]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`chat thread`}),` is the durable conversation. Threads outlive processes: kill\nthe session, restart the app, reconnect from another machine — the thread and\nits transcript are still there, because `,_jsx(_components.code,{children:`archcar`}),` owns them, not the UI.`]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`turn`}),` is everything the agent does between one of your messages and the\nnext. One tool call is not a turn.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Several sessions in one workspace is normal and share the branch on purpose.\nSeveral workspaces is how you keep work independently reviewable. Do not reach\nfor a second workspace when what you want is a second chat.`}),`\n`,_jsx(Heading,{level:`2`,id:`which-agents-actually-run`,children:`Which agents actually run`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Provider`}),_jsx(_components.th,{children:`Managed session`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Codex`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Default for `,_jsx(_components.code,{children:`session send`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Claude Code`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Gemini CLI`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Driven over the Agent Client Protocol`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Shell`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`No agent, just a PTY in the workspace`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Aider, Amp, Copilot CLI, Cursor Agent, Grok, OpenCode`}),_jsx(_components.td,{children:`Detected only`}),_jsxs(_components.td,{children:[`Listed by `,_jsx(_components.code,{children:`archcar providers`}),`, not launchable as sessions in this build`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cursor, VS Code`}),_jsx(_components.td,{children:`Editor launch only`}),_jsx(_components.td,{})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` providers`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # what this build knows, and how completely`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # what is installed and authenticated here`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`starting-a-session`,children:`Starting a session`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` session`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` start`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fix-auth`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --kind`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` codex`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` session`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` start`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fix-auth`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --kind`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` claude`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --model`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` opus`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --plan-mode`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` session`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fix-auth`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` session`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` stop`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fix-auth`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Options at launch: `,_jsx(_components.code,{children:`--model`}),`, `,_jsx(_components.code,{children:`--plan-mode`}),`, `,_jsx(_components.code,{children:`--fast-mode`}),`, `,_jsx(_components.code,{children:`--approval-mode`}),`,\n`,_jsx(_components.code,{children:`--reasoning-mode`}),`, `,_jsx(_components.code,{children:`--effort-mode`}),`, and for Codex `,_jsx(_components.code,{children:`--codex-personality`}),`,\n`,_jsx(_components.code,{children:`--codex-goals`}),`, `,_jsx(_components.code,{children:`--codex-skills`}),`. They are passed through to the harness, so\nthe accepted values are the provider’s, not Archductor’s.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`session open`}),` prints or runs the equivalent command for an external terminal\ninstead of a managed session — useful when you want the agent’s own TUI.`]}),`\n`,_jsx(Heading,{level:`2`,id:`queueing-versus-steering`,children:`Queueing versus steering`}),`\n`,_jsx(_components.p,{children:`This is the part worth internalising.`}),`\n`,_jsxs(_components.p,{children:[`Messages go into a `,_jsx(_components.strong,{children:`durable input queue`}),` owned by the daemon. They are not\ntyped into a terminal. Consequences:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A message survives the app closing, the daemon restarting, and you switching\nmachines.`}),`\n`,_jsx(_components.li,{children:`It is delivered when the agent is ready for it, not into the middle of a\nrunning turn — so you can queue three follow-ups while the agent works and\nthey arrive in order, each as its own turn.`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` session`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` send`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fix-auth`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --kind`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` codex`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Also add a regression test\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` queue`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`thread-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` queue`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remove`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`queue-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Steering`}),` is the opposite: deliver now, into the turn in flight.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` session`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` send`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fix-auth`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --immediate`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"stop, you're editing the wrong file\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`In the app that is `,_jsx(_components.code,{children:`mod+enter`}),`. Use it to redirect an agent that has gone the\nwrong way; use the normal queue for everything else. Interrupting a good turn\nto add a nice-to-have wastes the turn.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`archductor archcar interrupt \u003csession-id>`}),` stops the turn without sending\nanything.`]}),`\n`,_jsxs(_components.p,{children:[`Input kinds — `,_jsx(_components.code,{children:`user`}),`, `,_jsx(_components.code,{children:`review-prompt`}),`, `,_jsx(_components.code,{children:`control-command`}),`, `,_jsx(_components.code,{children:`raw-terminal`}),` —\ncontrol how the input is framed. You rarely set them by hand; the app uses them\nwhen staging a review comment or a failing check into a session, which is the\nfeature that replaces copy-pasting diffs into chat.`]}),`\n`,_jsx(Heading,{level:`2`,id:`permission-prompts`,children:`Permission prompts`}),`\n`,_jsx(_components.p,{children:`When an agent asks to do something that needs approval, the request becomes an\ninteraction the daemon holds. It does not block on a TUI you have to be looking\nat.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` interactions`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --all`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --detail`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` interactions`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` show`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`interaction-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` interactions`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`interaction-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`--always`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` interactions`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` deny`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`interaction-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`--message`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"use the existing helper\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` interactions`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` answer`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`interaction-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`--answers-json`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '{\"choice\":\"b\"}'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--always`}),` records the approval so the same request is not asked again.\n`,_jsx(_components.code,{children:`deny --message`}),` is the useful form: the message reaches the agent, so it can\nchoose a different approach rather than just failing.`]}),`\n`,_jsx(Heading,{level:`2`,id:`plan-mode`,children:`Plan mode`}),`\n`,_jsx(_components.p,{children:`Plan mode puts a chat into research-and-propose instead of build. You get a\nplan to read before any file is written.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` plan-mode`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`thread-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`--on`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` plan`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`thread-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# the plan it is working from`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` plan-mode`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`thread-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`--off`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`In the app: `,_jsx(_components.code,{children:`mod+shift+tab`}),` to toggle, `,_jsx(_components.code,{children:`mod+shift+enter`}),` to approve. Worth using\nby default for anything touching more than a couple of files — reading a plan\nis much cheaper than reading a diff you then have to reject.`]}),`\n`,_jsxs(_components.p,{children:[`Plans the agent saves live under the workspace’s `,_jsx(_components.code,{children:`.context/plans/`}),` and are\nlisted by `,_jsx(_components.code,{children:`archductor archcar context-plans \u003cworkspace>`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`mid-session-controls`,children:`Mid-session controls`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` model`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`session-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`mode`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`l`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` effort`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`session-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`leve`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`l`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fast`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`session-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# --off to disable`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` permission-mode`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`session-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`mod`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` interrupt`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`session-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` kill`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`session-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` screen`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`session-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# current PTY screen`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` messages`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`thread-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# a thread id, not a session id`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Switching model mid-thread is the common one: start cheap, escalate when the\nagent is clearly out of its depth, without losing the conversation.`}),`\n`,_jsx(Heading,{level:`2`,id:`keeping-track-of-who-did-what`,children:`Keeping track of who did what`}),`\n`,_jsx(_components.p,{children:`With several sessions in one workspace, “which agent wrote this” stops being\nobvious. The daemon tracks it.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` contributions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# per-session touched files`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` session-runs`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# commands and checks that session ran`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` snapshot-contribution`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --risk`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"migration is not reversible\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` diff-contributions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A snapshot writes a durable patch under\n`,_jsx(_components.code,{children:`.context/archductor/contributions/`}),`, records the commands the daemon ran, and\nkeeps any risks or blockers you attach. Those risks then appear in the\ngenerated PR body, which is the point — the person reviewing should not have to\nexcavate them from chat.`]}),`\n`,_jsx(_components.p,{children:`Tasks and summaries are the same idea at workspace scale:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` tasks`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` create-task`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Migrate the session table\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` update-task`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`task-i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`--status`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` blocked`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --review-notes`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"waiting on schema review\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` draft-summary`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# do not store`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` refresh-summary`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`--scope-type`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` workspace`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` context-briefing`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`context-briefing`}),` is the one to hand a fresh agent that is picking up someone\nelse’s workspace.`]}),`\n`,_jsx(Heading,{level:`2`,id:`background-tasks`,children:`Background tasks`}),`\n`,_jsx(_components.p,{children:`Fire-and-forget: create the workspace, run the agent, run the checks, write the\nsummary, optionally open the PR — without you watching.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` start-background-task`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-app`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Upgrade the http client to hyper 1.x and fix the fallout\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` codex`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --open-pr`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` background-tasks`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --active-only`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` background-task`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` cancel-background-task`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` tick-background-tasks`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # advance now instead of waiting`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A supervisor thread ticks every 10 seconds and moves the task through\n`,_jsx(_components.code,{children:`pending → running → checking → summarizing → opening_pr → ready`}),`, or to\n`,_jsx(_components.code,{children:`failed`}),` / `,_jsx(_components.code,{children:`cancelled`}),`. Liveness comes from real session state, not from\nguessing at terminal output. The desktop shows an OS notification on\n`,_jsx(_components.code,{children:`ready`}),` and `,_jsx(_components.code,{children:`failed`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--agent provider[=prompt]`}),` (repeatable) runs additional agents in the same\nworkspace, each with its own session and optionally its own prompt. All of them\nlink to the workspace task, so per-agent provenance still works.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Background tasks run `,_jsx(_components.strong,{children:`Codex and Claude only`}),`. A shell has no idle signal, so\nthere is nothing to advance the task on.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--no-checks`}),` skips the repository’s configured checks. `,_jsx(_components.code,{children:`--open-pr`}),` opens a\ndraft; add `,_jsx(_components.code,{children:`--ready-pr`}),` for ready-for-review.`]}),`\n`,_jsx(Heading,{level:`2`,id:`mcp`,children:`MCP`}),`\n`,_jsx(_components.p,{children:`Archductor is an MCP server, so an agent can query and drive Archductor itself.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` serve`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # full surface, 31 tools`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` serve`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --read-only`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # mutating tools hidden`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` serve`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --profile`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` session`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # the six context tools`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` register`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # register with claude and codex on this machine`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` unregister`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --client`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` codex`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`workspac`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Two profiles, for two different jobs:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`full`})}),` — an external client driving Archductor: workspaces, tasks,\nsessions, prompts, summaries, context, changes and diffs, checks, review\nstatus, PR draft and create, background tasks.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`session`})}),` — what an agent needs to keep `,_jsx(_components.em,{children:`its own`}),` workspace context\ncurrent, and nothing else: `,_jsx(_components.code,{children:`set_workspace_context`}),`, `,_jsx(_components.code,{children:`get_context_briefing`}),`,\n`,_jsx(_components.code,{children:`get_summary`}),`, `,_jsx(_components.code,{children:`list_tasks`}),`, `,_jsx(_components.code,{children:`create_task`}),`, `,_jsx(_components.code,{children:`update_task`}),`. This is the right\ndefault for `,_jsx(_components.code,{children:`mcp register`}),`, because an agent that can archive its own\nworkspace is a hazard, not a feature.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Because the tools are archcar requests, an MCP client can drive a `,_jsx(_components.em,{children:`remote`}),`\ndaemon by pointing it at one — see\n`,_jsx(_components.a,{href:`/archductor/remote`,children:`Running on a server`}),`.`]}),`\n`,_jsx(_components.p,{children:`The server deliberately exposes no presentation state. Layouts, panel\npositions, and theme are not MCP tools.`}),`\n`,_jsx(Heading,{level:`2`,id:`skills-and-mcp-servers-across-agents`,children:`Skills and MCP servers across agents`}),`\n`,_jsxs(_components.p,{children:[`Different agents keep skills and MCP servers in different places, so installing\nsomething in one does not give it to the others. `,_jsx(_components.code,{children:`sync`}),` fixes that with a union:\nwhatever any provider has, every selected provider gets.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` skills`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # what is installed here`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` skill-catalog`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # what is installable`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` install-skill`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`nam`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` sync-plan`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # exactly what would be written`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` sync`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # write it`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`It only ever adds and overwrites; nothing is deleted, and any file it replaces\nis copied to `,_jsx(_components.code,{children:`\u003cname>.archductor-backup`}),` first. Run `,_jsx(_components.code,{children:`sync-plan`}),` before `,_jsx(_components.code,{children:`sync`}),` —\nthe preview is the whole point of them being separate commands.`]}),`\n`,_jsx(Heading,{level:`2`,id:`known-rough-edges`,children:`Known rough edges`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Terminal rendering handles common ANSI and control redraws but is not a full\nterminal emulator. Programs that assume one may render wrong.`}),`\n`,_jsxs(_components.li,{children:[`Pull-request review-thread resolve and reopen are CLI-only\n(`,_jsx(_components.code,{children:`archductor pr resolve-thread`}),`, `,_jsx(_components.code,{children:`archductor pr reopen-thread`}),`).`]}),`\n`,_jsx(_components.li,{children:`There is no product policy yet for Codex unsafe-approval or sandbox bypass.\nTreat approval modes as something you set deliberately, per session.`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Agent sessions","description":"Queueing versus steering, permission prompts, plan mode, background tasks, and the MCP server.","href":"/archductor/agent-sessions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The object model","slug":"the-object-model","depth":2,"children":[]},{"title":"Which agents actually run","slug":"which-agents-actually-run","depth":2,"children":[]},{"title":"Starting a session","slug":"starting-a-session","depth":2,"children":[]},{"title":"Queueing versus steering","slug":"queueing-versus-steering","depth":2,"children":[]},{"title":"Permission prompts","slug":"permission-prompts","depth":2,"children":[]},{"title":"Plan mode","slug":"plan-mode","depth":2,"children":[]},{"title":"Mid-session controls","slug":"mid-session-controls","depth":2,"children":[]},{"title":"Keeping track of who did what","slug":"keeping-track-of-who-did-what","depth":2,"children":[]},{"title":"Background tasks","slug":"background-tasks","depth":2,"children":[]},{"title":"MCP","slug":"mcp","depth":2,"children":[]},{"title":"Skills and MCP servers across agents","slug":"skills-and-mcp-servers-across-agents","depth":2,"children":[]},{"title":"Known rough edges","slug":"known-rough-edges","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"perceo","siteName":"Perceo","title":"Agent sessions - Perceo","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-07T10:33:40.774Z","originalFileLocation":"archductor/agent-sessions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Queueing versus steering, permission prompts, plan mode, background tasks, and the MCP server.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Perceo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Agent sessions - Perceo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Queueing versus steering, permission prompts, plan mode, background tasks, and the MCP server.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Perceo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.perceo.ai/archductor/agent-sessions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://perceo.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Agent+sessions\u0026amp;description=Queueing+versus+steering%2C+permission+prompts%2C+plan+mode%2C+background+tasks%2C+and+the+MCP+server.\u0026amp;theme=5c8712a9a750cf92b02ca5c8\u0026amp;signature=4bbebd7db4ed0e6f301a68bf66d962eddf131a67597f5825185b3d293e2d7c99\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Agent sessions - Perceo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Queueing versus steering, permission prompts, plan mode, background tasks, and the MCP server.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://perceo.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Agent+sessions\u0026amp;description=Queueing+versus+steering%2C+permission+prompts%2C+plan+mode%2C+background+tasks%2C+and+the+MCP+server.\u0026amp;theme=5c8712a9a750cf92b02ca5c8\u0026amp;signature=4bbebd7db4ed0e6f301a68bf66d962eddf131a67597f5825185b3d293e2d7c99\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Perceo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8b5cf6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.perceo.ai/archductor/agent-sessions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/archductor/agent-sessions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.perceo.ai/#organization\",\"name\":\"Perceo\",\"url\":\"https://docs.perceo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/perceo/qEdnE_JQlmrFu8Jz/logo/light.svg?fit=max\u0026auto=format\u0026n=qEdnE_JQlmrFu8Jz\u0026q=85\u0026s=bcf86f4052452600412cca82101192cd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.perceo.ai#website\",\"name\":\"Perceo\",\"url\":\"https://docs.perceo.ai\",\"publisher\":{\"@id\":\"https://docs.perceo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.perceo.ai/archductor/agent-sessions#webpage\",\"url\":\"https://docs.perceo.ai/archductor/agent-sessions\",\"name\":\"Agent sessions\",\"description\":\"Queueing versus steering, permission prompts, plan mode, background tasks, and the MCP server.\",\"dateModified\":\"2026-09-07T10:33:40.774Z\",\"isPartOf\":{\"@id\":\"https://docs.perceo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.perceo.ai/archductor/agent-sessions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.perceo.ai/archductor/agent-sessions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.perceo.ai/archductor/parallel-work\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent sessions\",\"item\":\"https://docs.perceo.ai/archductor/agent-sessions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.perceo.ai/archductor/agent-sessions#article\",\"headline\":\"Agent sessions\",\"name\":\"Agent sessions\",\"description\":\"Queueing versus steering, permission prompts, plan mode, background tasks, and the MCP server.\",\"url\":\"https://docs.perceo.ai/archductor/agent-sessions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.perceo.ai/archductor/agent-sessions#webpage\"},\"dateModified\":\"2026-09-07T10:33:40.774Z\",\"publisher\":{\"@id\":\"https://docs.perceo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.perceo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Perceo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Perceo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/archductor/agent-sessions.md","siteName":"Perceo","nav":{"global":null,"tabs":[{"tab":"Perceo","icon":"layers","pages":[{"title":"Perceo","href":""}]},{"tab":"Archductor","icon":"terminal","groups":[{"group":"Get started","pages":[{"title":"Overview","href":"/archductor/overview"},{"title":"Install","href":"/archductor/install"},{"title":"Your first workspace","href":"/archductor/first-workspace"}]},{"group":"Guides","pages":[{"title":"Running work in parallel","href":"/archductor/parallel-work"},{"title":"Project setup","description":"Scripts, copied files, environment, prompts, checks, and merge rules in .archductor/settings.toml.","href":"/archductor/project-setup"},{"title":"Agent sessions","href":"/archductor/agent-sessions"},{"title":"Running on a server","description":"Host the archcar daemon on a headless machine and drive it from your laptop over SSH.","href":"/archductor/remote"}]},{"group":"Reference","pages":[{"title":"Settings reference","href":"/archductor/settings-reference"},{"title":"CLI reference","href":"/archductor/cli"},{"title":"Requirements","href":"/archductor/requirements"},{"title":"Release readiness","href":"/archductor/release-readiness"}]}]},{"tab":"Archfleet","icon":"monitor","pages":[{"title":"Archfleet","href":"/archfleet/overview"}]},{"tab":"Archivum","icon":"book-open","pages":[{"title":"Archivum","href":"/archivum/overview"}]}]},"basePath":"","title":"Agent sessions - Perceo","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}