Dashboard › opencode › Distillation
fa4b2ebe-06e6-4efb-a8a8-ad798cc53680["lore_tm_v1_N-nQwDNy6SefiqsCf_3jomQCDDM9N39wTqDuKBhUDqQ","lore_tm_v1_YkmgI639YCzCSkCbdJ1BLJFsGc0OVh5PUmrFdVz_aKE","lore_tm_v1_PNS2_nq0q5zp_xskuMcUXBP0sqZ4DjOZTTKEeiMDqrM","lore_tm_v1_iM9ITAKZJSaQBNQS-9WzmLhMNMYpyy9cBp8qbjjiKxA","lore_tm_v1_PEhpRBdFH6Zl8kUMwwp_aImcPRXZLX85qEuXb9fMW5g","lore_tm_v1_UbFrfX1aW5Mcx9sQGZozLrr1LRBOggwHS1jm1EK96qY","lore_tm_v1_TfSq_KnAHSTuiwX_isy7sAbf92KDpF2eVobxaSu8d8Y","lore_tm_v1_zt-0ntq3YV1niamY2A-gJtjw3GlsX74W1fbnCMKomjM","lore_tm_v1_ljWGO6lXH2wpFzasi6VPDSvdVPmCYqmh-WCMJAFyhTs"]
Date: Sep 8, 2026
/home/byk/.local/share/opencode-v2-pilot/supervisor/**, /home/byk/.local/share/opencode-v2-pilot/config/opencode/plugins/pty.ts, /home/byk/.local/share/opencode-v2-pilot/config/opencode/plugins/pty-transport.ts, config tsconfig/package files as needed, candidate service/CUTOVER, and /tmp/opencode/pty-plugin-smoke.ts.ControlGroup to come from the correct systemd Service interface on this systemd 255 host, while ActiveState, SubState, and InvocationID remain on Unit and MainPID remains on Service.UnitRemoved only as a wakeup and independently querying with a bounded context to prove NoSuchUnit or an empty cgroup before returning cleanup success./home/byk/.local/share/opencode-v2-pilot/config/opencode/plugins/pty-transport.ts; on timeout, destroy the socket and fail.terminate, deletion, and unload must βalways finish or return within bounds.βpendingOutput before plugin listener registration by total bytes, at no more than plugin MAX_BUFFER_SIZE or a smaller limit, and consistently retaining only a bounded tail.Buffer.concat quadratic growth in the frame parser if practical.MSG_CTRUNC and on all parse failures.MSG_CMSG_CLOEXEC./proc/self/fd growth.tsconfig paths/package setup, without broadening checked scope to unrelated legacy plugins.tsgo -p /home/byk/.local/share/opencode-v2-pilot/config/opencode/tsconfig.json to pass against the exact current source while preserving the authoritative checkout plugin API.MainPID is not denied solely because same-UID unauthenticated peers consumed a global minute quota.MainPID can fully authenticate, while keeping D-Bus work bounded./usr/local/libexec/opencode-pty-supervisor, /usr/local/libexec/opencode-pty-launcher, and /usr/local/libexec/opencode-pty-client in that fixed order; no duplicates or trailing lines are allowed.ExecCondition is too weak.CUTOVER and ROOT-ACCEPTANCE./tmp harness may remain if appropriate, but must be documented and invoked in ROOT-ACCEPTANCE; persistent transport/tool tests should be added where practical outside auto-discovered plugins.gofmt, go test -count=1 ./..., go test -race -count=1 ./..., go vet, deterministic builds with exact flags and reported hashes, the canonical tsgo config check, the exact dedicated check, PTY smoke 10 times, and offline systemd verification/security checks./home/byk/.local/share/opencode-v2-pilot/supervisor/ included ROOT-ACCEPTANCE.md, PROTOCOL.md, binaries under bin/, opencode-pty.slice, opencode-pty-supervisor.service, go.mod, go.sum, command sources/tests under cmd/client/, cmd/launcher/, and cmd/supervisor/, protocol files internal/protocol/frame.go and frame_test.go, and supervisor files internal/supervisor/auth.go, auth_test.go, server.go, server_test.go, systemd.go, and systemd_test.go./home/byk/.local/share/opencode-v2-pilot/config/opencode/tsconfig.json, /home/byk/.local/share/opencode-v2-pilot/config/opencode/package.json, /home/byk/.local/share/opencode-v2-pilot/config/opencode/bun.lock, and /home/byk/.local/share/opencode-v2-pilot/config/opencode/test/followup.test.ts./home/byk/.local/share/opencode-v2-pilot/config/opencode/plugins/pty-transport.ts, /home/byk/.local/share/opencode-v2-pilot/config/opencode/plugins/pty.ts, and unrelated legacy plugin /home/byk/.local/share/opencode-v2-pilot/config/opencode/plugins/followup.ts./home/byk/.local/share/opencode-v2-pilot/CUTOVER.md./home/byk/.local/share/opencode-v2-pilot/supervisor/internal/supervisor/systemd.go showed operationTimeout = 5 * time.Second and unitPattern = regexp.MustCompile(\^opencode-pty-[0-9a-f]{32}.service$`)`./home/byk/.local/share/opencode-v2-pilot/supervisor/internal/supervisor/systemd_test.go contained: TestUnitNameGrammar; TestWaitForUnitSignalRejectsClosedChannelAndHonorsTimeout; TestWaitForJobResultRejectsClosedNonDoneAndTimeout; TestUnitPropertiesAreFixed; and TestDecodeUnitResult.TestUnitNameGrammar accepted opencode-pty-0123456789abcdef0123456789abcdef.service and rejected an empty identifier, uppercase hexadecimal identifier, .scope suffix, and path-traversal-style suffix.TestWaitForUnitSignalRejectsClosedChannelAndHonorsTimeout checked rejection of a closed chan *dbus.Signal and expected context.DeadlineExceeded after a 1-millisecond timeout.TestWaitForJobResultRejectsClosedNonDoneAndTimeout checked rejection of a closed channel, rejection of the non-done result "canceled", and context.DeadlineExceeded after a 1-millisecond timeout.TestUnitPropertiesAreFixed constructed unitProperties(...) using command sh -c "echo ok", /dev/null streams, and runtime value 60; checked a fixed set of service properties; expected User == "byk" and Delegate == false; expected signatures (bas) for RestrictAddressFamilies and SystemCallFilter; and expected signature as for SupplementaryGroups.TestDecodeUnitResult decoded {"Result":"exit-code","ExecMainCode":int32(1),"ExecMainStatus":int32(7)} and expected result "exit-code", main code 1, and main status 7.