Skip to content

Dashboard settings map (v1.86.0)

Department and main employee access settings (Enterprise, v1.86.0)

Section titled “Department and main employee access settings (Enterprise, v1.86.0)”
Location Controls and current availability
Members (/manage/users) → Manager row → Department management grants Choose schedules, automation rules, skills, usage and outbound-data review. Adding access requires confirmation; revocation leaves existing schedules running.
Main AI employee edit page → Who may use Admin maintains the initially empty list for conversations and ordinary work. It applies only in protected mode with isolated employee execution; otherwise these entry points remain Admin-only. Customer hosts cannot enable native Linux employee isolation yet, so in this release the list can be saved but does not take effect.
Automation (/routines) Granted Managers manage eligible routines, reminders and scheduled assignments by department; new routines are prompt-only. Department automation rules offers only task created, task updated and task status changed. Members have the read-only Rules affecting my AI employees tab. Schedules can show Creator no longer has access. Employees needing an Admin org sync are counted in a notice.
Skills Granted Managers can switch skills on or off, remove, restore and choose Request installation for an employee. Installation still requires Admin approval.
Budget / billing → Department usage Granted Managers can choose a department and 7, 30 or 90 days, then read per-employee usage, totals and recent records. They cannot change budgets through this grant.

Adding or widening a grant, or adding people to the main list, requires reading the risk note and ticking I understand. Changes are audited. Department grants apply only to signed-in dashboard sessions, not personal API keys or chat apps. They end automatically when the person stops being an active Manager. The main list warns that listed people may ask about memories, including Admin conversations; personal API keys can never use the main employee. Scheduling the main employee, creating employees and changing their settings stay Admin-only.

See Department managers for exact permissions, rule execution limits, revocation and existing work. Company-wide analytics and billing summaries remain visible to all Managers.

agents.main_access.get {} / agents.main_access.set {user_ids, expected_hash, acknowledged?} include granted_by_name and granted_at on each users[] entry, so the grant can show who approved it and when. The name can be null.

Get and successful set responses also include a top-level string hash. Set requires expected_hash copied from the get snapshot displayed to the administrator. The token is the lowercase hex SHA-256 digest of the stored main_agent_users rows in users.db: compact JSON tuples [user_id, granted_by, granted_at], ordered by user_id. Display and hash use one read snapshot; comparison and replacement use the same IMMEDIATE write transaction. A missing/non-string token or a stale token refuses the save without changing the list. After a conflict, reload and review the list before saving again.

const snapshot = await rpc('agents.main_access.get', {});
await rpc('agents.main_access.set', {
user_ids: selectedUserIds, acknowledged: true, expected_hash: snapshot.hash,
});

Managers with Automation access can call autopilot.template_fields {trigger_event} for task_created, task_updated and task_status_changed only, without sequence; autopilot.runs.list {rule_id, limit?} is limited to rules in their granted Automation departments. autopilot.template_fields returns {fields:[...]}; autopilot.runs.list returns {runs:[...]}, with limit defaulting to 20 and accepting 1–100. autopilot.runs.cancel remains Admin-only. Admins and the department’s authorized Manager can call autopilot.notify_destinations {owner_department}. It returns {destinations:[{channel, chat_id, kind, agent_id, label}]}: kind is self or agent, and agent_id is nullable. These are exactly the destinations a department rule created by the caller may notify. Use label for display. Rules returned by autopilot.list and autopilot.affecting_me include creator_access_lost (true, false or null when undetermined); this is display information, not an authorization decision.

Location Controls and confirmation
Settings → Advanced → Delegation permissions Role exceptions require risk confirmation on the first tick. One-way pairs explain both directions.
Settings → Advanced → Delegation permissions → Administrator AI (bottom card) Enable with I understand; disabling takes effect immediately.
Inbox Administrator AI settings change confirmation shows a ten-minute countdown; processing results distinguish done / partial / voided. Processed cards show Decision maker and decision time when available.
Security settings → Approve in chat apps Telegram and Google Chat; all step-up kinds checked by default, risk confirmation to uncheck; card lifetime 1–720 hours. Read-only in Personal edition.
My connections → Chat app links (administrator) One-time-code handshake. Cancel chat approval eligibility clears only proof.
/approvals/confirm Opened from a chat card. Sign in first if needed; approval needs password + authenticator code. Rejection needs no password.
Integrations → Google → Drive writing Four actions, approval mode per action and folder list. Readiness shows delegated scopes, a per-employee test and company-account consent.
Integrations → Google → Company Google account sign-in Domains, Admin approval or direct creation, daily cap, avatar template, MFA pre-authorisation on approval, redirect URI and checklist. Every save except disabling requires password + code.
My connections Drive writing link and write confirmation cards; Google sign-in enabled or disabled with your password; Odoo uses your own login and key and shows Configured by administrator until enabled by the Admin.
Logs → History → Drive writing Quick filter for Drive write records.
Members (/manage/users) Pending activation: approve / reject Google requests. Google sign-in / Odoo / AI avatar badges; multi-select Batch confirm Google sign-in; row menus Cancel Google sign-in and Revoke Odoo account. Chat identities show Self-confirmed / Entered by administrator.
Login / Home / Account Company Google login appears only when enabled with a public URL. Google-onboarded members see five Home steps; Odoo links to My connections. Passwordless accounts reauthenticate with Google before changing two-step factors on Account.
Org changes Impact appears on the Inbox org-change card, org chart confirmation and employee department field.
Settings → Advanced → Autopilot Open Settings → Advanced → Autopilot for up to five steps (delegate, notify, run skill or wait), an execution window, skill parameters with Insert event field, per-step run history and cancellation. Older rules carry Created before upgrade.
AI Teams (/experts) Company skill sources: add with risk confirmation + password/code; removal can also disable skills. Approval lifetime: 1–30 days.
External access (/me/external-access) On External access (/me/external-access), members select Include my conversation content and external tool scopes when creating a key; later changes can only narrow access. Admins use the two master switches on the same page.
Integrations → Odoo / employee editor → Integrations → Odoo Open Integrations → Odoo for the upgrade notice, permission mode (engine tables or follow the Odoo account, with risk confirmation), Always refuse (grouped defaults; removal requires confirmation; five fixed refusals remain), Which AIs may use the company account, and Colleagues’ own Odoo accounts (off by default) with the member credential list. In the employee editor → Integrations → Odoo, use Narrow permissions, Use the current requester’s Odoo account, and the per-table Activity / Internal note / Notify followers / Attachment controls; each requires confirmation.

Automatic skill staleness and archiving have been removed. [skill_curator] is accepted but ignored, with one warning per process. Gateway startup restores recorded archived skills without overwriting existing destinations; conflicts remain in skills-archive for manual recovery. Linux and macOS restore flat global and agent skills in both modes through directory descriptors, without following symlinked components. Other platforms retain archives for manual recovery.

Use skill_list to inspect loaded skills. Resolve a destination conflict before retrying restoration; keep the archived file until recovery succeeds. Gateway startup retries recorded archives on the next start.

Automation → Run, schedule and file review limits (v1.82.0)

Section titled “Automation → Run, schedule and file review limits (v1.82.0)”

These three cards are Admin-only and save through the locked configuration writer. Changes apply to subsequent runs, checks or approval requests without a restart.

Card / field config.toml key Default / allowed range
Single-run / default seconds [runtime] default_timeout_secs Optional; 30 up to max_timeout_secs. Blank removes the override: every runtime uses 1800 seconds (never above the ceiling). Before v1.84.0, runtimes other than Claude used 300.
Single-run / ceiling seconds [runtime] max_timeout_secs 3600; 60–14400 seconds. Raising it allows long runs to consume more quota.
Single-run / default steps [runtime] default_max_turns 50; 1 up to the step ceiling. More steps can use more quota and time.
Single-run / step ceiling [runtime] max_turns_limit 200; 1–10000. Administrator only.
Assignment schedules / active per person [goal_defaults] assign_schedule_max_active 20; 0–200. Zero prevents creation and resume.
Assignment schedules / minimum interval [goal_defaults] assign_schedule_min_interval_minutes 60; 60–10080 minutes for non-Admins. The Admin minimum stays 5 minutes.
File reviews / daily total [agent_files] review_daily_limit 200; 0–100000.
File reviews / daily per person [agent_files] review_daily_limit_per_user 40; 0–100000.
File reviews / daily per employee [agent_files] review_daily_limit_per_agent 60; 0–100000.
File checks / per person per minute [agent_files] checks_per_minute 10; 1–1000.
File approvals / pending per person [agent_files] max_pending_per_user 20; 1–200.

The employee’s existing [runtime] timeout_secs now applies to Claude as well. When no employee value is set, a non-Admin owner can only set 300 seconds or less (and must obey any lower global default or ceiling). The employee page shows the effective seconds and ceiling. Values above the ceiling are rejected on save and clamped at execution. An invalid global timeout configuration logs a warning and restores the hard defaults (1800 seconds for every runtime, ceiling 3600); it never permits unlimited execution. A valid global default replaces the runtime-specific default only when the employee value is absent. The ceiling also bounds an unset default. Task-specific limits and sandbox limits can still shorten a run; goal-specific limits range from 30 seconds to min(max_timeout_secs, 3600) (at most one hour).

Web conversations use the target employee’s effective timeout, bounded by the global ceiling, plus 30 seconds for delivery. Routine constants and role overrides are unchanged. Exhausting a review quota still produces at least a warning (or a block), never skips review. There is no temporary relaxation switch.

Advanced settings and company information (v1.80.0)

Section titled “Advanced settings and company information (v1.80.0)”

Admins in both editions can open Settings → Advanced (/app/system/settings/advanced). One page groups the less frequently used settings below. Search filters section names, descriptions and field labels immediately in the selected language (English, Traditional Chinese or Japanese). Expand a matching section to edit it; existing save behavior, restart notices and RPC permissions still apply. General, Account, Voice and Proactive notifications remain in the everyday settings rail. Non-Admins cannot open either new page or see its navigation.

Group Settings and stable anchors
System and billing System #system, account rotation #rotation, diagnostics #doctor, billing #billing, configuration editor #configRaw
Security and records Sandbox, file access, trust, tracing and secrets #security; log level #logging; containers #container; delegation #delegation; redaction #redaction; browser #browser
AI models Background model #utility, knowledge search #knowledgeSearch
Experimental features Heartbeat #heartbeat, automation #automation, calibration #calibration, autopilot #autopilot, skill synthesis #skillSynthesis

Old settings links such as ?tab=system, ?tab=automation and ?tab=configRaw redirect to the matching anchor. General no longer duplicates account rotation or log level; it links to their new location. The tables below still describe the same configuration keys, now grouped on this page.

Settings → Company information (/app/system/settings/company) sets the customer name (up to 120 characters, excluding controls, line separators and Unicode format/bidi characters) and a PNG, JPG or WebP logo up to 1 MiB. SVG and animated uploads are refused. The server checks the image bytes, limits dimensions to 4096 × 4096, decodes the image, removes metadata and re-encodes a PNG thumbnail within 256 × 256. Saving first updates the name and optional logo removal through RPC, then uploads a selected logo through HTTP. These are separate transactions: if upload fails, the saved name remains, the selected file is retained for retry, and the form does not show full success. A blank name uses the product name; an absent or unloadable logo falls back to the product logo.

The sidebar and login header use customer identity; invitation emails and their preview use the company name and logo. The signed distributor product identity stays on About and in the login footer. This does not edit or override the distributor feed. The setup checklist’s company item now reads this company name and links here; the older general display name still controls the gateway’s local-network name.

company.get and company.update require Admin; the latter accepts only name and optional remove_logo, and rejects logo_base64. Logo upload uses POST /api/company/logo with the stored access token in Authorization: Bearer, without cookies. The gateway validates the JWT and current Admin account before reading the raw binary body. The route and stream each enforce 1 MiB; the content type must match PNG, JPEG or WebP magic bytes. Each account and TCP peer IP has six attempts per 60 seconds (proxy users share its IP budget). The IP limit runs before authentication and returns 429 without an individual audit entry on excess requests; admitted requests and their outcomes are audited. The account limit runs after live Admin validation. The body has a 30-second timeout, with at most two concurrent upload jobs. WebSocket messages retain their global 1 MiB limit. The update uses the existing locked configuration commit path for [company] name and logo_hash; sanitized files live under <home>/company_logos/. The public /api/company endpoint exposes only the name and logo URL for sign-in. The public reader opens each logo once, verifies a regular file with exactly one link and a bounded size on that descriptor, then validates the PNG and SHA-256 hash. Logo URLs contain that hash, serve only PNG with nosniff, and allow one year of immutable caching. Old thumbnails remain available for previously sent invitations and cached pages, including after removal. Treat these assets as public. Changes refresh immediately in the saving tab and when another tab regains focus or reconnects.

Codex external configuration gate (since v1.80.0): Employees, Explore, utility, Task Sandbox and Discovery may run when external layers are absent or define no MCP servers; detected MCP or unreadable/unparseable existing layers refuse launch with the source named. A refused explicit Codex judge fails acceptance without retrying the default judge. This checks a local/cache snapshot before launch, not complete isolation from subsequent cloud refresh. See checked sources and limits.

When serving the dashboard under a path prefix, set config.toml [dashboard] public_url = "https://host/agents", including the path. For nginx, use location /agents/ { proxy_pass http://127.0.0.1:18889/; } and register https://host/agents/api/me/google/callback in Google Cloud (remote MCP uses https://host/agents/oauth/mcp/callback). OAuth uses this base only when its origin matches the browser’s validated dashboard origin; LAN access and paste-back flows keep their existing behavior. After upgrading with this fix and updating the registered callback, remove the v1.79.1 workaround rules for unprefixed /api/me/google/callback and /me/connections.

This page lists what can be set from the dashboard as of v1.68.0: which page, which configuration key it writes, and whether the gateway needs a restart afterwards. The last section covers the Advanced config editor, which edits keys that have no dedicated control.

Other languages: 繁體中文 · 日本語

Protected-mode public web (native Linux isolation architecture, planned for a later release; config only): whether an AI employee’s protected runs may use web_fetch_cached and web_extract is set per employee in agents/<id>/agent.toml with [isolation] public_web = true (default false, no web access). There is no dashboard control yet: edit the file, or use the Admin configuration editor (agent:<id>), which reports the key as a protected change. The employee form’s key/value editor refuses the [isolation] section, a non-Admin agents.update cannot change it, and the employee’s own file edits of the section are refused. This switch is separate from the employee form’s network access ([container] network_access), which still only controls the task sandbox’s network. Even when enabled, protected fetches reach only public HTTPS sites (no IP addresses, internal names or redirects). Installations that are not in protected mode ignore the key.

Goal cost and loop guards currently use the Advanced config editor, without dedicated Automation controls. In config.toml [goal_loop], default_cost_cap_cents = 0 sets the fallback goal ceiling in US cents (0 = no cap), and tool_streak_pause = 8 pauses after that many identical consecutive tool calls within one finished round (0 = disabled). Saving in the Advanced config editor reloads the goal loop; direct edits to config.toml require a gateway restart. tool_streak_advisory independently controls the existing hints. Per-goal ceilings are set when assigning a goal; /goals shows spend and lets an authorized operator raise a paused goal’s ceiling and retry.

Enterprise Admins can open Setup checklist from Management or the entry card on Home (/setup). Personal editions and other roles do not show this page. Its three sections (Company, People and Capabilities) link to the existing settings pages; the checklist itself only reads configuration. Required checks cover the company name, a knowledge collection, an AI account, an active AI employee, two active users, a connected channel, an AI employee binding for every Employee user and a skill. Google, Odoo and automation are optional and excluded from Completed N / M. A failed read shows Unable to confirm and never counts as complete. The Home card disappears when all required items are complete; dismissing it stores that choice in this browser’s local storage. The checklist remains accessible from Management.

New WebChat conversations for non-Admins prefer the member’s AI avatar while its Owner or Operator binding is valid and the AI is callable, loaded and not the main employee. Without a usable avatar, the existing bound-primary rule applies, then the sole callable non-main employee. If there are no candidates or several remain, the conversation does not start. Ask an administrator to set your AI avatar. Members without an avatar can still choose Set as default AI employee in the sidebar; members with an avatar cannot switch it themselves. In protected mode with isolation active, an administrator can assign a personal AI employee only to that employee’s owner.

The company-wide shared Telegram bot prefers the verified dashboard account’s AI avatar in one-to-one chats, falling back to the existing bound-primary rule when no valid avatar is available. An Employee bind link still wins, and groups keep their existing channel routes. The AI must remain usable by that account under the WebChat rules above; otherwise the existing channel default applies. See Calling AI staff with @.

Non-admin members (Employee and Manager) see only employees explicitly marked selectable by agents.callable in the sidebar, conversation filters, command palette, WebChat @ suggestions and other employee pickers. The main AI employee stays hidden unless that response explicitly makes it selectable. The full roster is shown only after agents.callable confirms unrestricted: true from the live Admin identity, including the local Personal principal. Initial loading and failed permission reads show no employees for any account. Grants refresh every 60 seconds while the page is visible, when it becomes visible again, and when selection menus open. Refreshing preserves the same identity’s confirmed grants; a failed refresh clears them. File and settings pickers additionally require direct access; team calling rights do not grant file or configuration access. New conversations continue to use the server assignment resolver. This dashboard filtering does not change RPC authorization.

Admins and Managers can open Employee health (/employee-health) in both editions. The read-only page starts with a summary; expand an employee to see the last recorded reply, failures over the past 24 hours or 7 days, goals waiting for a person or paused, and account availability. Failure groups distinguish empty replies, quota or budget limits, rate limits, invalid authentication, timeouts, gate refusals, delivery failures and other errors. Account availability reflects only accounts matching an employee’s explicit account_pool; without a pool it is unknown. It does not test the CLI’s native sign-in or contact the provider.

The latest successful reply means a non-empty response was generated by the shared channel reply path. It does not confirm that the channel delivered it. Older records may not establish this time. Failure totals combine channel_failures.jsonl with the separate employee_health.jsonl turn log, reading at most the last 4 MiB of each; the result is cached for about 30 seconds. A partial-data notice means records are unavailable or the read limit was reached, so the displayed window may be incomplete. Tool-call success and recorded spending are not proof of a successful reply.

Health reminders use the same shared reply path across channels. By default, an employee triggers one reminder after five consecutive failed turns, or after receiving messages without a successful generated reply for six hours. A successful reply resets the reminder. An active authentication-outage alert suppresses a duplicate authentication-only health reminder. Reminders go to active administrators and employee owners through their verified linked channels and the existing notification and quiet-hours path. The reminder is claimed before sending and is attempted at most once for that failure streak: a failed send is not retried until a successful reply resets it. No linked or reachable destination means delivery is not guaranteed; a reminder attempt is not delivery confirmation.

Administrators can set the thresholds in the existing Advanced config editor (config.toml); there is no second settings form on the health page:

[employee_health]
enabled = true
consecutive_failures = 5 # 1..100
no_success_hours = 6 # 1..168

An absent configuration file or omitted section uses these defaults. Read errors other than a missing file, or invalid settings, disable health reminders. Turning reminders off does not grant employee permissions or change task execution. The health page remains read-only.

Employee edit page → Tools & permissions → Tool permissions (v1.81.0)

Section titled “Employee edit page → Tools & permissions → Tool permissions (v1.81.0)”

The Tools & permissions tab of the employee edit page has two sub-tabs: Tool permissions and Permission history. The table lists every catalog tool by category, with a Can use and a Needs approval column, a per-category select-all (N/M can use) and a search box. Edits stay in a draft: changed rows are marked, a sticky bar offers Discard changes / Save, and Save opens a confirmation that counts newly allowed, no-longer-allowed and needs-approval tools with a per-tool before → after line. Confirming writes through the normal agents.update capabilities payload. Only an Admin can change anything; other accounts get the same table read-only, with every checkbox disabled and no select-all or save bar.

How the table maps to agent.toml [capabilities]:

  • Can use = not matched by denied_tools, and either allowed_tools is empty or matches the tool (the gateway’s own rule: denied always wins, a non-empty allow list is allowlist mode). Matching is anchored and wildcard-aware, e.g. mcp__duduclaw__*.
  • Unticking a tool always appends it to denied_tools; allowed_tools is never shrunk or rewritten, so a wildcard allow list stays exactly as written and every tool it covers shows as allowed. Re-ticking removes that deny entry. A tool covered by a wildcard deny entry cannot be turned on here (the row is locked); edit the entry in Advanced settings.
  • Needs approval = approval_required_tools (bare tool names), the list the MCP dispatch gate enforces for every tool. A tool already asked by a wildcard approval entry or an action_rules ask rule shows as needs-approval but is locked. The checkbox is disabled while Can use is off.

The previous Allow list, Block list, Action rules and Approval list blocks now sit in a collapsed Advanced settings at the bottom of the tab and stay in sync with the table.

Permission history (Admin only) lists changes to this employee’s permissions from the agent_authority_changed audit rows: time, who, and each tool’s old state struck through → new state. Changes not saved from the table are marked Changed in Advanced settings (this also covers older changes made before the table existed). The tab is backed by the Admin-only agents.permission_history RPC (agent_id, limit up to 100, cursor), which reads the same audit log as security.audit_log.

On non-Personal editions, Employee accounts see Dashboard, Inbox, Automations, Skills, Memory, Virtual office and a read-only organization chart, followed by bound AI staff and conversation history. Search opens the existing command palette. The AI avatar (or the legacy primary when no avatar is set) appears first; the rest are ordered Owner, Operator, Viewer, up to eight entries. Inbox appears once. The user menu shows the bound email, My connections, Settings, Appearance, Language, Get help and Sign out. Language opens the account settings selector. Get help opens the distributor information entry when the server provides one; otherwise it opens the product guides. The employee layout shows the version only on About. Admin, Manager and Personal navigation keep their existing layout.

Automations are checked on the server for each record: employees can read their own records and records belonging to directly bound AI staff; Viewer bindings are read-only, while Operator and Owner bindings allow management. Creation requires an operable target. Revoked bindings take effect on the next request. The organization chart exposes structural fields only, without model, budget, credentials, contact details or controls for editing staff.

New conversations show up to five recently submitted skills for the signed-in account, with short descriptions. Select one or more chips to insert /skill-name into the draft, then add your instructions and send. Selecting a chip sends nothing. The server records accepted chat/task submissions and filters the history by current skill access; this is not a claim that the AI finished executing the skill. Assign task uses the same history when that page is enabled.

Non-Admin cron schedules without an explicit timezone use the company time zone when it has no daylight saving; when it has daylight saving, member-created routines use UTC with a notice. The existing restriction to a host-running agent with task sandbox disabled remains. Limits are 20 enabled jobs per user, 50 per agent, 20 creations per rolling hour and a minimum 15-minute interval. Add/update messages pass the chat input protection; denied messages are audited. The organization chart shows directly bound agents and your own department; out-of-scope ancestors expose only name and role. Admin behavior remains unchanged.

These limits also apply to human-origin schedules created or edited through MCP. For member-origin MCP routines without an explicit timezone, the company time zone is used when it has no daylight saving; otherwise the routine is stored in UTC with a notice. Explicit member time zones with daylight saving remain refused, and an older schedule that has one is skipped until an Admin changes it. Skipped schedules show “Skipped” with an explanation on the Automations page, and administrators receive a one-time notification. New Admin/background schedules without an explicit timezone use the company time zone, or UTC when it is unset or invalid. Existing schedules keep their stored behavior. Manual runs allow 3 accepted attempts per schedule and 10 per account per 10 minutes, with at most 2 outstanding per account and 4 globally. Busy requests are rejected immediately. The manual-run window resets when the gateway restarts. Employee cron expressions are limited to 256 bytes.

Task board (/tasks), Goals (/goals) and Assign task (/assign) entry points are hidden for every role, including Admin and Personal. The sidebar’s primary button and the mobile centre + start a new conversation; existing prefilled text becomes an unsent draft. /assign redirects to /chat. Direct links to /tasks, /tasks/:id and /goals still work under their existing permissions, including notification and task-card links. Tasks, schedules and backend APIs are unchanged. Responsibilities (/responsibilities) and Foresight (/foresight) retain their existing visibility and permissions.

config.toml [dashboard] employee_tasks still parses and is returned by system.status, but no longer restores the hidden task, goal or assignment entry points. Its existing effect on Responsibilities and Foresight remains. There is no dedicated settings page for this key.

[dashboard]
employee_tasks = false

On every edition, non-Admin dashboard users no longer see the employee selector above the conversation. The header, history and conversation list follow the employee resolved by the server. The @ list still shows callable employees, excluding both the main-role employee and the gateway’s default employee. An explicit binding does not permit a non-Admin to use either as the main agent. Each message is checked again; binding changes take effect within the existing 60-second access-cache window. Resuming an old conversation with the main agent returns the same unavailable message as other inaccessible targets; it is never silently moved to another employee. With no resolved employee, the composer is disabled. Admins (including the single user on a Personal install) and legacy admin-token connections retain their existing chat behaviour. Non-Admin accounts on any edition cannot use the main agent through agents.callable or dashboard work RPCs, including activating the agent, deciding its approvals, and resuming or handing back its computer session.

Queue work without a sender is refused and audited. Work targeting the main or configured default agent without a human principal is refused unless it names an established system sender (such as cron or heartbeat), independently of [delegation] mode. Known limitation: queue rows are not signed, so an employee with unrestricted same-user file access can still forge a system sender; gateway-signed admission is planned for v1.80.

Set plan_review = "goldfish" in config.toml [goal_loop] to review a successfully generated plan before it is shown for human approval. The default is "off"; a missing or malformed setting also means off. Three fresh calls run concurrently in the current task, each with a 45-second timeout, adding at most 45 seconds: restate the goal and identify unclear parts, remove unnecessary work, and check the decisions, permissions and data needed to execute. Each reviewer receives only the XML-escaped goal, acceptance criteria and plan as data, without conversation, memory, SOUL or employee identity. Each reply asks for Traditional Chinese, at most five bullet points, and is kept to 400 characters.

These calls are system utility spending under goal-plan-review, use the existing system provider resolution without an employee directory, and are not charged to the employee budget. The versioned plan_review JSON is display-only: it never changes plan_pending or judge_feedback, never enters an execution or judging prompt, and never replaces human approval. Failed, empty or timed-out reviews show Not run, including when all three fail; the task still waits in needs_human. Both task detail and the Inbox show a collapsed Independent review (without conversation context) section. Channels show only the number of completed lenses and a dashboard pointer, never review text. This count is completed lenses, not individual findings.

In an employee’s overview, Admins can open Tool list pruning to select a mode, inspect unused tools and estimated token savings, or restore the list while pruning is on. The selector uses the existing employee update path. The status and restore RPCs are Admin-only: agents.tool_pruning_status {agent_id} and agents.tool_pruning_restore {agent_id}. Estimates use each candidate tool’s serialized definition length divided by four; they are not tokenizer measurements or measured provider savings.

agent.toml
[capabilities]
tool_pruning = "shadow" # "off" | "shadow" | "on"

The default is shadow: observe and report, with the same tools/list response as off. Unknown or malformed values behave as off and warn once. Only on hides eligible tools, after all existing discovery filters. This never grants or revokes permission: a hidden tool remains callable through the existing dispatch gates. A successful hidden-tool call makes it visible again through notifications/tools/list_changed.

The calculation reads at most the last 5 MB of tool_calls.jsonl. Missing or unreadable logs, and fewer than ten recorded turns, leave the list intact. A candidate must be unused across at least ten turns spanning two sessions, or five sessions. Memory, tasks, working state, messaging, approvals, wiki reads, tool discovery, Admin/unknown-effect tools and tools with active scoped task grants stay visible. A turn is a distinct host-stamped (session_id, turn_id) pair, not a log line. Channel calls use the conversation session and turn; dispatched work uses its own dispatch session and run (one run is one turn). Older rows without these identities do not establish turn samples, but a successful use still resets that tool’s unused window. Thresholds count the turns and sessions since each tool’s last successful use. Results are cached per process for five minutes. Restore writes an employee-specific reset marker; usage before that marker no longer contributes, so the full eligible list returns. Existing permission filters still apply.

Claude CLI minimal_context uses --tools for built-in CLI tools; it does not prune MCP definitions. Its behavior is unchanged.

Giving an AI employee Bash or machine tools lets anyone bound to it direct those tools. Review the employee’s capabilities before binding people to it; an Admin may still grant native tools to ordinary AI employees.

Employees using the system-operator preset are Admin-only. The server checks the resolved preset binding. Non-Admins cannot bind to them, chat with them, create tasks or goals for them, or have work dispatched to them on their behalf; they are excluded from agents.callable. Existing bindings stay stored but are refused when used. Non-Admins with an old binding or a team grant cannot read that employee’s history, tasks, memory, files, own knowledge collections or exports, or receive its live updates, run steps or approval cards; binding records are retained. Assignment schedules previously created by non-Admins no longer create tasks or goals for that employee; firing pauses them automatically, and resume is refused. Outbound approval cards (for both CLI built-in tools and MCP tools) are visible only to Admins; Managers no longer see redacted cards. Channels and the Mini App show only a plain notice, without outbound approval cards, summaries or action buttons. Admin access and authorized unattended work are unchanged. Personal has a single-owner exemption only when users.db is absent, empty, or contains exactly one active Admin account that has completed the first password change; suspended and offboarded accounts count too. Multi-account deployments still require a valid administrator even after a paid license lapses to Personal, as do deployments with an unreadable account store.

Employee accounts see only the AI staff directly bound to them. Managers also see their reports’ AI staff in the sidebar, AI staff list, Timeline and Runs, marked as a team member’s AI employee. Team entries are read-only: Timeline shows work cards and timing; Runs shows status and timing without conversation text or tool steps. Team access does not open memory, staff settings or persona files. Direct bindings keep their existing access levels, and team grants never exceed Operator. The organization entry counts direct and team staff together.

Under Manage → Members, each account lists its directly bound AI staff with the access level and a remove action. When adding a binding, choose an AI employee explicitly; none is selected for you. The default level is Operator, including users.bind_agent calls that omit access_level. Existing bindings stay as they are; review and remove any grants that should not be there. Removing a binding takes effect on the next RPC or file request, including download and preview links with an older token.

Shared wiki pages follow the account’s department in member settings (users.db, users.department). Non-admins see company pages and only their own department’s pages, including restrictions set with visible_to_departments. An account without a department sees company pages only. Lists, search, page reads, statistics and exports use the same rule. Unreadable permissions or invalid visibility settings refuse access. Admins retain company-wide access. Sharing a page still requires the source AI employee’s Owner binding or Admin.

Company usage (billing.usage) and daily growth reports require Manager. Widget generation and model refresh also require Manager because they use model quota or contact providers. System logs require Admin; employee automations use the record-level scopes described above. Only Admin sees the cost section of Reports and Home, or the upload-and-install action in Experts. Other account roles do not request these restricted sections.

On macOS and Linux, Codex CLI 0.164.0 or newer is required for normal employee runs with workspace-write permissions. When an installed version is too old or cannot be confirmed, Admins see a banner across dashboard pages showing the current version and an Update Codex CLI button. The button runs npm install -g @openai/codex on the gateway computer and streams progress. After a verified update the banner disappears; no gateway restart is needed.

If npm is missing or installation fails, the banner provides the exact manual command with a copy button. If an older Homebrew or standalone binary still takes precedence, the banner shows its path so you can update or remove that copy, then choose Check again. A version that cannot be confirmed is reported separately from success. This requirement does not apply to Windows.

Enterprise setting (v1.76.0, Manage → Advanced → Members, Organisation settings card; the Members page exists only in the Enterprise edition): users.org_settings.get/update controls [people] manager_team_history (default on for valid config). Inform staff before enabling it. The switch takes effect immediately, advances the activation boundary when re-enabled, and is protected/audited in the raw editor too. See Read-only team conversations.

Conversation storage (v1.81.0, Enterprise edition, Manage → Advanced → Members, Organisation settings card, Admin): the same RPC also reads/writes [sessions] archive_after_days (default 30; 0 = never archive; max 3650) and [sessions] purge_after_days (default 0 = never delete; counted from when a conversation was archived; max 3650). No restart: the 6-hour maintenance task re-reads both on every run, and an unreadable or invalid config archives with the default and never deletes. Both keys are protected/audited in the raw editor, which also refuses values outside 0–3650. Archived conversations leave the normal list but any new message brings one back; staff restore their own from the WebChat history menu (Archived conversations, chat.sessions.restore), managers from Team conversations (users.team_history.restore). Team conversations start date (team_history_since, between 2020-01-01 and now) sets from when managers can read; moving it earlier exposes older conversations and requires the admin’s current password (plus MFA code when enabled), and every change is audited as team_history_since_changed. Upgrade note: the previous fixed rule was archive after 3 days and delete 90 days later.

  • System settings (config.toml) are written through system.update_config, which is admin-only. A page sends only the fields you changed; with no change nothing is sent and the page says “Nothing changed, so there is nothing to save.”
  • The write locks the file and re-reads it. If another writer changed the file after you loaded it, the save is refused; reload and save again.
  • When config.toml does not parse, system.update_config, the live data feed editor and the Advanced config editor refuse to write; fix the syntax in the Advanced config editor first. The other settings pages that write config.toml (channels, accounts, Odoo and so on) refuse in the same way.
  • A save edits the file in place: only the keys you changed are rewritten. Comments, blank lines, key order and the formatting of every untouched key stay exactly as you wrote them, and a changed value keeps the comment at the end of its line. A new key goes at the end of its section and a new section at the end of the file. This holds for every settings page that writes config.toml or inference.toml, not only the Advanced config editor.
  • Keys that only take effect after a restart come back in restart_required. The Settings and Channels pages show “These settings take effect after the gateway restarts” until the gateway has restarted (you can also dismiss it). The Inference page and the employee edit page do not show this banner.
  • Each change to one of these keys also writes the audit event config_protected_key_changed with the old and new value: acp.trusted, tick.allow_command_sources, container.sandbox.when_unavailable, container.sandbox.script_when_unavailable, memory.supersession_trust_guard, dashboard.public_url.

Settings → General → Company time zone (v1.86.0)

Section titled “Settings → General → Company time zone (v1.86.0)”

Admins can set Company time zone in System settings → General ([general] company_timezone) to an IANA name such as Asia/Taipei. It is the default for new routines, scheduled assignments and chat schedules. Dashboard times, reminder confirmations, channel notices, AI wake-up context and data export calendar dates also use it. If unset or invalid, new schedules use UTC and confirmations say so; dashboard times use each viewer’s browser time zone.

On the first v1.86 gateway start, if config.toml exists and the setting is absent, DuDuClaw fills it once from the host time zone and marks it Filled in automatically, please confirm. If detection fails it remains unset. It never detects again, including after an Admin clears the setting. Member-created routines in a company time zone with daylight saving are stored in UTC with a notice; the existing member time zone restriction remains. Existing schedules do not move: routines without a zone remain UTC, and pre-v1.86 scheduled assignments without a zone remain on the host time zone.

Heartbeat cron_timezone, digest timezone, and proactive notification quiet-hours [proactive] timezone are separate settings; an empty value does not mean the company time zone.

Settings → General → Dashboard public URL

Section titled “Settings → General → Dashboard public URL”

Admins set [dashboard] public_url here: the full address people use to reach the dashboard, including any reverse proxy sub-path, for example https://example.com/agents/. It must use HTTPS; HTTP is allowed only for localhost, 127.0.0.0/8 or ::1. The URL must have no user name or password, query (?), fragment (#), .. or encoded / / \. The gateway refuses anything else on save; a value that was hand-edited into config.toml and is invalid makes OAuth sign-ins refuse to start until it is fixed (they never fall back silently to an address without the sub-path). Leave the field empty to clear the key. The change applies immediately and writes config_protected_key_changed.

When public_url is set, it is used for every OAuth callback and return link, with the sub-path kept:

Flow Callback URL the provider redirects to Where the browser lands afterwards
Remote MCP server (Integrations → MCP → Remote servers) <public_url>/oauth/mcp/callback (registered automatically by dynamic client registration) <public_url>/manage/integrations?tab=mcp&mcp_tab=remote
Personal Google account (My connections) <public_url>/api/me/google/callback <public_url>/me/connections
Built-in Google Workspace, GitHub, Notion and Slack OAuth <public_url>/api/mcp/oauth/callback The result page links to <public_url>/manage/integrations?tab=google (Google) or ?tab=mcp
  • Register the new callback URL. After you set or change public_url, add the new callback URL to each OAuth app you use: Google Cloud Console → Credentials → your OAuth client → Authorized redirect URIs, and the GitHub OAuth App’s Authorization callback URL (a GitHub OAuth App has one callback URL, so replace it). Do the same for Notion and Slack apps. The Integrations page shows the exact URL to register. A sign-in that was already in progress finishes with the URL it started with.
  • The browser’s own origin is still checked first: a direct redirect is only used when the dashboard is opened on a loopback address or on an https origin listed in [gateway] allowed_origins. Otherwise the paste-back flow at http://127.0.0.1:<port>/… is used as before (that loopback address never has a prefix). If the dashboard is opened on an allowed origin other than public_url, the redirect still goes to public_url, and the gateway logs a warning once.
  • Links to the dashboard inside chat messages (notices, decision cards) use the first valid public_url of [dashboard], [general] and [gateway] (http or https, not localhost or loopback, no user name, query or fragment). With none valid, a gateway in a container adds no link and a gateway on an ordinary machine links to http://localhost:<port> (v1.84.0). See Google Chat.
  • Without public_url nothing changes: remote MCP and personal Google sign-ins return to the browser’s origin with no path, and the built-in providers use http://localhost:<port>/api/mcp/oauth/callback.
  • Reverse proxy: forward <prefix>/oauth/mcp/callback and <prefix>/api/… to the gateway with the prefix removed.
  • Limitation: the dashboard app itself is built for the root path. It loads /assets/…, calls /api/… and /ws, and its page routes have no base path. Serving it under a sub-path therefore also needs the proxy to send those root paths to the gateway, or the dashboard needs its own host name. public_url fixes the OAuth callback and return addresses; it does not make the dashboard app prefix-aware. When the page has a same-origin <base href> (for example injected by the proxy), the dashboard sends that sub-path with OAuth starts and member invitations; the gateway still validates it.
Section → control Key Takes effect
Goal loop & dispatch → Dispatch policy, new option “One employee in four roles” [dispatch] policy = "role_team" Immediately (the dispatch engine restarts)
Goal loop & dispatch → Runtime for the acceptance judge [dispatch] judge_provider Immediately
Goal loop & dispatch → Model for the acceptance judge [dispatch] judge_model Immediately
Knowledge & memory → Night tidy-up (model stage) [night] llm_enabled Immediately
Human takeover (own card) [takeover] enabled, duration_minutes, max_duration_minutes (the pause may not exceed the maximum) Immediately
AI employee mailbox (own card) [mail] enabled, gmail_enabled, dropfolder_enabled, default_agent, auto_trigger Immediately
One employee, four roles (global default) [team] enabled, gate, [team.roles.<role>] runtime / model / effort (the synthesizer role is stored as utility) Next goal
Live data feeds → enable, default pace, allow command sources, address lookup cache (seconds) [tick] enabled, preset, allow_command_sources, dns_ttl_secs The feeds restart immediately when the gateway has the live-feed runtime loaded; otherwise after a restart
Live data feeds → Feeds (add, edit, remove) [[tick.sources]] through tick.sources.list / upsert / remove (admin) Same as above. Header values are never returned, only their count. Writing a command source also records config_protected_key_changed
Section → control Key Takes effect
Global background tasks → Global utility provider / model [runtime] utility_provider / utility_model Immediately (read per call)
General → Log format [logging] format (json; any other value is plain text) After restart
General → AI employee reply language (default) [general] default_language (zh-TW, zh-CN, en, ja-JP; empty or “Follow input language” = reply in the user’s language). Pins the reply language for every AI employee, and a one-line reminder is added to the end of each turn so long content in other languages does not pull the reply away Next message
Edit AI employee → General → Identity → Reply language [prompt] reply_language in the employee’s agent.toml (auto, zh-TW, zh-CN, en, ja-JP; also settable through agents.update reply_language and the MCP agent_update tool). “Use global setting” removes the key and falls back to [general] default_language; auto follows the user’s language for this employee even when a global language is pinned. Any other value is refused Next message

Reply language applies to channel replies, dispatched tasks, cron jobs, goal loops, sub-agents and task sandbox system prompts. A user’s explicit request for another language takes priority. When the resolved reply language is exactly zh-TW, the final reply text on chat channels, WebChat, AG-UI and Odoo Live Chat also goes through the Simplified→Traditional conversion described in the conversion guide (code, URLs and file paths kept; mixed-script text may change shared characters, for example 了解 → 瞭解). auto, an unset language and other languages are not converted, and scheduled results, goal notices and reminders do not pass through this step. Only administrators can change an employee’s reply_language; employees cannot edit that key themselves. RPC/MCP writes reject values outside the employee choices. Invalid values already on disk are ignored with a warning and fall back to the global setting. Global codes must match ^[A-Za-z]{2,3}([-_][A-Za-z0-9]{2,8}){0,2}$; only recognised Chinese, English and Japanese codes produce prompt instructions or reminders.

Fixed failure and machine-operation refusal messages support zh-TW, zh-CN, en and ja-JP. With employee auto, these messages use the global language because no user-language detection is available; an unset or unsupported global language falls back to zh-TW. Other system notices, including channel @ routing notices, currently support zh-TW/en/ja only and fall back to zh-TW for zh-CN.

| Display name | [general] name | After restart (the local-network announcement is built at boot) | | Account health check interval | [rotation] health_check_interval_seconds | After restart | | Task sandbox → sandbox image, when the sandbox is unavailable (tasks), when the sandbox is unavailable (scripts) | [container.sandbox] image, when_unavailable, script_when_unavailable | Immediately (read per task) | | Task sandbox → Resource limits | memory_bytes, tmp_bytes, workspace_bytes, pids, cpu_millis, max_turns; the section is validated as a whole (tmp_bytes + workspace_bytes may not exceed memory_bytes) | Immediately | | Task sandbox → Computer-use image | [computer_use] image | Immediately | | Memory, tracing and trust → Memory trust guard | [memory] supersession_trust_guard | New sessions | | Memory, tracing and trust → Send OpenTelemetry traces to | [telemetry] otlp_endpoint; shown only when the build includes the otel feature (otel_compiled in system.status) | After restart | | Memory, tracing and trust → GitHub tools | [integrations] github (can also be turned off) | Immediately | | Memory, tracing and trust → Trust outside A2A requests (admins only) | [acp] trusted | Immediately | | Local file folders | [files] allowed_roots (full paths, not the filesystem root, at most 64) | Immediately | | Secret Manager → Advanced: secret backend | 1Password: onepassword_host, onepassword_vault, access token; Infisical: infisical_addr, infisical_project_id, infisical_environment, access token. Tokens are stored encrypted as *_enc | No restart reported |

Global background tasks without an assigned employee (such as employee selection and redaction-rule creation) default to Claude / claude-haiku-4-5. Select a supported provider and enter a compatible model; removed gemini and unknown provider values are refused by the server. Clearing the model removes the key: Claude uses claude-haiku-4-5; OpenAI-compatible endpoints require an explicit model. Codex is also supported in its restricted utility profile and uses the CLI default when the model is blank. Grok and generic CLI providers are refused at execution even when their settings can be saved. A model from a known different vendor family shows an inline warning for non-Claude providers. Saves require admin access and use the standard config commit path. An inline alert appears when the selected global provider is Claude and no employee uses the Claude runtime; it does not check whether Claude is logged in.

[general] log_level (Settings → Advanced → Security and records → Log Level) applies as soon as it is saved, unless the environment variable RUST_LOG is set, in which case the save reports a restart. Saving the account rotation strategy or the rate-limit cooldown clears the rotation cache, so the next call uses the new value (before, the change could lag by up to 30 minutes).

Memory language and background work (v1.84.0)

Section titled “Memory language and background work (v1.84.0)”

Conversation task note is configured in the files: config.toml [memory] pinned_task = "first_message" (default) or "off". The same key in agent.toml may disable it but cannot override a global "off". Off disables both extraction and injection on the next message. Unknown values act as off and warn once per process; unreadable or malformed settings also disable it. A valid note is used only in one-to-one conversations, as untrusted reference data, and expires 24 hours after its last update. Invalid old notes are ignored without rewriting their content. See Session memory stack.

Page → control Key Takes effect
Settings → General → Memory language (below the default reply language) config.toml [memory] language: auto (“Follow reply language”), zh-TW, zh-CN, en, ja-JP Immediately
Edit AI employee → General → Identity → Memory language (below Reply language) agent.toml [memory] language, same values; agents.update memory_language (empty clears it) Immediately
Edit AI employee → Brain & engine → Which engine → Service for background work (shown only when the employee’s engine cannot run background work or a value is already set) agent.toml [runtime] utility_provider: claude, codex, openai_compat, or none; agents.update runtime.utility_provider (empty clears it) Next background job

Only administrators can change these three settings; the selectors are disabled for other accounts and the RPCs refuse their changes. An employee cannot change its own memory language through agent_update or by editing its agent.toml.

Memory language decides the language of what the system writes into memory by itself: pinned instructions, key facts, conversation summaries, facts kept from conversation distillation, and the title and summary of automatically filed knowledge pages. The language is taken from the employee’s memory language, then the global memory language, then the employee’s reply language (or the global default language); if none is set, memories follow the language of the conversation. auto passes the decision to the next level, so on the employee page “Follow reply language” uses the global memory language first when one is set. When the result is Traditional Chinese, text that still contains Simplified characters is converted to Taiwan Traditional with the bundled OpenCC phrase dictionary before it is stored (wording, code, URLs and file paths are kept; see the conversion guide for details and limits), and when nothing is set but the conversation is mostly Traditional Chinese without Japanese kana, Traditional Chinese is used. Memories saved before v1.84.0 are not changed; to convert existing Simplified-Chinese memories, see Converting Simplified-Chinese memories.

Background work for an employee (key facts, pinned instructions, conversation summaries, titles, conversation distillation and knowledge filing, situation checks) runs on the employee’s own engine when that engine is Claude, Codex or OpenAI-compatible. Grok and the other CLI engines cannot run it. For those employees the work uses the service chosen on the employee page; without one, it uses the global [runtime] utility_provider only when that key is actually written in config.toml and names one of the three services. Otherwise the work is skipped. Before v1.84.0 such employees silently used Claude. The employee page shows which service is used or that the work is skipped, and the system check Employees whose background work is skipped lists them. The conversation text is sent to the chosen service. The model is the employee’s [model] utility when it belongs to that service, else the global [runtime] utility_model when the global provider is the same service, else claude-haiku-4-5 for Claude or the service’s own default.

Model that does not match the engine. An employee on another engine that declares model prefixes, whose saved model is a bare Claude name (opus, sonnet, haiku, fable), now runs on that engine’s default model (in the notice Codex is called 「ChatGPT」). The employee page and the system check Employee model and engine show a notice asking you to choose the model again. The notice appears after the employee has run at least once since the service started.

New engines. An engine installed from the dashboard can be used at once, without restarting the service. Re-detection (runtime.detect) rebuilds the engine list only when the detected engines changed, at most once a minute per data directory; when an employee’s engine or fallback engine is missing, the list is checked again at most once a minute.

Settings → Advanced → Security and records → Memory: personal topics

Section titled “Settings → Advanced → Security and records → Memory: personal topics”
Control Key Takes effect
What automatic memory does not record (New in 1.81) → Health / Family / Personal finances / Salary [memory_privacy] excluded_categories (health, family, personal_finance, salary) Immediately (read per write; the next message uses it)
What automatic memory does not record → Custom keywords (per category) [memory_privacy.custom_keywords] Immediately

All four switches are on by default, including on existing installs whose config.toml has no [memory_privacy] section. A switched-on topic is never stored by automatic memory: conversation distillation, profile traits, footprint distillation, Reflexion rules and the persona-induction bridge. When a colleague explicitly asks an AI employee to remember something, it is stored anyway. Matching is keyword-based, so work content that names a topic can be skipped too (for example a “health check report template”). Saving requires admin access. Every change on this card saves immediately (you see “Saved”; if the gateway refuses it, the card goes back to the previous state and shows a message); it is not part of the page’s Save button. To add your own wording, open “Custom keywords” under a category, type a keyword and press Add; remove one with its × button. Custom categories set in config.toml are kept untouched.

My memory (Settings group in the sidebar, /me/memory; employees reach it from the account menu) lists what AI employees have remembered about the signed-in person. Each row shows the content, the AI employee, the time and a source tag (Conversation, Asked to remember, Other). Filter by source or AI employee, use Load more to see older items, and delete anything that should not be remembered: after you confirm, AI employees will not automatically learn it again, but if you explicitly ask one to remember it later it is recorded again. Filters apply to the items loaded so far; “Showing N memories” counts what is loaded.

Custom categories and extra keywords are set in the advanced config editor under [memory_privacy.custom_keywords] (for example legal_dispute = ["訴訟", "lawsuit"]), then listed in excluded_categories. An unknown category name is refused on save. If config.toml cannot be read or the section is invalid, the gateway applies the four defaults and logs a warning; system.config then reports memory_privacy.load_state = "failed_closed". Details and the “my memory” RPCs: Memory Intelligence.

Settings → Advanced → Security and records → Delegation permissions

Section titled “Settings → Advanced → Security and records → Delegation permissions”

Admin only (delegation.get / delegation.set). Saved changes apply to the next delegation decision, no restart.

Concurrent settings edits (v1.86.0 RPC contract). delegation.get {} and google.drive_write.get {} return hash, the SHA-256 content hash of the exact configuration text read. Each corresponding set requires a string expected_hash copied from that get response, alongside its existing settings parameters. The gateway checks this client value again inside the configuration commit lock. A missing or non-string value returns 「設定頁的資料已過期,請重新整理後再儲存。」; a conflict returns 「設定已被其他人變更,請重新整理後再儲存。」. Neither writes any configuration. Reload and reconcile the newer settings before saving again. Unreadable or unparsable configuration makes either get fail instead of returning editable defaults. google.drive_write.set returns the same response fields as its get, including the new post-save hash; delegation.set keeps its existing success response.

Direct RPC callers must load and review the matching get snapshot, then pass its hash when saving (rpc below represents the authenticated RPC client). This example disables all Drive writes; reconcile the current settings before choosing changes. A hash conflict requires reloading and reconciling, rather than retrying blindly.

const delegation = await rpc('delegation.get', {});
await rpc('delegation.set', {
policy: 'hierarchy', allow: [], expected_hash: delegation.hash,
});
const drive = await rpc('google.drive_write.get', {});
await rpc('google.drive_write.set', {
create: false, modify: false, move: false, trash: false,
approval: { create: 'member', modify: 'member', move: 'member', trash: 'member' },
folders: [], acknowledge_risk: false, expected_hash: drive.hash,
});

Warning payloads (v1.86.0 RPC contract). delegation.get.warnings is an array of {code, message} objects; messages contain no configuration text or employee identifiers. Codes are section_invalid, policy_unknown, policy_not_string, allow_not_list, allow_pair_invalid, allow_pair_same_agent, allow_one_way_not_list, allow_one_way_pair_invalid, allow_one_way_pair_same_agent, allow_one_way_limit and exempt_roles_unknown. Pair messages may include their one-based position. delegation.effective {agent_id} returns policy_warning: null | {code, message} with the same policy classifications. allow_warning_count is unchanged; detailed allow_warnings and config_error_detail remain Admin-only. configured_policy contains the raw value only for Admin viewers; delegation.effective omits the key for all other viewers. The Admin-only delegation.get keeps returning it.

Control Key Takes effect
Delegation mode → Department (default) / Reporting line / Open / No delegation (v1.82) config.toml [delegation] policy = department / hierarchy / open / none Next delegation
Cross-department collaboration → pairs [delegation] allow = [["a", "b"], …] Next delegation

No delegation (none, v1.82.0). Unless the v1.86.0 role exception below applies, no AI employee may delegate to, message, spawn, create or assign work to another AI employee: send_to_agent, spawn_agent, spawn_ephemeral, create_agent, tasks_create / create_task naming another employee, task reassignment, scheduled work for another employee and the bus dispatch gate all refuse. The first four tools are hidden from employees’ tool lists; tasks_create and create_task stay listed for the employee’s own work. Cross-department pairs stay saved but do not apply (the page says so). People and schedules you configured (dashboard, cron, heartbeat, the goal loop) still give work to employees. Team mode (one employee’s planner, executor and verifier roles exchanging task packets within one goal round) keeps working.

Roles exempt from delegation scope (v1.86.0). Check Admin or Manager; all are unchecked by default. A checked role’s member may use their own AI avatar, assigned in member management by an administrator, to hand work to any AI employee and create tasks, schedules or reminders for anyone. This requires the member’s own request in that conversation. The recipient gains no right to delegate back. Each decision rechecks the account’s status and role. The exception applies only while the member personally asks in that conversation; schedules, reminders and other background work of that AI follow the ordinary delegation rules in every mode, including protected mode.

Only Admin and Manager (admin / manager) are eligible. Employee is not offered because selecting it would exempt every ordinary member’s AI avatar; legacy employee entries in unrestricted_roles are ignored. Adding a role requires reading the risk notice and checking I understand before saving. The gateway requires acknowledge_risk: true for additions through both delegation.set and config.raw.set. The delegation_config_changed audit record includes roles_added, the enabling user ID (acknowledged_by) and a server-generated RFC3339 timestamp (acknowledged_at). Removing roles requires no acknowledgement and is still audited.

The role exception also applies under No delegation, and the page shows a warning when roles are checked. Both two-way and one-way pairs stay inactive under that mode. Always-deny boundaries still apply: self-delegation, another owner’s personal employee, the main-agent boundary for non-admin requests, machine employees and an employee with Can Send Cross-Agent Messages off. Human-principal enforcement still applies. Decisions check those boundaries, then the role exception, then pairs, then the mode.

Cross-department pairs. Choose Two-way or One-way A → B on each row; use the swap button to reverse it. Existing pairs remain two-way. One-way permits A → B without granting B → A; other applicable rules may still allow the reverse direction.

Saving and refusals. Saving any delegation setting invalidates pending approval cards bound to that setting and pauses enabled workflows until their next run. A refused delegation gives the AI and the person a consistent explanation of the active rule, the reason for this pair and the next step.

Schedules, tasks and skills that people create from the dashboard, plus webhooks, timers and automation rules, are operator actions and are not limited by AI-to-AI delegation rules.

Unrecognised values fail closed (behaviour change in v1.82.0). A policy value that is not one of the four (a typo, a number), a [delegation] that is not a table, and a config.toml that exists but cannot be read or parsed are all enforced as none. Before v1.82.0 they fell back to the wider department. The gateway logs the problem once per process; the page lists it under warnings, delegation.get returns the raw value as configured_policy, and an unparsable file makes delegation.get and delegation.set return an error (nothing is written). Fix the value in the Advanced config editor.

Load failures cannot overwrite the setting (v1.82.0). If the page cannot load the current setting, it shows the error and keeps every control and Save disabled until Try again succeeds; it never submits values it did not load.

Employee page → Overview → Delegation (v1.82.0). A read-only card shows what applies to that employee: the effective mode, whether it comes from the company-wide setting or the employee’s own Can Send Cross-Agent Messages switch ([permissions] can_send_cross_agent = false makes it none for that employee), whether it may create employees or temporary helpers, the pairs naming it (pairs that do not apply in the current mode are listed separately) and any configuration problem. Visible to Admins and to Managers with access to the employee (delegation.effective {agent_id}, read-only). When white-list entries were dropped as malformed, the card shows only how many (“N delegation setting warnings — an administrator can review them in Settings”); the warning texts quote the raw entries and are shown on this page (Admin) only. Change the setting on this page or on the employee edit page.

The card also shows role-exception eligibility and one-way pairs as outgoing and incoming. Current account and work context are still checked on every request.

delegation.effective {agent_id} also returns nullable owner_display_name for the employee’s owner. Use this name in the card rather than an internal account identifier.

Administrator AI. Enable it at Settings → Advanced → Delegation permissions → Administrator AI (bottom card). admin_ai.get {} returns config_state: "ok" | "unreadable" | "malformed"; enabled is false unless the state is ok. When present, enabled_ack includes by_name (nullable) and at for display. See Administrator AI settings.

  • Google Chat shared app (Admin only, v1.85): in the Behavior tab, Route by sender (shared Chat app) writes googlechat/global/shared_bot_binding (default false), and Reply for people without access writes googlechat/global/unbound_reply. These settings are not available through employee MCP configuration. In one-to-one DMs, a manual Google Chat identity binding must first resolve the member and their AI avatar or primary AI; only then are existing @ calls honored, and without one the message goes to that avatar or primary AI in its own conversation. Unresolved or unavailable targets receive only the configured reply, even with an @ call, without a model call or conversation. Session commands operate on that employee’s conversation. Groups and employee-owned apps keep their existing routing. Both settings apply to the next message. The reply accepts at most 1,000 characters of plain text and only {onboarding_url}; an invalid or missing HTTPS public dashboard URL removes that placeholder. Anyone who can DM the app can see a URL included in the reply. The Chat app name and avatar remain shared by the company. See Google Chat shared app routing.

  • Group “mention only” (mention_only, per group): since v1.76 a LINE group with it on answers only messages that call an AI employee by @ (or ask for the @ list) and the one message a called employee is waiting for; before, it silenced the group entirely. The shared Telegram bot also accepts employee mentions. See Calling AI staff with @.

  • Website chat widget: “Open the website chat widget” writes [webchat] public_widget and “Widget key” writes [webchat] widget_key (16 to 256 visible ASCII characters, with a Generate button; turning the widget on requires a key; the key is never returned). Applies immediately. The widget key is stored in plain text in config.toml: it is the public key that appears in the website’s page source, so it is not treated as a secret. Check the answering AI employee before you open it: visitors’ messages are handled by that employee, and the tools it may use are decided by that employee’s own tool and permission settings; the system does not additionally restrict that employee’s command-execution and file tools because the other party is a visitor (knowledge collections and company accounts have their own visitor limits). Do not grant command execution (Bash), file writing or other unneeded tools to an employee that faces the public.

  • WhatsApp, Feishu, Google Chat, Teams, WeCom and DingTalk: the six webhook routes are always mounted. A route answers 404 until its channel is configured; after that it enforces the platform’s signature check and answers 401 to a bad signature. channels.add starts the channel without a restart: channels.add returns hot_started and restart_required: false, with not_started_reason when credentials are incomplete. A per-employee Slack bot also starts when it is added.

  • Thinking display in messaging apps (no dedicated control; set in the Advanced config editor, read on every reply): [thinking] channel_audience = internal (default: a sender whose verified channel identity belongs to an active dashboard account that is an Admin or is bound to the answering employee sees the timer and a masked summary, everyone else the timer only), all (every sender of a one-to-one chat sees the summary) or none (nothing); [thinking] channel_group_display = status (default: group chats show the timer only), summary or off. The stricter of [thinking] display and the answering employee’s [model] show_thinking still caps both. An unreadable config.toml or an unknown value shows nothing. Website visitors (Odoo live chat, the WebChat widget) never see thinking. See Thinking display in messaging apps.

/ws/chat accepts the existing auth and user_message frames. Different sessions on one socket can run concurrently; messages for the same session run in FIFO order, including across sockets. Session ownership and employee access checks still apply. Set the per-user and gateway-wide limits in the Advanced config editor:

[webchat]
max_in_flight_turns = 3
max_global_turns = 10

max_in_flight_turns defaults to 3 per user; max_global_turns defaults to 10 across the gateway. Both accept 1–64, and both count active and queued messages, including messages whose sockets have closed. Running and queued counts are reported separately. Cancelled waiting messages and supplements already claimed by a merged dispatch no longer occupy admission capacity. The per-user limit is shared by all of that user’s sockets; exceeding either limit receives an immediate error with code: "turn_limit". For signed-in operators it also carries admission: { reason, limit, running, queued }. Reasons are the closed set user_limit, global_limit, cancel_quota, store_unavailable, config_invalid (and duplicate_message for duplicate IDs, whose outer code remains duplicate_message). Limit counts apply to the user or gateway according to the reason; cancellation quota uses its rolling-hour limit. Each refusal writes a structured webchat_turn_refused event to the ordinary gateway log with user, employee, reason, limit, running/queued counts and timestamp; these events do not enter the security audit chain. Waiting messages receive turn_queued with the same structure and reason: "conversation_queue". The dashboard translates reasons into Traditional Chinese, English or Japanese. Public-widget and odoolivechat: sessions receive no operator capacity details. No per-member override or new settings control is added. Invalid values or unreadable configuration refuse new turns. Connections are limited separately: 3 per IP before authentication, 3 per dashboard JWT user afterward, and 10 globally. Widget visitors retain the 3-per-IP connection limit for the entire connection; reconnecting with a fresh visitor identity does not bypass the gateway turn limit.

Admission first reserves a turn slot under the in-memory per-user and global caps, then reads the persistent rolling quota on a blocking worker through a shared broker. A refused quota releases the slot; only accepted turns join the session FIFO. The quota is 100 started-turn cancellations per rolling hour per authenticated account, or per transport IP for widget visitors. Visitors behind the same NAT share this quota; the restriction lasts at most one hour after the last counted cancellation. Reconnecting or restarting does not reset it. Only that account or IP is limited; the global tombstone count never refuses a new turn, and legacy NULL principals count toward no quota. A quota refusal or unreadable store returns turn_limit with the rejected message’s request_id. Existing turns can still be cancelled; queued turns cancelled before work starts write no fence and consume no cancellation quota.

When identity checks are temporarily Unavailable and the connection can still carry frames, the gateway sends a terminal error with code: "identity_unavailable" and msg_id, request_id, conv, and session_id. It contains fixed text only, with no reply, thinking, attachment, or session lookup result. Before admission the text says the message was not sent; at delivery it says the reply could not be delivered. An unavailable original turn credential still refuses and rolls back delivery, including at the final writer recheck. If only a recipient connection becomes invalid, that connection is skipped and the original turn history remains. Revoked connections keep the existing close behavior and receive no such notice.

Reopening a conversation whose last message is from the user shows an unanswered notice and rereads history every 5 seconds for 2 minutes, then every 30 seconds until 30 minutes. A completion frame for that session triggers an immediate reread. Leaving, unmounting, starting a new turn, or finding a reply or a stored failure stops polling; rereads preserve the draft. After the bound, the notice suggests resending or asking an administrator to check the logs. A streaming turn with no activity for 60 seconds shows a gentle wait hint updated each minute, including after reconnect; keepalive heartbeats do not reset it. Failures in other conversations produce a fixed notification without ending the current turn. Empty-reply and internal-turn failures are saved as display-only warnings when the conversation is reopened.

Progress, thinking and step updates are coalesced to the latest pending update when the client is slow. Thinking redactions are preserved as control frames and clear previously shown text before the terminal frame; each turn displays at most 64 thinking blocks. Terminal frames have a reserved bounded lane; earlier control frames from the same turn still precede its terminal frame. A frame that expires before its write begins is skipped without closing the writer; a socket write failure still closes it. Terminal frames include progress_dropped with the number of skipped updates. A completed reply is committed to the conversation history before live delivery. A timeout, closed writer or missing acknowledgement does not revoke that history or its owned archives. Actual source revocation, cancellation and invalid original credentials still refuse delivery and retain the existing rollback behavior.

After authentication, clients can send {"type":"subscribe","session_id":"<owned session>","conv":"<local conversation>"} to receive completed replies on a new connection. The existing resume ownership and employee-access checks apply. session_id: null clears subscriptions; switching subscriptions also invalidates queued deliveries. Only connections of the same authenticated principal subscribed to that exact session receive the reply. Widgets retain per-connection identities and cannot resume another visitor session. Sending a message automatically subscribes that socket; legacy clients retain at most 64 conversation subscriptions, evicting the oldest, with history available afterwards.

User rows persist the client msg_id as client_msg_id. After saving, turn_accepted returns user_row_id, the canonical session_id, conv and msg_id. Recovery first checks the exact session and user role, then the acknowledged row ID; if the acknowledgement was lost, it requires a unique user row with that persisted client-message ID in the returned history. Ambiguous IDs refuse automatic recovery. This also covers attachment-only and repeated text, without content or prefix matching. When no exact match exists, the local message is retained. Reconnecting clients retain the server-provided session ID, including @ routing. If a routed session ID was never received and cannot be derived from the known conversation, automatic recovery cannot find that bucket; the client does not guess the @ target. Subscription can attach to an owned admitted turn before its history row exists; refusal returns subscription_unavailable without erasing the local transcript.

The socket writer rechecks access to the employee who actually answered after socket readiness. It then verifies the ACL generation and calls synchronous start_send within a short BEGIN IMMEDIATE transaction, ordering frame admission against ACL updates. The transaction does not span readiness waits or asynchronous flushing; data admitted before a later revocation cannot be recalled. Assistant rows are stored with a pending tombstone and remain excluded from history until the final authority and source checks permit publication. Refused rows stay hidden even if content cleanup fails, including after access is restored. A transport failure alone still preserves authorized replies. These changes do not constitute native-platform or real-socket acceptance evidence; backend compilation and those checks remain pending.

Explicit logout or an account switch sends {"type":"logout"} before closing the chat socket. When received, the gateway revokes in-flight turns started by that socket, plus turns resumed with the same session and original client conv, including replies awaiting delivery. Other tabs use different conversation nonces and are unaffected. Ordinary disconnection does not send this frame. If the transport is already lost, a logout frame cannot reach the gateway; credential checks and conversation ownership still apply.

Both WebChat and the dashboard RPC socket already send protocol ping frames every 30 seconds and count pong as liveness (60 seconds of silence, checked on the heartbeat tick). Browser JavaScript timers are not needed to answer protocol pings; OS sleep can still interrupt networking. Returning to a visible dashboard tab now reconnects immediately, resubscribes to the current conversation and reloads its history. A saved reply replaces the waiting state; an unanswered conversation uses the existing bounded history polling.

WebChat keeps the conversation and its server session across reconnects, including the next message you send; an empty new conversation gets the new connection’s session. The composer shows connecting, reconnecting or disconnected status at all screen sizes. Unsent text and attachments stay in the composer, with a notice if sending fails. If an interrupted turn does not resume within 10 seconds, its waiting indicator stops and a notice explains that the AI may still be processing it. A later reply can still arrive or be recovered from history; the interruption does not cancel the server’s work or resend the message. After automatic retries stop, choose Reconnect. Going online, returning to a visible tab or restoring a page from the browser’s back/forward cache resets the retry budget and reconnects immediately.

Existing frame fields are unchanged. Turn frames add session_id, conv and msg_id so clients can route progress, replies and errors to the originating turn. Send a unique msg_id with each user_message; use the returned session id when targeting a turn:

{"type":"user_message","content":"Hello","conv":"c1","msg_id":"m1"}
{"type":"cancel","conv":"c1","msg_id":"m1"}

Commands cannot be cancelled once execution begins. A cancel frame must name session_id or conv; msg_id is optional. Without msg_id, it selects the active turn. An ambiguous conversation, another user’s session, an unknown or already cancelled turn, or a turn already delivering its reply returns turn_not_found without cancelling anything. Control replies use request_id, separate from the target turn’s msg_id; turn_not_found and duplicate_message do not terminate that target. Admission refusal turn_limit identifies the rejected message with request_id.

The cancelling socket receives a best-effort cancel_accepted with request_id, target correlation fields and cancel_outcome: "waiting" | "running"; no ordering against the terminal outcome is guaranteed. The final outcome goes to the turn’s original socket: an error with code: "cancelled" carrying the cancel’s same request_id, or cancel_failed if recording, approval cleanup, or delegation queue cleanup fails. Clients can match the cancellation whichever frame arrives first. Cancelling a waiting message releases its admission capacity immediately and performs cancellation cleanup without waiting for its predecessor. A lightweight FIFO link remains until that predecessor finishes, so later messages cannot overtake the running reply. Both the acknowledgement and the final cancelled frame distinguish waiting from running via cancel_outcome. The dashboard settles the cancelled message on acknowledgement and localizes the outcome; it never treats cancel_accepted as an error. If an approval was already approved before cancellation, cancelled includes its ids in approved_before_cancel: those previously authorized effects may already have happened.

Cancellation stops the turn’s CLI process group and records an internal cancellation marker only when a session already exists. The marker is excluded from conversation history and compression summaries; cancelling a never-started queued turn does not create a session. Pending approvals belonging to the turn are withdrawn atomically with the cancellation fence (decided_by = system:cancel:webchat_turn). Fences have a fixed retention window of 24 hours from cancellation, independent of approval TTL; the former 30-day approval TTL cap is removed. The gateway lock holder reuses an hourly maintenance loop to delete at most 1,000 fences per pass, independently of dashboard activity. Above 100,000 rows it also evicts the oldest rows older than one hour and logs a warning; rows younger than one hour are never evicted, so the cap may temporarily be exceeded. Admission performs no sweep or migration. Fences guard late approval inserts and delegation dispatch racing termination: a process that escapes the process group through setsid is outside this non-sandbox guarantee. Cancellation markers are retained for the shorter of session retention and 90 days, capped at 1,000 per session, and removed on session purge. Completed actions and created tasks are not undone. Cancellation never bypasses the outbound-send guard: an unsent or confirmed-finished send releases its lease normally; an unconfirmed send, or a lease the killed MCP process could not release, retains the existing protection for up to 6 hours.

WebChat stores empty-reply and internal-turn failure notices so reopening the conversation shows the warning even if its socket frame was missed. These display-only records are credential-masked, capped at 2,000 characters, and excluded from model context, summaries, memory readers, and team history. Cancelled turns, authentication failures, and turn-limit rejections do not create failure notices. A stored failure also ends the unanswered-reply waiting notice.

Cancellation also stops delegations for the exact session and turn that are still queued. The cancelled outcome adds delegations_cancelled, the number stopped; a delegation queue cleanup failure returns cancel_failed. Work already handed to another employee keeps running. A turn awaiting quota admission cannot be cancelled until it passes quota and joins the FIFO; an earlier cancel returns turn_not_found. Cancellation also stops delegations for the exact session and turn that are still queued. The cancelled outcome includes their count in delegations_cancelled; a delegation queue cleanup failure returns cancel_failed. If matching delegated runs are still running, the same type: error, code: cancelled frame also carries downstream_running and an opaque, single-use downstream_ref. Both fields are absent when there is no such work. The client receives counts only, without employee names, task content or message IDs.

An authenticated client may then send {"type":"cancel_downstream","downstream_ref":"<reference>","request_id":"<optional id>"}. The gateway checks the live credential again and processes the stop in the background. It waits up to 15 seconds and returns type: downstream_stopped with request_id, stopped and still_stopping; work still shutting down is not counted as stopped. The reference belongs to its original user and principal, expires after 10 minutes, and is lost on gateway restart or bounded-store eviction. Unknown, foreign, expired and consumed references all return downstream_ref_unknown without stopping work. Credential lookup failure returns the retryable credential_check_unavailable; a revoked credential is refused. Widget visitors receive no offer and cannot use cancel_downstream. Credential-revocation cancellation automatically requests a stop for the turn’s traceable delegated runs, without asking the person.

Sending no frame leaves the running delegations alone; there is no decline frame. The existing cancellation fence still prevents those runs from delegating further or raising new approvals while it remains in force. Stops follow only the exact originating conversation and turn and exclude work attributed to another person. An external action already executed cannot be recalled. Task-board tasks and goals created by the turn are not followed, and a run that drops its origin information cannot be found. A turn awaiting quota admission cannot be cancelled until it passes quota and joins the FIFO; an earlier cancel returns turn_not_found. The terminal control room offers the follow-up question in list focus.

A host-provided approval origin that is incomplete or invalid refuses the approval request; only a fully absent origin retains legacy unscoped behavior. Approval origin inherited through environment variables is not signed. An employee with unrestricted Bash can forge those variables; the Bash guard is a speed bump, not isolation. Withhold Bash or use the task sandbox when actual containment is required.

Closing the socket does not cancel accepted turns, including queued messages. They continue to completion. Signed-in dashboard users can reconnect to resume an owned session or cancel a still-active turn. Widget visitors receive a new identity on reconnect and cannot resume or cancel the previous connection’s turns; those turns still count toward the global limit. The dashboard shows queued messages and a cancel action on each waiting message, plus a Stop button for the foreground running turn. Protocol clients can also send cancel directly.

“Allow Odoo on an internal network” writes [odoo] allow_private_network (admin only, default off; saved together with the connection through odoo.configure, tested by the same switch value in Test connection). Off: the Odoo url, global or per employee, must be HTTPS to a public host (plain http:// only for localhost). On: addresses such as 192.168.x.x or 10.x.x.x are allowed, over HTTPS or HTTP; the local machine, link-local and cloud metadata addresses (169.254.169.254, metadata.google.internal) stay refused, the resolved addresses are pinned for the connection and no proxy is used. The first boot after the upgrade turns it on by itself when a configured Odoo url already resolves to an internal address (audit event odoo_allow_private_network_auto_enabled), so existing installs keep working. Takes effect on the next connection.

Re-scan Odoo structure calls odoo.schema_scan and is available only to an administrator; the RPC enforces the same role. Save the connection settings first: this action scans the saved global connection and every employee’s effective overrides. Unsaved form values are not scanned. The page shows the last scan time, scan-time server version, model / field counts, truncation, latest failure and the latest diff summary. A server-version mismatch recommends another scan. It does not change Odoo data, permissions or the shared wiki. Manual attempts, including failures, share a persisted 60-second cooldown for the saved profile; an early retry reports how many seconds to wait. Both dashboard actions (odoo.schema_scan and odoo.discover_schema) share this cooldown and scan lock. The wiki workflow sanitizes identifiers and labels before writing, marks external metadata as data rather than instructions, and retains technical field types and relations.

Rescan covers the saved global connection and every employee’s effective [odoo] settings, including company scope. Authenticated identities are deduplicated, at most two connections scan concurrently, and results show Ready or Failed for each employee. Metadata stays isolated by connection identity; one Odoo user never reuses another user’s snapshot. The dashboard actions share their persisted 60-second manual cooldown. After successful preparation, obsolete profile data is removed only if all effective identities are known. Cleanup holds a catalog lock while deleting idle lock files; an in-progress scan and its lock are preserved.

The long-lived gateway holding the instance lock checks every effective identity every 30 minutes, starting at gateway startup. It scans missing or truncated snapshots, changed server versions, changed installed-module names/versions, or missing access metadata. Completed scans and definitive failures consume the one-hour automatic slot; cancellation does not. MCP turns never launch scans. While preparation is pending, use odoo_schema_fields for a specific model. Same-version field-only changes still require a manual scan; reconnect active sessions with odoo_connect to refresh live field caches.

The overview without filters returns model names and short labels only, capped at 16 KiB. Fields are included only for a specific model or a query matching at most five authorized models, capped at 32 KiB. Responses include total matching model count and truncation. The shared-wiki summary is capped at 16 KiB; odoo/schema-fields remains a search-only deep reference page capped at 32 KiB and is not automatically injected into context.

Integrations → Odoo → Personal member connections

Section titled “Integrations → Odoo → Personal member connections”

Personal Odoo connections require an administrator to opt in with config.toml:

[odoo]
member_credentials = true # default: false

A missing key, unreadable configuration or non-boolean value disables personal connections. While disabled, me.odoo.connect and me.odoo.test refuse before contacting Odoo or decrypting a key. Identity selection skips personal credentials; person-key requests and the employee identity route for avatar / act_as_requester employees with no usable own or permitted company credential return odoo_member_credentials_off. Saved credentials remain stored, and members can still disconnect. Administrators can still list and revoke connections.

The browser-only Admin RPC odoo.member_credentials.set_enabled {enabled: bool, acknowledge_risk?: bool} returns {enabled}. Enabling requires acknowledge_risk=true. It uses the locked, hash-checked, format-preserving config commit path. Before publishing the setting, it writes odoo_member_credentials_toggled with the live actor’s user ID, the requested value and a timestamp. Audit failure aborts the change. Records with phase: "before_commit" are write-ahead intents: a subsequent config write failure may leave an intent without a completed change.

me.odoo.status always includes member_credentials_enabled; odoo.member_credentials.list returns {credentials: [...], enabled}. Neither response includes secrets. Credentials are bound to the member’s account credential epoch. A password reset or sign-out-everywhere that changes this epoch makes status report needs_reverify and prevents both use and testing of the old key. The member must enter the key again through me.odoo.connect. Suspended or deleted accounts cannot use stored credentials. Legacy rows without an epoch binding also require re-entry; the existing offboarding cleanup remains in place.

Integrations → Odoo → Employee permissions

Section titled “Integrations → Odoo → Employee permissions”

In Engine mode, open an employee’s edit page to choose allowed tables and add action rules. No checked tables means no additional table restriction; no action rules means no additional action restriction. Odoo’s own ACLs, feature switches and the built-in sensitive-table block list still apply. Each rule chooses a table (or All tables) and actions: Search and read saves both read and search; Create, Update, Delete, Button actions and Other methods save create, write, unlink, action and execute. For generic odoo_execute calls, button actions cover action_*, button_* and toggle_* methods, such as confirm, validate and archive. Grant action for all tables or action:sale.order for one table; execute remains the category for other methods. The stored format remains bare verbs for all tables and verb:model for one table, for example read:hr.employee and search:hr.employee.

Tables marked Sensitive, including hr.employee, require confirmation because they contain sensitive data. Confirming a selection in either the table list or an action rule automatically records the employee’s exception to the block list; removing the last use removes that exception. There is no separate employee unblock field. ir.model, ir.model.fields and ir.attachment remain read-only even after confirmation. The global Odoo page provides sensitive-table checkboxes with the same confirmation; these apply to the global connection, while an employee override replaces the global exception list.

The table choices use the existing odoo.schema_scan snapshot for the saved global connection. The admin-only odoo.permission_options RPC reads that cache after authenticating the connection (up to 10 seconds), and returns model identifiers and labels only; odoo.config also returns the backend’s sensitive/read-only policy lists. Opening the editor reuses the cache; the first connection without account-rights metadata schedules a background scan. Without a scan or when the connection fails, use the scan button; configured tables and sensitive tables remain visible. An employee using another database may keep configured table names that are absent from the global scan.

Available actions come from the connected Odoo account’s own read, create, write and delete rights, detected on connection/schema scan and cached with a timestamp. Rescan after changing rights in Odoo. Button actions and other methods use write as an availability hint; Odoo decides which operations can actually run and still enforces record rules. Unavailable actions are disabled; unknown rights remain selectable with a hint. Previously saved unavailable actions stay checked with a warning and can be removed. All-table rules stay selectable because rights differ per table. Models blocked by DuDuClaw are not probed. Account-rights availability uses the saved global connection. For an employee with a separate connection, credential or company scope, the editor shows unconfirmed rights instead of applying another account’s denials.

Existing rules are grouped by table. A lone read or search appears as Query and read — Partial and becomes the pair on save. Existing action rules appear as editable Button actions. Unrecognized entries appear read-only under Other settings and are kept exactly until explicitly removed; the server permits preservation of existing entries but still rejects newly supplied invalid rules. The Odoo overview summarizes each rule as Table: actions.

agents.update accepts odoo.allowed_actions entries activity:<model>, note:<model>, message:<model> and attach:<model>. These four actions require an exact model name; bare verbs and wildcard models are not accepted for new entries. Generic writers refuse employee-level Odoo permission widening and direct the administrator to that employee’s edit page.

For an avatar or act_as_requester employee with no usable own or permitted company credential, the employee identity route returns odoo_member_credentials_off while [odoo] member_credentials is not literally true; its message says the company has not enabled members’ own Odoo connections and asks them to contact an administrator. When the switch is true, the corresponding missing-connection refusal is odoo_not_connected.

Integrations → Odoo → Website live chat

Section titled “Integrations → Odoo → Website live chat”

Saved with its own button through odoo.livechat.set (admin) into [odoo_livechat], a separate section from [odoo] because the Odoo connection save rewrites the whole [odoo] section. The bot API key is stored encrypted as bot_api_key_enc and never returned; leaving the field empty keeps it. Every save and every Hand back to AI is written to the audit log. See features/61-odoo-livechat.md.

Control Key Takes effect
Answer website live chat enabled Within seconds (the bridge re-reads config every poll; turning it off sets the bot offline in Odoo)
Bot user login / API key bot_username, bot_api_key_enc Next poll (the bridge reconnects)
Default AI employee, greeting, check interval default_agent, greeting, poll_interval_seconds (2–60) Next poll
Live Chat channels to serve livechat_channel_ids Next poll
Hand off to a person handoff_user_ids, handoff_keywords, handoff_message Next poll
Audience rules [[odoo_livechat.audience_rules]] (name, agent, enabled, livechat_channel_ids, chatbot_script_ids, country_codes, langs, visitor, partner_tags, keywords); every named AI employee must exist or the save is refused New chats (a chat keeps the employee it was routed to)

After a successful save (inference.update, admin) the gateway resets the inference engine, so the next reply uses the new settings without a restart.

  • Confidence Router → Advanced: [router] local_tools, ucci_fast_router, ucci_strong_router, ucci_observations, ucci_shadow_strong, ucci_shadow_max_inflight (1 to 16), ucci_drop_stop_token; [generation] capture_logprobs, capture_top_logprobs.
  • llamafile local server: [llamafile] enabled, dir, default_file, host, port, gpu_layers, context_size, extra_args. Known limit: clearing a field on the page does not remove the saved value; use the Advanced config editor for that.

The page writes the employee’s agent.toml through agents.update and sends only changed fields, so a save no longer clears the heartbeat schedule ([heartbeat] cron).

[evolution] skill_budget_unlimited defaults to false, including when absent from an existing file. Administrators can enable Unlimited skill content in the employee’s Skills settings. When enabled, every selected Layer 2 (full content) and Layer 1 (summary) skill is included regardless of skill_token_budget; layer selection stays unchanged. When disabled, skill_token_budget defaults to 2500 tokens and 0 excludes Layer 1/2 content; the Layer 0 names list remains uncapped. Selected skills that do not fit are listed in one “Skills omitted for length” footer (up to 10 names, then “and N more”). The legacy full-content path uses max(10_000, skill_token_budget * 4) bytes, preserving the previous 10 KB minimum, or no cap when unlimited is enabled; its truncation footer points to the employee settings. Unlimited content raises token cost and response time and can cause replies to fail when the model’s context limit is exceeded.

Tab → section Key
Budget → Daily cap [budget] daily_cap_cents
Budget → Cost data unavailable [budget] when_unavailable (allow / deny)
Skills → This staffer’s skills (v1.76.0) not a config key: switches are stored in <home>/skill_state/<agent_id>.json (skills.set_enabled), removed skills move to <home>/skill_archive/<agent_id>/ (skills.remove / skills.restore); Owner of the employee or admin. See Skill library page
Tools & permissions → Tools that need a checkpoint (always wait for approval, treat as irreversible, let the judge decide first, needs a task grant) [capabilities] approval_required_tools, irreversible_tools, maybe_irreversible_tools, scoped_tools
Tools & permissions → Parallel branches [fork] enabled
Tools & permissions → Outgoing reply protection [guardrails] enabled, block_secrets, block_injection_echo, redact_pii, deny_phrases
Tools & permissions → Permissions the four [permissions] flags (below)
Brain & engine → Reasoning effort [model] effort
Brain & engine → Provider / Fallback [runtime] provider / fallback, now including qwen, kimi, copilot, kiro, cursor, vibe, opencode
Brain & engine → Slim startup context [runtime] minimal_context
Brain & engine → Per-run time limit [runtime] timeout_secs: 30 seconds to the global ceiling; Claude and all other runtimes. Defaults and validation: see the v1.82.0 limits above.
Brain & engine → Utility model [model] utility: blank follows the main model on Codex and OpenAI-compatible APIs; Claude defaults to claude-haiku-4-5; Grok and generic CLIs use global background settings
Brain & engine → One employee, four roles [team] enabled, [team.roles.<role>]
Automation → Night-time tidy-up [night_engine] enabled
Automation → Task suggestions → Suggest creating tasks in chat [goal_intent] enabled: defaults to on. Turning it off stops suggestions for this employee only. The switch shows whether suggestions are currently on for this employee, including the global setting; saving it stores the employee’s own value. The employee’s own value in agent.toml overrides the global value in config.toml; without an employee value, the global value applies, falling back to on if neither is set.
Integrations → Own channels (v1.76.0) [channels.telegram] bot_token_enc, [channels.googlechat] project_number / service_account_json_enc through agents.channels.* (admin binds; the owner sees status; see Own channels)
Channels & integrations → Callable by outside contacts (v1.76) [channels] public_trigger (admin-only; see Calling AI staff with @)
Automation → Memory → decision continuity, keep decisions for (days) [memory] decision_continuity, decision_ttl_days (1 to 3650)
Advanced → Model Extras → Advanced key/value any [section] key, each row typed (string, integer, float, boolean, string array); the result is parsed as a full AgentConfig before writing and the whole save is refused on failure. The agent, capabilities, container, permissions, channels, odoo, mcp, runtime, prompt, os_watch and budget sections cannot be edited here (v1.76.0: prompt, os_watch and budget added; they hold admin-only keys such as prompt.cli_bare_mode, which an admin now changes in the Advanced config editor)

Employee budget. [budget] daily_cap_cents and monthly_limit_cents cap recorded spend over rolling 24-hour and 30-day windows when hard_stop = true; 0 means no cap. Calls already running can exceed the cap. Checks include Claude and other employee runtimes, delegated and scheduled work, reminders, mail, heartbeat, utility work and CLI forks/evals. Spend recorded under ephemeral children is included in the parent’s budget, summed in millicents before conversion to cents. When the employee configuration can be read, [budget] when_unavailable = "allow" (the default when omitted) allows unavailable telemetry or failed cost queries with an explicit warning and audit record; "deny" refuses before the model runs. If the configuration cannot be read or parsed, the policy cannot be confirmed and the call is refused. Unknown policy values use "deny" and warn. An unavailable check has its own explanation and audit event; it does not announce a reached cap or a breaker transition. Budget refusals do not rotate accounts or trigger failover. Calls with no employee id are outside this policy. Employee-scoped utility calls use the effective [agent].name for budget checks and future cost rows, even when an operation label was supplied. Historical rows recorded only under operation labels cannot be assigned back to employees reliably.

The per-run time limit is saved separately from the container task timeout. The server rejects values outside 30 seconds to the global ceiling and non-integers. For manually edited files, out-of-range integers are clamped and wrong-typed values use the default, with a warning. OpenAI-compatible employees require a model in either utility or preferred; Codex can use its CLI default; Grok and generic CLIs use global background settings. A vendor-family mismatch in the utility model shows an inline warning because background work such as conversation compression and fact extraction will fail.

Increasing the effective timeout_secs requires an administrator. An Owner may lower it; clearing the setting restores the global default (or 1800 seconds for every runtime when no global default is set; for any employee, Claude included, whose value is below that default, clearing it is therefore an increase) and needs an administrator only when that increases the current effective limit.

Claude utility calls use the lightweight lane with the CLI’s available credentials and do not enter account rotation. Normal chat retains its existing account rotation.

Utility calls, including classifiers and judges, use a dedicated execution profile. Claude uses the tool-free, single-turn lightweight lane; OpenAI-compatible APIs send one completion without tools and never enter the tool loop. Codex uses a restricted profile: a read-only sandbox, no DuDuClaw MCP overrides, a fresh owner-only empty temporary working directory, ignored user config, and no persisted session. The temporary directory is removed after the call, including errors and timeouts; the system prompt travels in the prompt without writing AGENTS.md. This also applies to explicit Codex judge and team-verifier hints. Grok and generic CLIs remain unsupported for utility execution, so employee background work resolves to the global utility provider/model (default Claude / claude-haiku-4-5), with one warning per employee/runtime. The global provider must be Claude, Codex or OpenAI-compatible; an unsupported global provider or explicit hint is refused. An explicit Codex judge refusal fails acceptance without retrying the default judge; other providers retain existing degradation rules. Codex may retain built-in reading tools; see Security defense for the residual risk.

Admin-only fields. [agent] reports_to, department, name, all of [capabilities], [container] sandbox_enabled, network_access, readonly_project, the five [permissions] flags (can_modify_own_soul, can_create_agents, can_send_cross_agent, can_schedule_tasks, can_modify_own_skills) and (v1.76.0) [permissions] allowed_channels, [guardrails] enabled and block_secrets, (v1.76) [channels] public_trigger, and (v1.76.0) the per-employee bot tokens [channels.discord], [channels.telegram], [channels.slack], [channels.googlechat], the whole [odoo] table, [runtime] provider and fallback, [prompt] cli_bare_mode, the whole [os_watch] table, [model] account_pool, role = "main" (becoming or leaving it), and loosening the budget: raising monthly_limit_cents or daily_cap_cents, removing a cap (0 = no cap), turning hard_stop off, turning on unlimited skill content ([evolution] skill_budget_unlimited), or changing when_unavailable from deny to allow. An employee’s Owner may still add or lower a cap, turn hard_stop on, and turn unlimited skill content off. A change from a non-admin is refused, and a successful change by an admin writes the audit event agent_authority_changed, and a refused attempt writes agent_authority_refused. When a model change would switch the runtime automatically, a non-admin gets a message saying so. org.toml is updated only when reports_to or department really changed. agents.inspect returns the matching form fields as admin_only_fields; the edit page disables them for non-admins.

Who may save (v1.76.0, behaviour change). agents.update re-reads the caller’s role and employee binding from the account database on every save, and again right before writing. Removing someone’s binding, suspending them or requiring a password change takes effect on their next save without waiting for their session to expire. Every save of agent.toml from any path (this page, /model in a chat, the Advanced config editor, automatic edits) now keeps comments and key order, keeps a version (see Profile files) and writes agent_file_changed. When the registry cannot be reloaded after a save, the message reads 「已儲存,但暫時無法立即套用;請稍後重新整理,仍未生效請重新啟動服務」 (there is no periodic reload).

Permission flags are enforced (behaviour change). can_create_agents, can_send_cross_agent, can_modify_own_skills and can_schedule_tasks had no reader before. Since v1.68.0 a flag written as false blocks the matching tools at the MCP dispatch gate (create_agent; send_to_agent, spawn_agent; create_reminder, tasks_create with a schedule; skill_hub_install, shared_skill_adopt, skill_graduate, skill_from_recording); an absent or wrongly typed flag allows, except can_create_agents: since v1.81.0 an absent can_create_agents means true only for the main employee and false for every other employee, the v1.68 boot migration no longer turns it on for a non-main employee, and an employee created through MCP create_agent always gets false (see Security defense). Since v1.82.0 the switches on this page show the value the gate applies (agents.inspect → effective_permissions, read by the same function as the MCP gate): a missing can_create_agents shows off for every non-main employee, and every switch shows off when agent.toml cannot be read or when an older gateway does not send effective_permissions (the stored value is not used). A switch you do not touch is not sent on save, so an untouched form never changes a permission. Older templates often wrote these flags as false, so the first boot after the upgrade migrates every employee once: in a [permissions] table without the marker permissions_enforced_since, each of the four flags that is false becomes true and permissions_enforced_since = "1.68.0" is added; each reset writes the audit event permission_flags_reset. A false written afterwards on this page or in the Advanced config editor counts as an operator decision. Ephemeral role members (agents/.ephemeral/) are not migrated and keep least privilege.

Manage → Members: direct manager and org chart (Enterprise, 1.76.0)

Section titled “Manage → Members: direct manager and org chart (Enterprise, 1.76.0)”

Admins only. The Personal edition has no such page.

Control Writes Effect
Create / edit member → Direct manager manager_user_id on users.create / users.update (choosing “None” clears it) The next message and the next dashboard action follow the new reporting line. The list offers only active people whose role is Manager or Admin, minus the person and everyone below them; the gateway checks again and, when it refuses, says why in plain words: the line would loop, it would go past 8 levels, the manager’s role is too low, or (when you change someone with reports to Employee) they still have direct reports.
List → Role column — Shows “Manager: …”.
List / Org chart — Display only. The org chart draws the reporting lines from the direct manager, with each person’s bound AI staff next to them; people with no manager and no reports are listed under “No manager set”. Offboarded people are left out; suspended people are shown and marked. Click a name to edit.

What a manager gets through their reports: see Calling AI staff with @.

Organization → My team (Enterprise, 1.76.0)

Section titled “Organization → My team (Enterprise, 1.76.0)”

Only people whose role is Manager or Admin see it (sidebar group “Organization”). The page lists the people who report to you (down to 8 levels; suspended people included, offboarded people not) and the AI staff you can reach through each of them:

  • Tag “Can assign work” or “Chat only”: when the report’s binding is Owner or Operator you get Operator and may assign work; when it is Viewer you may only chat.
  • “N open tasks”: tasks assigned to that employee that are not done, cancelled or failed.
  • Chat opens WebChat with @name already typed. Disabled while the employee is not active.
  • New chat replaces the task-assignment action and opens a new WebChat conversation without creating a task.

The data comes from the RPC users.my_team, computed with the same rules every call and assignment uses, so everything listed can be reached. It is refused in the Personal edition and for the Employee role.

Pausing or resuming an employee (agents.pause / agents.resume, parameter agent_id) requires the Manager role and a direct Operator or Owner binding to that employee. Admins retain full access. The gateway re-reads the account role and binding from users.db before writing; missing or unknown employee ids and unreadable permissions are refused. A Manager’s access through reports does not grant this control.

Visible to everyone bound to the employee (Viewer and up); adding and removing files needs the employee’s Owner binding or Admin, re-read from the account database on every call, and on top of that the editor or owner role on the employee’s own collection.

Control Writes Effect
Add files (first time): sensitivity, “Also let the colleagues who work with this employee now read them” a new collection <display name> 的資料 in knowledge.db, its grants, and the employee’s [knowledge] collections when that list exists Immediately. Grants: the creator (owner), the employee (viewer), and when ticked every active account bound to the employee (Owner → owner, Operator / Viewer → viewer).
Add files a source in the own collection Read in the background; the list refreshes every 3 seconds while a file is still being read.
Remove (optionally “also forget”) deletes the source; with the box ticked files forget requests for an Admin Unsearchable at once; forget requests wait for approval.
Manage in the document library — Opens the collection (sharing, test search, access record, settings).

Archiving or deleting the employee archives its own collection (only people owners keep access); restoring the employee puts back the grants archiving removed. The first upload also adds the collection to an existing [knowledge] collections list; later uploads leave that list alone. Details: Document knowledge base.

Everyone bound to the employee (Viewer and up) sees which Google account it uses and whether that works right now (agents.google_identity_get). Changing it and Test connection are Admin only.

Control Writes Effect
Change → Company’s shared account / Act as a colleague (domain delegation) / Do not use agent.toml [google] identity = home / delegate:<email> / none (agents.google_identity_set) Next Google tool call. none hides the 19 Google tools from the employee (tools list changes). The email must be in an allowed domain.
“If the colleague’s account cannot be used, use the company’s shared account” [google] fallback = "home" (unticked: the key is left out) Covers only: no key imported, colleague suspended or offboarded, Google rejected or unreachable. A refused requester, a setting error or a protection problem never falls back.
Test connection nothing Mints for the colleague (full list, then per service), checks Gmail reports the same address. Sends nothing.

[google] requesters (bound_people default, owner_only, anyone) has no control on this page yet; set it with agents.google_identity_set (anyone needs confirm_anyone: true) or the Advanced config editor (Admin). A non-admin Owner editing agent.toml may only narrow [google] (switch to none, drop fallback, tighten requesters). Details: Per-employee Google accounts.

Integrations → Tool servers: MCP API keys (v1.82)

Section titled “Integrations → Tool servers: MCP API keys (v1.82)”

Admin only. Keys live in <home>/mcp_keys.db; only each key’s SHA-256 fingerprint is stored, and the full key is shown once, right after creation. Nothing on this page writes config.toml. Every change below is recorded in the security audit log (security_audit.jsonl) with who made it; a refused (non-Admin) attempt is recorded too.

Control Writes Effect
Create key: Name, Key for, Client ID / AI employee ID, Environment, Scopes, Expiry a new row in mcp_keys.db (mcp_keys.create) Immediately. Name is required, unique (case-insensitive) and at most 60 characters. An external integration (by client ID): always an external key (is_external: false is refused); the client ID may not be an AI employee’s ID or name or a reserved system name (dashboard, cron, default, gateway-internal, …); scopes are only the ones the server lists as grantable to external keys (memory:read, memory:write, wiki:read, wiki:write, messaging:send) — any other is refused naming the scope. An AI employee’s own key (agent_id; RFC-21 per-agent keys, the v1.76 dedicated Google key): an internal key that acts as that employee, with the scopes the v1.81 picker offered, never admin; for a colleague’s Personal employee only its owner, or an Admin with a fresh audited step-up, can create it. (Personal employees belong to the native Linux employee isolation that is not available yet; current installations have none.) Expiry: 30, 90 (default) or 365 days, a custom date (the key ends at the end of that day) or No expiry. No expiry shows a risk notice and needs its checkbox ticked; the audit record notes who confirmed it and when.
Rename the row’s name (mcp_keys.rename) Immediately. OAuth connections approved with the key keep working.
Change expiry the row’s expiry (mcp_keys.set_expiry) Next call. Same choices as at creation; extending an expired key makes it usable again. Re-arms the expiry notices.
Disable / Enable disabled_at / disabled_by (mcp_keys.disable / mcp_keys.enable) Next call, in the gateway and in every running mcp-server / http-server (they re-read the store on every call). A disabled or expired key gets the same “expired or disabled” refusal.
Delete (with confirmation) marks the row deleted (mcp_keys.delete) Next call. The row disappears from the list; its fingerprint stays so an old copy of the key (for example in a restored config.toml backup) can never come back.
Banner: keys expiring within 7 days nothing Lists active keys whose expiry is 7 days or less away. Admins with a verified chat channel also get a message 7 days and 1 day before. A notice counts as sent only once it reached an Admin (or was queued for quiet hours); a failed one is retried later with growing delays, at most one delivery per key and threshold, and is dropped without sending once the key expired, was deleted or got a new expiry. Changing a key’s expiry, disabling it or deleting it closes its open notices in the same change, including one a check has already picked up, and every notice is re-checked against the key’s id, expiry and version right before it is sent, so a notice with an old date is never sent.
Banner: review migrated keys (one time) → Got it mcp_api_key_meta (mcp_keys.dismiss_migration_hint, audited) Shown after the upgrade moved keys out of config.toml. It also goes away once every moved key’s expiry has been changed.
Banner: keys still waiting in config.toml nothing Entries recorded as pending at the upgrade that were not moved yet (they keep working until moved). Check the gateway log; the move is retried at the next start.
Banner: ignored config.toml entries nothing [mcp_keys] entries the key store does not know (added after the move finished, or a gateway-internal entry the gateway never recorded), shown by hint only. They never authenticate; remove them from config.toml.

Columns: name (with the ddc_<env>_…<last 4> hint, client id and scopes — a stored scope that never takes effect for an external key, e.g. odoo:read on a migrated key, is struck through and listed), created by, created, expires, last used (from <home>/mcp_keys_usage.db, written at most once a minute per key by the MCP servers and read when the list is built; display only), status (active / disabled / expired).

Upgrade from v1.81. At its first start the gateway records the fingerprints of the [mcp_keys.<key>] entries in config.toml (except its own gateway-internal key) as pending, in one transaction. It then moves each one into mcp_keys.db (fingerprint only; an existing name or label field becomes the name, otherwise migrated-<id>; client, external flag, scopes and creation time are kept). The key expires at the instant v1.81 would have started refusing it (creation + 31 days, to the second), so its lifetime is unchanged. The audit record is written before the entry is removed from config.toml; the rest of the file stays as it was. An entry whose move or audit record failed stays in config.toml and pending, and keeps working; the move is retried at the next start. Once nothing is pending, a migration complete marker is written, and from then on config.toml is never consulted for a non-internal key. The gateway-internal key stays in config.toml, but only the key whose fingerprint the gateway recorded in mcp_keys.db is accepted. The one exception is a home where mcp_keys.db does not exist yet (no v1.82 gateway has started there): [mcp_keys] is then read under the v1.81 rules until the gateway creates the store. If mcp_keys.db exists but cannot be read, or has an unexpected schema, every key is refused, the gateway-internal key included.

Downgrade. The move is one-way for keys. v1.81 cannot see mcp_keys.db, so after a downgrade external keys must be re-issued. Do not restore an old config.toml for that purpose: it would bring back keys that were deleted or disabled on v1.82.

Integrations → Google → Company delegation (v1.76.0)

Section titled “Integrations → Google → Company delegation (v1.76.0)”

Admin only, both editions.

Control Writes Effect
Import key file / Replace key file <home>/protected/google-service-account.sealed, sealed with the credential-protection key (google.delegation.import_key) Immediately. Refused until Security → Credential protection is in the system keychain. The key never comes back to the browser; the panel shows the service account, client id, scope list and Admin console path.
Remove deletes the sealed key (google.delegation.remove_key, confirmation) Every employee acting as a colleague stops using Google (or falls back, where allowed).
Allowed domains config.toml [integrations.google_identity] allowed_subject_domains (google.delegation.settings_set) Next call. Exact domain match. Empty: only the domain of [integrations.google_service_account] subject, or nobody.
(no control) default_identity [integrations.google_identity] default_identity = home (default) / none What employees without [google] use.
Google tenant source: Service mailboxes, Allowed scopes (planned for a later release with the native Linux isolation architecture; not available in the current release, where the protected service runs as in v1.80. UI on the protected-mode page) config.toml [integrations.google_identity] service_mailboxes and tenant_scopes (google.delegation.tenant_settings_set, Admin + password/two-step re-verification, audited) Next tenant-source call; running employees pick up the change on their next call (their Google tools are rebuilt automatically; a call already admitted is refused). A service mailbox may not be any address a member’s login has ever used; saving the list is the Admin’s confirmation that no listed address belongs to a person. Scopes must come from the scope list shown on the panel; empty = status only, and the company token asks Google for exactly these scopes. The panel shows the source (domain delegation / service account) with a key fingerprint, never the key.
Protected-mode page → confirm whose address an employee acts as (planned for a later release with the isolation architecture) users.db google_delegate_attestations (google.delegation.attest_subject {agent_id, subject} / google.delegation.revoke_attestation, Admin + password/two-step re-verification, audited) Immediately. A Shared employee set to delegate:<address> acts as that colleague only after this confirmation, and only for that colleague’s own requests. It records the one active account whose login email is the address. Any later change of that account’s login email, or of the employee’s identity, ends it. Existing delegate settings are refused until confirmed.

The list at the bottom shows each employee acting as a colleague and why it is blocked, if it is. In protected mode each row also has tenant_subject: attestation_required, attested_person, service_mailbox, service_mailbox_conflict (a member’s login email is, or was, this address), ambiguous, person_inactive, not_admissible, users_unavailable (users.db unreadable, or a stored login email that cannot be compared), unavailable or refused. For attestation_required and attested_person it also names the account that holds the address (holder: name, account id, creation date, and whether that account changed its own login email to this address). The protected-mode page › Google tab lists these employees; an Admin confirms the listed person (and, for a self-set address, ticks a second box after checking another way), or withdraws a confirmation. A confirmation applies only to that employee as it is now: a retired-and-recreated or restored employee needs a new one.

Section titled “Settings → Advanced → Knowledge base search”

Admin only (new in 1.76.0). Shows whether the document knowledge base searches by meaning or by keywords only, and why not when it does not, with the share of passages that already have vectors.

Control Writes Effect
Where it is computed: On this computer / OpenAI / Google Gemini / Off [knowledge.embedding] provider (+ cloud_model, cloud_account for cloud) Next search. Choosing a cloud provider opens a dialog naming the vendor and host that receive passages; Use stays disabled until the box is ticked, and the acknowledgement is stored as cloud_disclosure_ack. The dialog warns when redaction is off (nothing is sent then). Choosing anything else removes the acknowledgement.
Install (size) downloads into models/embedding/<model>/ and lib/onnxruntime/ Background download with progress; after Cancel the next install starts the interrupted file over; vectors for every passage are queued when it finishes.
Check again (offline install) — Checks the signature of the offline bundle (.tar + .tar.minisig, still packed, in models/embedding/) against the release key, then unpacks it, hashes every file and marks the model installed.
Use this model local_model Switches the local model; passages get vectors for it in the background (vectors of the previous model stay but are not compared).
Remove deletes the model files Search becomes keyword-only with that reason shown; the runtime library stays.
Fill in missing search data — Queues vectors for every source still missing them.

Details: Document knowledge base.

RPCs agent_files.list / get / diff / history / save / rollback / withdraw / pending_get; also used by the boundaries editor on the employee edit page (contract.update). Files: persona (SOUL.md), self-introduction (IDENTITY.md), user introduction (USER.md, key user, at most 4,000 Unicode characters), work rules (INSTRUCTIONS.md), boundaries (CONTRACT.toml), basic settings (agent.toml, read-only and masked here; edit it on the edit page or, as an admin, in the Advanced config editor), and the employee’s own skills (existing .md files under SKILLS/, file key skill:<path>, for example skill:quote/SKILL.md). Skills can only be edited here, not created or deleted (use the custom skill flow to add one), and scripts next to a skill are never touched; every path level must be a single name without .. or invisible characters (zero-width, direction controls), at most four levels deep; symlinks and hard links are refused, and a save checks under the file lock that no folder was swapped before it writes (the lock file lives outside the employee’s folder). Other writers of skill files (custom skills, the employee’s own skill tools, skill graduation) do not go through here, keep no versions and do not take this lock. Limits: 64 KB per Markdown or skill file, 32 KB for CONTRACT.toml, at most 100 must_not and 100 must_always entries of up to 500 characters.

  • Profile files tab: the 設定檔 (Profile files) tab on the employee detail page (/agents/<employee>/files). On the left, a plain-language list with the real file name in small grey text and the badges “Waiting for review”, “Changed outside the dashboard” and “View only”. On the right the file is shown read-only; its owner and admins press Edit to change it, with the size and limit below and the buttons Show changes, Save and check, and Discard changes. The check result uses the same review dialog as the boundaries editor. If someone else saved first, your text and the current text are shown side by side with Copy my content and Reload. Version history (Operator and up) lists time, who and where each version came from, and can view, compare with the current text or restore. An unsaved edit asks before switching file, switching tab or closing the page (leaving through the sidebar or other links does not ask yet). People who can only view see “You can view this. Only this staff member’s owner or an administrator can change it.”
  • Work rules and AGENTS.md / Agent.md: the list and the heading read “Work rules (AGENTS.md / Agent.md)” because many people look for it under the industry name; the real file name INSTRUCTIONS.md stays in the small grey text. The import merges AGENTS.md, CLAUDE.md, GEMINI.md, Agent.md and copilot-instructions into this file, and it is given to the employee on every conversation whichever runtime it uses. When a new employee has no such file, the tab shows “Create work rules” (the button is only visible to the owner and admins); it opens a short template and nothing is written until Save and check, through the same save, check and approval path (no separate write path).
  • Files generated for the runtime (read-only): a collapsed block at the bottom of the tab, read the first time it is opened. It shows the CLAUDE.md and AGENTS.md the system generated for the employee’s runtime (RPC agent_files.runtime_files, Viewer and up; only these two fixed names, the employee folder checks are reused, symlinks and non-regular files are never read, at most 64 KB per file). They cannot be edited here; change the rules in Work rules.
  • Search: typing agent.md, agents.md, CLAUDE.md or “work rules” in the command palette (Cmd/Ctrl+K) lists one row “ · Profile files” per employee that opens that employee’s profile files tab.
  • Who: anyone bound to the employee reads the files; Operator and up read versions and diffs; the employee’s Owner and admins save. Every call re-reads the account database, not the session. Admins decide approval requests.
  • Check on every save: fixed rules first (size, control characters, a strict CONTRACT.toml parse, hidden or invisible content, injection patterns in the lines this change adds or in new must_always entries, key-like text, a persona that loses most of its text, a contract that drops or rewrites a must_not / must_always entry or raises / removes the tool-call limit; skills additionally: a leading --- block must read the way the skill loader reads it and its name must be a single name, and the skill scanner’s findings on the lines this change adds count, with commands, sending data out and injection patterns as high risk (decided by the actual added lines, so a second line of the same kind is still new) and bare links and mentions of a forbidden item as needs attention; high-risk content already in the file is listed as “already in this skill”; a skill changed outside the dashboard since its last save here is checked as a whole against that last saved version), then a short review of the diff by the deployment’s utility model ([runtime] utility_provider / utility_model, override with [agent_files] review_provider / review_model; billed to the deployment as agent-file-review, never to the employee’s budget). The model can only make the result stricter. Results: pass applies at once; warn needs a reason (at least 4 characters) or a request to an admin; block can only be sent to an admin by a non-admin, and an admin applies it only with a reason and “I understand the risk” (audited as Critical). If the review cannot finish (no utility model, timeout, an unusable answer, a quota reached) or the change was too long to show in full, the result is at least warn (or block with [agent_files] on_analysis_failure = "block"), a non-admin can only send it to an admin, and an admin confirms it only with “I understand the risk”; it is never a silent pass and cannot be switched off. Quotas per day: 200 per deployment, 40 per person, 60 per employee (review_daily_limit, review_daily_limit_per_user, review_daily_limit_per_agent), plus at most 10 checks per person per minute (checks_per_minute); the same change checked again within 15 minutes reuses the result. Confirming does not run the review again; a confirmation must match the same person, file, starting version and content within 15 minutes, the fixed rules are re-run at the person’s current permission level (stricter now ⇒ check again), and confirming a block re-checks inside the file lock that the person is still an admin. A SOUL.md, IDENTITY.md, USER.md or INSTRUCTIONS.md changed outside the dashboard is checked as a whole and compared with the last approved version (reason “changed outside”).
  • Saving: under the file lock, with the hash the editor read (base_hash); a file changed by someone else in between is refused as a conflict. The new text takes effect from the employee’s next turn; channels get a one-line notice with the next reply.
  • Versions: kept outside the employee folder in <home>/agent_file_history/<employee>/<file>/ (owner-only files), 20 per file by default ([agent_files] history_keep, 5–100). The first change also keeps what the file contained before. Restoring a version runs the same check. Removing an employee moves its history to agent_file_history/_trash/; a new employee with the same id starts with none.
  • Baselines: saving SOUL.md, IDENTITY.md, USER.md or INSTRUCTIONS.md updates its approved fingerprint (INSTRUCTIONS.md has one now too, checked by the heartbeat as _instructions_integrity_drift). A file changed outside the system shows as changed-outside; restore the approved version or check and accept the current content (save it as it is: the whole file is checked, at least a reason or an approval request is needed, and once confirmed the file is not rewritten; the current text is kept as a version and becomes the approved baseline. Saving an unchanged file that was not changed outside is still “unchanged”). Renaming an employee updates the name inside SOUL.md / IDENTITY.md and keeps an approved SOUL approved, while a SOUL that had already changed outside stays flagged. The name must be plain text (1–64 characters, no line breaks, invisible characters or < > [ ] { } / backticks), and a renamed file that trips a fixed rule is left as it was (listed in identity_files_skipped).
  • Approval requests: kind agent_file_change, decided in the dashboard by a current admin (or, when Approve in chat apps is on, from a chat card by a self-confirmed Admin after a second confirmation by default), 3 days to decide (expiry counts as a denial). Channels only get a notice without buttons. The proposed text is stored in <home>/agent_file_pending/ until the request ends. Approving applies first; if the file changed while the request waited, the request is denied and the requester has to send it again.
  • Audit: agent_file_changed, agent_file_change_refused, agent_file_review_failed, agent_file_change_requested (hashes only, never the text).

Change an employee’s persona after creation (v1.82.0)

Section titled “Change an employee’s persona after creation (v1.82.0)”

The persona you give at creation (the optional Persona box on the blank create form, agents.create field soul_md, or a template’s SOUL.md) is only the starting text. Since v1.82.0 a supplied persona is always written or the create fails; it is never replaced by the default sentence. To change it later:

  • Dashboard: employee page → Profile files → Persona (SOUL.md) → Edit → Save and check.

  • RPC: first agent_files.get {agent_id, file: "soul"}, which returns the current content and its hash; then agent_files.save {agent_id, file: "soul", content, base_hash: <that hash>}. Only the employee’s Owner and admins can save, and the AI employee itself can never change its own SOUL.md.

  • The save is reviewed, not applied blindly. It runs the check on every save described above, and the response status tells you what happened: applied (takes effect from the employee’s next turn), unchanged, needs_confirmation (send the save again with action: "confirm", the review.analysis_id and a reason of at least 4 characters), blocked (a non-admin sends it again with action: "request_approval" and gets pending_approval with an approval_id that an admin decides in the dashboard; an admin confirms only with a reason and acknowledge_risk: true), conflict (someone saved first: get again and redo the edit), or rejected (a fixed rule refused the text; fix it).

  • Every applied change is kept as a version, so agent_files.history / agent_files.rollback can restore the earlier persona.

  • Export profile: Managers and admins can choose Export profile from the employee page menu when they can view that employee. Choose DuDuClaw, OpenClaw, Hermes, AGENTS.md or Claude Code subagent. User introduction is excluded unless explicitly checked. Download the prepared file, or each file into the same folder for OpenClaw/Hermes. Secrets, channels, capabilities, permissions, account pools and memory are never exported. See Agent File reference.

  • User introduction: saved through the same locked, versioned, reviewed writer. It is injected as a <user_profile> data block, explicitly not instructions, and scanned with the same input guard as persona text. Its 4,000-character limit overrides the general Markdown byte limit.

Control Writes Effect
Chat assignment or RPC: once at a date and time / every day / weekdays / weekly on chosen days / every hour / custom cron (Admins); the dashboard creation form is hidden a row in tasks.db assign_schedules (through tasks.goal_create with schedule and schedule_timezone = the company time zone; when unset, the form temporarily uses the browser time zone and says so) Nothing is assigned now. At each due time the gateway creates the goal on your behalf, after re-reading your account; no right left means the run is skipped and the schedule paused.
Open /goals directly → Assigned by me → Scheduled: Pause / Resume / Remove the row’s status At once. Resume re-checks the creator’s right and continues from the next slot after now; a one-time schedule whose time passed cannot resume. Remove keeps the row as removed (never listed or run again).
Show everyone’s (Admins) — Lists every person’s schedules with the creator’s name.

Admins can edit these caps in Settings → Automation (or the Advanced config editor): [goal_defaults] assign_schedule_max_active (default 20 per person, 0..200) and assign_schedule_min_interval_minutes (non-Admins, default 60, can only be raised). Existing schedules also recheck the interval at every run and resume. Pause/remove prevents a run whose task has not yet been stored; stop an already stored task separately. Details: Scheduling an assignment.

The page shows one update order for the whole install. When the desktop app is attached to a gateway it does not own (a launchd/systemd/Enterprise gateway, or a remote one), the page lists both components: the gateway with its current and next version, and the desktop app with its current and downloaded version. One button updates the gateway first, waits for it to come back, then updates the app. The app is only updated up to the gateway’s version; a newer app download waits and the page says so. An app that runs its own gateway sidecar updates both together, as before.

When a newer gateway binary is already on disk but not running (an npm install, a manual swap, an update whose restart never happened), the button reads “Restart the gateway to apply v…” and calls system.restart_pending_update (admin). The gateway refuses it unless the on-disk version really differs from the running one, and refuses it inside a container or for the desktop sidecar, which restart through their owner. Restarting the desktop app does not restart an external gateway.

On macOS the gateway now ships as a signed app, DuDuClaw Gateway.app (identifier ai.duduclaw.gateway, the same for CE and Pro). macOS keeps folder, automation and Full Disk Access grants for an app across updates, so you grant them once instead of after every release. A bundle install updates only from the release’s signed duduclaw-darwin-<arch>.app.zip. Before the app is replaced, the gateway checks its signature against the pinned DuDuClaw developer identity and against the installed app’s own signature, and checks that the app’s identifier, version and edition match the signed release. The new app is swapped in atomically and run once (version). If any check fails, the update is refused and the installed app is left untouched or put back.

A gateway still running as a bare binary (standalone or npm) moves into the app in one of three ways:

  • Automatically, once, on the first v1.81 start under the login service (launchd) when auto-update is on.
  • Move to DuDuClaw Gateway.app on this page (system.migrate_bundle, admin).
  • duduclaw service migrate-bundle in a terminal. Then run duduclaw service restart.

The move installs the app to ~/Applications/ (npm: inside the npm platform package) and replaces the old binary with a link to the app, so existing commands keep working. It also points the login service at the app and restarts the gateway from it. Afterwards macOS asks once for folder access for the new app. The page shows this notice once after the move.

Manage → Advanced → License: sync and AI employee seats (v1.84.0)

Section titled “Manage → Advanced → License: sync and AI employee seats (v1.84.0)”

Refresh. For an Admin, Refresh asks the vendor for the current licence (RPC license.sync, Admin only) and shows the outcome under the button: updated, already up to date, the licence has been revoked, waiting for the vendor to approve the machine change, no commercial licence installed, a licence file exists on this host but cannot be read (re-import the licence or have an administrator check the file), vendor unreachable, or the sync did not finish (the last two retry automatically). Syncs are spaced at least 30 seconds apart, shared by the dashboard and the automatic checks; a press inside that window says how many seconds to wait. If the request itself fails, the page keeps showing the current licence. For Managers the button only reloads what is displayed.

Seats. The page shows the AI employee limit (a number, or Unlimited) and In use (archived employees count). A row is hidden when the value cannot be determined; the page never shows an estimated number. Anyone who can open the page (Manager or above) sees these rows.

AI avatars. Verified Personal avatars of active member Owners do not use employee seats (one per member); archived AI still count. avatars_exempt is shown separately from seats_used. See AI avatars and licensed seats.

Restart notice. After an Admin presses Refresh, when the sync leaves the service on a different edition than the one it started with, an amber note says a restart is needed to apply the plan fully. AI employee seats and the expiry date apply at once.

How changes arrive. A licence that duduclaw license activate, import, refresh or deactivate writes on the same data directory is applied by the running service within about a minute, without a restart; activate and refresh print a line saying so. The service also asks the vendor whether the licence changed: first 2 to 5 minutes after start, then every 25 to 35 minutes, and it downloads and verifies the licence only when the vendor reports a change. A change the vendor makes (for example to the number of seats) therefore reaches the service within about half an hour. If the vendor’s service does not offer this check, the service asks again once a day and keeps the plan’s regular refresh interval (up to 7 days). Only the running gateway that holds the instance lock performs the check, and only when a licence is installed. When a scheduled sync finds that another sync has just failed or could not reach the vendor, it tries again in about an hour (55 to 65 minutes); when its own request fails, it waits for the regular interval. At start-up the service waits at most 45 seconds for the licence file; past that it starts as if the licence could not be read and applies it as soon as the file can be read. A licence file that cannot be parsed is read again after 15 minutes, when it changes, and on every sync. At most two licence-file operations run at once; others report that the licence file is busy.

Licence file. license.json may be a symbolic link to a regular file, for example a mounted secret. Other special files and files larger than 64 KiB are refused. When the service or the CLI saves a new licence, it replaces the link with a regular file instead of writing through it, and it keeps no backup copy of the file the link pointed to. Responses from the vendor are limited to 256 KiB.

No dedicated control yet; set these in the Advanced config editor (below). Both are read on every turn, so a change applies from the next reply.

File Key Values
config.toml [thinking] display summary (default: timer, tokens and masked thinking text in WebChat), status (timer and tokens only), off (no thinking frames; WebChat still shows its own timer)
config.toml [thinking] max_chars thinking text per turn, default 4000, clamped to 200–20000
config.toml [thinking] anthropic_display summarized (default) or updates (beta, only some Claude models)
agent.toml [model] show_thinking summary / status / off; unset follows [thinking] display. The stricter of the two wins

A config.toml that cannot be read or parsed, or an unknown display value, counts as status. Thinking text is shown to signed-in dashboard users in WebChat and, in messaging apps, only to senders allowed by [thinking] channel_audience (see the Channels section). Details: Thinking display.

Location: Settings → Advanced → Advanced config editor. Admins only; RPCs config.raw.get / config.raw.set.

  • Files: system settings (config.toml), inference settings (inference.toml) and each AI employee’s agent.toml (a real directory under agents/, no symbolic links).
  • Secret masking: values whose key ends in _enc, is key or ends in _key, or contains token, secret, password, passwd, api_key, apikey, widget_key, private_key, credential or service_account_json, every value in headers, otlp_headers and env tables, and URLs carrying a password are shown as «set». Leaving «set» in place keeps the stored value; «set» where nothing is stored is refused. [mcp_keys] is not shown at all (since v1.82 it holds only the gateway’s own internal key; dashboard keys are in mcp_keys.db).
  • Validation: TOML syntax first, with the line and column of an error; then the typed check (the section validators for config.toml, InferenceConfig, AgentConfig). Nothing is written on failure. An employee’s [agent] name cannot be changed here.
  • Document knowledge base: collections, documents, sharing and the access record are managed under Company → Document library in the sidebar; the global [knowledge] limits have no page yet, and their keys (enabled, max_source_bytes, max_source_chars, max_sources_per_collection, max_collections, max_chunks_total, extract_timeout_secs, extract_memory_mb, access_log_retention_days, max_collection_bytes, max_total_bytes, extract_when_unavailable = refuse / run_unsandboxed, auto_retrieve, inject_budget_chars_max) are type-checked here. So are the [knowledge.embedding] keys (provider = local / openai / gemini / none, local_model, cloud_model, cloud_account, cloud_base_url, allow_private_endpoint, batch_size, threads, max_vector_rows, idle_unload_minutes); the disclosure record cloud_disclosure_ack cannot be written here (the save is refused) and is set only by the disclosure dialog of Knowledge base search. An employee’s [knowledge] collections is set under Agents → Edit Settings → Tools & permissions → Document library (only collections shared with it can be picked), or directly in that employee’s agent.toml, which also holds the reply keys auto_retrieve, answer_mode = assist / kb_only, top_k and inject_budget_chars. See the knowledge base page.
  • Conflicts: opening a file returns a hash of its content, which the save sends back. If the file changed in between, the save is refused; reload and edit again.
  • Backup: before writing, the file is copied to <file>.bak-<unix time> (mode 0600); the newest five are kept.
  • Audit: every write records config_raw_edited, at Warning level when it touches [delegation], [acp], or an employee’s [agent], [capabilities], sandbox_enabled, network_access or can_modify_own_soul.
  • Restart list: after saving, the editor lists what needs a restart. In config.toml, [gateway], [server], [telemetry], [logging], [channels], [wiki], [relay] and [decision] are read only at boot; general.name, rotation.health_check_interval_seconds, goal_loop.resume_on_restart and knowledge.max_source_bytes (it sizes the upload route’s body limit) also need a restart; the log level, live data feeds and redaction are not listed when they could be applied live. Saving inference.toml always resets the inference engine immediately. For an employee file only heartbeat.max_concurrent_runs needs a restart.

In Device → Maintenance mode, an Admin selects the duration and capabilities, re-enters their password and types MAINTENANCE. Selecting SSH also requires one technician public key in OpenSSH format. The dashboard checks the input and immediately clears a pasted private key; the gateway and device helper remain the authority. RSA keys must be 3072–8192 bits. Unknown support or an old/partly updated image disables SSH, while diagnostic details remain available. Five wrong passwords lock opening for 15 minutes.

An open window shows ssh duduclaw-maint@duduclaw.local, available private IPv4 addresses, the technician and device fingerprints, expiry, connections and failed sign-ins. Compare both fingerprints with the Admin notification. If no notification channel is available, use the local device screen; this dashboard alone cannot authenticate the device. A configured channel does not prove delivery. Port 22 accepts private/link-local and VPN CGNAT 100.64.0.0/10 sources, not global IPv6; a matching range does not establish trust. The menu permits selected diagnostics and restarting the local model or gateway. Restarting the gateway closes the window and disconnects SSH.

An unconfirmed close stays visible as a warning. Expand Maintenance history for recent window fingerprints and connection events. The UI polls every 30 seconds, so an expiry or device-side close may appear on the next poll. the page works only with an OS image that ships the maintenance account, and it is not acceptance of the assembled device.

Security → Credential protection (v1.76.0)

Section titled “Security → Credential protection (v1.76.0)”

The Credential protection card on the Security page (Admin, both editions) shows one line: “Credential protection: Files” or “Credential protection: System keychain (…)”, followed by what that means. It covers only credentials that let an AI employee act as a specific person; every other setting keeps working the same way whatever the card says.

  • Move to system keychain (security.credential_protection_enable) creates the protected key in the macOS keychain or Windows Credential Manager. A plain Docker or Linux install shows “Files (personal accounts unavailable here)” and no button.
  • Enable credential protection appears instead in Docker started with the person-credentials overlay (Docker guide). The key is then the separate root key handed to the gateway at start-up, and the line reads “Separate key (AI employees cannot read it)”. If the start-up checks fail, the card shows “Separate key unavailable” with the reason (for example a mounted Docker socket) and offers no button. While this key is held, NER redaction, local knowledge-base embeddings and Kokoro voice are off. Replace key there does not replace the root key; see the Docker guide for that.
  • Needs re-authorization appears on macOS after an upgrade or while the keychain is locked. Run duduclaw credentials authorize in Terminal on that Mac and allow the dialog once.
  • Protection key missing / replaced / settings error stop personal accounts. Re-enable (reset: true) makes a new key; saved personal credentials stop working and people reconnect.
  • Replace key (also reset: true) is offered while everything looks fine, for when the key and its record may both have been swapped; it has the same effect as Re-enable. On a macOS build without hardened runtime the line says “readable by programs under the same user account”, because code injected into DuDuClaw could read the key.
  • Turn off (security.credential_protection_disable, confirm: true, typed confirmation) deletes the key; saved personal credentials stop working.

For a protected native Linux service, the card also shows the latest root-key revocation, its UTC time and the exact engine socket finding. Personal accounts pause while that interface is exposed. Automatic recovery defaults on: three successful checks 60 seconds apart trigger a graceful restart and a fresh root key intake, limited to four recovery restarts per rolling hour. Storage errors block recovery. There is no dashboard toggle in this change; set config.toml [credential_protection] auto_recover = false to keep manual restart behavior.

duduclaw credentials status (add --json for scripts) prints the same state from the terminal. Details: Security defense.

Direct-binding history privacy: [people] bound_history_privacy = true is enabled by default (missing/invalid values stay restricted). Admins may explicitly set false in the advanced editor for migration; this restores old broad Viewer/Operator history. Owner/Admin and chat/call permissions are unchanged. See feature 68 for search/export/attachment scope and NER limits.

Security → Outgoing data guard (v1.77.0)

Section titled “Security → Outgoing data guard (v1.77.0)”

The security page offers four values for config.toml [security] egress_guard: Off (off), Observe only (shadow, default), Ask before sending (ask) and Block sending (block). Saving uses the existing locked system.update_config writer; calls read the setting at the guard. The per-employee agent.toml [capabilities] egress_guard can only raise the restriction (off < shadow < ask < block). A missing config.toml means the default (Observe only); invalid or unreadable configuration blocks the affected call.

After a successful private MCP read in a turn, the guard checks outgoing calls. Observe only records would_ask and source tools while allowing execution. Ask shows a single-use approval with destination, expanded complete content, source tools and expiry; a current dashboard Admin can approve it; eligible mail_send requesters can also confirm in the original one-to-one conversation or authenticated dashboard WebChat as described below. Block refuses. This covers platform MCP calls and the third-party MCP proxy, not Claude CLI built-ins or other native runtime tools. Tracking is per turn. See Outgoing data guard.

The Admin-only observation report below this setting lets Admins select 7 or 30 days to see distinct would-be approval tickets, employee/tool/source/date breakdowns and CLI built-in versus MCP counts. Refusal observations do not increase the ticket estimate; no observations or a collection failure is not proof of safety. Lease health is available through duduclaw doctor; offline recovery uses duduclaw egress-leases list and clear with the printed confirmation token after all gateways and outgoing actions have stopped. See the recovery section of the outgoing-data guide.

In Outgoing data guard, Recipient guard controls config.toml [security] recipient_guard: Off (off), Observe only (shadow, default) or Ask before sending (ask). Unknown values behave as Ask. Saving uses the locked system.update_config writer. This setting applies even if the employee has not read private data.

An Admin edits Tools & permissions → Allowed recipients on the employee page. Add exact entries such as line:U123, telegram:456 and mail:ops@example.com; these write [capabilities] recipients. The employee-level mode can only tighten the global mode; Use global minimum adds no restriction of its own. Both fields are Admin-only and protected from employee edits.

The gateway adds the current source conversation and verified users.db Owner bindings automatically. Proactive notification settings never count as ownership or as an allowlist. Scheduled notifications have no source conversation and are checked again when firing, so add required schedule targets explicitly. Outside recipients are recorded in Observe only; Ask requires a single-use dashboard Admin approval, with the mail-requester exception below. When outgoing-data protection also asks, one card shows both reasons. See Server-bound recipients.

Let the requester confirm outgoing mail writes config.toml [security] mail_requester_approval through the locked, Admin-only system.update_config writer. It accepts a boolean and defaults to true. A missing file or key uses that default. An unreadable or malformed configuration, an invalid value, or false means dashboard-Admin-only approval.

When enabled, only the gateway-attested, verified company account that started the turn may confirm a held mail_send in the same one-to-one conversation or authenticated dashboard WebChat, and only while it has Operator access to that AI employee. The card shows full recipients, subject, body summary and private-read status. Group conversations, unverified/external senders and automated turns cannot decide; a dashboard Admin can still decide. This changes no other outgoing tool. Single-use argument binding, dispatch-time revalidation and expiry-as-deny still apply. See the complete rule. Only an adapter-attested one-to-one conversation or authenticated dashboard WebChat is eligible. Group chats and unknown chat types still need a dashboard Admin; public WebChat widget visitors are never eligible. Channel notices for ineligible requests contain no recipients, subject or body; full content stays in the dashboard.

Off by default. Admin only. The section is written only through its own settings call; the advanced config editor and the generic settings writer refuse any change to [approval.chat_admin], so the feature cannot be turned on without the risk screen. Turning it on needs only the risk acknowledgement (“I understand”), no password. See the complete rule.

Control config.toml [approval.chat_admin] Notes
Approve in chat apps enabled (default false) and enabled_ack = { by, at } enabled_ack is written by the settings call with the Admin who acknowledged the risk; if it is missing or that user is no longer an Active Admin, the feature is off
Channels channels (default ["telegram", "googlechat"]) Only Telegram and Google Chat in this version; other values are ignored with a warning
Categories that need a second confirmation step_up_exempt_kinds (default empty = every T2 category needs it) Each entry is a T2 category to exempt; exempting one needs a per-category risk acknowledgement and is audited; switching it back is audited too
Confirmation method step_up_methods (default ["web"]; "dm_totp" optional) Web = one-time dashboard link with password + authenticator code; dm_totp = 6-digit code in the Telegram private chat (not offered on Google Chat; the code message is deleted)
Card validity card_valid_hours (default 168, 1–720) Never longer than the request’s own expiry

Any read or parse error, an unknown key or value turns the feature off; the screen then shows every T2 category as needing a second confirmation and refuses to save until the file is fixed. Every change is logged and audited as approval_chat_admin_settings_changed. The section also lists Admins who have not proven a chat account yet and whether the confirmation link is usable (it needs an external https address).

My Connections → Chat account links (administrators). Generate a code, paste it in a private chat with the listed bot or Chat app within 10 minutes, then come back and confirm “this is me”. A binding filled in by an Admin shows “not self-confirmed” on the Members page. Cancel chat approval eligibility clears only the proof.

approvals.list {status?, limit?, agent_id?, action_kind?} accepts status: "pending" (default) or "decided". Decided history requires a live Admin, defaults to 50 rows and is newest first. limit must be 1–100; pending requests have no limit unless supplied. approvals.list and approvals.get {id} include decided_at and nullable execution_result on visible rows. For admin_ai_settings, the latter is {outcome, reason, completed, not_executed, message, items:[{seq,result,error}]}; outcome is complete, partial or voided. Other categories return null; restricted card projections can also return null.

approvals.chat_admin.get {} includes the admin_ai_settings category in kinds[], with label keyed by zh-TW, en and ja, plus an impact string explaining that changes affect multiple AI employees’ future behaviour. The current impact string is in Traditional Chinese.

Successful POST /api/me/approvals/step-up returns {status:"done", decision:"approve"|"reject", decided_by_display:string|null}. The old decided_by response field is removed; show decided_by_display.

Action claim check (advanced config editor only)

Section titled “Action claim check (advanced config editor only)”

config.toml [action_claims] mode has no switch on a settings page; an Admin sets it in Settings → Advanced → Advanced config editor. Values: "notice" (default) or "shadow". A missing file, section or key uses the default; the editor refuses any other value, and a hand-edited unknown value is read as "shadow" with one warning in the gateway log. The value is read on every reply; no restart is needed.

  • notice: when a chat reply says an email was sent, a calendar event or task was created, or a spreadsheet or Google Doc was written, and this conversation has no success record for it, one short notice is added to the reply. Only company staff see it (signed-in dashboard accounts in WebChat, and one-to-one messaging-app chats with a verified Admin or an account bound to the employee); visitors, group chats and unverified senders get the reply unchanged.
  • shadow: record only. The reply is never changed.

Both modes write each unbacked claim to the gateway log and the security audit log. See Action claim check.

Disconnecting a channel, Google account, database source or Remote MCP automatically prepares a memory-deletion request. A disconnect success and a completed deletion are separate results.

  1. Disconnect the service in its settings. The response offers View approval when a batch is ready. If [memory] forget_source is off or its setting cannot be read, no plan is created; planning failures are also reported separately.
  2. An Admin opens the inbox card and reviews the counts for each AI employee. A batch expires after seven days. A deletion scope that grows before execution needs another approval; a smaller scope can proceed.
  3. After approval is saved, the gateway queues durable background work. It retries unfinished work and resumes after a restart. There is no receipt while deletion or its required follow-up is incomplete.
  4. Open System → Security → Data deletion receipts, expand a connection and choose Download JSON. Refresh the list to see newly completed work. Counts distinguish deleted memories, key facts and archive copies from unattributed and retained system rows.

Google personal connections are attributed to the user whose credential was used, while the receipt groups deletions by AI employee. Old memories without a connection stamp cannot be assigned retrospectively. Conversation text, tool_calls.jsonl, wiki and backups are outside this deletion. Remote MCP’s existing forget option removes the saved connection entry; the independent forget_memories option controls the memory request and defaults to enabled.

Non-Google OAuth revocations currently have no connection attribution and report that forgetting was skipped. Clearing the configured Google credential path does not itself revoke a separately stored OAuth authorization; disconnect that authorization through its own control.

Connection stamps keep their origin and role. Corroboration alone never grants deletion ownership. A memory stays if another connected source also supplied it; plans, the Admin card and receipts report this per employee as retained_shared. Deletion requires every owning connector to have been disconnected and no independent live origin. The second disconnect can therefore select a previously shared memory. Unknown ownership (including old stamps whose role cannot be recovered) is retained and counted as unattributed. Derived memories undergo the same ownership check. Connection state is checked again before planning and applying, and reconnecting through the platform invalidates old disconnect evidence before publishing the connection.

Approval binds the sorted identifiers of orphan entity embeddings, not just their count; swapping one entity for another requires a new approval. Unfinished jobs use a durable attempt count and due time, with 60/120/240/480-second backoff. Due jobs are selected fairly. After five consecutive failures or interrupted attempts, a job is quarantined. The Admin can see a content-free failure reason under Data deletion receipts and choose Retry; retry retains the existing approval and rechecks scope, requiring a new approval if it grows.

Admin: System → Security → Credential audit shows metadata, filters, service edits, false-positive marking and an audited CSV export of the current page. The adjacent inventory lists system-configured credentials read-only. Set [security] chat_credentials = "audit" | "mask" through system.update_config (security.chat_credentials) or the configuration editor. The default is audit; unknown values are handled as mask. Audit mode leaves the original conversation text intact. Mask mode changes newly detected inbound values, not old history. Both mask detected values in derived stores. See Credential audit for detection limits and registration quotas. Never put real credentials into a service name or note.

Administrators can open the resumable setup wizard at /manage/integrations?tab=google. Choose company delegation, Internal OAuth, Apps Script or personal External OAuth. The advanced credential form remains reachable. Confirm a path replacement before saving; stored OAuth tokens remain until an explicit disconnect. The connection test reports each service separately, and scope-only Sheets/Docs checks remain unverified. Follow Connect Google for Console steps, remote-host tunnels and Testing expiry.

The Drive-write step in google.identity.test checks a company OAuth connection using its separate home write credential. The administrator must first authorize company Drive writing; the ordinary company OAuth connection alone is insufficient. Apps Script remains unsupported for this write check.

The Inbox “To do” tab contains unresolved actionable items. Deadlines come first, followed by high risk, employee questions and tasks waiting for your decision, and budget notices. “Waiting too long” shows actionable items waiting at least a day. Select by click or keyboard; moving the pointer does not open or mark an item read. Pending approvals, installation requests, and tasks waiting for your decision must be resolved before archiving. Other items can be archived from any tab, including unfinished work. Undo with ⌘Z or Ctrl+Z anywhere on the Inbox page, except while editing text; U marks unread. Resolved items show the outcome without decision buttons, and decision buttons stay at the bottom on desktop and mobile. The list and detail scroll independently within the available screen height; selecting another item opens its detail from the top. Home uses the same urgency sort, including approval deadlines and risk. The sidebar, mobile bell, Inbox header, and Home share one actionable count, excluding locally processed or archived items. The mobile bell remains available at zero. Employee questions are checked for the first 12 employees; the Inbox reports limited coverage and loading failures.

The work timeline answers who finished what, who is stuck, and what needs your decision in the selected period. Click Completed, In progress, Waiting for you, or Unfinished to filter employee cards. Employees with waiting decisions appear first, longest wait since the last update first, followed by unfinished, active, and idle employees. Task titles open the task. Time since the last update is a guide to waiting time, not the exact time a status began. “View time distribution” is collapsed initially: bar colours and distinct marker shapes show status, and bars show how long tasks were open rather than hours worked. Task bars support keyboard and touch.

[auth]
mfa_enforced = true

New team installs enforce MFA by default. Existing installs keep their current policy, including legacy stores without MFA policy records. An Admin enables or disables enforcement with the dashboard toggle under Users → Two-factor login management. On a new team install, after password login, the first Admin can enroll an authenticator, passkey or Email (when SMTP or licensed relay is available) from the dashboard with First administrator setup, which always needs a one-time setup code, wherever the dashboard is opened. Get the code on the host: open a terminal on the computer that runs DuDuClaw and run duduclaw ops users mfa-setup-code (Docker: run it inside the container, for example docker exec -it <container> duduclaw ops users mfa-setup-code). The command prints the code only to an interactive terminal; it refuses when its output is redirected to a file or pipe, and inside AI sessions. The gateway never prints or logs the code: at start it only logs one line saying that first administrator setup is waiting and which command to run, so the code never reaches journald or docker logs. The code is valid for 30 minutes and works once; a new code replaces the old one. No enrollment code from another Admin is needed. There is no “this computer” shortcut: a reverse proxy on the same host makes every connection look local, so the peer address proves nothing. This first-time setup is offered only to the first (bootstrap-owner) Admin, only while enforcement is on and no Administrator has any second factor, and only once per installation: as soon as an Administrator has a second factor it closes for good (any outstanding setup code is void), and removing that factor, demoting, suspending or deleting Administrators later does not open it again; the host command then refuses to issue codes. After that, recover an Administrator who lost their second factor with duduclaw ops users mfa-reset <email> on the host. If none of these works, a host operator can still issue an enrollment code with duduclaw ops users mfa-enrollment-code <email> <challenge_ref>. For existing installs with enforcement off, check mfa.overview, channel delivery and host recovery before enabling. Both dashboard config writers require a current active Admin. Enrollment and later credential changes invalidate older JWTs through a per-user epoch; enforcement alone lets existing access tokens expire naturally and refuses unenrolled refresh. Legacy shared-token WebSocket login is refused when enforced.

Configuration is an in-memory snapshot, loaded at boot and after dashboard writes; external file changes reload every 30 seconds. A failed reload warns and preserves the last good value; every edition with no valid snapshot fails closed; an existing unreadable or corrupt policy store also refuses boot. A missing [auth] table or key retains the durable policy; new team provisioning explicitly records true in both config and the identity store. Enforcement follows the stored policy in every edition, including license expiry, license fallback and an explicit Personal override; only an Admin deliberately turning it off disables it. Fresh Personal installs without a policy store stay unenforced. Local auto-login cannot bypass enforced MFA. Host recovery works under Personal too. See Security defense for proof fields, session binding and duduclaw ops users mfa-reset / mfa-enrollment-code host recovery. Key rotation is out of scope.

Before enabling, review channel binding times in mfa.overview; only verified bindings predating enforcement qualify as enrollment proof. A password holder who planted a binding before enforcement cannot be detected. Read the returned 12-character challenge_ref to another Admin, who issues a code for that pending challenge (users.mfa_enrollment_code {user_id,challenge_ref} or host duduclaw ops users mfa-enrollment-code <email> <challenge_ref>). Failed reloads are visible in mfa.overview.policy and system.status.mfa_policy; a last-good false value remains false. Both config writers re-check Admin under the write lock. CLI imports also check the live database policy before moving data; a team import that replaces users.db or its SQLite sidecar files must retain an explicit, unchanged mfa_enforced key, so the archived database cannot silently change enforcement.

CLI home imports validate and unpack one private snapshot of the compressed archive (maximum 8 GiB). Both phases enforce at most 200,000 tar entries, 2 GiB per entry and 8 GiB total uncompressed content, using the same defaults as backup restore. Raw headers are checked before tar decodes GNU/PAX metadata; each metadata entry is limited to 1 MiB, and effective sizes include PAX overrides. Third-party PAX archives whose size overrides prevent raw-header traversal may be refused; GNU long paths produced by export remain supported. Paths are compared using NFC normalization, then uppercase and lowercase, with trailing dots and spaces removed from each component. NFKC is not used: fullwidth config.toml does not alias config.toml. Protected-file aliases (such as Config.toml.) and duplicate destinations are rejected on every platform. Only Windows refuses colons (including NTFS alternate streams), DOS reserved names and possible generated 8.3 names such as CONFIG~1.TOM; Unix keeps legal names such as aux and notes/2026-11-04T07:00. Every platform refuses backslashes and non-normal path components. All refusal checks and required durable strict-config publication precede moving existing agents with --force; a publication failure leaves agents/ in place. When replacing the identity database or SQLite sidecars while enforcement is active, the archived configuration is skipped even when its text is identical. Windows uses a write-through replacement.

Dashboard staging accepts only one pending restore. Restart the gateway to apply it before staging another; there is no restore-cancel RPC. Each request extracts and validates in a fresh random directory while holding the per-home restore lock, then syncs every regular file and directory before publishing by rename, syncs the home directory, durably writes the pending marker and syncs home again. Only then is the upload deleted. Windows syncs files only because std does not support directory fsync. Failure removes only that request’s temporary data. If marker publication fails after the directory was published, the data is retained and further overwrites are refused with an administrator-check message.

Every boot attempts singleton ownership exactly once, early, even without a pending marker. A failed early attempt is never retried in that process, including when a marker appears later and the other gateway exits. Pending backup restores require exclusive ownership of the gateway data directory before reading the current policy or changing staged files. If another gateway is running on that directory, the restore is deferred with its pending marker and staged data unchanged. The gateway continues booting in its existing degraded mode, with workflow reconciliation, dispatch and sweep disabled for that process’s entire lifetime. It does not acquire the lock later if the other gateway exits; restart it to apply the pending restore. Restore keeps the current MFA enforcement policy and the live lock directory; archived lock files are not restored. This prevents an Admin toggle from completing between the policy check and the swap.

Email codes, passkeys and keep me signed in (since v1.80.0)

Section titled “Email codes, passkeys and keep me signed in (since v1.80.0)”

In Settings → Account, you can keep the existing authenticator app and add Email verification code or one or more named Passkeys. Enter your current password before adding or removing a method. Email setup sends a six-digit code to the account email; the factor is activated only after successful verification. The system prefers the existing [channels.email] SMTP sender (smtp_host, from_addr and, when required, SMTP credentials). Without SMTP, DuDuClaw can relay verification codes for a valid paid license bound to this machine, excluding NFR licenses, when relay is enabled below. Factor changes are audited; security-change notices still use configured SMTP only.

Set this in the gateway’s config.toml:

[mfa]
email_relay = true

email_relay defaults to true. Setting it to false disables licensed relay only; it does not disable your SMTP sender or MFA enforcement. OpenSource, Hobby trial, Partner, NFR, unbound OEM, invalid and expired licenses cannot use relay. Partner licenses remain excluded even when a legacy license records nfr = false. Configure SMTP for these installations. Relay uses the official host compiled into the gateway, independently of license-refresh settings. DUDUCLAW_CONTROL_URL, the license’s control_url, configuration and environment overrides cannot change the relay destination. Its dedicated transport uses HTTPS on port 443, pins public DNS results, refuses proxies and redirects, times out after 10 seconds and caps responses at 4 KiB.

The first eligible send enrolls the installation with a challenge–response exchange: the gateway requests a single-use challenge for its subscription, then sends the signed license, machine fingerprint, challenge and issue time with an Ed25519 signature from the installation key (see below). The server derives the installation ID from the approved public key. When enrollment replaces an existing relay credential, the request also proves possession of that credential with an HMAC over the same signed message. Response bodies are held in fixed-capacity buffers that are cleared on release; copies made inside the HTTP and TLS libraries cannot be cleared. The returned relay credential is saved in <home>/state/mfa-relay.json with owner-only access: Unix uses mode 0600, and macOS also rejects extended ACLs; Windows uses a private DACL and pinned handles. Writes use pinned directory handles, refuse symbolic links and publish by atomic rename. Subsequent sends contain only the recipient, code and locale; HMAC request signatures bind the method, path, timestamp, nonce and exact body. They do not send the license again. All enrollment attempts, including failed first enrollments, share a persisted limit of one attempt per hour; restarting the gateway does not reset it. On 403 relay_not_allowed, a send can re-enroll and retry at most once, if that hourly limit permits it. Each subscription keeps one active relay credential, and only the installation whose key the account owner approved can enroll.

Installation key and license-console approval

Section titled “Installation key and license-console approval”

Each installation has its own Ed25519 key in <home>/state/installation.key (a 32-byte seed with the same owner-only protections as the relay credential). It is separate from identity.key. The key is created only when the file does not exist: when you activate a license from the CLI, when the license is refreshed (automatically by the gateway or with duduclaw license refresh), or by duduclaw license installation-key. An unreadable, malformed or unsafe file (wrong owner or permissions, symbolic link, extra hard link, extended ACL) is reported and never replaced; the relay stays unavailable until you fix or restore it. AI employees cannot read anything under state/ through the file guard. Include the key in home-directory backups.

License refresh and rebind requests send the public key as installation_pubkey. The relay is available only after the license carries the same signed public key. A key the license service has not seen creates a pending request in the license console and the account owner is notified. Paid features keep working while the request is pending, and SMTP can still deliver codes; only the relay waits. Every existing installation must be approved once.

Before approving, compare fingerprints. On the gateway host, run:

終端機視窗
duduclaw license installation-key

Line 1 is the 16-character fingerprint, for example 1a2b-3c4d-5e6f-7a8b: the first 16 hexadecimal characters of SHA-256 over the raw 32-byte public key, in groups of four. Details (public key, approval state) go to stderr. While approval is pending, administrators also see the fingerprint under the Email explanation in Settings → Account. Approve only when the console shows the same fingerprint. A request you do not recognize means someone else has a copy of the license file; reject it.

If the key is lost (for example after moving to a new machine without the home directory), the next refresh generates a new key and requests approval again. The signed in account owner can pre-authorize one fingerprint in the console for 24 hours so that refresh is approved automatically. If only the relay credential is lost, use Reset relay credential in the console; the next enrollment counts as the first one.

When the relay is waiting, the Email explanation says either that the installation awaits approval (no key in the license yet) or that this installation’s key differs from the approved key (for example after a restore to another machine).

Relay uses a fixed verification-code template, without custom subjects or body text. Codes and relay secrets are never logged. Gateway recipient logs use a domain-separated HMAC with the existing per-home audit key, or the fixed value unavailable when that key cannot be loaded. The control plane applies additional delivery limits. If delivery is too frequent, wait before retrying; for other delivery failures, retry later or contact an administrator. A code already issued locally can still be verified if delivery later becomes unavailable. Local eligibility does not establish delivery; real relay delivery still needs acceptance testing.

When Email is disabled, the dashboard explains that neither a configured sender nor eligible licensed relay is available, that relay is disabled, that the license type does not include relay (NFR or unbound OEM), or that the installation key awaits approval in the license console, and tells an administrator to configure SMTP in the meantime. Disabled passkeys distinguish an insecure connection from an unsupported browser. For an http:// LAN address, use the configured HTTPS dashboard URL or localhost on the gateway host; for an unsupported browser, switch to one that supports passkeys.

Each option needs the following:

  • Authenticator app: an app that generates six-digit TOTP codes. Required enrollment also needs the displayed independent channel/Admin proof.
  • Email verification code: access to the account mailbox and a configured SMTP sender. An Admin opens Settings → Advanced → Advanced config editor (/app/system/settings/advanced#configRaw) and configures [channels.email] (smtp_host, from_addr and any required SMTP credentials). Without it, the disabled option explains where to configure delivery.
  • Passkey: a WebAuthn-capable browser and HTTPS, or HTTP on localhost. An http:// LAN address is not a secure context; the disabled option directs you to HTTPS. An unsupported browser receives a separate explanation. The server must also have its passkey origin/RP configuration, as described below.

The explanations appear at login/enrollment and in account settings. Email availability reports only no_smtp when the sender is missing; it does not check whether mail was delivered.

After your password, choose an enrolled verification method; the last successful method is selected by default. Email codes expire in 10 minutes, are single-use and allow five attempts for a challenge. Resending is limited to once per minute and five times per account per hour. Passkeys use your device’s screen lock, biometric verification or a security key. Set [dashboard] public_url to the public dashboard URL and open that exact HTTPS origin; HTTP only works on localhost. Each passkey has a name and can be removed separately. Keep another method available if you lose access to your device. A first passkey enrollment does not issue recovery codes; existing authenticator recovery codes remain valid. First Email enrollment shows recovery codes once, and you must acknowledge saving them before continuing.

Enforcement accepts any enrolled method and refuses removing the last one. Existing authenticator enrollments and recovery codes do not need migration by the user. Under enforced MFA, first Email enrollment requires the same independent channel/Admin proof (or an eligible first-Administrator setup code) as authenticator and passkey enrollment. Submit the enrollment proof as proof_code before an Email code is sent; mailbox access alone is insufficient. The proof is rechecked in the transaction that activates the factor and issues session tokens. Expired, reused or unverified proofs and changed credentials are refused. Adding Email from an already MFA-verified session needs no independent enrollment code; voluntary enrollment with enforcement off is unchanged. Google sign-in still cannot use Email as a second factor. Channel-code-first enrollment also requires the current password. An Admin reset clears every factor and remembered device. Resetting a staff account can still be confirmed with the acting Admin’s current password or a fresh authenticator/recovery code. Resetting another Administrator (including one demoted in the last 7 days) needs the acting Admin’s own second factor: a fresh authenticator code or unused recovery code; the password alone is refused. The authenticator check does not accept a passkey, and a first passkey enrollment issues no recovery codes, so an Admin without an authenticator app (passkey-only or Email-only) confirms with Password and a code sent to your email: the current password, then a six-digit code mailed to the Admin’s own address (valid 5 minutes, single use, bound to that target, same send limits as Email sign-in codes; needs SMTP or the licensed relay). The acting Admin must also have been an eligible Administrator (Admin with a second factor) continuously for the last 7 days according to the Admin eligibility log; a newer Admin, one whose own factor was reset in that window, and every Admin during the first 7 days of a new install are refused. During the first 7 days of a fresh installation no Administrator can reset another Administrator’s two-factor login from the dashboard; only the host command duduclaw ops users mfa-reset <email> can. Later, when the only other Administrator is newer than 7 days, use the same host recovery. These rules are enforced by the gateway for every caller; unreadable factor state or eligibility log refuses. Every attempt, allowed or refused (including the earliest refusals: account data or sign-in settings unreadable, no dashboard session, too many attempts), leaves exactly one record with an attempt ID, actor, target, outcome and reason, never a password or code. The record is first written to an audit outbox in users.db (a completed reset and its record are committed together), then delivered to the security audit log and removed only once delivered; if the security audit log cannot be written, the record waits and is delivered after the next reset attempt or at gateway start (a redelivered record carries the same attempt ID). If users.db itself is unavailable, the refusal goes straight to the security audit log. The outbox holds at most 1,000 records; when full, new reset attempts are refused.

The login checkbox Keep me signed in is unchecked by default. Checking it uses a rotating browser cookie with a default sliding lifetime of 180 days: each successful refresh resets expiry to that use plus the current number of days. In Security → Keep me signed in, an Admin can save an integer from 1 to 365 (default 180). The policy is stored durably in users.db; missing or invalid reads fall back to 180, never unlimited. Changes leave existing expiry dates intact until the next successful renewal, which sets expiry to last use plus the new value, including when shortened. The prototype [auth] remember_days setting is no longer read. Leaving the box unchecked keeps the existing session behavior. Signed-in devices in account settings shows remembered devices, their creation and last-use dates and the recorded IP, with individual revocation and Sign out everywhere. Password changes, factor changes/reset, account status or role changes and deletion revoke remembered sessions. Signing out revokes the current device.

An Admin can open Users → Edit user and confirm Logout from all devices to revoke all ordinary and remembered sessions for that account. Disabling or removing the person also revokes sessions. Existing access tokens are rejected and open sockets stop at their existing live revocation checks (including the next heartbeat); there is no wait for the 180-day expiry. The Admin-only RPCs sessions.policy, sessions.policy_update and users.revoke_sessions recheck current authority; mutations record actor, target and outcome without credentials in the auth audit log.

Control Storage / RPC Takes effect
Security → Keep signed in for (days), Admin only users.db → remembered_policy_state.days; sessions.policy / sessions.policy_update No restart. New sign-ins and the next successful renewal; 1–365, default 180.
Users → Edit user → Logout from all devices, Admin only users.revoke_sessions; credential epoch and remembered-family revocation, auth audit Revocation commits immediately; open sockets enforce it at their existing checks. Confirm before applying. Self-sign-out uses the existing HTTP account endpoint so the success response survives socket revocation.

Cookie-authenticated session requests require X-DuDuClaw-CSRF: 1 and an exact Origin match, including scheme and effective port. Built-in HTTP loopback origins use the gateway’s listening port; reverse proxies must list their complete https://host[:port] Origin in [gateway] allowed_origins (or DUDUCLAW_ALLOWED_ORIGINS). Bare host entries are insufficient for these endpoints. Refresh and logout reject cross-port pages and ordinary HTML forms before changing a session.

Refresh uses an authenticated family generation, with one current token hash per family; authentic older generations revoke the family, while forged generations cannot revoke it. The separate owner-only users.remember-key signing key must be backed up and restored together with users.db; a missing key with generation sessions or an invalid key fails closed. Prototype sessions created before generation support are revoked on migration. Each account may retain at most 20 active devices and 100 total family records, including revoked devices. At the retained-record limit, use ordinary sign-in until records expire. Records are pruned on the next successful remembered sign-in after their most recently renewed expiry plus seven days. Account-authenticated dashboard and WebChat sockets have a maximum 24-hour lifetime and reconnect to authenticate again; existing shorter MFA expiry checks still apply. This bound prevents old sockets from surviving the revocation-retention window.

The persistent credential is not available to JavaScript or stored in localStorage: the cookie is HttpOnly, SameSite=Strict, scoped to /api/session and Secure on HTTPS. The server stores only hashes, rotates on use and revokes a family on reuse of an older credential. Cookie endpoints check Origin; dashboard WebSocket upgrades also validate Origin.

Acceptance remains pending for real SMTP and licensed-relay delivery, browser/platform passkey registration and login, cross-platform Rust builds, dependency audit and full gateway integration tests. UI code and written tests alone do not establish those results.

In Settings → Account, Enterprise users, and Personal users under enforcement, can choose Set up two-factor login, enter their current password, scan the QR code (or manually enter the secret) in an authenticator app, and confirm a six-digit code. Save the ten recovery codes by copying or downloading them, then check I saved my recovery codes to continue. The secret and recovery codes stay in component memory and disappear when you leave; downloading or copying is an explicit user action. Enrollment and disabling MFA replace this session’s tokens and keep its connection open; other sessions are retired. The recovery codes remain on screen until you confirm they are saved or leave the page. Token issuance and the MFA change commit together; an issuance failure leaves enrollment or disabling unapplied and can be retried. Replacing recovery codes and disabling MFA require a fresh authenticator code or unused recovery code. Disabling also requires the current password. Enforcement prevents disabling MFA. In Settings → Account, Enterprise users can choose Set up two-factor login, enter their current password, scan the QR code (or manually enter the secret) in an authenticator app, and confirm a six-digit code. Save the ten recovery codes by copying or downloading them, then check I saved my recovery codes to continue. The secret and recovery codes stay in component memory and disappear when you leave; downloading or copying is an explicit user action. Enrollment and disabling MFA replace this session’s tokens and keep its connection open; other sessions are retired. The recovery codes remain on screen until you confirm they are saved or leave the page. Token issuance and the MFA change commit together; an issuance failure leaves enrollment or disabling unapplied and can be retried. Replacing recovery codes and disabling MFA require a fresh authenticator code or unused recovery code. Disabling also requires the current password. Enforcement prevents removing the last enrolled factor.

Password and channel-code login keep the original form until the gateway requests a second factor. Use an authenticator code or switch to a single-use recovery code. A TOTP login challenge lasts five minutes and allows at most five attempts. Required enrollment asks for the independent channel/Admin code and current password (required for channel-first login); give only the displayed enrollment reference to the Admin, never the enrollment token. The first Administrator of a new install sees First administrator setup instead (see above), which shows the host command; after entering the setup code it prints, the enrollment code field disappears.

Admins use Users → Two-factor login management to review enrollment and channel verification times, reset another account (see the confirmation rules above; the form offers only the confirmations allowed for that account), or issue a code for a user’s pending enrollment reference. Self-reset and self-issuance are unavailable. After a reset the person is notified by email (SMTP) and by their verified channel links; if neither reaches them, the panel shows a warning for 30 days so you can tell them directly, and the failure is recorded in the security audit log. The panel also suggests adding a second Administrator when there is only one. The enforcement switch shows how many accounts lack enrollment, warns of blocked sign-ins, and requires typing the displayed confirmation phrase. The action is fixed when confirmation opens; refreshing clears it. The switch RPC requires expected_state and refuses a stale value under the config lock. Degraded policy reloads show a warning and disable the switch. New team installs start with enforcement on. For existing installs that still have it off, verify enrollment, channel delivery and host recovery before an Admin enables it. Personal shows account MFA settings when enrollment is required or the account is already enrolled; unenrolled accounts with enforcement off still hide them. Under enforced Personal, Admins can reach the same management panel and deliberate policy toggle from System → Security → Two-factor login management. Host recovery with duduclaw ops users mfa-reset <email> remains available in every edition and does not turn the policy off. Admins use Users → Two-factor login management to review enrollment and channel verification times, reset another account (see the confirmation rules above), or issue a code for a user’s pending enrollment reference. Self-reset and self-issuance are unavailable. The enforcement switch shows how many accounts lack enrollment, warns of blocked sign-ins, and requires typing the displayed confirmation phrase. The action is fixed when confirmation opens; refreshing clears it. The switch RPC requires expected_state and refuses a stale value under the config lock. Degraded policy reloads show a warning and disable the switch. New team installs start with enforcement on. For existing installs that still have it off, verify enrollment, channel delivery and host recovery before an Admin enables it. Personal supports voluntary enrollment; local auto-login remains unchanged.

The calling connection now receives new tokens with the successful enrollment/disable response and is rebound before the normal send gate runs. HTTP enrollment also issues its tokens before the enrollment transaction commits. Release acceptance still requires live browser/WebSocket verification, including keeping codes visible beyond a heartbeat and retiring another session; in-process handler and frontend tests do not establish that acceptance.

auto tries installed Piper → installed Kokoro → MiniMax → OpenAI → Azure, subject to product policy. Explicit providers use only that provider; off disables synthesis. duduclaw doctor lists available providers without making synthesis requests.

Download Kokoro from Settings → Voice (about 134 MB, Apache-2.0). Assets and the shared ONNX Runtime are verified during installation; an interrupted or cancelled download starts over on the next attempt. Weights are not bundled in the binary. The model lives under <home>/models/kokoro-zh/. Default voice: zf_001; alternatives: zm_010 and af_maple for pure English. Chinese speech has a mainland accent; polyphonic words may be mispronounced. Traditional characters and numbers are normalized, but the pronunciation rules do not cover every word. Input is capped at 2,000 characters and split into chunks of at most 500 tokens, joined with 150 ms silence. Kokoro produces 24 kHz WAV; Telegram receives it as reply.wav through sendAudio.

Azure sends the text to Microsoft. Set AZURE_SPEECH_KEY and AZURE_SPEECH_REGION in the gateway environment. Default Chinese voice: zh-TW-HsiaoChenNeural; default English voice: en-US-AriaNeural. Azure returns MP3. tts_voice can select a supported provider voice.

Admin RPCs: voice.kokoro_status reports installation, missing files, size, runtime readiness, progress and errors; voice.kokoro_install starts an idempotent background install. The Voice download card polls the status and displays install errors.

Send another WebChat message during a reply

Section titled “Send another WebChat message during a reply”

You can keep typing and send another message while an AI staff member replies. In the same conversation, supplementary messages show “Queued — supplements will be handled together after this reply”. When the running reply ends, the waiting supplements are dispatched together in arrival order as one following turn. Each original message keeps its own history row and client message ID; no text is injected into the reply already in progress. A batch contains at most 32,000 characters, including \n\n---\n separators, and at most the existing eight attachments. Messages that do not fit remain whole for the next batch. A single message over 32,000 characters runs alone without truncation. Commands keep their own turn, and a different login session or employee starts a separate batch. Public widgets and odoolivechat: sessions retain their previous dispatch behaviour. The queued label clears when dispatch begins. turn_merged identifies supplements claimed by the leading message; each follower also receives a terminal turn_consumed with outcome: "done" | "failed" | "cancelled" on its original connection, so another tab can settle its waiting state. An @ call routed to another staff member can use a separate processing lane.

Use Cancel queued message on a waiting message to cancel that message, or Stop current reply beside Send to stop the active reply. The server acknowledgement clears the waiting indicator and distinguishes a cancelled waiting message from a stopped reply. Once supplements have been claimed by one dispatch, they are stopped together through the leading turn; they cannot be cancelled individually. Existing attachment support is unchanged.

By default, the server allows up to three in-flight messages per user, including queued messages. If the limit is reached, the message shows a localized explanation with the applicable limit and separate running/queued counts, and retains its text. Each refusal is recorded in the gateway log. Use Copy to composer to edit and send it again after a reply finishes.

An Admin can select Send invitation email under Manage → Members → Add member, review the email preview, and create the account. The invited account has no usable password. For an existing active account with no password, use Resend invitation. The list shows pending and expired invitations.

Set [gateway] public_url = "https://ai.example.com" in config.toml to the dashboard’s externally reachable base URL. If absent, the dashboard supplies its own browser origin as the Admin’s public_url parameter. The gateway never builds links from HTTP Host or Origin headers. A missing URL returns public_url_required; an invalid configured URL is refused. Every invitation public URL requires HTTPS, including localhost, 127.0.0.1 and ::1.

Invitation email uses the existing SMTP configuration under [channels.email], including encrypted SMTP credentials. This repository has no Resend or SendGrid transport. The message contains a single-use link valid for seven days. If sending is unavailable or fails, the Admin sees a copyable link once; successful delivery does not return the link. Close the result to remove the displayed link. Reissuing revokes earlier unused links and retains their audit rows.

The recipient opens /invite#<token>, sets and confirms a password (at least eight characters, at most 1,024 UTF-8 bytes), then signs in normally. The page does not sign the recipient in; existing MFA enrollment and verification requirements still apply. Expired, used, revoked and unknown links all show the same invalid-link result. Disabled accounts cannot redeem invitations. Changing the account email or password, or disabling it, revokes unused invitations.

Employee accounts see an A few steps left connections card on Home when personal connections remain incomplete. It shares its title with the first-login onboarding card but tracks only personal connections. Each item links to My connections. The card hides when all connections are complete or loading fails, and can be dismissed in that browser. Invitation creation, delivery outcome, use and revocation are recorded without tokens or links. The token is read from the URL fragment and immediately removed from browser history; it remains only in component state. The public /invite page bypasses authentication and FirstRunGate. Only POST /api/invite/check with {token} (returning {valid,email_masked?}) and POST /api/invite/redeem with {token,password} are supported; token-bearing API paths are removed. Do not log request bodies. Each TCP peer and token SHA-256 prefix (16 hex characters) shares 10 attempts per 15 minutes across both endpoints. There is no peer-wide limit, so users behind a reverse proxy do not share an allowance. The in-memory table holds at most 10,000 buckets; at capacity, an expired bucket is evicted first, or the oldest insertion if none has expired. Ordered indexes avoid whole-table scans. Forwarded headers are ignored.

Users → Verify identity: channel identities (v1.82)

Section titled “Users → Verify identity: channel identities (v1.82)”

Verify identity on a person’s row (Admin only) ties an account on a messaging app to that dashboard account. Once bound, messages from that account are treated as coming from this person: which AI employees they may call with @, and who may use a company delegate or the person’s own Google account through an employee ([google] requesters).

Channel Bindable Receives login / two-factor codes
Telegram, LINE, Discord, Slack yes yes
Google Chat (v1.82) yes no
  • Google Chat — enter the Chat user id as users/ followed by digits, or just the digits; it is stored as users/<digits>. Anything else (an e-mail address, users/app) is refused. Your Google Workspace administrator can usually see the number at the end of the address when opening the person’s account in the Admin console.
  • By default only manual bindings count. A Google Chat sender is recognised as a colleague only when an administrator has bound their Chat user id here.
  • Optional: recognise automatically from their own Google account (off by default, unverified). An administrator can turn on Manage → Integrations → Google → Recognise Google Chat senders by their connected Google account (config.toml [google] chat_identity_from_account = true; default false; a missing setting counts as off, while an unreadable config.toml or a non-boolean value is treated as an error and no Google Chat sender is recognised until it is fixed). When on, a person who connected their Google account under My connections is recognised in Google Chat without a manual binding: the system compares the Chat sender’s id with the id of the Google account that person connected and treats a match as that person. This has not yet been verified against a real Google Workspace: if Google’s Chat user id and the sign-in account id turn out to be different kinds of number, an accidental match could recognise the wrong person, which is why it is off by default. Leave it off unless you have confirmed in your own Workspace that the two ids match. While on, the automatic identity appears on their row with a link mark and cannot be removed here: it ends when they disconnect Google, when their account is suspended, offboarded or deleted, or when the setting is turned off. Changing the setting is recorded in the security audit log as config_changed.
  • One Chat user, one person — binding a Chat id that is already bound to someone else is refused with an explanation; while automatic recognition is on, so is binding a Chat id that another person’s own Google account already stands for. If the manual binding and someone’s own Google account ever name different people, neither is used and the sender is treated as unknown. If the record of linked Google accounts cannot be read while automatic recognition is on, Google Chat senders are treated as unknown.
  • Inactive accounts cannot be bound — binding any channel identity to a suspended, offboarded or deleted account is refused (HTTP 409, or 404 for an account that does not exist).
  • A Google Chat identity is for recognition only. Notifications, approval cards, digests and other messages DuDuClaw sends on its own initiative are never addressed to a Google Chat user id; they still go to the person’s Telegram / LINE / Discord / Slack (and other DM) links. A person with only a Google Chat binding is recognised when they write in Google Chat but receives no proactive messages there. Messages from another Chat app (sender type other than a person) are ignored.
  • Remove — hover a Google Chat identity and press ×. Only administrator-made Google Chat bindings can be removed from this page; other channels keep their existing behaviour.
  • Binding and removing a Google Chat identity are written to the security audit log (googlechat_identity_bound, googlechat_identity_unbound) as well as the account audit log.

APIs (Admin JWT): POST /api/channel-identity/bind {user_id, channel, channel_user_id}, POST /api/channel-identity/unbind {user_id, channel: "googlechat", channel_user_id}, GET /api/channel-identity/list?user_id= (a Google-account-derived entry carries "source": "google_account", and is listed only while automatic recognition is on). The setting is read by google.credentials.get (chat_identity_from_account) and written, Admin only, by google.integration.set {chat_identity_from_account: bool}. No self-service path creates a Google Chat binding.

GET /api/channel-identity/list?user_id= adds proof_status and proven_at to each identities[] entry. proof_status is self_confirmed after the person confirms their own account, otherwise admin_prefilled; proven_at is an RFC 3339 timestamp or null. An automatically derived Google account entry is admin_prefilled with proven_at: null.

In Users → Edit → AI avatar, an Admin can select one of that member’s Owner or Operator bindings, or None, then press Set AI avatar. Each AI can be one member’s avatar at a time. This button saves only the avatar; use Save separately for other account fields. Assigning an avatar also makes it that member’s primary AI. Clearing the avatar leaves the primary unchanged. Offboarding clears the avatar so the AI can be reassigned, while existing binding transfers continue as before. Assigning an avatar does not change who may read conversations or memory.

The upgrade carries over a primary AI only if exactly one active member selected it and the binding still grants Owner or Operator access. Shared primaries remain unchanged and appear in the Admin’s AI avatar conflicts to resolve list. Edit the members to assign different avatars. The upgrade runs once; a deliberately cleared avatar is not restored on restart.

users.set_avatar {user_id, agent_id: string|null} and users.avatar_conflicts {} are Admin-only. The conflict response is {conflicts: [{agent_id, user_ids}]}. Assignment checks the live employee, current binding and uniqueness, writes an audit entry and refreshes open connections. users.me, users.list and login/session user data include nullable avatar_agent_id; existing primary_agent_id output stays available. The create-members RPC accepts optional avatar_agent_id; the Dashboard form assigns the chosen avatar together with its Operator binding.

When native Linux employee isolation (planned for a later release; not available in this version) is active, admins can read a member’s currently assigned AI avatar conversations and memory directly, without an extra password or TOTP check. This includes conversation lists, conversation/memory search and their live updates. Every such Admin read records who read it, the avatar, its member and the operation; if the audit cannot be written, access is refused. Other members gain no access. A Personal employee that is not currently an avatar still requires the five-minute password + TOTP proof and step_up_csrf. Removing the avatar assignment, losing its active owner binding, or being unable to read avatar state restores those stricter rules immediately. Writes, conversation restore, delegation, settings, files and Wiki access keep their existing rules.

users.set_primary_agent {agent_id: string|null, user_id?: string} remains available for compatibility. An account with an avatar receives avatar_primary_locked with Chinese and English messages; contact an Admin to change the avatar. Accounts without an avatar keep the existing behavior, including the sidebar’s Set as default AI employee action. Admins targeting another account still require current Admin access.

Legacy primary repair remains separate from avatar assignment. The first interactive Owner or Operator binding can fill an empty primary; migration, restore and Personal provisioning do not create a primary preference. users.repair_primary_agents remains Admin-only: {} previews {members, preview_digest, excluded_personal_count, changed:false} and {preview_digest} confirms the exact ordered preview under a write transaction. It never assigns avatars. In protected mode the preview excludes Personal employee bindings, and the Admin editor omits employees the Admin cannot assign. users.list refuses the entire list if bindings cannot be read. users.update accepts neither primary_agent_id nor avatar_agent_id; use the dedicated methods.

Direct messages reply in the main view by default. Messages written inside a thread (threadReply = true) stay in that thread; space replies keep their existing thread behavior. In Channels → Google Chat → Behavior → DM reply placement, choose Main view (default) or Always in thread. Only dashboard administrators can change this preference. It is stored in the channel settings database; do not add it to config.toml. Conversation sessions still cover the whole space.

Google Docs/Sheets smart-chip links are included as untrusted message text, with duplicate links removed (up to 10 HTTPS links, each at most 2048 bytes; control characters are rejected). The gateway does not fetch these links. Chat read tools return a links array under the scanned data envelope. Missing names use readable placeholders; resource names and stored attachment paths are machine fields and must not be shown to users. Attachments retain their original filenames. No additional OAuth scopes are required.

The step budget is configured separately: global [runtime] default_max_turns defaults to 50, and max_turns_limit defaults to 200 (integer 1–10000). An employee may set [runtime] max_turns from 1 up to that ceiling; leaving it unset uses the global default. Zero never means unlimited. Unexpected read, parse or type errors cap the resolved budget at 50 (10 for OpenAI-compatible tool loops), preserving lower valid limits, with warnings deduplicated per employee, configured value and applied cap (at most 256 distinct entries per process); missing files or keys use defaults; values above the ceiling are clamped during execution and rejected on dashboard save. Raising an employee’s limit requires an administrator; owners may lower it, and clearing it requires an administrator if the inherited default raises the effective budget. Changing either global key also requires an administrator and is audited through the existing config commit path. The dashboard places these fields beside the time limits. More steps can consume more quota and extend runs. Claude chat, scheduled or dispatched employee work and terminal chat use this budget. Internal helpers such as evolution, summarisation and evaluation retain a maximum of 50 steps, preserving lower configured limits. Protected Claude gateway calls remain capped at 50 until native Linux protected mode supports it. OpenAI-compatible tool loops use an explicit employee max_turns, otherwise retain 10; exhaustion returns a distinct max-turns error. Headless Claude/Grok runs disable interactive question tools. Claude receives a system-prompt reminder to summarise progress and stop near its step budget. Proactive checks retain their separate max_turns, accepted from 1 to 64.

Web chat uses the target employee’s effective timeout, bounded by global max_timeout_secs, plus 30 seconds for delivery (1830 seconds for the default 1800-second employee). Goal task timeout_secs ranges from 30 seconds to min(max_timeout_secs, 3600); the goal limit stays at one hour even if the global maximum is higher.

The global [runtime] default_idle_timeout_secs defaults to 900 seconds. An employee may override it with [runtime] idle_timeout_secs; absent means inherit, 0 disables, and other values must be 60..=max_timeout_secs. With an omitted global value, a lower global maximum also narrows the default. Read or parse failures use the built-in 900 seconds. Raising or disabling an employee limit, including clearing it to a larger or disabled global default, requires administrator authority; lowering does not. The dashboard places both fields next to the execution time limits, in the employee editor and global run limits.

Claude chat and background runs, Codex JSONL runs, and OpenAI-compatible SSE responses stop when no event arrives within that window. Any parsed event counts, including tool events; the periodic 90-second keep-alive notice does not. The last unfinished tool is named when known. Grok and non-streaming OpenAI-compatible requests/tool loops retain their total timeout because these paths do not expose a live event stream here.

A step limit (max_turns), total timeout (timeout_total), or event-silence timeout (timeout_no_progress) ends the current turn without marking an account unhealthy, changing accounts, or retrying another model/runtime. A timeout reports that no final answer was produced before the time limit, even when tools ran. For signed-in channel users, captured assistant text is delivered before the notice and saved as an assistant turn; reply “continue” to resume with that context. Claude step-limit notices include the applied step count. Public visitors receive only the visitor-safe generic message and reference number, with no partial text, counts, reason code, or operator hints.

Failure notices end with a stable lowercase reason code and the first eight characters of the turn reference. The audit record retains reason_code and the full reference_id; background results use the dispatch run reference. Goal-loop work limits pause with max_turns, timeout_total, or timeout_no_progress, without accumulating infrastructure dispatch failures.

The employee Connections tab supports delegate:owner (attested primary owner, default owner_only, no company fallback), personal-account Admin tests, and external with an optional 120-character server name. The Google integration page lists current owners and email attestation status, with Admin step-up actions. Its setup wizard preselects Chat reading, saved only by an explicit Save; the configuration default remains off. My connections asks connected members missing Chat scopes to reconnect. See Google Workspace for per-service scopes, confirmation steps and diagnostic limits.

In System → Security, administrators can enable Allow owners to enable AI self-add ([knowledge] owner_self_add, default false). This does not enable automatic imports by itself. The actual collection Owner must enable Let my AI add without approval in the collection’s Settings tab; the toggle is hidden while the master switch is off or the viewer is not an Owner.

During the verified Owner’s own turn, their assigned AI can add to its own opted-in collection without approval, regardless of content source: pasted text, URLs, current or earlier attachments, tool output, or an AI-written summary. Text must be nonempty; there is no eight-character minimum. System runs, delegated work and other members’ turns do not qualify.

Each new automatic import durably queues one Owner notification containing only the title and source reference, without document content or preview. Delivery retries to the Owner’s verified DM; repeated submissions of the same source do not create another notification. Without a reachable verified DM, the notice remains pending.

Known risk: enabling this option accepts a medium risk that content fetched during the Owner’s turn, such as a web page, can steer the AI into adding material without an approval card. Owners can turn the collection switch off.

Only a verified request from that Owner to their assigned avatar AI qualifies, with exactly those two principals in the collection ACL. The import transaction rechecks authorization and the limit of 10 automatic imports per collection per rolling hour. All other cases require approval. Turn identity is supplied by the gateway; callers cannot override it in tool arguments.

Pending requests send a decision card with up to 300 escaped preview characters only to the Owner’s verified DMs. Reply 確認 <full request UUID> or 取消 <full request UUID>. Editors use the dashboard. [approval] forbid_self_approval applies on both surfaces. Owner/Editor notifications are deduplicated and contain no preview outside the Owner card. Google Chat bound decisions require JWT-verified HTTP one-to-one DMs; Pub/Sub is not eligible. See Document knowledge base.

Administrators can enable or disable personal keys under My account → External access. Members create, list and revoke their own keys there; administrators list and revoke keys for all members. Admin accounts cannot create member keys. The switch defaults to off, including when configuration cannot be read or parsed. When off, key use, member self-service and Admin key listing/revocation RPCs are refused. The Admin policy RPCs below and normal configuration UI remain available.

[member_api_keys]
enabled = false
rate_per_minute = 120

enabled is a boolean. rate_per_minute is an integer from 1 to 60000, default 120, shared by all connections using a key. Invalid values disable key access. Changes take effect on the next call or connection check without a restart.

Creation requires a browser login and, when MFA is enabled, a fresh TOTP or unused recovery code. Expiry is mandatory (1–365 days); the UI offers 30/90/365 and defaults to 90. Each member can have five active keys. The secret is shown once. Password changes and MFA resets invalidate existing keys. Do not put keys in browser front-end code; call from your server. See the member API contract.

[google_signin] is administered through google.signin.set. Configure Integrations → Google → Company Google account sign-in: domains, Admin approval or direct creation, daily cap, avatar template and MFA pre-authorisation on approval. The card shows the redirect URI to register and a checklist. Every save except turning sign-in off requires password + authenticator code. When enabled with a public URL, the login page shows Sign in with your company Google account. In Members (/manage/users), use Pending activation to approve or reject requests, multi-select Batch confirm Google sign-in, or the row menu Cancel Google sign-in. Google sign-in, Odoo and AI avatar badges identify each member. Members enable or disable My connections → Google sign-in with their password. Google-onboarded members see five steps on Home; the Odoo step opens My connections. Members without a password reauthenticate with Google on the Account page before changing two-step factors. Personal edition does not offer this feature. Enabling sign-in, switching to direct creation, or enabling approval-based MFA enrollment requires explicit risk acknowledgement. A configured company Google OAuth client and valid [dashboard] public_url are also required for sign-in.

google.signin.get {} returns {settings, checks, redirect_uri, hash}; google.signin.set returns {settings, hash} after saving. hash is a string digest of the entire config.toml text read. Set requires expected_hash from that get snapshot, in addition to the existing settings fields, step_up_csrf and risk acknowledgement. The hash is compared inside the config commit lock, including a pure disable. Missing/non-string or stale tokens refuse the write; step-up exemptions, risk acknowledgement and template revision checks still apply.

const snapshot = await rpc('google.signin.get', {});
await rpc('google.signin.set', { ...signinForm, expected_hash: snapshot.hash });
Key Default / meaning
enabled false. Requests Google sign-in; effective only with acknowledgement and a nonempty valid domain list.
enabled_ack Absent. { by, at } records the administrator and time, both nonblank strings; written only by the settings method.
allowed_hd Empty. Settings accepts 1–50 ASCII domains, trims and lowercases them, and removes duplicates. Matches the verified ID-token hd in full; no subdomain matching.
approval "admin" for approval requests; "direct" creates accounts directly.
daily_new_accounts 20, range 1–200. Rolling 24-hour new-account limit, including pending requests.
avatar_template Absent or "" selects a blank avatar; "company:<key>" selects a non-premium, single-employee company template.
avatar_template_revision Positive integer required for a company template. A revision mismatch waits for an administrator.
approval_grants_mfa_enrollment false. Allows an administrator to grant first MFA enrollment explicitly when approving; one use within 72 hours. Enabling this key alone grants nothing.

Settings are reread at start, callback and completion. An unreadable or malformed config disables sign-in. Missing/wrong-type enabled, missing or blank acknowledgement fields, or an empty/invalid allowed_hd list disables it too; one malformed domain invalidates the entire list. Only exact "direct" selects direct creation; other approval values require admin approval. A missing cap uses 20; an invalid cap becomes zero and blocks new admissions. An invalid template blocks avatar creation without selecting a blank fallback. MFA preauthorization is enabled only by boolean true. The raw config editor can only disable sign-in, remove its acknowledgement or delete the section; it cannot enable or expand this feature.

Admin-only users.list {} adds google_signin_linked (boolean), google_signin_linked_at and google_signin_last_signin_at (nullable timestamps), and has_password (boolean) to each users[] entry. signin_avatar is null or {state, reason, retry_allowed}. state is pending, creating, retrying, waiting_admin or done; reason is done, name_taken, policy_changed, failed, protected_mode, template_changed, template_invalid, seats_full, not_eligible, unknown or null. retry_allowed is a boolean; use it to decide whether to offer retry rather than inferring from the reason.

Member-key and Odoo access settings (v1.86.0)

Section titled “Member-key and Odoo access settings (v1.86.0)”

On External access (/me/external-access), members select Include my conversation content and external tool scopes when creating a key; later changes can only narrow access. Admins use the two master switches on the same page. Open Integrations → Odoo for the upgrade notice, permission mode (engine tables or follow the Odoo account, with risk confirmation), Always refuse (grouped defaults; removal requires confirmation; five fixed refusals remain), Which AIs may use the company account, and Colleagues’ own Odoo accounts (off by default) with the member credential list. In the employee editor → Integrations → Odoo, use Narrow permissions, Use the current requester’s Odoo account, and the per-table Activity / Internal note / Notify followers / Attachment controls; each requires confirmation. Members enter their own login and key under My connections → Odoo, which shows Configured by administrator until the Admin enables it. Admins revoke a member credential from Members → row menu → Revoke Odoo account.

Section / key Default and behavior
[member_api_keys] allow_conversation_content false; permits creation with include_conversations=true. Does not remove existing grants. Pre-upgrade keys retain conversation access, labelled migrated.
[member_api_keys] allow_mcp_scopes []; allowed values are tasks:read, agents:status, odoo:read, odoo:write. The effective MCP grant is the intersection with each key’s scopes, checked live.
[odoo] member_credentials false; allows members to connect their own Odoo account. Enabling through odoo.member_credentials.set_enabled requires acknowledge_risk=true.
[odoo_access] permission_mode Default "engine"; alternatively "follow_odoo_account". Follow applies only to personal identities and requires a valid acknowledgement; AI/company accounts retain Engine.
[odoo_access] permission_mode_ack Absent by default. Admin RPC records {by, at} with the actor and RFC 3339 timestamp. Missing or invalid acknowledgement falls back to Engine.
[odoo_access] company_key_agents []; explicit list of AI employee IDs permitted to use the company account.
[odoo_access] company_key_agents_migrated Empty before migration; system-maintained completion marker.
[odoo_access] upgrade_notice_pending false by default; set to true by upgrade backfill. Clear using dismiss_upgrade_notice=true in the access RPC.
[odoo_access] always_refuse Default list below; applies in every mode. Removing a rule requires risk acknowledgement. Fixed F1–F5 refusals remain.
[odoo_access] attachment_max_mb 10 MiB, range 1–25; controls both source and encoded attachment size.
Employee [odoo] permission_override "inherit" by default, or "engine" / "read_only"; can only narrow policy. Unknown values become read-only.
Employee [odoo] act_as_requester false; opts into the verified requester’s personal Odoo identity. Does not let an avatar borrow another person’s account.

Engine mode preserves v1.85 approval behavior for odoo_execute and button actions, including odoo_sale_confirm: employee approval lists, action rules and effect classes still apply, with no additional forced approval. Follow-Odoo-account mode requires human approval for every non-read odoo_execute call and every action_*, button_* or toggle_* action, including odoo_sale_confirm. Follower messages (odoo_message_send) always require approval in every mode. These forced approvals cannot be waived by an allow rule; they bind the exact tool and arguments and are single-use.

Switching [odoo_access] permission_mode to follow_odoo_account, adding or changing permission_mode_ack, removing effective always_refuse entries, and enabling [odoo] member_credentials require risk confirmation on the Odoo settings page or through its dedicated RPC (odoo.access_set / odoo.member_credentials.set_enabled); the raw editor and generic config writers refuse these widenings.

Backup restore and CLI import narrow these settings instead of rejecting recovery: Follow returns to Engine, acknowledgements are removed, and a member-credentials switch that would become enabled stays off. The restored always_refuse retains every effective rule from the current installation and the backup; a missing list uses the defaults. Agent backups disable act_as_requester and retain only conservative engine / read_only overrides, including a current restriction that the backup omits. A notice directs the administrator to the Odoo settings page to confirm permissions again. Unchanged, conservative settings keep their original formatting.

Default always_refuse: unlink:*, create:ir.*, write:ir.*, execute:ir.*, create:res.users, write:res.users, create:res.groups, write:res.groups, method:execute_import, method:signal_workflow.

Admin browser RPCs odoo.access_get {} and odoo.access_set read/update access settings. Set requires expected_hash and accepts permission_mode, company_key_agents, always_refuse, attachment_max_mb, dismiss_upgrade_notice, and acknowledge_risk. Selecting Follow, adding company-account AIs or removing refusal rules requires acknowledge_risk=true. Changes are audited; a failed audit refuses the write. Malformed policy refuses Odoo operations. Engine grants for the new dedicated tools require the target model explicitly in allowed_models and the exact activity:<model>, note:<model>, message:<model> or attach:<model> token in allowed_actions; empty lists grant none of these operations.

Normal get/set responses include a top-level string hash for the entire config.toml text. Set requires expected_hash copied from the get snapshot; comparison is atomic with the write inside the config commit lock. {readable:false, message} has no hash. Missing/non-string tokens return 「設定頁的資料已過期,請重新整理後再儲存。」; stale tokens return 「設定已被其他人變更,請重新整理後再儲存。」, with no settings written. All three settings RPC pairs in this guide use these refusal messages. Reload and review after a conflict.

const snapshot = await rpc('odoo.access_get', {});
await rpc('odoo.access_set', { attachment_max_mb: 5, expected_hash: snapshot.hash });

Per-employee changes use the admin browser RPC odoo.agent_access_set {agent_id, permission_override?, act_as_requester?, acknowledge_risk?}: only inherit, engine, and read_only are accepted; enabling requester identity or loosening an override requires acknowledge_risk=true. It edits only those two fields, rechecks the live admin session, and audits before writing; an audit failure blocks the change. odoo.agent_config_get returns both fields. Raw/profile writers still refuse widening. The controls are in employee editor → Integrations → Odoo.

When upgrading an installation with a configured company Odoo URL/database, a one-time backfill adds every existing regular AI without its own Odoo account to company_key_agents. It records the marker and upgrade notice without changing permission mode. AIs with an incomplete own Odoo account are not added and must be assigned by the admin. New AIs are never added automatically. Review this list after upgrading.

Members manage their connection through browser-only me.odoo.status, me.odoo.connect {login, api_key}, me.odoo.test {} and me.odoo.disconnect {}. Read status first to see the current server/database; after a server change read it again in the same browser session before re-verifying. Connect and test share a limit of five attempts per minute per member, including failed/malformed attempts. Password changes, sign-out-everywhere and suspension require re-entering the key. Admins can list/revoke with odoo.member_credentials.list and .revoke {user_id}; they cannot enter another person’s secret.

Before downgrading to v1.85.x, remove allow_conversation_content and allow_mcp_scopes from [member_api_keys]. Older versions reject unknown keys in this section and disable all personal keys. v1.85 ignores [odoo_access] and falls back to the global Odoo account; the new company-account list and refusal policy do not protect a downgraded installation.

Admin dashboard-browser RPCs member_keys.policy_get {} and member_keys.policy_set {allow_conversation_content?: bool, allow_mcp_scopes?: string[], acknowledge_risk?: bool} work even while member keys are disabled. Both return {readable:true, enabled, allow_conversation_content, allow_mcp_scopes, available_mcp_scopes, risk:{conversation,mcp_scopes}}. With unreadable or malformed configuration, get returns {readable:false, message} and set refuses. A non-table [member_api_keys] is unreadable and disables keys. Unknown fields and explicit null values are refused.

Enabling conversation content or adding a scope requires acknowledge_risk:true; narrowing does not. The member_keys_policy_changed audit is written before saving, and an audit failure blocks the write. Generic writers, including config.raw.set, system.update_config, google.integration.set and all ordinary configuration commits, refuse widening these two settings. Backup restore and CLI import strip widening and show a notice directing the administrator to confirm it through the dedicated settings.

me.member_keys.list {limit?, cursor?} also returns policy:{allow_conversation_content,allow_mcp_scopes}. Conversation permission controls creation only. MCP permissions are checked on every call as the intersection of stored key scopes and current allow_mcp_scopes; re-adding a scope restores it for existing keys that were created with that scope.

odoo.access_get {} returns {readable:false, message} if access settings cannot be read or parsed; odoo.access_set still refuses to write in that state. Normal get/set responses add readable:true and follow_mode_impact:{avatars_with_personal_credentials,agents_acting_as_requester}. These are counts: active members with an assigned avatar and stored personal Odoo credentials (including credentials needing verification), and employees configured to act as the requester. These counts are advisory: if counting fails, follow_mode_impact is null; get/set still succeed and a valid set is committed normally.