The agents that write Seamless start every session from its own memory, and have since July 2026. This is a read-only copy of part of that project, taken on 20 November 2026. Read what a session is told, what earlier sessions wrote down, and how one feature went from an approved plan to a release in twelve hours.
~/.seamlessproject seamlessa read-only copy, 20 Nov 2026
Start here
one feature, followed through the record
Automatic updates, from the plan to the release.
The plan was approved at 15:22 UTC on 9 October 2026. The release that carried it, v0.7.0, was tagged at 03:40 UTC on 10 October.
Every stop on the right is a record in this project. No session held the whole job in its head. Each one read what the last left, did its part, and wrote down what it found.
The live checks on Linux and macOS finished the next day. One step, a check on a Windows desktop, was dropped. Both are in the record too.
a plan · 9 Oct, 15:22 UTC
The plan is approved on its 38th draft.
It was drafted in Claude Code's plan mode. Seamless kept each draft as a note and attached the reports of four planning subagents.
Parallel agents take the steps, up to seven at a time.
Five waves ran before the release. A claim is atomic and leased, so no two agents held the same step. The first wave's handoff opens: 7 agents, 7 tasks, zero file conflicts.
A failed trial becomes a step. Then its premise is refuted.
A Windows trial showed a restart leaving the daemon down. The agent that took the fix measured the real daemon and found the race came from the trial's stand-in.
A stage memory told every session not to push or tag until the owner chose the release point. Session after session added to it as the commits piled up.
SessionStart hook, 20 Nov 2026, in the Seamless repository
What a session is told before its first prompt.
A hook prints this when an agent starts in the repository. This one went to the session that built the page you are reading. It names rules, gates and work in a line each. The agent reads a full record only when the work comes near it.
<seam-briefing>
Seam project: seamless -- 64 memories (39 constraints, 18 conventions, 1 stage), 3 recent findings.
LOCK seamless main: free
Also live in this repository: cc/49e1eb9a-1483baf1bebb29e5 (idle 7 min)
Constraints (binding for every session):
- zsh-equals-expansion-breaks-bare-double-equals: The shell is zsh: any unquoted word starting with = is equals-expanded, so a bare == argument dies with "= not found". [agent-written]
- […]
- stay-on-current-branch-own-worktree-in-shared-repos: Commit and push on the branch you are on, main included; never create or switch branches unless asked; in shared repos work in a detached worktree [agent-written]
- +36 more, equally binding -- memory_read name=<name> before working near one: console-mutation-follow-contract, console-unlock-begun-by-the-browser-it-opens, seamless-is-public-owner-language-optional-features, mcp-clients-refuse-redirects, […]
Plans:
- […]
- search-visibility -- 15/16 done, 1 claimable, 0 in flight -- one step from shipped
(steps: tasks_ready plan=<slug>; claim: tasks_claim id=<task id> session=<your Seam session>; attach work via the plan:<slug> tag)
Conventions (project-local choices):
- landing-page-gate-is-site-check: docs/index.html is hand-written: docs-check cannot see it, `make site-check` gates it (commands only, not prose). Edit the page, run site-check. [agent-written, session cc/09956706-55c6ae4ea8e4c864]
- site-publishes-from-tags-via-actions: Since 2026-11-13 thereisnospoon.org deploys via Actions (pages.yml) only from a release's v* tag or an admin-only site-* tag; a main push changes… [agent-written]
- owner-wants-exact-paste-ready-commands: When the owner must run something, hand exact, complete, paste-ready commands with full paths, never prose like "run ls -l on the two outboxes" [agent-written]
(18 total, 3 shown -- recall kind=convention for the rest)
Recent findings:
- cc/a92390d5-aced1f16815f0bf5 (just now): (auto-harvested) The redesign is built and passing the repo's gates, but it is not committed, landed or live. It sits in a separate worktree for you to look at first: - **Preview:**…
- cc/09956706-55c6ae4ea8e4c864 (1h): 2026-11-20 site and docs refresh, landed on main f6b2d83e..1cc95624 (8 commits); CI run 44815924611 green on every job, including Windows os-smoke and the install.ps1 pwsh parse. NOT LIVE YET: the…
- sess/qwfb67qs (2h): 2026-11-20. This session held the claims on the four gardener error tasks […]
Ready tasks (7):
- Touch ID approval for console lock changes (follow-up to…
- Future: make confidential and sealed projects locked by…
- […]
(full queue with ids: tasks_ready; claim: tasks_claim id=<id> session=<your Seam session>)
Memories (seamless):
- fanout-protocol-core: Fan-out protocol core: partition, prompts, co-tenant gates, landing and records for parallel subagents; load with the host-traps and repo annexes [agent-written]
- site-identity-knowledge-sky: 2026-10-08 owner-directed redesign: public site identity is the "knowledge sky" (night sky / star atlas, Fraunces+Instrument Sans+Plex Mono)… [agent-written, session cc/09956706-55c6ae4ea8e4c864]
- lima-macos-guest-for-live-update-tests: Throwaway macOS guest (Lima template:macos-26) for installer/update tests: hand-written /etc/kcpassword for a GUI session; VZ guests cannot sleep [agent-written, session cc/49e1eb9a-1483baf1bebb29e5]
- macos-port-stays-the-old-accounts-after-a-daemon-switch: macOS: after a daemon on 127.0.0.1:8081 stops, another account cannot bind that port for ~30-40 s (same account can); launchd retries every 10 s [agent-written, session cc/49e1eb9a-1483baf1bebb29e5]
- (+184 older -- recall query=<topic>, optionally kind=<kind>)
Recall on demand with recall; read a memory with memory_read. Trust a tool's inputSchema (required + enums) over prose when building a call.
Seam session: cc/d14e0401-c715329af73db8a7 (ambient) -- this agent's Seamless tool calls bind to it automatically; no session_start needed
</seam-briefing>
the lock and the neighbors Whether the main branch is free to land on, and which other sessions have this repository open.
constraints and conventions Rules an earlier session, or the owner, wrote down. Constraints are in every briefing.
stages A state of the world every session must know while it holds. This one waits on a person.
plans Work in flight, with what can be claimed this minute.
recent findings The last sessions' handoffs, newest first.
ready tasks The queue of work with no open blocker.
the index A name and one line for each memory. The body is one call away.
Memories
yaml-v3-node-decode-drops-knownfields: A custom UnmarshalYAML that calls node.Decode into a struct loses the outer decoder's KnownFields: a mistyped key loads silently. Check keys yourself
---id: 01M7EV6RJZHZBPRBJQ1VQB8T1Y
kind: gotcha
name: yaml-v3-node-decode-drops-knownfields
description: "A custom UnmarshalYAML that calls node.Decode into a struct loses the outer decoder's KnownFields: a mistyped key loads silently. Check keys yourself"
project: seamless
created: 2026-11-15T05:34:43Z
invalid_at: null
superseded_by: null
source_session: 01M7EPQG5EJN3RXB7HFMZKDGBF
model: claude-opus-5-5
tags: [config, yaml, peer-auth]
---
config.Load decodes with KnownFields(true), so an unknown key anywhere in seamless.yaml is refused. That stops inside a custom UnmarshalYAML(*yaml.Node): node.Decode(&someStruct) there runs a fresh decoder WITHOUT KnownFields, so a mistyped key decodes with no error and the field stays zero.
This was found 2026-11-13 in the AAR B design (note 01M7C9TQH76XF1D59P3N18EHP9) and handled in cc638e0e (config.RestrictedAccount). For a restricted entry the silent zero fails open: {account: X, exlude: [...]} would load as a plain entry, which is the account's full reach.
How to apply:
In a config type with its own UnmarshalYAML, walk the MappingNode's keys against an allow-list and refuse an unknown one with its name and key.Line.
Decode each value separately (scalar into string, sequence into []string), never the whole mapping into a struct.
Resolve alias nodes first (resolveAlias in internal/config).
Pin it with a test that loads a typo and must fail. TestPeerAuth_RestrictedShapes "a mistyped exclude" does this, and it was shown to fail with the check removed.
Related: yaml-v3-refuses-bare-int-into-duration.
zsh-unquoted-var-does-not-word-split: zsh never word-splits an unquoted $VAR: `git add -- $FILES` passes one bogus path. Feed path lists through a file and xargs
---id: 01M79FMW4W7B0X331VYCWA9C5D
kind: gotcha
name: zsh-unquoted-var-does-not-word-split
description: "zsh never word-splits an unquoted $VAR: `git add -- $FILES` passes one bogus path. Feed path lists through a file and xargs"
project: ""
created: 2026-11-13T03:36:30Z
invalid_at: null
superseded_by: null
source_session: 01M799YS11WQNQSVFZ5DMKTTTP
model: claude-opus-5-5
tags: [zsh, shell, git]
---
The owner's shell is zsh. Unlike bash, zsh does not split an unquoted parameter expansion on spaces. With FILES="a b c", git add -- $FILES receives one argument "a b c", and set -- $spec does not split either.
What happens: the command fails or matches nothing. A script with no set -e carries on: on 2026-11-12, during a /seam-fanout commit gate, a temporary index stayed at HEAD, and a worktree was built at the base tree instead of the intended commit tree. A path-set diff caught it before any gate ran.
How to apply:
Keep path lists in a file, one per line, and run xargs -n 50 git add -- < list.txt.
Or use a real array, or ${=VAR} (zsh-only), or run the snippet under bash -c.
After building a tree to gate, assert its changed path set equals the intended list (git diff --name-only A B | sort | diff - list) before trusting the result.
sqlite-partial-index-unused-with-bound-param: SQLite never uses a partial index WHERE col <> '' for a query binding col = ?: it can't prove the bound value. Check EXPLAIN QUERY PLAN
---id: 01M79FMV7QA6C7FVWTVG0H85J6
kind: gotcha
name: sqlite-partial-index-unused-with-bound-param
description: "SQLite never uses a partial index WHERE col <> '' for a query binding col = ?: it can't prove the bound value. Check EXPLAIN QUERY PLAN"
project: seamless
created: 2026-11-13T03:36:29Z
invalid_at: null
superseded_by: null
source_session: 01M799YS11WQNQSVFZ5DMKTTTP
model: claude-opus-5-5
tags: [sqlite, migrations, indexes, performance]
---
SQLite uses a partial index only when it can prove, at prepare time, that the query's WHERE implies the index's WHERE.
What fails: a query that binds the column, claude_session_id = ?, never implies claude_session_id <> '', because the parameter is unknown when the statement is prepared. The planner reports SCAN sessions exactly as if the index did not exist.
Found: 2026-11-12, migration 039 (plan fenced-sessions P1). The suggested index ON sessions(external_client, claude_session_id, created_at) WHERE ambient = 0 AND claude_session_id <> '' was refuted by EXPLAIN QUERY PLAN on the real query. Migration 010's idx_sessions_ambient_external_identity has the same <> '' shape. It is unique for integrity, so it still enforces correctly, but it cannot serve WHERE ambient = 0 lookups.
How to apply:
For a lookup index, make the partial WHERE use only conditions the query states as literals (for example ambient = 1 with a query that says ambient = 1), or make the index non-partial. 039 chose non-partial: idx_sessions_conversation (external_client, claude_session_id, created_at, id).
Pin it in a test: EXPLAIN QUERY PLAN on the exact production query must show USING INDEX <name>. TestMigration039_ConversationLookupsUseTheirIndexes is the model.
browser-cookies-cross-ports-on-open: Browsers send a host's cookies to every port of that host, SameSite=Strict included, when a program runs `open <url>`: confirmed in Safari, Chrome…
---id: 01M73VD5E7WR8ZBTD4QCD2XC9A
kind: gotcha
name: browser-cookies-cross-ports-on-open
description: "Browsers send a host's cookies to every port of that host, SameSite=Strict included, when a program runs `open <url>`: confirmed in Safari, Chrome…"
project: seamless
created: 2026-11-10T23:06:34Z
invalid_at: null
superseded_by: null
source_session: 01M73TNY2Z08Z0XZBE581VWG8Z
---
Safari: a cookie set by localhost:18081 (Path=/console, HttpOnly) reached localhost:19999/console/x, both its Lax and its Strict copies.
Chrome and Firefox: the live console's seamless_console cookie reached the other port the same way.
Path still scopes: /elsewhere received nothing.
Why: cookies are scoped by host and path, never by port. A navigation that another program starts with open counts as browser-initiated (Sec-Fetch-Site: none), so SameSite does not stop it.
How to apply: a cookie is never enough to bind a console grant to one browser on a machine where agents run as the owner. Any of them can listen on another port and open the browser at it. Bind a console session or unlock to origin-scoped state instead, such as a non-extractable WebCrypto key in IndexedDB (scheme, host and port). Related: console-unlock-begun-by-the-browser-it-opens.
Applied to console unlocks in commit 0ce83987 (internal/console/browserproof, static/browserkey.js, static/sw.js; AGENTS.md "A cookie never names a browser alone"). […]
git-grep-e-word-boundary-silently-matches-nothing: On this macOS, \b in `git grep -E` matches nothing, so a scan reports clean when it is not. Use `git grep -w` for word matches.
---id: 01M7252K4NGBENJ8PH5YF7GP6G
kind: gotcha
name: git-grep-e-word-boundary-silently-matches-nothing
description: "On this macOS, \\b in `git grep -E` matches nothing, so a scan reports clean when it is not. Use `git grep -w` for word matches."
project: seamless
created: 2026-11-10T07:17:04Z
invalid_at: null
superseded_by: null
source_session: 01M721SHNMEXX86WW9ATFM3BFN
model: claude-opus-5-5
tags: [git, macos, search]
---
git grep -E '\bword\b' returns no hits on macOS while git grep -w word finds them. The failure is silent, so a "nothing left" scan looks like a pass. On 2026-11-09 it hid a host name in three files during a deployment-name cleanup, and the task's own check command had the same flaw. Use -w for word-bounded searches, or check the pattern against a known hit first. Go's regexp handles \b correctly, so the guard test in cmd/docsgen/public_names_test.go is not affected.
branch-seamlessd-without-config-migrates-live-db: A branch seamlessd run with no SEAMLESS_CONFIG opens and migrates the live DB, even on a bad argument. Live DB went to v36 this way on 2026-11-09.
---id: 01M71QPJ9J7XW2XJ1CDBCRVJ8E
kind: gotcha
name: branch-seamlessd-without-config-migrates-live-db
description: A branch seamlessd run with no SEAMLESS_CONFIG opens and migrates the live DB, even on a bad argument. Live DB went to v36 this way on 2026-11-09.
project: seamless
created: 2026-11-10T03:23:19Z
invalid_at: null
superseded_by: null
source_session: 01M71Q2PZXSSM459Q7S5HF3GHC
model: claude-opus-5-5
tags: [store, migrations, live-state, plan:seamless-sealed-unlock]
---
Most seamlessd subcommands call store.Open, which runs migrations, against whatever the default config names (~/.config/seamless/seamless.yaml, so ~/.seamless/seam.db). A dev or branch build run from a repo or worktree with no SEAMLESS_CONFIG therefore migrates the live database under the running daemon. seamlessd approvers <verb> --help counts: it opens the database before it validates its arguments.
How to apply: always run a built seamlessd with SEAMLESS_CONFIG pointing at a scratch config, even to read its help, and prefer /usr/bin/env -i HOME=<scratch> PATH=/usr/bin:/bin SEAMLESS_CONFIG=<scratch config>. Read flags from the source instead when you can. To inspect the live database use sqlite3 "file:$HOME/.seamless/seam.db?mode=ro". Code fix is filed under plan seamless-sealed-unlock.
Incident, 2026-11-09 03:15:45Z (session cc/7238e932): a locked-projects build applied migrations 29-36 to the live ~/.seamless/seam.db via approvers enroll-code --help. The live daemon (commit 13444ec) compiles only up to 28; main has up to 30; 31-36 exist only on locked-projects.
State after it, checked read-only: additive only (new empty tables; new columns that are nullable or NOT NULL DEFAULT ''), no rows changed or removed, no positional INSERT or SELECT * on the altered tables at 13444ec. The daemon kept serving and task writes at 03:20:51Z landed. A daemon restart on this schema was NOT tested; at 13444ec migrate() skips versions at or below the applied maximum and has no refusal for a newer schema.
Consequences while it holds:
seamlessd doctor from an older binary warns that the schema is ahead.
Archives taken from this database record schema v36, and a binary compiled below that refuses to restore them, by the newer-schema refusal in internal/store/migrate.go.
Do NOT add a migration on main numbered 31-36 before locked-projects merges without repairing this database first: migrate() would skip it here. Renumbering the branch's migrations would re-run its CREATE TABLEs against tables that already exist and break startup.
Editing migrations 31-36 on the branch before merge will not reach this database.
Open: the owner decides whether to leave it (it matches once locked-projects ships) or roll back, which means stopping the daemon and hand-reversing the DDL. Update this memory when that is settled. Update 2026-11-09: commit cb8f246a on locked-projects fixes the approval commands: approvers, approve and console-open --unlock no longer create or migrate, and approvers checks its arguments before opening anything. Builds without that commit still behave as above. doctor (so make doctor), family, map-repo, unmap-repo, retire-project and import still migrate, so the SEAMLESS_CONFIG rule stands. The live database is still at v36 and the owner's decision is still open.
Update 2026-11-09 19:51 PST (cc/863415c2): the live daemon now runs a locked-projects build (0.8.0+cb8f246a, compiled to v36), so daemon and live DB match and a restart on v36 has been exercised. The owner's leave-or-roll-back decision is moot while that build stays installed. The warning against adding migrations 31-36 on main still stands. See live-runs-local-v0-8-0-from-locked-projects.
Update 2026-11-09 20:14 PST (cc/863415c2): locked-projects is merged into local main at 89d7e931, so migrations 31-36 are on main and the warning against numbering new ones there no longer applies. The next migration is 037. The SEAMLESS_CONFIG rule still stands for doctor, family, map-repo, unmap-repo, retire-project and import.
Update 2026-11-09 (cc/b343cc0e): local commit 9887fc44 stops doctor (so make doctor), family, map-repo, unmap-repo and retire-project from migrating an existing database; doctor also creates nothing. map-repo still creates an absent database on a server install. Only serve and import still migrate. The SEAMLESS_CONFIG rule stands for those two and for any build older than that commit, and map-repo can still create a database at the default path.
open-w-drops-app-exit-status: macOS `open -W -n -a App` exits 0 whatever the app's exit code; to learn how a launched app ended, use `open --stderr <FIFO>` and read its last line
---id: 01M6XA5XJ6A85G67FD25J8FM5Q
kind: gotcha
name: open-w-drops-app-exit-status
description: "macOS `open -W -n -a App` exits 0 whatever the app's exit code; to learn how a launched app ended, use `open --stderr <FIFO>` and read its last line"
project: seamless
created: 2026-11-08T10:10:04Z
invalid_at: null
superseded_by: null
source_session: 01M6X4YBARNN9XZTAXXRRPAF8C
model: claude-opus-5-5
tags: [macos, launchservices, touchid, approver, plan:seamless-sealed-unlock]
---
Measured 2026-11-08 by SEAL U1's agent A (session cc/c0412659), against a scratch app and real LaunchServices.
open -W -n -a <app> exits 0 even when the app exits 2. LaunchServices doesn't pass the app's exit status back, so a caller can't tell Cancel from success by exit code. This is why seam mcp-proxy's Touch ID cancel used to wait out the full 120 s.
What works:open --stderr <path> with a FIFO (0600, in a 0700 temp dir). open returns in about 60 ms. The FIFO reaches its end when the app exits, and it carries the app's last stderr line. Hold a spare write end until open returns, and count an end only after the app has written something, or a silent app reads as a close.
Seamless uses this in cmd/seam/mcpproxy_approver*.go: the line "SeamApprove: Not approved:" means cancelled; any other last line means closed. That couples the bridge to the helper's wording (follow-up task 01M6X9M1TYWXVKTDJ9BH1CK16P).
How to apply: never rely on open's exit code for a GUI helper's outcome on macOS. Use the stderr FIFO, or have the helper report over its own channel (for Seamless: the daemon socket).
systemd-user-start-limit-leaves-seamless-down: 6 starts of seamless.service in 10s hit systemd's StartLimitBurst=5: restart fails and Restart=always never recovers; reset-failed or…
systemd's default start rate limit is 5 starts per 10s on every distro measured. docs/install's seamless.service (service_systemd) sets neither StartLimitIntervalSec nor StartLimitBurst.
The 6th start inside 10s ends in "start-limit-hit". Restart=always does NOT recover it: the service stays down until a start after the window, or systemctl --user reset-failed seamless.service.
systemctl's text: "Job for seamless.service failed." on 255; "...because start of the service was attempted too often." plus a reset-failed hint on 261.
Who hits it:
a crash-looping daemon (RestartSec=2 gives ~5 starts in 10s);
the installer's own systemctl --user restart seamless.service || die (docs/install ~:757), which then dies;
an updater's restart or rollback right after a crash loop.
It also happened unprompted on Arch after an aborted run left the unit enabled.
Fix, either or both (both measured): StartLimitIntervalSec=0 under [Unit] (8 of 8 rapid restarts succeeded; matches launchd's KeepAlive, which throttles but never gives up), and systemctl --user reset-failed seamless.service before the restart (recovers at once).
A release's unit change reaches an install only when that release's installer rewrites the unit. Rollback targets are at or above the Phase 2 floor, so the floor release must carry the fix.
Fixed 2026-10-09 in 172ce57 (task 2.09): docs/install's unit sets StartLimitIntervalSec=0, and the installer runs systemctl --user reset-failed seamless.service before its restart. The fix was verified in the Ubuntu 24.04 VM (systemd 255):
old unit: 8 rapid restarts gave rc "0 0 0 0 0 1 1 1" (start-limit-hit);
new unit: 16 of 16 succeeded;
after rewriting the unit plus daemon-reload, a restart succeeded even with the limit already hit, so the reset-failed is defensive (it covers a rewrite that did not load).
Installs made before this release keep the limit until their installer runs again; the manual recovery is systemctl --user reset-failed seamless.service && systemctl --user restart seamless.service.
github-releases-latest-is-not-max-version: GitHub /releases/latest follows created_at/make_latest, not semver: a backport can be "latest". Pick the max version over the release list.
---id: 01M4GMHTKQQSH9SQQ2RAKD5HBS
kind: gotcha
name: github-releases-latest-is-not-max-version
description: "GitHub /releases/latest follows created_at/make_latest, not semver: a backport can be \"latest\". Pick the max version over the release list."
project: seamless
created: 2026-10-09T15:29:49Z
invalid_at: null
superseded_by: null
source_session: 01M4GM7FZR3W5KHMNZE67XWCNE
tags: [github, update, release]
---
GitHub's "latest release" (GET /repos/{owner}/{repo}/releases/latest, and the releases/latest/download/<asset> redirect) is the most recently CREATED non-draft, non-prerelease release unless make_latest says otherwise. It is not the highest version: cut v0.5.9 as a backport after v0.6.0 and "latest" becomes v0.5.9, so anything that reads it as "newest" would downgrade.
Rule for Seamless update code: list releases (/releases?per_page=20), drop drafts, prereleases, non-strict vX.Y.Z tags and releases whose assets are still uploading, then take the max by semver (update.Newest). The manual seamlessd update, console "Update now" and auto-update all target that same selector and pin SEAMLESS_VERSION explicitly; none of them may rely on /releases/latest or releases/latest/download.
windows-updater-detach-child-first-task-fallback: Windows updater: a CREATE_NO_WINDOW breakaway child first, the per-user on-demand Scheduled Task only as fallback (owner, 2026-10-09)
Owner decision 2026-10-09 (session cc/90aaef39): "flip it according to the evidence". The detached child is the PRIMARY way the daemon starts the Windows updater, and the per-user on-demand Scheduled Task is the fallback. This supersedes the task-first order the spike's decision recorded and 2.09 built (172ce57). The flip itself is in cmd/seamlessd/update_spawn_windows.go (windowsSpawner) and update_spawn.go (childElseTask).
What Task Scheduler does (lab detached-updater-os-spikes, a Windows 11 test machine, build 26200, S4U stand-in)
Task actions run under the Schedule service's svchost.exe, in ONE job shared across tasks. Its only limit flag is SILENT_BREAKAWAY_OK, and Task Scheduler toggles even that. No KILL_ON_JOB_CLOSE.
Stop-ScheduledTask, schtasks /End and taskkill /F of the daemon end ONLY the action process. Children survive whatever their creation flags (plain, DETACHED, NO_WINDOW, BREAKAWAY).
The stop is a hard kill ~1.1s after the call returns; see windows-schtasks-end-lag-and-the-serve-lock.
A standard user can register its own InteractiveToken on-demand task with schtasks /Create /XML (S4U is "Access is denied").
Why child first
It came back healthy in 0.81s, against 5.81s for the task path.
It is windowless: CREATE_NO_WINDOW children showed no console window. An InteractiveToken task launching the console-subsystem seamlessd.exe likely shows one; that is unverified, and the post-release check covers it.
Its start is certain: CreateProcess succeeds or fails synchronously. schtasks /Run rc=0 does not prove a start (0x41303, "has not yet run"), and a task that never runs never reaches a fallback.
The task path gains nothing on the job: a task-launched updater lands in the same shared job as the daemon anyway.
As built
Child: CREATE_NO_WINDOW|CREATE_NEW_PROCESS_GROUP|CREATE_BREAKAWAY_FROM_JOB, NUL stdio, go cmd.Wait(). One retry without breakaway on ERROR_ACCESS_DENIED: the job has no KILL_ON_JOB_CLOSE, so a child inside it survives too.
Fallback, only when the child cannot start and the daemon's ctx is not done: task SeamlessUpdate-<SID> (UTF-16 LE + BOM XML in <data_dir>/update/, InteractiveToken, LeastPrivilege, Hidden, PT1H, IgnoreNew), via schtasks /Create /XML /F + /Run. A Warn names the child's error.
Both failing: seamlessd.spawn: a detached process: <err>; the update task: <err>. A failed child during shutdown is final (nothing has started).
Self-check (outsideServiceCheck, Windows): refuse only inside a job with KILL_ON_JOB_CLOSE.
Detect gate 9: the daemon's parent is svchost.exe AND the Seamless task's Principal UserId is this user.
Uninstall still deletes SeamlessUpdate-<SID>, which can exist once the fallback has run.
Still open
The post-release check with a signed-in Interactive principal: windows on screen, the job flags, gate 9 (task 01M4HCZR2W47BZAA5FRNRS1HT5).
linux-updater-detach-systemd-run-transient-service: 2.01 spike (Linux, systemd 249-261): spawn the updater as a transient user service via systemd-run --user (Type=exec, --collect); no Setsid, no…
---id: 01M4HJDC7PC273P6DZ6A6KM3BD
kind: decision
name: linux-updater-detach-systemd-run-transient-service
description: "2.01 spike (Linux, systemd 249-261): spawn the updater as a transient user service via systemd-run --user (Type=exec, --collect); no Setsid, no…"
project: seamless
created: 2026-10-10T00:11:40Z
invalid_at: null
superseded_by: null
source_session: 01M4HDW50R4DMHKDFGGTX8EZXA
tags: [linux, systemd, auto-update, plan:plan-background-update-check-automatic-updates-claude-code-style, lab:detached-updater-os-spikes]
---
Built 2026-10-09 in 172ce57 (update_spawn_linux.go; task 2.09). Settled 2026-10-09 by lab detached-updater-os-spikes (24 "Linux ..." trials, session cc/90aaef39) on Lima VMs (arm64): Ubuntu 22.04/24.04/26.04, Debian 12/13, Fedora 44, Arch ARM (as an nspawn container); systemd 249-261; cgroup v2 and v1 hybrid and legacy. Feeds task 2.09's Linux spawner. Not covered: WSL2, x86_64, systemd < 249.
Run systemd-run as a child, buffer its output, Wait with a ~30s timeout (it returns in 3-25ms). rc=0 means the unit was created and exec'd. Whether the update worked comes only from the attempt record.
The updater lands in .../user@UID.service/app.slice/seamless-update-<ULID>.service. It survives systemctl --user restart AND stop of seamless.service with no signal, and can restart the service itself (the installer's step).
A 26-char ULID is a valid unit name as is. systemd-run silently escapes invalid names (rc=0), so only ever pass the validated ULID.
--collect removes the unit whatever the outcome. Without it, a failed run blocks the name until reset-failed. RuntimeMaxSec is enforced (SIGTERM, then SIGKILL after TimeoutStopSec); 1800s is twice the installer timeout. KillMode=control-group also reaps the installer's leftovers when the updater exits.
Environment
The transient unit gets the USER MANAGER's environment, never the daemon's: HOME, PATH (as short as /usr/local/bin:/usr/bin), XDG_RUNTIME_DIR, LANG, USER, LOGNAME, SHELL, plus DBUS_SESSION_BUS_ADDRESS only where a user bus exists.
No SEAMLESS_CONFIG, hence --config is load-bearing. Nothing from seamless.service's Environment= or drop-ins arrives either (a proxy, for one).
Pass what the updater needs explicitly, and only for values the daemon has set and non-empty: --setenv=HTTPS_PROXY=... etc. (HTTP(S)_PROXY, NO_PROXY, ALL_PROXY in both cases, SSL_CERT_FILE, SSL_CERT_DIR).
Never the bare --setenv=NAME form (systemd-run-setenv-inherit-form-fails-on-249).
No D-Bus is needed: systemd-run --user reaches the manager's private socket ($XDG_RUNTIME_DIR/systemd/private), and works on Debian, which ships no user bus. Only --wait/--pipe/--pty need the bus; never use them, nor --no-block.
Rejected
Setsid or plain child: KillMode=control-group SIGTERMs the whole service cgroup on restart and stop, then SIGKILLs at the stop timeout (systemd-cgroup-kill-reaches-setsid-children).
The plan's --scope fallback: it works, but it gave no extra resilience against any measured failure (same manager connection, same exe). It also keeps the daemon's env (SEAMLESS_*, stale JOURNAL_STREAM) and pgid/sid. "Transient service, else notify-only."
Self-checks
outsideServiceCheck and probeSupervised (cmd/seamlessd/install_probe.go inSystemdUnit) give the right verdicts on every captured sample, v1 legacy included (no "0::" line; the name=systemd branch carries it).
The spike found two minor gaps, both fixed in 172ce57: a sub-cgroup of the unit (.../seamless.service/x) read as outside, and a SYSTEM unit /system.slice/seamless.service matched too. inSystemdUnit now wants user@<uid>.service followed by seamless.service at any depth.
Preconditions
Linger. Without it, user@UID stops ~10s after the last session ends and kills the daemon and any updater, whatever the spawn method. With linger, everything survives and spawning works with zero sessions. See loginctl-enable-linger-explicit-name-and-polkit.
macos-updater-detach-setsid-outside-process-group: 2.01 spike (macOS 27): launchd only signals the job's process group, so a Setsid child updater survives bootout/kickstart -k/kill -9; self-check…
---id: 01M4HABDMKEJ76F519BR35R4J5
kind: decision
name: macos-updater-detach-setsid-outside-process-group
description: "2.01 spike (macOS 27): launchd only signals the job's process group, so a Setsid child updater survives bootout/kickstart -k/kill -9; self-check…"
project: seamless
created: 2026-10-09T21:50:47Z
invalid_at: null
superseded_by: null
source_session: 01M4H36388N77HSP2V1CHJ4GT3
tags: [macos, launchd, auto-update, plan:plan-background-update-check-automatic-updates-claude-code-style, lab:detached-updater-os-spikes]
---
Settled 2026-10-09 by lab detached-updater-os-spikes (task 2.01, macOS 27.0.1 / Darwin 27 on the owner's Mac; macOS 15 and 26 not yet run). Feeds task 2.09's darwin spawner and the darwin branch of outsideServiceCheck (cmd/seamlessd/update_engine.go).
What launchd actually does to a LaunchAgent's children
The job's main process is a process-group leader (pgid = pid) in launchd's session (sid = 1, not its own).
On bootout, kickstart -k (which sends SIGTERM, not SIGKILL), kill -9 of the main process, and the 5s exit-timeout SIGKILL alike, launchd sends SIGTERM to the job's process group when the main process goes. It never escalates to SIGKILL for leftover group members, and it does not kill by coalition or session, although each job has its own resource/jetsam coalition.
A plain child (exec.Command with no SysProcAttr) is in that group, so it gets the SIGTERM. Go's default handling would end the updater mid-install.
A child started with Setpgid or Setsid gets no signal and is reparented to pid 1.
The orphan can run the installer's launchctl bootout + bootstrap on its own service. launchd logs "bootout initiated by: launchctl<-sh<-updater<-seamlessd(service)" and accepts it.
Decision for 2.09 (darwin)
Spawn the updater with SysProcAttr{Setsid: true} (the plan's choice; Setpgid alone would also survive) and reap it with go cmd.Wait(). The installer child keeps installerProcAttr's Setpgid.
outsideServiceCheck on darwin: unix.Getpgid(0) == os.Getpid(). Being a process-group leader means not being in the service's group, and that group is the only set launchd signals.
True for the Setsid child and for a transient job's main process; false for a plain child.
Do NOT use XPC_SERVICE_NAME: children inherit the service's label, and an orphan also has ppid 1, so both of Detect's gate-9 signals match an orphaned updater. updaterProbe already forces Supervised for that reason.
Fallback (works, not needed on 27): a transient job whose plist lives in <data_dir>/update/ (0600 in 0700), bootstrapped into gui/<uid>.
It runs as its own job: own XPC_SERVICE_NAME, ppid 1, pgid = pid. BTM never touches it.
It stays loaded as "not running" after it exits, so boot out any leftover label before the next bootstrap.
Supporting trials
macOS 27: external launchctl bootout -- children with no detach / Setpgid / Setsid
macOS 27: launchctl kickstart -k -- children with no detach / Setpgid / Setsid
macOS 27: kill -9 of the service's main process -- children with no detach / Setpgid / Setsid
macOS 27: service hangs past the 5s exit timeout during the orphan's reload -- launchd SIGKILLs it, Setsid updater survives, bootstrap succeeds at try 5
macOS 27: orphaned Setsid updater runs the installer's bootout+bootstrap on its own service (same binary)
macOS 27: orphaned Setsid updater swaps the binary (rename) then bootout+bootstrap -- no AMFI kill
macOS 27: transient launchd job from a plist outside ~/Library/LaunchAgents runs as its own job with zero BTM activity
Rejected
No detach: it receives the group SIGTERM.
Relying on XPC_SERVICE_NAME or ppid for the self-check: both are inherited or shared by the orphan.
kickstart -k after a swap: it was not killed on 27 (see memory macos-26-amfi-kills-first-launchd-spawn-after-binary-swap), but it stays wrong for 26.x.
Built 2026-10-09 in 172ce57 (task 2.09; update_spawn_darwin.go, update_spawn_unix.go, update_selfcheck_unix.go):
Setsid child + go cmd.Wait().
stdin/stdout are /dev/null. stderr is the daemon's os.Stderr only when it is a regular file (launchd's ~/.seamless/seamlessd.log), so an updater that refuses before its own log opens still says why there; never a pipe.
Self-check: unix.Getpgid(0) == os.Getpid().
The transient launchd-job fallback was deliberately NOT built: no failure class was found that a launchd job running the same exe would survive, and a launchd-spawned job is the one exposed to macOS 26's cached code-signing kill. darwin uninstall therefore has nothing new to remove.
auto-update-architecture-and-policy: 2026-10-09 owner decisions for Claude Code-style auto-update: in-daemon GitHub check, auto-apply on installer installs only, idle+deadline restart…
Owner decisions, 2026-10-09 (plan:plan-background-update-check-automatic-updates-claude-code-style; full design in note cc-plan-temporal-yawning-cupcake).
Where the check runs: inside seamlessd serve (first check 2-10 min after start, then every update.check_interval, default 6h +-10%, scheduled by wall clock so laptop sleep cannot stall it) against the GitHub releases LIST endpoint (/repos/arctop/seamless/releases?per_page=20, ETag). No OS-scheduled job, no self-hosted manifest.
Who auto-applies: only installs made by the curl/PowerShell installer (update.Detect kind Installer: release build + installer-written service running this exe + installer marker + installer config path + supervised instance). Homebrew, make install/go install source builds, client-only machines and unknown layouts are notify-only, with the right command as the hint.
When it restarts: when idle (no live agent session, nothing in flight); once pending longer than update.max_defer (24h), at the next 90s lull; forced at 1.5x.
Soak: auto-apply only takes releases at least update.min_age (24h) old by GitHub's clock, so a bad release can be pulled first by flipping it to prerelease. Manual seamlessd update and console "Update now" skip the soak.
LAN-shared servers follow the same rules; the idle gate already counts remote sessions.
Design pillars:
ONE upgrade implementation: apply = verify the release's installer Sigstore bundle in-process, then run the installer (seamlessd-update-command). No fetch/swap/service logic in Go.
update.check: false = zero update traffic; update.auto: false keeps check + notify. An explicit file/env false locks the console toggle off (the more restrictive setting wins -- unlike the briefing override, where the DB row wins).
No telemetry: one anonymous GET, fixed UA seamlessd-update-check, never GITHUB_TOKEN.
Phase 1 (check + notify) ships alone; Phase 2 (unattended apply, detached updater, rollback) needs OS spikes first. The first release carrying Phase 2 is the floor every auto-update can roll back to, so never delete releases at or above it.
update-surfaces-render-parsed-versions-only: Update notices (briefing, console, CLI) are built from parsed X.Y.Z + the constant release URL, never from GitHub's tag_name/html_url/body
---id: 01M4GMJ8RQ7VFRC6P2QQA46VQG
kind: constraint
name: update-surfaces-render-parsed-versions-only
description: "Update notices (briefing, console, CLI) are built from parsed X.Y.Z + the constant release URL, never from GitHub's tag_name/html_url/body"
project: seamless
created: 2026-10-09T15:30:03Z
invalid_at: null
superseded_by: null
source_session: 01M4GM7FZR3W5KHMNZE67XWCNE
tags: [update, briefing, security]
---
Every surface that tells someone about an update -- the SessionStart briefing line, the console Updates section and banner, doctor, update --check, seam version/status, event summaries -- renders ONLY:
versions that passed update.Parse (strict X.Y.Z, three integers), and
the constant template https://github.com/arctop/seamless/releases/tag/v<X.Y.Z> (update.ReleaseURL).
Never interpolate the API's tag_name, name, html_url, body or asset names. Release text is attacker-influenced from the briefing's point of view: whoever can edit a release (or MITM a misconfigured proxy) would otherwise inject instructions into every agent session on every machine.
The briefing line is also worded as an OWNER action ("Owner action, not a task for this session: ...") so an agent with Bash does not decide to run seamlessd update and restart the daemon under every other session, and it must pass sanitizeField unchanged (no "ignore", "disregard", "from now on", "you must", "override"). Context: auto-update-architecture-and-policy.
dev-and-fixture-daemons-never-self-update: Only seamlessd builds goreleaser stamps distribution=release may check GitHub by default, write update state, or apply updates; never stamp it…
---id: 01M4GMJ801VC4BNBZD9FRQGJ6C
kind: constraint
name: dev-and-fixture-daemons-never-self-update
description: Only seamlessd builds goreleaser stamps distribution=release may check GitHub by default, write update state, or apply updates; never stamp it…
project: seamless
created: 2026-10-09T15:30:02Z
invalid_at: null
superseded_by: null
source_session: 01M4GM7FZR3W5KHMNZE67XWCNE
tags: [update, build, fixture]
---
The background updater must never touch a developer's build, a fixture/seambench arm, make run, CI, demoseed or the Glama container. The guard is the build stamp main.distribution:
default "source" in cmd/seamlessd/buildinfo.go; ONLY .goreleaser.yaml adds -X main.distribution=release, and only for seamlessd. Never add that flag to the Makefile, the fixture harness, deploy/glama or any test build.
make install stamps the nearest TAG as main.version, so a dev build reads as a clean release by version alone. That is why the stamp, not the version, decides.
A source build: update.check unset means OFF (no GitHub traffic); it never writes <data_dir>/update/state.json, never records update.applied/update.available, and is never kind Installer, so it can never auto-apply even with check: true.
Why: a dev or fixture daemon pointed at a live data dir would otherwise emit a false "updated" event, move last_run_version, or -- with Phase 2 -- replace the developer's build with the published release. Context: auto-update-architecture-and-policy.
zsh-equals-expansion-breaks-bare-double-equals: The shell is zsh: any unquoted word starting with = is equals-expanded, so a bare == argument dies with "= not found".
---id: 01M0AY37VN25KDE9MCNVFAP89F
kind: constraint
name: zsh-equals-expansion-breaks-bare-double-equals
description: "The shell is zsh: any unquoted word starting with = is equals-expanded, so a bare == argument dies with \"= not found\"."
project: ""
created: 2026-08-18T17:18:23Z
invalid_at: null
superseded_by: null
source_session: 01M0AXTP38Y6NKAZCD7NDW24JY
model: claude-opus-5-5
tags: [shell, zsh, gotcha]
---
The user's shell is zsh 5.9 on macOS, with the EQUALS option on (the zsh default). Equals-expansion rewrites any unquoted word that begins with = into the path of the command named after it: =ls -> /bin/ls. If no such command exists, zsh aborts the line before it ever runs.
So == is not a plain operator token in zsh -- it is a word starting with =, and it gets expanded (to a lookup of the command =), which always fails:
% echo ==foo
zsh: =foo not found
% [ a == a ] && echo ok
zsh: = not found # the word `==` expands, nothing runs
Verified 2026-08-18 on zsh 5.9.
How to apply -- when writing a shell command for this machine:
Prefer [[ ... == ... ]]. Inside [[ ]] zsh does not equals-expand, so [[ $a == $b ]] works (and == there is a glob match, not a string compare).
With the [ builtin or test, use = instead: [ "$a" = "$b" ].
If a literal == really must be an argument (an awk/jq/grep expression, a --opt==value, a URL or query string), quote it: [ a '==' a ], awk '$1 == "x"'. Quoting suppresses the expansion entirely.
The same trap applies to any argument beginning with =, not just ==.
This is the same family of quoting hazard as the existing global rule "quote every glob and URL argument" in ~/.claude/CLAUDE.md.
Why: it is a repeating mistake -- an unquoted == looks like valid bash/POSIX but fails immediately under zsh, and the error message (= not found) does not obviously point at the real cause.
[…]
owner-wants-exact-paste-ready-commands: When the owner must run something, hand exact, complete, paste-ready commands with full paths, never prose like "run ls -l on the two outboxes"
---id: 01M7984YKZ1XHPDDE0PWZSJNE4
kind: convention
name: owner-wants-exact-paste-ready-commands
description: "When the owner must run something, hand exact, complete, paste-ready commands with full paths, never prose like \"run ls -l on the two outboxes\""
project: ""
created: 2026-11-13T01:25:28Z
invalid_at: null
superseded_by: null
source_session: 01M790VSBJWV4HBQ9J7SQ4XZGT
model: claude-opus-5-5
tags: [owner-preference, commands, handoff]
---
The owner, 2026-11-12, during a go-live in another project (session cc/0f2126bd): "please give me exact full commands as a routine (as opposed to 'then run ls -l on the two outboxes' for example)".
How to apply:
Every step the owner runs is a fenced block they can paste unchanged.
Use full absolute paths and real file names (look them up first, e.g. ls the folder), not placeholders or descriptions.
One block per step, in order, with what to send back stated after it.
A placeholder is allowed only when the value is genuinely unknown to the agent (a secret, a path only the owner knows), and then it is named in a variable at the top of the block (H=<path>).
Browser-only steps get the exact URL to open, and the button to press.
american-spelling-enroll: Seamless spells enroll/enrollment the American way everywhere (code, identifiers, UI, docs, wire strings); never enrol/enrolment
---id: 01M6TA9WGPBRGWSGJKD3PB3HR6
kind: convention
name: american-spelling-enroll
description: Seamless spells enroll/enrollment the American way everywhere (code, identifiers, UI, docs, wire strings); never enrol/enrolment
project: seamless
created: 2026-11-07T06:14:31Z
invalid_at: null
superseded_by: null
source_session: 01M6T7RADK20APPACCVDP20K47
model: claude-opus-5-5
tags: [spelling, copy, plan:seamless-sealed-unlock]
---
Owner, 2026-11-06 (session cc/e4c94d5a): use the American "enroll" everywhere: enroll, enrolls, enrollment, enrolled, enrolling. Never the British "enrol", "enrols", "enrolment".
This covers identifiers (TouchIDEnrollMessage, approver_enroll_codes), user-facing copy (the Seamless Approve dialog, CLI output, console), docs, and Seamless notes or drafts that become docs.
Commit 6cf90a4 on branch locked-projects converted all 410 occurrences. It changed the wire strings on both sides at once, because nothing had shipped: the route POST /console/approvers/touchid/enroll, the signed tags "seamless touchid enrollment v1" and "seamless approver enrollment v1", and the table approver_enroll_codes (migration 032 edited in place).
Check for regressions with git grep -nP '[Ee]nrol(?!l)', which must find nothing outside history. Fix in bulk with perl -pi -e 's/([Ee])nrol(?!l)/$1nroll/g'. "Enrolled" and "enrolling" are the same in both spellings, which is why the regex leaves a following "l" alone.
seam-vs-seamless-naming-convention: Two naming families: `seam` = the short handle a human types (CLI + skills); `seamless` = the system/namespace (product, daemon, MCP). Keep them…
---id: 01KXPP6V4MSV7G05RQ4DDZGTTQ
kind: convention
name: seam-vs-seamless-naming-convention
description: "Two naming families: `seam` = the short handle a human types (CLI + skills); `seamless` = the system/namespace (product, daemon, MCP). Keep them…"
project: seamless
created: 2026-07-17T00:04:20Z
invalid_at: null
superseded_by: null
source_session: 01KXPNNW2JBGYW83AR0MNRW7XC
---
The project has two deliberate, load-bearing naming families. They are not interchangeable, and the split is intentional -- do not "unify" them.
The rule
seam -- the short handle a human types at a prompt:
the CLI command and its verbs: seam task, seam recall, seam doctor, seam plan, seam hook, seam capture, seam status
the Claude Code skills: /seam-onboard, /seam-research
seamless -- the system and its namespaces (machinery, not typed by hand):
product name ("Seamless"), the daemon binary seamlessd
the MCP server name (serverName = "Seamless", internal/mcp/server.go) and the tool prefix mcp__seamless__*
the data dir ~/.seamless, env prefix SEAMLESS_*, config seamless.yaml
Mnemonic: seam is what you type; seamless is the system underneath. An agent legitimately calls mcp__seamless__recall, seam recall, and /seam-research in the same session -- that is the convention working, not drift.
Applying it to new names
A new user-typed CLI verb or Claude Code skill -> seam / seam-<x>.
A new daemon-side surface, MCP tool namespace, env var, or on-disk path -> seamless / SEAMLESS_*.
Why we keep it (decided 2026-07-16)
Considered renaming the skills to /seamless-* for symmetry with the mcp__seamless__ namespace. Rejected: it would break the parallel with the seam CLI verb (you'd have seam plan but /seamless-onboard), orphan the seam handle to just the CLI, and force a real migration -- the .seam-onboard-delivered marker + self-delete logic (docs/install:204-217), scripts/install-skill.sh / uninstall-skill.sh, .goreleaser.yaml bundling, and all docs. The only friction the split causes (a first-timer seeing mcp__seamless__* and guessing /seamless-onboard) resolves the moment they meet the seam CLI. See installer-bundles-claude-skills.
drill-auto-update-rollback: Rehearse the update rollback on a real installer install: touch update/test-fail-confirm, run seamlessd update from a terminal, then delete the marker
---id: 01M4HY2MMRHM3387K7J02PM0WS
kind: runbook
name: drill-auto-update-rollback
description: "Rehearse the update rollback on a real installer install: touch update/test-fail-confirm, run seamlessd update from a terminal, then delete the marker"
project: seamless
created: 2026-10-10T03:35:31Z
invalid_at: null
superseded_by: null
source_session: 01M4HW1QD1V5GJD4PJS4D05SFA
tags: [update, runbook, drill, plan:plan-background-update-check-automatic-updates-claude-code-style]
---
Rehearse the automatic-update rollback on a real installer install, release >= v0.7.0 (the first with checksums bundles, which preflight needs for the From release). Written 2026-10-09 from update_engine.go (confirm/confirmDrillName, install, rollback), update.go (attended path) and fold.go; not yet executed on a live install (task 2.16 does that).
Turn the drill on:mkdir -p ~/.seamless/update && touch ~/.seamless/update/test-fail-confirm (Windows: New-Item -ItemType File -Force $HOME\.seamless\update\test-fail-confirm). seamlessd doctor now warns update drill; seamlessd update --check shows a drill row.
Trigger it from a terminal with the attended updater: seamlessd update (needs a newer release), or SEAMLESS_VERSION=<running version> seamlessd update (a pinned reinstall, which also confirms and so also rolls back). Prefer this over console Update now: a manual (WhyManual) attempt is only shown -- no block, no backoff, no banner, no briefing line. An Update now (WhyNow) rollback BLOCKS that release for automatic updates, and only a newer release clears a block.
Expect, in order: verify, preflight, backup to ~/.seamless/backups/pre-update-v<from>-<utc>.tar.gz, the installer runs, then at once (no polling) "confirm: v<to> not confirmed -- the rollback drill is on (test-fail-confirm exists)". Then "rollback: restoring v<from>"; the DB is put back only if the schema moved; then "v<from> serving again". The drill never fails the rollback's own confirm. The command exits non-zero with "v<to> not installed (stopped at rollback): ... rolled back to v<from>". ~/.seamless/update/attempt.json has stage "rollback", rolled_back true; console Last attempt shows "rolled back" (seamlessd update, run by hand). The restart back to From sets no hold, because the attempt explains the downgrade.
Turn the drill off: delete ~/.seamless/update/test-fail-confirm. While it exists EVERY update (automatic, Update now, seamlessd update) fails its confirmation and rolls back. Re-run seamlessd doctor; the update drill row must be gone.
Retention: each run writes one backup and one log. Backups keep the newest 2 (only pre-update-v* files are pruned); attempt logs keep the newest 20.
recover-from-failed-auto-update: Recover when an automatic update or Update now did not apply: read the record, act by outcome, true-restore = stop, move data dir aside, import
---id: 01M4HY2KR3N1CF0Q2K2ST7HYCX
kind: runbook
name: recover-from-failed-auto-update
description: "Recover when an automatic update or Update now did not apply: read the record, act by outcome, true-restore = stop, move data dir aside, import"
project: seamless
created: 2026-10-10T03:35:30Z
invalid_at: null
superseded_by: null
source_session: 01M4HW1QD1V5GJD4PJS4D05SFA
tags: [update, runbook, plan:plan-background-update-check-automatic-updates-claude-code-style]
---
How to recover when an automatic update (or Update now) did not apply. Written 2026-10-09 from code at a55011b+ (update_engine.go rollback/rollbackFailed/gates, fold.go, internal/archive/import.go, cmd/seamlessd/import.go); not yet run on a live install. User docs: /guides/troubleshooting/#an-automatic-update-failed.
Read the record. Three places: console Settings > Updates > Last attempt (outcome, updater error, log path); seamlessd doctor (updates row); seamlessd update --check (rows last/error/log/backup/fix). Full log: ~/.seamless/update/logs/<attempt>.log (newest 20 kept). Backup: ~/.seamless/backups/pre-update-v<from>-<utc>.tar.gz (newest 2 kept).
Act by outcome:
rolled back / failed / interrupted: From still runs, nothing is lost. A rollback or verify failure BLOCKS that release; the rest retry after a backoff (1h doubling to 24h). No action unless it repeats.
failed at gates with a refusal (the fix shows only while the daemon still runs the attempt's From): stale_binary or not_installer -> seamlessd restart; self_check -> update by hand with seamlessd update; auto_off -> nothing. Until you act, every retry is refused the same way.
not rolled back (broken; red banner; automatic updates paused): the daemon may be down. Go to 3.
Broken recovery:
seamlessd status. If doctor warns tls trust, From is probably running and only the confirmation failed: the updater confirms through cfg.HTTPClient (system roots + tls.ca_file, dialing server_url), and so does the rollback (update_engine.go confirm), so a TLS install that cannot verify its own certificate ends every update "not rolled back". Fix the cert / ca_file / server_url first and do NOT restore data.
Reinstall From pinned: curl -fsSL https://thereisnospoon.org/install | SEAMLESS_VERSION=<from> sh (Windows: $env:SEAMLESS_VERSION='<from>'; irm https://thereisnospoon.org/install.ps1 | iex).
Only if the data must go back to its pre-update state, a TRUE restore. seamlessd import --from <backup> MERGES into a data dir that has seam.db or any memory/notes file (archive.DetectMode), and --force only bypasses the daemon-running guard for a fresh restore. So: seamlessd stop; mv ~/.seamless ~/.seamless.broken; seamlessd import --from ~/.seamless.broken/backups/pre-update-v<from>-<utc>.tar.gz; seamlessd start. The backup lives inside the data dir, so its path moves with it; since the 2.15 wave the attempt record's own recovery text names the moved path (<data dir>.broken/backups/...). Anything written after the backup stays in ~/.seamless.broken.
Console Settings > Updates > Resume automatic updates: lifts the pause and any hold, resets the rollback count. Blocks stay; only a newer release clears them. Update now and seamlessd update ignore blocks.
Gotchas:~/.seamless/update/test-fail-confirm (the drill, drill-auto-update-rollback) forces every forward confirm to fail; doctor warns update drill; make sure it is gone. "not enough free space for the backup" stops before any change (backoff). "The updater never started": the daemon log line update: could not start the updater names why (per OS: /reference/service/#the-updater).
stage-memories-need-a-live-status-gate: A stage pins only while its body head parses Status: open|in_progress|blocked; gateless stages leave briefings after 7d and get archive proposals at 1
---id: 01KXMWAX1NBH62PTNQ02QG6GFQ
kind: protocol
name: stage-memories-need-a-live-status-gate
description: "A stage pins only while its body head parses Status: open|in_progress|blocked; gateless stages leave briefings after 7d and get archive proposals at 1"
project: seamless
created: 2026-07-16T07:12:55Z
invalid_at: null
superseded_by: null
source_session: 01KXMTHZTFQW2SYAYYV8FPM6SG
---
Since 2026-07-16 the briefing no longer grants stage memories an unconditional permanent pin. The rules (core.ParseStageHeader / retrieve.pinnedStages / gardener stale-stage pass):
A stage body must OPEN (first 12 lines) with Status: open|in_progress|blocked|done and optionally Gate: human|ai. Markdown prefixes (- , **, ## ) are tolerated.
Status: done unpins immediately (unchanged).
A stage whose status is missing, unparseable, or unrecognized renders as status unknown only for briefing.stage_unknown_max_age_days (default 7) after its last update, then silently leaves the briefing. Recall still finds it.
The gardener's stale-stage pass proposes archiving any non-live-gated stage unchanged for gardener.stale_stage_days (default 14). [[links]] from another memory protect it, same as staleness.
Practical rule: a milestone breadcrumb ("X landed") is a note or session finding, not a stage. Write kind: stage only for work that is genuinely gating future sessions, and keep its Status line current -- flip it to done when the gate clears, or the gardener will eventually propose archiving it for you.
Why: by 2026-07-15 the seamless briefing carried nine permanent STAGE: ... -- status unknown lines (milestone breadcrumbs with no parsable header), which crowded out the budget-participating sections -- the header claimed "3 recent findings" while zero rendered. Findings now also reserve their budget first, so a fat index can no longer evict them.
lima-linux-vm-testing-on-apple-silicon: Lima on the owner's Mac for Linux tests: VM seamspike-u24 kept for 2.16; uid 501 breaks journalctl --user; archlinux template won't boot on VZ
---id: 01M4HJDG4Q0JGSMEWHFYFF1QBK
kind: reference
name: lima-linux-vm-testing-on-apple-silicon
description: "Lima on the owner's Mac for Linux tests: VM seamspike-u24 kept for 2.16; uid 501 breaks journalctl --user; archlinux template won't boot on VZ"
project: seamless
created: 2026-10-10T00:11:44Z
invalid_at: null
superseded_by: null
source_session: 01M4HDW50R4DMHKDFGGTX8EZXA
tags: [linux, lima, testing, plan:plan-background-update-check-automatic-updates-claude-code-style]
---
Set up 2026-10-09 (session cc/90aaef39) for spike 2.01's Linux half. Lima 2.2.1 (brew install lima), VMType vz, arm64.
Kept: VM seamspike-u24 (Ubuntu 24.04, systemd 255), stopped, cleaned (no test users, units, binaries or linger), for the live E2E task 2.16. Start it with limactl start seamspike-u24; delete it with limactl delete seamspike-u24.
Images are cached in ~/Library/Caches/lima (~14 GB after the spike); limactl prune frees them.
Templates: limactl start --list-templates; Lima 2.x syntax is template:ubuntu-24.04. Useful: ubuntu-22.04/24.04/26.04, debian-12/13, fedora-44.
uid 501: Lima mirrors the macOS uid, and 501 < 1000 is a system uid to journald. Its user logs go to system.journal and journalctl --user fails. For journal-dependent tests, create a uid >= 1000 user.
The archlinux template (2022 aarch64 image) stops about 1s after boot under VZ, and QEMU is not installed. Arch ran as a systemd-nspawn container inside the Fedora VM (machinectl shell).
The host home is mounted read-only in the VM. /private/tmp (the scratchpad) is not mounted, so copy files in with limactl copy <file> <vm>:/tmp/.
The spike's harness, scripts and samples live in the cc/90aaef39 scratchpad (agent-linux/), which is not durable. The trials in lab detached-updater-os-spikes are the record.
phase2-prereqs-on-local-main-release-hold: DONE 2026-10-10: main pushed and released as v0.7.0 (Phase 1 + Phase 2 together); history of the hold kept below
---id: 01M4GW0J6068NKD5GG5PHMNJM4
kind: stage
name: phase2-prereqs-on-local-main-release-hold
description: "DONE 2026-10-10: main pushed and released as v0.7.0 (Phase 1 + Phase 2 together); history of the hold kept below"
project: seamless
created: 2026-10-09T17:40:12Z
source_session: 01M4GRW9WKM0CRYZ6ZQXC1YFPD
model: claude-opus-5-5
tags: [update, release, plan:plan-background-update-check-automatic-updates-claude-code-style]
---
Status: done Gate: human
DONE 2026-10-10 (cc/448e543f): the owner chose main's HEAD as the release point. Pushed 25e7924 over SSH, tagged and released v0.7.0 (signed and notarized), changelog refreshed in 88d46a4. Main = origin/main. What follows is history.
Since 2026-10-09 (session cc/8234de8d), local main carries eight Phase 2 prerequisite commits on top of a54feff, the last Phase-1-only (check + notify) commit: 741c5c4, 5f2fbdc, 20d3169, ad8aa50, c21297a, aba6c14, 0bad23c, 11286f3. The cc/47575b9c wave (same day) added four more:
e4da8d9: WhyManual in the attempt contract.
74e2e8b: per-event seam hook dial budgets.
b0bc49b: 2.11, the daemon's Decide/Target/fold, inert until 2.13 wires a spawner.
d8519bb: 2.08, the updater engine.
None of it is pushed: 18 commits ahead of origin/main as of d8519bb.
While this holds, do NOT push main or tag a release from main's HEAD without the owner choosing the release point:
Pushing main deploys docs/ through GitHub Pages at once, including docs/install and docs/install.ps1 (0bad23c, the live curl/irm installers) and docs pages that describe update.auto/max_defer/min_age. Those keys do nothing until tasks 2.11 and 2.13 land.
ad8aa50 edits .github/workflows/release.yml, so the push must go over SSH (push-workflow-change-needs-ssh-not-gh-https).
From d8519bb on, a release CHANGES what a manual seamlessd update does. Unlike the auto-update docs, this is not inert:
it targets the newest release by semver;
it verifies the installer and checksums.txt under the exact tag (Sigstore);
on an installer-made install it backs up to <data_dir>/backups, confirms via /healthz and rolls back on failure;
already up to date, it changes nothing.
The docs pages pushing main would publish describe exactly this. seamlessd update --auto stays unspawned until 2.09 and 2.13.
The options are recorded on the plan's gate task 01M4GMFBTK1D934E678HB4AKM3: push and tag a54feff alone for the Phase 1 release, or push everything.
Flip to done once the owner has pushed or tagged per their decision.
UPDATE 2026-10-09 (session cc/90aaef39, fanout wave): six more commits, still unpushed. Main is 24 ahead of origin/main as of 267ed0a.
416a090 + 267ed0a: docs/install and the Makefile retry the launchd bootstrap every 0.1s. Live make install restart is now 1.42s (was 2.6s).
a457dcc: Windows seamlessd stop/restart wait on seamlessd.lock.
4ca66ae: doctor and update --check automatic-update rows. LIVE at once in a release: the new doctor checks "update drill" and "tls trust" (tls trust prints OK/WARN on any TLS install).
00274a7: console Settings > Updates controls and banners. Inert until 2.13: they need CanApply.
172ce57: the per-OS updater spawner (not wired until 2.13).
Also LIVE in a release: Detect's Windows gate 9 can now pass, so Windows installs become KindInstaller (still notify-only while no Spawner is wired), and inSystemdUnit is stricter.
docs/install's systemd unit gains StartLimitIntervalSec=0 plus a reset-failed before restart.
What a push would now also publish via Pages: docs/install with the 0.1s launchd loop and the systemd start-limit fix. Both are backward-compatible installer improvements. The release-point options on gate task 01M4GMFBTK1D934E678HB4AKM3 still apply, with these commits added to "everything".
UPDATE 2026-10-10 (sess/gwyqyhbm): two more unpushed commits; main is 26 ahead of origin/main as of aaefd58.
d5da89d: the Windows updater starts as a detached child first; the Scheduled Task is the fallback (owner decision).
aaefd58: Developer ID signing + notarization of the darwin binaries in the release.
It edits .github/workflows/release.yml, so the push must go over SSH (push-workflow-change-needs-ssh-not-gh-https).
A release of arctop/seamless now REQUIRES the five MACOS_* secrets (set 2026-10-10) and stops at its first step without them.
A release cut from a54feff (option (a) on the gate task) predates this and ships adhoc binaries.
UPDATE 2026-10-09 (cc/095a86b1, fanout wave): four more unpushed commits. Main is 30 ahead of origin/main as of 39d8be9.
1d0246e: 2.13 wires the spawner, activity, LiveSessions and probes into the daemon. NOT INERT ANY MORE: a release cut from main's HEAD AUTOMATICALLY INSTALLS later releases on curl/PowerShell installer installs (macOS, Linux systemd user service, Windows), subject to auto/min_age/max_defer. The console's Auto / Update now / Resume controls and doctor's automatic rows go live with it. Source builds and snapshots stay notify-only.
39d8be9: CI gains os-smoke (macos-latest, windows-latest) and config-lint. It edits .github/workflows/ci.yml, so the push must go over SSH (push-workflow-change-needs-ssh-not-gh-https). The first push is also the first real run of those jobs.
Docs for automatic updates (2.15) have NOT landed yet: a release from HEAD would ship live auto-update with docs that still say "nothing installs itself" in places (console.md, troubleshooting.md, updating.md).
UPDATE 2026-10-09 (cc/448e543f, fanout wave + release prep): four more unpushed commits. Main is 34 ahead of origin/main as of 25e7924. The full make check is green on the tree.
a55011b: typed gate refusal (attempt.Refusal) with the owner action in the console, doctor and --check.
5e4b3b4: the failed-rollback recovery text names the moved backup; doctor's tls trust consequence is corrected.
a2b5f29: 2.15 docs (the "nothing installs itself" lines are gone), AGENTS.md/CLAUDE.md release-discipline rules, the landing-page phone-home FAQ.
The docs blocker named in the cc/095a86b1 update is resolved: a release from 25e7924 ships live auto-update WITH matching docs. Pre-push test: the new docs/install at HEAD was run in Lima VM seamspike-u24 (Ubuntu 24.04 arm64) against GitHub's latest release, v0.6.0. Exit 0; the systemd unit has StartLimitIntervalSec=0; healthz ok. So curl installs stay safe in the window between pushing main and the v0.7.0 tag. The VM is left on v0.6.0 with linger on, as the by-hand upgrade test target. Still waiting on the owner's say-so to push (over SSH) and tag.
A plan in Seamless is a note, the steps that carry its tag, and whatever else is attached to it. This one was captured from plan mode, draft by draft. Attached to it:
2.15 docs inputs from the cc/095a86b1 fanout wave (2.13 wiring, shared wording, 2.14 os-smoke CI)
2.15 docs inputs from the cc/90aaef39 fanout wave (2.09, 2.12, Windows restart, Linux spike)
Windows Task Scheduler spike harness for the detached updater (2.01) -- recipe + key code
macOS launchd spike harness for the detached updater (2.01) -- recipe + source
4 reports from planning subagents, captured with their prompts
Today Seamless updates only when someone runs seamlessd update, which re-runs the Sigstore-verified installer, or remembers seamlessd update --check. The docs ask users to update weekly because releases land often, so installs drift. Goal: Seamless keeps itself current the way Claude Code's native install does:
it checks by itself;
it applies in the background and takes effect with a ~2s restart at a quiet moment;
it says so afterwards;
it can be turned off;
package-manager and source builds are told about updates, never touched.
Owner decisions (2026-10-09)
The check runs inside the daemon (startup, then every few hours) against the GitHub releases API. There is no separate OS-scheduled job and no self-hosted manifest.
Auto-apply is on by default for installs made by the curl/PowerShell installer. These are notify-only: Homebrew, make install/go install source builds, client-only machines (no daemon) and unknown layouts.
Restart when idle, with a deadline: no live agent session and nothing in flight. If an update has been pending more than 24h, take the next lull in requests.
A 24h soak. Auto-apply only takes releases at least update.min_age (24h) old, so a bad release can be pulled first by marking it prerelease. Manual seamlessd update and console "Update now" ignore the soak.
LAN-shared servers follow the same rules. The idle gate already counts remote sessions.
Constraints carried in
One upgrade implementation. Apply = the existing path: verify the installer's Sigstore bundle in-process (update_verify.go), then run the installer. No fetch/swap/service logic in Go (memory seamlessd-update-command).
macOS needs a full reload after a binary swap. A swapped binary needs launchctl bootout + bootstrap, never kickstart -k (memory macos-26-amfi-...). docs/install still kickstarts after bootstrap (install:611); that gets fixed here.
No telemetry. The check is one anonymous GET: fixed UA, no token, no identifiers. update.check: false means zero update traffic.
Config files are never edited. Present-but-invalid values are errors. Old binaries reject unknown keys (KnownFields).
Console rules. Cookie POSTs pass the CSRF origin check, and pages morph in place without a reload.
The signer pin is arctop-only. Every release auto-update can target or roll back to is at or above the floor release (the first release carrying Phase 2), so it is arctop-signed.
How it maps to Claude Code
Claude Code (native)
Seamless
Checks on startup and periodically
Daemon checker: first check 2-10 min after start, then every check_interval (6h ±10%), scheduled by wall clock so laptop sleep can't stall it
Downloads and installs in the background
Daemon spawns a detachedseamlessd update --auto, outside the service's process tree. It runs the signed installer for the chosen tag
Takes effect at next start
The installer restarts the service; the daemon only spawns the updater when idle or at the deadline
Notice once installed
Briefing line + console banner + update.applied event, keyed off a version change
claude doctor shows the last attempt
seamlessd doctor "updates" row, and update --check
DISABLE_AUTOUPDATER
update.auto: false (check + notify continue). update.check: false means no network. Manual seamlessd update always works
Homebrew/WinGet: notice with the command
Homebrew, source, client-only and unknown installs: notify-only, with the right command
stable channel, minimumVersion
24h soak via update.min_age. Named channels are out of scope
Keeps old versions
Pre-update backup (archive.Export), automatic rollback on failed health, and the DB restored when the schema advanced
[…] The plan goes on for another 32,073 characters: the architecture, phase 1 (check and notify), phase 2 (unattended apply), the failure modes, verification, rollout and the task breakdown.
2.01 OS spikes for the detached updater (macOS, Linux, Windows) as a research lab
task 01M4GMD7CW99V8Y60JMPJN2X2A
---id: 01M4GMD7CW99V8Y60JMPJN2X2A
title: 2.01 OS spikes for the detached updater (macOS, Linux, Windows) as a research lab
status: done
plan: plan-background-update-check-automatic-updates-claude-code-style
project: seamless
created_by: cc/0dc79b88-a3fdc128d2c2757f
---
Human + devices. Spike checklist from section 2.3 of note cc-plan-temporal-yawning-cupcake: macOS 15 and 26 (Setsid child survives bootout, kickstart -k and kill -9; orphan can bootstrap; no AMFI OS_REASON_CODESIGNING; BTM notices; restart-to-healthy time); Linux (systemd-run --user from inside the unit on Ubuntu 22/24, Debian 12, Fedora, Arch, WSL2; survives restart; logout without linger; cgroup v1); Windows (is the daemon in a job and with which flags; does stopping the task kill children; can a standard user register the task; no window flashes). Record each result as a trial in a seam-research lab.
DONE 2026-10-09. Every half's trials are in lab detached-updater-os-spikes. Leftover coverage (macOS 15/26, WSL2, x86_64 Linux, systemd < 249) was split into task 01M4HJFFFPQ04JGHCW3R1KRXYK; it does not gate the plan. The interactive Windows desktop is task 01M4HCZR2W47BZAA5FRNRS1HT5 (post-release).
launchd only SIGTERMs the job's process group. A Setsid child survives bootout, kickstart -k, kill -9 and the 5s exit-timeout SIGKILL, and the orphan can bootout+bootstrap its own service.
No AMFI kill on 27.
BTM posts one Background Items notice per adhoc binary update; only Team-ID signing avoids it (owner decision task 01M4HAFE73Y4V844VKGEY7GMVX).
Restart-to-healthy 0.84s with a 0.1s bootstrap loop (that loop landed in 416a090).
Windows (cc/ae17d44d, Windows 11 26200, S4U stand-in, 7 trials):
Task actions run in one shared job with only SILENT_BREAKAWAY_OK, which Task Scheduler toggles.
Stopping the task ends only the action process; children of every creation-flag kind survive.
A standard user can register its own InteractiveToken on-demand task via schtasks /Create /XML.
schtasks /End returns ~1.1s before the process dies. Real seamlessd rides that out (it waits on seamlessd.lock before binding, since aba6c14). seamlessd stop/restart now wait on that lock (a457dcc).
Linux (cc/90aaef39 fanout wave, Lima VMs on the owner's Mac, arm64, 24 "Linux ..." trials):
Coverage: Ubuntu 22.04/24.04/26.04, Debian 12/13, Fedora 44, and Arch ARM (as a systemd-nspawn container, because the Lima archlinux image does not boot on VZ). systemd 249-261; cgroup v2, v1 hybrid and v1 legacy.
The planned primary works everywhere: systemd-run --user --unit=seamless-update-<ULID> --collect -p Type=exec -p RuntimeMaxSec=1800 -- <exe> update --auto ... --config <abs>, run from inside seamless.service.
It returns in 3-25ms.
The updater lands in app.slice/seamless-update-<ULID>.service, survives restart AND stop of seamless.service with no signal, and can restart the service itself.
Real seamlessd restarts to healthy in 35-68ms on empty data dirs.
Plain and Setsid children are SIGTERMed with the daemon on restart and stop (KillMode=control-group), then SIGKILLed at the stop timeout.
No D-Bus is needed: systemd-run --user reaches $XDG_RUNTIME_DIR/systemd/private. Debian 12/13 ship no user bus and it still works. Only --wait/--pipe/--pty need the bus.
The transient unit gets the user manager's env (HOME, PATH, XDG_RUNTIME_DIR), not the daemon's. There is no SEAMLESS_CONFIG, so --config is load-bearing. Proxy/CA vars must be passed as explicit --setenv=K=V; the bare --setenv=NAME form fails on systemd 249.
The --scope fallback works but adds nothing, and inherits the daemon's env. Dropped: "transient service, else notify-only".
inSystemdUnit, probeSupervised and outsideServiceCheck give correct verdicts on every captured sample, v1 legacy included (no 0:: line).
Two minor gaps: a sub-cgroup of the unit reads as outside, and a system-level /system.slice/seamless.service matches.
Without linger, user@UID stops ~10s after the last session ends and kills the daemon and every updater. With linger, everything survives and spawning works with zero sessions.
Self-service linger works where polkit is installed; Fedora Cloud has none.
BUG: 6 starts in 10s hit StartLimitBurst=5 ("start-limit-hit") and Restart=always never recovers. The installer's restart then dies, and a rollback restart can too.
Fix: StartLimitIntervalSec=0 in the unit, and/or reset-failed before the restart.
VM seamspike-u24 (Ubuntu 24.04) is kept, stopped and clean, for 2.16.
owner decision: macOS shows a Background Items notice after every automatic update -- Developer ID-sign darwin binaries, or document it
task 01M4HAFE73Y4V844VKGEY7GMVX
---id: 01M4HAFE73Y4V844VKGEY7GMVX
title: "owner decision: macOS shows a Background Items notice after every automatic update -- Developer ID-sign darwin binaries, or document it"
status: done
plan: plan-background-update-check-automatic-updates-claude-code-style
project: seamless
created_by: cc/ae17d44d-a8a09f8bffc1c7e5
---
Human gate. The finding is from 2.01 (lab detached-updater-os-spikes; gotcha memory macos-btm-notice-per-adhoc-binary-update).
What happens:
macOS Background Task Management gives each legacy LaunchAgent an LWCR that follows the binary's identity.
seamlessd's darwin release binaries are adhoc linker-signed (.goreleaser.yaml: not signed/notarized).
So every update makes BTM log updated item ... not notified at its next re-walk of ~/Library/LaunchAgents, then post "“seamlessd” can run in the background. You can manage background items in…".
The re-walk is lazy: hours later, when any other background item changes. Notices are rate-limited.
It already happens on make install: live notices 2026-10-08 13:21 and 2026-10-09 11:17. Automatic updates make it routine and unprompted.
Tested and NOT enough:
adhoc with a fixed codesign -i identifier;
a stable self-signed certificate (identical designated requirement) -- still "updated item";
plist rewrites, which are harmless ("same LWCR").
What works: Apple Team-ID signing. […]
Options:
(1) Accept it, and have 2.15 document the notice: when it appears, that it is expected, and where to check (System Settings > General > Login Items & Extensions).
(2) Developer ID Application signing of the darwin seamlessd/seam binaries in release.yml, e.g. rcodesign on the Linux runner. Needs an Apple Developer Program team, plus the certificate and key as CI secrets. Not verified here: signing would also let the Homebrew cask drop its quarantine workaround, which needs notarization as well.
(3) Both: document now, sign later.
Decide before 2.15 writes the macOS auto-update docs.
DECIDED 2026-10-09 by the owner (session cc/90aaef39): option (2), SIGN, with notarization. […]
Windows serviceControl restart races the old process: wait for the serve process to exit between schtasks /End and /Run
task 01M4HCZR20Q34NZYNHJNVBAK6X
---id: 01M4HCZR20Q34NZYNHJNVBAK6X
title: "Windows serviceControl restart races the old process: wait for the serve process to exit between schtasks /End and /Run"
status: done
plan: plan-background-update-check-automatic-updates-claude-code-style
project: seamless
created_by: cc/ae17d44d-a8a09f8bffc1c7e5
---
Owns: cmd/seamlessd/service.go (the windows actionRestart plan, plus actionStop if callers start right after it) and its tests.
The bug (lab detached-updater-os-spikes, a Windows 11 test machine, build 26200, 2026-10-09):
schtasks /End returns in ~0.04s, but Task Scheduler hard-kills the task's process only ~1.1s later (1.06 / 1.18s measured).
No console control event reaches the daemon, so seamlessd gets no graceful shutdown.
seamlessd restart on Windows runs /End then /Run immediately. The new serve instance can start while the old one still holds the port and die with bind: Only one usage of each socket address.
The task's RestartInterval/RestartCount does NOT retry an action that exits 1. The task sits Ready with LastTaskResult 0x1, and the daemon stays down until the next logon.
Reproduced 1 of 2 immediate restarts in the restart-race trial, and in the update-task trial via Stop-ScheduledTask + Start-ScheduledTask.
Waiting for the old process to exit first: healthy 2.2s / 3.9s after /End.
Who is exposed:
seamlessd restart;
the updater's rollback and unswapped-failure restarts, which go through serviceControl (plan 2.2 step 8, 2.5).
install.ps1's Stop-Daemon already does it right: Stop-ScheduledTask, then Stop-Process on seamlessd.exe serve processes, then Wait-Process -Timeout 15.
Fix: between /End and /Run, wait (<=15s) for the old serve process to exit, then /Run.
Find the process by state.json running.pid, or by the exe + serve command-line match install.ps1 uses.
If it is still alive at the deadline, kill it and wait again.
Test the plan shape with fakes. Keep the darwin and linux branches unchanged.
OUTCOME 2026-10-09 (cc/90aaef39 fanout wave): DONE in a457dcc (not pushed).
Premises refuted by measurement (verified by the orchestrator):
Real seamlessd does not hit the bind race. Since aba6c14 (in no release; the latest release is v0.6.0), serve takes <data_dir>/seamlessd.lock (main.go:242) BEFORE net.Listen (main.go:475) and waits up to 30s for it (filelock.go dataDirLockWait). A restarted serve therefore waits for the old process instead of failing to bind.
The spike's race came from its mock daemon (spikew.exe), which bound at once.
Remaining exposure: data dirs on file systems without locking (serve runs unguarded, main.go:247-251), and pre-aba6c14 binaries.
The updater is not exposed. Rollback stops, then waits on the same lock (waitDaemonGone, update_engine.go:729-738, 780-797). The unswapped-failure path only calls start, after install.ps1's Stop-Daemon has waited. Nothing calls actionRestart.
[…] What landed, row by row.
Research lab
lab detached-updater-os-spikes
How does an updater outlive the service that started it?
48 trials
38 passed
6 failed
4 partial
A research lab is a named set of trials. Each trial records what was changed, what the agent expected before running it, often with a confidence, and what happened. The record outlives the session, so the next agent does not repeat an experiment, and a wrong belief is on file as wrong.
This lab answered one question for the automatic updater on three systems: Linux (24), macOS (17), Windows (7). Six trials are copied here in full. Every title is in the list.
lab detached-updater-os-spikes · trial 3 of 48
macOS 27: launchctl kickstart -k -- children with no detach / Setpgid / Setsid
pass
Changed
Same harness; job re-bootstrapped and left running 11s (past the 10s throttle window), three idle children spawned (nil / Setpgid / Setsid SysProcAttr, SIGTERM ignored+logged), then launchctl kickstart -k gui/501/<label> from a terminal.
Expected
Setpgid and Setsid children get no signal and survive (90%); no-detach child gets the group SIGTERM at main-process exit (85%); immediate respawn (80%); 55% that -k sends SIGTERM rather than SIGKILL.
Actual
kickstart -k sent SIGTERM (daemon logged "signal terminated" 9ms after the call); new instance started 30ms later and answered /healthz 104ms after the kickstart call. No-detach child got SIGTERM 8ms after the daemon (group kill) and survived only by ignoring it; Setpgid and Setsid children received nothing, reparented to pid 1, ran to their natural end 11s later.
macOS 27: kill -9 of the service's main process -- children with no detach / Setpgid / Setsid
pass
Changed
Same harness; job had run >10s; three idle children spawned (nil / Setpgid / Setsid, SIGTERM ignored+logged); kill -9 <job pid> from a terminal; KeepAlive=true in the plist.
Expected
KeepAlive respawns at once (ran > ThrottleInterval) (80%); no-detach child gets the group SIGTERM when launchd reaps the main process (85%); Setpgid/Setsid untouched (90%).
Actual
Respawned 31ms after the SIGKILL, healthy at 87ms. No-detach child got SIGTERM 6ms after the kill (launchd's group kill on job exit), survived only by ignoring it. Setpgid and Setsid children got nothing, reparented to pid 1, finished normally 13s later.
macOS 27: a stable self-signed certificate does not keep BTM's LWCR -- only Team-ID (Developer ID) signing avoids the per-update notice
fail
Changed
Temporary keychain (deleted afterwards; login search list restored at once) with a self-signed codeSigning certificate "Seamless Spike Test Signing" (CSSMERR_TP_NOT_TRUSTED). v7 and v8 (different bytes) signed codesign -s <sha1> --keychain <tmp> -f -i org.thereisnospoon.spiked; both designated requirements identical: identifier "org.thereisnospoon.spiked" and certificate leaf = H"26967222...", TeamIdentifier not set. Each: swap, bootout/bootstrap, touch-triggered BTM re-walk.
Expected
launchd runs an untrusted-cert binary (75%). v7->v8 logged "updated item with same LWCR" (40%) vs "updated item" (60%, if BTM keys on TeamIdentifier).
Actual
Both ran under launchd (spawned, healthy; no Launch Constraint lines). B3 (adhoc -> cert): updated item: uuid=45AD3646.... B4 (same cert, new bytes, identical designated requirement): updated item: uuid=0AB9CEE3... -- a NEW LWCR again, not "with same LWCR". […] Conclusion: for legacy LaunchAgents BTM's LWCR follows the Team ID; anything without one (adhoc, adhoc+identifier, self-signed) is a new background item per build -> a "Background Items Added" notice per update. Avoiding it needs Developer ID signing of the darwin binaries (e.g. rcodesign in the release workflow).
Windows 11: schtasks /End returns ~1.1s before the task's process exits -- an immediate /Run races the old listener (seamlessd's restart verb)
fail
Changed
Harness w3 (logs any console control event: os.Interrupt / SIGTERM). Four restarts of \SeamlessSpike (S4U) exactly as cmd/seamlessd/service.go's actionRestart does on Windows: schtasks /End then schtasks /Run immediately (runs 1, 3), vs /End, poll the old process until HasExited, then /Run (runs 2, 4). Health polled with Invoke-WebRequest.
Expected
/End returns ~0.1s; the old process lingers ~1s; immediate /Run -> bind failure and a dead task (85%); no console control event, a plain terminate (60%); the wait arm healthy ~1.6s after /End (80%).
Actual
/End returned in 0.035-0.16s every time; the old process actually exited 1.064s / 1.182s after /End (wait arm). No "signal" line in the daemon log in any run: Task Scheduler sent no CTRL_C/CTRL_CLOSE -- a hard terminate ~1.1s after the stop request, so a daemon gets no graceful shutdown. Immediate arm: run 1 got lucky (new instance listened, healthy +5.4s), run 3 lost the race (bind: Only one usage of each socket address, task Ready, lastResult 0x1, still down 25s later). Wait arm: healthy +2.18s and +3.86s after /End (~1.1s exit wait + ~0.6s start + PS 5.1 polling overhead). => seamlessd restart (and the updater's rollback/restart via serviceControl) on Windows can leave the daemon down until next logon; it must wait for the old serve process to exit before /Run, as install.ps1's Stop-Daemon (Stop-Process + Wait-Process) already does.
Linux Ubuntu 24.04: plain and Setsid children of the daemon are SIGTERMed with it on restart AND stop, then SIGKILLed at the 90s stop timeout
pass
Changed
Mock daemon in the installer-shaped seamless.service spawned two idle updaters via exec.Command + go Wait (stdio = a file): SysProcAttr nil (plain) and {Setsid:true}. Both log and IGNORE SIGTERM/SIGHUP/SIGCONT and write a heartbeat file every 250ms. Then (run 1) systemctl --user restart seamless.service, (run 2) a fresh pair and systemctl --user stop seamless.service, both timed from the shell; user-manager journal read with sudo.
Expected
Both children get SIGTERM in the same instant as the daemon (95%: KillMode=control-group signals the whole cgroup); because they ignore SIGTERM, the restart blocks until TimeoutStopSec (90s default) then SIGKILL (85%); Setsid makes no difference (95%); stop identical (95%).
Actual
As predicted, both runs. systemd-cgls before: both updaters inside /user.slice/user-501.slice/user@501.service/app.slice/seamless.service (the Setsid one with pgid=sid=its pid, the plain one in the daemon's pgid 1321). Restart at 23:20:15.683: daemon, plain and Setsid child all got SIGTERM+SIGCONT within 0.6ms (15.6873-15.6879); the daemon exited at +62ms; both children got a SECOND SIGTERM+SIGCONT (state final-sigterm) and were reparented to the user manager (988). systemctl --user restart returned after 90.16s: journal "seamless.service: State 'final-sigterm' timed out. Killing." / "Killing process 1377 (seamlessd) with signal SIGKILL." / "Killing process 1390 ..." / "Failed with result 'timeout'." / "Found left-over process 1390 (seamlessd) in control group while starting unit. Ignoring.", then "Started seamless.service" and a new instance at 23:21:45.846. Heartbeats stopped at the SIGKILL. Stop: identical (deactivating (final-sigterm) for 90.12s, SIGKILL to both). A real updater with Go's default SIGTERM handling would die at the installer's first systemctl --user restart, mid-install.
Linux Arch (systemd 261): a transient updater's restart hit seamless.service's start limit in a realistic sequence -- the installer-style `systemctl --user restart` fails and the daemon stays DOWN
fail
Changed
Unplanned, observed during the Arch distro-test.sh run: seamless.service was enabled by an earlier aborted run, so the login started it (start 1), then setup.sh's restart (2), item b's restart (3), item c's restart (4), item c's stop+start (5) -- all within ~6s -- and then a transient updater (systemd-run --user --unit=seamless-update-<ULID>, running the installer stand-in: show-environment, daemon-reload, restart) restarted it (6).
Expected
(Not predicted: the start-limit trial on Ubuntu 24.04 had shown the mechanism, but this sequence was expected to stay under it.)
Actual
23:55:33.511 user manager: "seamless.service: Start request repeated too quickly." / "Failed with result 'start-limit-hit'."; the stand-in's systemctl --user restart rc=1 with systemd 261's text: "Job for seamless.service failed because start of the service was attempted too often. See \"systemctl --user status seamless.service\" and \"journalctl --user -xeu seamless.service\" for details. To force a start use \"systemctl --user reset-failed seamless.service\" followed by \"systemctl --user start seamless.service\" again." The daemon stayed down (the next spawn request got "connection refused") until an unrelated systemctl --user restart 5.1s later, after the 10s window -- Restart=always never restarts a start-limit-hit unit. Five starts in 10s is the default burst (StartLimitIntervalUSec=10s, StartLimitBurst=5 on every distro measured; the installer's unit sets neither). A normal single update is 1 start, but an installer restart plus an updater verification/rollback restart plus an owner's restarts can reach it; an updater that sees this must systemctl --user reset-failed seamless.service and start again (or wait out the window), and should never treat a failed restart as "the old daemon is still serving".
session cc/8234de8d-15cd33e1e2138c51 · completed · started 9 Oct 2026, 16:45 UTC
What the session left for the next one when it ended.
FANOUT WAVE COMPLETE (/seam-fanout plan:plan-background-update-check-automatic-updates-claude-code-style), 2026-10-09. 7 agents, 7 tasks, zero file conflicts. Started clean at a54feff, ended at 11286f3 on main. NOTHING PUSHED: origin/main is 14 commits behind (6 Phase 1 + 8 from this wave).
Commits, each verified alone in an index-built worktree (write-tree/commit-tree; make docs run inside it, generated files copied back):
741c5c4: 2.10 activity tracker (cmd/seamlessd/activity.go), not wired
5f2fbdc: 2.06 update.auto/max_defer/min_age + Effective auto lock
aba6c14: 2.02 one-daemon data-dir lock (seamlessd.lock, 30s wait), install-hooks OpenExisting plus a read-only migration-022 mirror, schema-ahead WARN, archive TmpDir, skills.Delivered
0bad23c: 2.03 installers (role: client from config, NO_HOOKS skips selection, SEAMLESS_CHECKSUMS_SHA256 pin, launchd write-if-changed with kickstart only as fallback, version-checked health, restart before wiring, install.ps1 scoped stop + task marker) + installer_knobs contract
11286f3: comment fix
Final make check on 11286f3: all green, with real pwsh on PATH. install.ps1 was parse-checked with the official portable PowerShell 7.6.6 (sha256 checked against GitHub's asset digest), and its new helpers passed 14 functional checks. Windows-only installer paths are not exercised until 2.16.
All 7 tasks are closed with outcomes in their bodies. Downstream bodies (2.08, 2.09, 2.11, 2.12, 2.13, 2.14, 2.15, gate, tracking) carry the notes they need. New task 01M4GVGFV5PJVT9ZPG8RKGWNSM: seam hook's 5s dial budget costs ~5s per hook when the daemon is down for good (Codex UserPromptSubmit has a 5s client timeout); needs a decision.
Next: 2.08 and 2.11 are ready and disjoint (one wave). 2.01 spikes (human) gate 2.09/2.13/2.14.
Owner decision pending (stage memory phase2-prereqs-on-local-main-release-hold; gate task note): the release/push point. a54feff is the last Phase-1-only commit. Pushing main deploys docs/install(.ps1) live via Pages, plus config docs describing auto-install that does not exist until 2.11/2.13. ad8aa50 touches release.yml, so it must be pushed over SSH.
Memories:
New stage: phase2-prereqs-on-local-main-release-hold.
New gotcha: mcp-proxy-restart-survival-needs-stateless-session-ids.
Appended a wave-10 addendum to parallel-subagent-fanout-protocol.
Handoff from session cc/ae17d44d
session cc/ae17d44d-a8a09f8bffc1c7e5 · completed · started 9 Oct 2026, 19:45 UTC
What the session left for the next one when it ended.
(auto-harvested) The Windows spike is done on the test machine except for the interactive-desktop check you're deferring. The planned Windows updater design holds up, and the spike found one real bug in how seamlessd restarts its service on Windows.
The test machine is headless, so the daemon ran under an S4U principal standing in for install.ps1's Interactive one. Your post-release check covers whether the real principal behaves the same. That's 7 trials in the detached-updater-os-spikes lab, on Windows 11 build 26200.
Checklist item
Result
Is the daemon in a job, with which flags?
Yes, but it's one job shared across all tasks (it also held Windows' scheduled Defrag). Its only limit is "children leave the job automatically", and Task Scheduler switches even that on and off. Nothing kills the job's members when it closes.
Does stopping the task kill children?
No.Stop-ScheduledTask, schtasks /End and taskkill /F end only the daemon. Children survive however they're spawned: plain, detached, no-window or breakaway.
Can a standard user register the update task?
Yes, as an Interactive-logon task created with schtasks /Create /XML. This avoids the PowerShell task cmdlets and works even over SSH as a standard user. A run-whether-signed-in (S4U) task gets "Access is denied" for a standard user.
No window flashes
Not tested; it's your post-release check, filed as its own plan step. seamlessd has no code to hide its console, so the daemon task, or an Interactive update task, may show a console or Windows Terminal window.
The bug: restarting the service can leave it down.schtasks /End returns almost at once, but Task Scheduler only kills the old process about 1.1s later, without sending it any shutdown signal. A start issued in that gap can fail to bind the port. The task's restart-on-failure setting doesn't retry an action that exits with code 1, so the daemon stays down until the next logon. That happened in 1 of 2 back-to-back restarts, and a
Handoff from session cc/90aaef39
session cc/90aaef39-59ae610c6a65e6de · completed · started 9 Oct 2026, 22:52 UTC
What the session left for the next one when it ended.
FANOUT WAVE COMPLETE (/seam-fanout plan:plan-background-update-check-automatic-updates-claude-code-style), 2026-10-09, cc/90aaef39. Two rounds, 7 agents, zero file conflicts. Round start d8519bb; end 267ed0a. 6 commits on local main, NOT pushed (24 ahead of origin/main; stage phase2-prereqs-on-local-main-release-hold still holds). Each commit was verified on its exact tree with the full make check in an index-only worktree. Commits:
416a090 + 267ed0a: launchd bootstrap retry every 0.1s. Live make install restart 1.42s (was 2.6s).
a457dcc: Windows stop/restart wait on seamlessd.lock. Owner-style override: no kill at the deadline. The bind-race premise was refuted: serve has waited on the lock before binding since aba6c14.
00274a7: 2.12 console half: Auto switch, Update now, Resume, rows, trouble and Codex banners. Visual pass done in Chrome over a preview harness (harness not committed).
172ce57: 2.09 per-OS updater spawner:
darwin Setsid; Linux systemd-run --user transient unit; Windows on-demand task with a detached-child fallback;
the self-checks, Detect's Windows gate 9, inSystemdUnit hardening, uninstall teardown, and the docs/install systemd start-limit fix;
newUpdateSpawner is the 2.13 contract.
Tasks closed: 2.01 (Linux half run on Lima per owner choice: 24 trials, systemd 249-261, v1+v2), 2.09, 2.12, the launchd retry, the Windows restart race. Filed:
01M4HK7KKPZVZ98NBSQYDJ4CSQ: share the update wording across console and CLI (plan step);
Docs inputs for 2.15: plan note 01M4HNH0PV49Q60PCBAP8SYD6W. Memories:
new decision linux-updater-detach-systemd-run-transient-service;
new gotchas systemd-user-start-limit-leaves-seamless-down, systemd-run-setenv-inherit-form-fails-on-249, loginctl-enable-linger-explicit-name-and-polkit, and windows-schtasks-end-lag-and-the-serve-lock (supersedes windows-task-stop-returns-before-process-exits);
new reference lima-linux-vm-testing-on-apple-silicon;
as-built notes appended to the macOS and Windows decisions and to systemd-cgroup-kill-reaches-setsid-children.
Live state touched (all owner-approved):
brew install lima;
VM seamspike-u24 kept, stopped, for 2.16; ~14 GB of image cache in ~/Library/Caches/lima (limactl prune frees it);
one make install (live daemon now 0.6.0+172ce57, a source build, notify-only).
Next wave candidates: 2.13 wiring (main.go + update_wiring.go; wire newUpdateSpawner only for release builds), the wording task, 2.14 (ci.yml; proving it needs a push, which the release hold blocks). Owner decisions open: the release point (gate task), and the macOS BTM notice (01M4HAFE73Y4V844VKGEY7GMVX).
Handoff from session cc/448e543f
session cc/448e543f-1265bbe72a56e150 · completed · started 10 Oct 2026, 03:00 UTC
What the session left for the next one when it ended.
/seam-fanout plan:plan-background-update-check-automatic-updates-claude-code-style + RELEASE, 2026-10-09/10, cc/448e543f. The owner asked to get ready to release and test. Released v0.7.0 and v0.7.1 and tested on Linux.
WAVE (3 agents, zero file conflicts, round start 39d8be9):
C: typed gate refusal -> a55011b (01M4HV202NQJD92G1GB1NW80Y7 done). Verified with the full make check on its exact tree in a scratch worktree.
A+B: 2.15 docs -> a2b5f29 (01M4GMFHTCFJ0ZWWH2JZRSM58F done): user docs (updating #automatic-updates, troubleshooting #an-automatic-update-failed / #an-automatic-update-is-waiting, configuration, console, README, landing page incl. the phone-home FAQ) and reference/instruction files (service.md #the-updater, storage, cli-seamlessd rows, invariants + release discipline, architecture trace, contributing CI, AGENTS.md, CLAUDE.md). Mid-wave I routed C's refusal doc lines to A and B.
Central: 5e4b3b4. A measured that the rollback confirms through the same cfg.HTTPClient, so a TLS install that cannot verify its own certificate ends "not rolled back" and pauses automatic updates; doctor's wording is fixed. The rollbackFailed recovery text now names the moved backup path.
25e7924 prepare v0.7.0, pushed over SSH, CI green (first os-smoke macOS/Windows runs). Tagged v0.7.0; the Release workflow passed (Developer ID signing + notarization, cosign, checksums bundle, exact-tag verify). The cask is at 0.7.0. Changelog 88d46a4.
spctl on the downloaded darwin binaries: "accepted, source=Notarized Developer ID".
a9b0975 (console polish 01M4HY37R00THSM0KGF0J6FD4T done) + 0604ca4 -> v0.7.1, CI green, released. Changelog 8af5d69. 8af8ff1: docs say a restart keeps the saved check schedule. main = origin/main.
TESTED on Lima VM seamspike-u24 (Ubuntu 24.04 arm64; now stopped):
The HEAD installer installs v0.6.0 (the push-to-tag window was safe).
v0.6.0 -> v0.7.0 by hand via seamlessd update.
Phase 1 smoke.
The rollback drill.
The AUTOMATIC idle-path update 0.7.0 -> 0.7.1 via a systemd-run transient unit: 15s, update.applied, folded "applied".
Gotcha: a restart does not re-check; press console Check now.
OPEN:
2.16: remaining Linux cases (check:false, soak, banner/briefing, hold, deadline, open sessions, negatives), the Mac half (needs a curl install on a Mac; the first signed-to-signed Background Items observation), the Windows half (test machine unreachable).
Real v0.7.0 installer installs will auto-update to v0.7.1 after the 24h soak.
Handoff from session cc/b3e82dab
session cc/b3e82dab-c1ebfeedda1cdcf6 · completed · started 10 Oct 2026, 19:29 UTC
What the session left for the next one when it ended.
Plan plan-background-update-check-automatic-updates-claude-code-style, 2026-10-10 evening. The Linux and Mac halves of 2.16 (live E2E) are DONE; the Windows half was not run (owner's choice: nobody was signed in at the test machine's desktop). Full results are in the 2.16 task body (01M4GMFQ4BS6JHQ2PAZJJBKQNE).
Linux (Lima seamspike-u24): every step passed.
check:false: 0 packets on 443 over a 400s tcpdump.
Soak, hold + Resume, deadline path with a live session (update.started path "deadline"), mcp-proxy and session survival, the briefing line in Claude Code and Codex plus the banner, hand-run serve = unknown, clock 2 days ahead.
Mac: a throwaway Lima macOS 26.6.2 guest seam-mac26 (kept stopped), so the owner's live daemon was never touched.
Idle path: ~0.5s launchd gap; no AMFI, no .ips, no new Background Items entry.
Rollback drill and a true restore; Homebrew, source-build and hand-run negatives.
Sleep could only be approximated with a wall-clock jump (VZ guests cannot sleep). That showed the check schedule follows the wall clock.
F1 fixed in 902f44e (main, NOT pushed): doctor and update --check now judge the soak and the deadline on GitHub's clock (State.GitHubClock). Before, a skewed machine clock made them say "soaked". make check green.
Filed the cosmetic follow-up 01M4KRCV31TGQCEXSB8Y5BRGWE.
New memory lima-macos-guest-for-live-update-tests; testing-auto-update-on-the-lima-vm extended (the 30-min no-request window after a version change gates the pre-spawn re-check; console GETs count as activity).
Left open:
the 2.16 Windows half (sign in at the test machine first);
task 01M4HCZR2W47BZAA5FRNRS1HT5;
push 902f44e;
optional: a lid-close test on a physical Mac release install.
Copied from the project's own Seamless on 20 November 2026 with the seam command. Each record is as an agent wrote it, except where a cut is marked […] or a machine's name was replaced with a plain phrase: the owner's computers and accounts, one vendor, and a few lines about private or unreleased work. 24 of the project's memories are here, one plan of 54, and five handoffs. The frontmatter shows the fields the copy kept. The files this page is built from are in the repository.
your project
Yours starts empty and fills as your agents work.
Install it on one repository. The first session writes down what it learns, and the second one starts from it.
macOS / Linux
$curl -fsSL https://thereisnospoon.org/install | sh