5 min read

Weekly development log 2026‑W41: Stop, recover, and audit

  • Weekly log
  • Vibe coding
  • Self-hosted AI
  • 2026-W41
Server shutdown and checkpoint recovery, Companion connections and login auditing. A conceptual illustration generated on 2026-10-11, not a product screenshot. It explains this week's theme and does not establish a historical deployment screen or current operational state.

HISTORICAL DEVELOPMENT / EVIDENCE

This week in OpenMake

At October 11, 23:59 KST, main dd779dc7 contains 209 commits for this week. Releases 1.92.0–1.94.3 connect Companion policies/uploads, per-task reasoning and metrics, duplicate guards, orderly shutdown and boot recovery, successful-login auditing, bridge liveness, web search query cleaning, and tool citation numbering. Source records are distinguished from fresh operational evaluation.

Period
2026-10-05 – 2026-10-11
Git commits
209
Evidence
Git history

01

Full-history review and additions

Versions 1.94.0 through 1.94.3 add shutdown ordering, recovery-claim fixes, timer/Redis cleanup, successful-login auditing, bridge liveness, web search query cleaning and tool citation numbering. Automatic recovery of server tasks is distinguished from manual resume after reconnecting local devices.

All reachable history of main cfd3668d was rechecked on 2026-11-18. Counts use committer dates from Monday 00:00 through Sunday 23:59:59 KST, including merges, releases and distinct parallel-branch commits. Commit counts are not feature counts. Tests and operational measurements below are historical source records, not evaluations rerun for this refresh.

02

What changed

  • Deployment restart now reapplies ecosystem configuration through pm2_restart_app: validate the app/script, delete and re-register that app, and preserve the exported environment; missing definitions fall back to the older restart path. The source includes regression tests, not a fresh PM2 verification in this article (5a6c3930). German and Chinese lease-held error wording was also clarified (d80689cb). Late in the weekend, versions 1.94.1 through 1.94.3 added Discord bot startup retry while awaiting backend readiness (42764b4e) and tool search citation numbering with cleaner search queries (364b326b, dd779dc7).
  • The 1.94.0 release commit is October 11 KST, distinct from the October 10 changelog heading. A shared shutdown module is wired into the production CLI. It blocks new tasks, then drains connections, active work, tools, timers, Redis and the database in order; PM2's grace period exceeds the overall shutdown limit (48496cbc, e88d201e, e7c143a4, d61787cf, c094a294, 6a36b2a3, 2a6b3d18).
  • Server work interrupted by shutdown receives a server restarted marker rather than user-cancellation semantics. Boot recovery claims only rows still in the state observed when listed and avoids premature failure notifications for recoverable work. Local work instead requires device reconnection and manual resume. Recovery remains conditional on state and valid checkpoints, not guaranteed for every failure (b6ca9052, ec0bc165, 627d9602).
  • New sessions from password login, OAuth callbacks and one-time code exchange record login.succeeded. Refresh is not counted as login; passwords, tokens and codes are excluded. This event defaults to 90-day retention independently of other audit events. An audit write failure does not prevent login (621657a1, 75dcdd18).
  • Bridge connections gain liveness pings and handshake deadlines to detect half-dead connections and reconnect. Shell discovery also receives mise location variables, while task failure messages describe appropriate next actions (9a7b6b9c, 2ac4647d, 3eba0863).
  • Version 1.93.1 restores execution claims and prior state after duplicate rejection and clears stale checkpoints for fresh executions. REST disconnects abort upstream LLM calls; startup awaits schema initialization and propagates database failures. Fixed commands and git children use an environment allowlist, and the Companion helper receives its API key through stdin instead of its startup environment (264b262a, 513108cd, df759f71, a2630e39, 08964907, 123d11b1, 6adf64fd, 58c9233c).
  • Each task can select thinkingLevel and display it in cards and details. The level survives persistence, restoration, and checkpoint forks; repeated call-cap failures, empty responses, and idle-watchdog failures feed downgrade rules. Admin metrics group success rate, duration, tokens, and user intervention by execution mode and reasoning level. These are instrumentation changes, not measured performance gains (71fbc3f0, 3054cb3b, 166957ef, 0636bd4e, b91b2bd8).
  • Local-browser uploadFile sends PC files to sites, but cancels if navigation reaches another site while waiting for the file input. Policy-blocked calls enter audit logs and can be filtered in admin; extraction from loading pages carries a loading marker (695db17f, 80407e74, 330d74a7, be3160ac, 35f36e44).
  • Concurrent /execute and /resume requests now acquire a conditional database claim so only one starts. The queue rejects duplicate taskId submissions and the registry refuses a second execution instance. Checkpoint forks inherit approval policy, and goal judging excludes actions the user rejected (1edcb158, e4228894, d907c043, 72b52701, ecf66530, c6d09df9).
  • Login limiting no longer accepts an unverified X-API-Key as a bypass. MCP catalog args and env use template-schema validation and reject control environment keys; bridge exec children receive an allowlisted environment without the helper API key. Inactive key visibility and reactivation, blocked rotation of inactive keys, and last-use and request-count recording were also repaired. These fixes do not establish security across every production deployment (316bc1fb, 28e1c113, d06f5ba1, 1774519a, ec70df64, 42b989f3).
  • Companion resolves connection and web endpoints from one server address. It queries public port configuration while retaining the user-provided host, and keeps the original address for proxies or older servers. This replaces fixed macOS choices and Windows port guessing. Plain HTTP to a remote computer triggers a warning (59aad238).
  • The earlier source snapshot contained macOS 0.3.5 and Windows 0.1.5, with companion-v0.1.0 through 0.1.5 in its history. Read-only update protection and DMG retries on macOS, Windows installer CI and tray icon fixes accompany delivery (71ce3a7d, fe5f86c1, f90b2a0d, 27f0cc2f, 10d27d9e, bb145a6c).
  • At October 11, 06:23 KST, the live download API offered macOS 0.3.6 and Windows 0.1.7, matching VERSION/package.json in this main snapshot. This verifies download metadata, not fresh installation or checksum checks.
  • Retrying a write whose outcome became unknown after disconnection now requires user confirmation. Browser input and clicks are checked at action level, including split calls; a rejected write is blocked without repeatedly asking. Input tool results return actual values to reduce repeated input just to verify a change (cb151923, 7cf08f0d, cb74e449).
  • A new path parks tasks and releases execution slots while a user controls the Companion browser. Devices report control changes and returning control resumes that user's parked work. LOCAL_BRIDGE_TAKEOVER_PARK defaults to off; when enabled, its default wait limit is one hour (74ab2ac0).
  • Administrators can edit browser allow and deny lists and test policy decisions in a dedicated editor. Organizations use the same editor with merge-rule guidance; organization BROWSER_SITE_POLICY writes use the same pattern validation as global settings. These are UI and validation changes, not proof of safety across production deployments (caf188a9, 467a8a4d, b2fb3305).
  • Connected-device administration now accompanies revocation. Key deletion, deactivation, rotation, or bridge-scope removal closes connections; setting an already-past expiry or disabling or deleting the account does too. Future expiry changes update connection state, with the existing 30-second heartbeat closing expired connections (9845075d, b9fae0f2).
  • Chat task cards show queue position, failure reasons, and next actions, while resumed tasks retain approval policy. Queue metrics summarize the latest 200 waits, record a histogram and the oldest pending wait, and preserve enqueue time during boot recovery (cb151923, ebafc900, 3860a916).
  • Retention cleanup is opt-in: AGENT_TASK_RETENTION_ENABLED defaults to off. When enabled it runs at boot and every six hours, with default retention of 90 days for ended task records and associated audit logs and 30 days for server-sandbox image files. Active and parked tasks are excluded; batches are bounded and deletions logged (75357573).
  • Internal-model tool turns now detect missing first chunks after 120 seconds and idle gaps after 60 seconds; monitored calls avoid a duplicate overall call cap. Request priority is also carried in extra_body through the gateway to vLLM. A real-TCP integration test adds 100 WebSockets, user-result isolation, 500 mixed calls, and reconnection scenarios. We did not rerun these tests or measure production concurrent-user performance for this article (f67d3d33, 5cafbc9d, 5b5f1885, dcd968c1).

Source evidence

Evidence

OPENMAKE · APACHE 2.0 OPEN SOURCE

Back to Engineering Log