Repository navigation
release: refresh 0.7.0 stable promotion candidate (d25ecbd8) - #370
Merged
Merged
Conversation
A turn can leave processes running in its channel container (browser daemons, dev servers, the children of a crashed engine). At the pids limit nothing can start a thread: Claude Code aborts, every automatic resume is exec'd into the same full container and aborts again, and the agent cannot run kill. - Read pids.current/max/events from the host via the container's init pid, with no exec into a container that has no room for one. - ensureUp restarts a container at 85% of its limit when the caller is a turn and nobody else holds a lease; the reply and the engine are told. Other callers and a container with work inside are left alone. - An engine death the limit caused names it with the kernel's numbers. - Every container attempt is told its process budget. - Default limit 1024 -> 4096; a stored old default is raised once at boot. - Recovered background jobs are leased again before recovery runs turns. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
A channel metadata patch re-decided every conversation's work folder for every projection it compares: with 177 conversations and 60 custom folders one patch made about 3,300 realpaths and 700 settings.json reads. The Slack membership sweep patches every channel on each reconnect and never left the event loop, so the daemon missed Slack's ping, reconnected and started the sweep again, holding one core. - createWorkDirResolver: one work-folder resolver per store snapshot that reads the allowlisted roots and the daemon-owned trees once and decides each distinct question once, keyed by every field the decision reads. Used by getChannelMeta, listChannels, saveChannelMeta and patchChannelMeta, which also share one rows snapshot per transaction. - A function-form patch gets its own copy of the projected record, so an in-place edit of a linked setting is still refused. - The membership sweeps yield to the event loop after every conversation. Benchmark, 177 conversations: the sweep's main-thread time drops from 21 s to 4.4 s and its longest event-loop block to 21 ms. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
…x catalog Both failed on beta and made the transactional updater roll a candidate back. The busy-thread card gained an "Added to queue" button, and the capacity continuation takes the first other model in the Codex catalog, which is GPT-6.2 Astra since it was listed first. The second test now reads the alternative from the catalog instead of naming a model. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
…ections Custom MCP connections were public-HTTPS-only, so an MCP server on the gateway's LAN (e.g. a Rhino workstation plugin at 192.168.130.33:10500) could not be connected from a channel. An organization admin can now list exact host:port destinations (Settings -> Container runtime -> Private MCP servers on your network, `privateMcpHosts`). A custom MCP targeting one may use http or https; every resolved address must be private (RFC 1918/ULA), never loopback, metadata or CGNAT. The save and every relay dial re-check the live list, so removing an entry stops the next request. Built-in remotes stay HTTPS-only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Codex's config builder checked each custom MCP's URL without the custom-MCP (`publicOnly`) flag, so an http:// server on an approved private host:port was dropped from the Codex run and the model reported `custom-<name>` as an unknown server. Claude was unaffected. The relay's dial still decides whether the destination is approved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
The update's workspace migration moves legacy work content from a channel's hidden metadata folder into its visible work folder, keeping only meta.json, sessions.json and .claude. It did not know runtime/, where the container backend writes a run's --env-file, so the first update after a channel was created moved that folder into the folder the channel's container mounts. An update during a live run could have put the run's environment, and so the channel's secrets, there. - paths.js names the folder (CHANNEL_RUNTIME_DIR) and lists every daemon-owned entry of the metadata folder (CHANNEL_FOLDER_DAEMON_ENTRIES); exec.js and the migration read them. - The migration removes an empty runtime/ an earlier update left in a default work folder (rmdir only), and reports one with content, naming environment files without printing them. - The script exports migrateWorkspace() and runs only when invoked. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
The prompt was written before stdin left cooked mode, so a password typed or pasted as soon as the prompt appeared was echoed by the terminal. Found on a real pseudo-terminal during live acceptance: 15 of 15 undelayed runs echoed it. Raw mode is now set first; a regression test reads the order of the raw-mode switches and the prompts. Record the live acceptance results for the admin password, boot posture and webhook gate cases in TEST-PLAN.md. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
A person who turns on "Start on voice clips in agent threads" (off by default) can reply with a voice clip in a Slack thread where this agent posted most recently, and the turn starts without an @mention or the robot reaction. Never on top-level messages, DMs, clips that mention someone, or threads where another agent spoke last; an unreadable or over-long thread fails closed. Opted-out authors cost no Slack call. Toggle in Slack Home -> Help & settings, Activity -> Settings, or the set_my_voice_auto_start tool (verified requester only). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
ChannelGate no longer ships the OpenCode proof adapter. Delete the runner, its manifest, its settings and record keys, the fixtures and the adapter documentation, and drop the "network unsupported" label that only it could produce. Stored data degrades without a migration. src/engines/retired.js lists the retired ids; a channel default, DM template, thread pin or session stamp naming one resolves to the normal default (a session stamp makes the next turn start fresh with the transcript replayed), an approved-harness list keeps its remaining entries, and the dead fields are stripped on write through dead-fields.js. A list naming only retired harnesses stays closed. Docs, FEATURES.md, TEST-PLAN.md (RETIRED-01..03) and CHANGELOG.md follow. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
…ified Run recovery started on the Slack connected event, alongside the membership pass that re-verifies every channel. The runtime resolver refuses an unverified Slack channel, so a turn interrupted by a restart was replayed too early, failed with "Slack channel membership has not been verified" and asked the person to send the message again. - A survivor whose channel is not verified keeps its reserved queue place and durable row; the daemon starts the waiting recovery when a verification completes. After two minutes without one it is replayed anyway and reports its own failure. DMs, other platforms and archived channels are never held. - bindRunningChannelEgress ran before Slack connected, so it failed for every Slack channel's running container. Unverified channels are now counted as waiting and restored after the first verification. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
The row stayed on screen until the server finished its Slack access rechecks, the root reaction round trip and a full snapshot refresh, which took several seconds. The browser now applies the change optimistically (kept over mid-flight snapshots, restored on failure), and the completion/later endpoints answer once the decision is durable, syncing the ✅/🕒 reaction in the background with its existing retry. Access rechecks are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
The voice auto-start feature registered a new gateway tool without a control reference, so the documentation coverage check (and with it the docs build that every channelgate.dev deployment runs from beta) failed with "Missing control reference: set_my_voice_auto_start". Add the reference and raise the gateway control count to 137. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com> # Conflicts: # CHANGELOG.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
The gateway-usage guide drops references/email.md and lines marked <!--if:email-->, and Teams/Google Chat help omit the mailbox row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
…ocess gone A restart that kills containers mid-stop leaves Podman reporting them 'stopping' forever, and ensureUp refused them with 'inspect it by hand'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
…estart The system unit used KillMode=mixed. With rootless Podman's cgroupfs manager the channel containers (conmon, their init, every exec) live in the unit's own control group, so every stop, restart and update had systemd SIGKILL them. Nothing recorded the exit: Podman kept listing them as running, the next exec failed with "container is not running", and the idle reaper's stop left them "stopping" until someone removed them by hand. - install-systemd.sh writes KillMode=process, like other container managers' units; the daemon already sweeps its own engine children on shutdown. - scripts/repair-service-unit.sh (npm run service:repair) fixes an existing system unit in place and reloads systemd; no restart is needed. - The daemon reads its own unit's KillMode and the containers' cgroup, and names that command in the boot log, /api/health and the admin UI when a stop of the unit would still end the containers. - Boot reconcile removes a container listed as running or stopping whose init process is gone instead of registering it idle. - uninstall-systemd.sh stops the unit account's channel containers, since stopping the unit no longer does. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
…kill create_skill and update_skill take optional roi_minutes_saved and roi_hourly_rate, stored in the skill's existing roi_assignments row the ROI board reads; get_skill_info shows them. ROI-only updates write no revision and also work on synced skills for whoever may edit the skill. The bundled skill-authoring skill now asks for the two numbers while creating a skill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
…ention :low, :mid (medium), :medium and :high after the bot mention pin only the thread's reasoning effort and keep its engine and model; the four names are reserved and cannot be model shortcuts. A :shortcut [:effort] that directly follows the bot mention now counts wherever the mention sits in the message, not only at its start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
The gateway-usage guide gains feature conditions (<!--if:NAME--> lines and blocks) and the Composio sections are written per mode: SDK-mode user ids in the organization project vs Personal-mode per-owner accounts, and what a Workbench or local SDK script needs in each. The per-run identity line names the mode and, in SDK mode, the user ids. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
… the board The Automations hero now carries two fixed tiles, total runs and total AI cost over the last 30 days (with the average per run), for every automation in the viewer's scope, independent of the 24h/7d/30d window selector. The totals are aggregated in SQL and leave out cost the plan's history hides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
… a key SDK mode: each turn gets a composio-exec scoped grant file; the daemon serves a JSON-lines relay on the control socket and executes as exactly the signed user/agent identity, enforcing allowed apps, account ownership, the membership approval card and personal-identity pausing. An admin author in an Admin-mode channel may act as any user id in the organization project (re-checked live). Ships a dependency-free client in gateway-usage/scripts/composio.mjs and documents it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
…he Slack app Every card on the Automations board now shows its AI cost for the selected window beside its success rate (the tooltip adds the average per run, the last-30-days cost and the last run's cost), and an "Open last run" link that opens the run's thread in the Slack app through a slack:// deep link (Ctrl/Cmd-click opens the web client). A scheduled run now records the thread it works in when it starts (and a reminder its posted message), so a run that failed before delivering still links to its thread. The board payload carries the Slack team id, so the admin console gets the Slack links as well; the Runs tab links each run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
… session OpenSSH refuses a private host key that group or others can read, so a channel host key that arrived as 0640 (a copy, a restore, a permissive umask) closed every SSH and VS Code session before the handshake. The daemon now tightens an existing host_key while it prepares the session, opening it with O_NOFOLLOW and touching only a regular file, since the folder is writable from inside the container. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
The production dependency audit reported one critical finding in the lockfile's cross-spawn 7.0.6, pulled in by the MCP SDK. The advisories concern Windows batch-file spawning, which a Linux-only daemon does not reach, but the release gate requires a clean audit. Lockfile only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ChannelGate 0.7.0 candidate
Candidate
d25ecbd897f53c5b42611a73089ccf9ca42f9a2eintegrates beta49fd1c12with stable94cf33c8. The review range is94cf33c8..d25ecbd8. Both branch tips are ancestors. Relative to beta, the candidate updates four dependency records from stable. It retains the Google Chat settings and reaction fixes and their regression coverage.The candidate includes all changes on beta through the documentation repair, including Teams Files and batched settings, channel-scoped licenses, the SDK-mode Composio script relay, private destination approvals, and the automation history, cost and ROI views. See the release record and upgrade steps and full changelog. Requires Node 24.0.0 or later and runtime image spec 1.6.4.
Automated verification
Results from a clean dependency install on the exact candidate, using Node 24.22.2:
All six GitHub checks passed, including tests on the exact Node 24.0.0 floor and current Node 24, documentation, DCO, hygiene and the disposable Linux guest reboot. Workflow evidence: CI, public documentation, and Linux guest reboot.
Live acceptance and promotion
Earlier live evidence on the previous beta cut covered only part of the Azure SQL raw-tunnel case. It does not establish a pass on this commit.