GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(opencode): merge upstream v2.3.2 and remove Loom session mirroring by internetisalie · Pull Request #24 · internetisalie/opencode

Conversation

@internetisalie

@internetisalie internetisalie commented Nov 18, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

Upgrades the deployed 2.x fork from 2.2.3 to 2.3.2. Retires the mirror API, ownership forwarding and mirror events while preserving ordinary session import/export. Fixes child denial settlement during reload and shutdown.

Stage hold. PoC 5 at d11e4140de passed native async approval/denial, 13/13 Direct V2, 14/14 live Supervisor cases, four materialized dispatch cases and 12/12 persistent PTY cycles on the published digest. Required Linux and native ARM daemon checks passed. The two formal Supervisor matrix commands still require a lead-assigned evidence key, rerun and registration. Foreground subagent compatibility requires owner disposition.

Before rollout: reconcile aggregate schedule, background-job and mirror-owner exposure per environment; verify retired proxy settings are absent; agree recovery method and acceptable write-loss window. Disposable restoration is not operator acceptance of loss. Rollout order: system tests → stage → dev → prod.

Paired UI: internetisalie/openchamber#41 · Locks and receipts: https://gitea.internetisalie.net/loom/opencode-stack-tests/pulls/48

Review round 4 (PASS) and its post-PASS fixes. Reviewed head 43e089abcb, fixed head 3e5666aee3. Dispositions:

  • P1 (LOW): fixed in part. The restart sweep wakes a parent whose last turn did not fail (succeeded, user-interrupted or never idle). The remainder, a parent that failed for a reason other than the restart budget, is not revived: that is the code's stated intent, so it is ruled out.
  • P2 (LOW): fixed. Two tests: a user-interrupted parent holding a subagent notice is woken, and an idle parent whose steer notice is not a subagent report stays parked.
  • P3 (NIT): fixed. The duplicate Deferred.succeed(release) is removed.
  • P4 (NIT): fixed. The query is SessionInbox.subagentNoticeSessions in inbox.ts, called from restart.ts.
  • P5 (LOW): about the stack-tests evidence archive of Adding "ignore folder" configuration anomalyco/opencode#48, not this change, and changes nothing going forward; ruled out.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
jlongster and others added 30 commits November 12, 2026 13:45
@jlongster
fix(app): order Recent sessions by the last list reload and drop the …
becb9c7
…rename guard (anomalyco#63370)
@jlongster
fix(session-ui): keep links whose label contains inline code (anomaly…
6cca598
…co#63587)
@opencode-agent
docs(console): add Gemini 4 Hydrogen to Zen (anomalyco#63589)
8c809fb
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
@jlongster
fix(core): resume directly driven child sessions after restart (anoma…
a1aa513
…lyco#63415)
@adamdotdevin
docs(console): document Send identity on custom providers (anomalyco#…
ebf6e00
…63596)
@rekram1-node
fix(core): drop stale thinking when Claude Agent prompts or tools cha…
8921769
…nge (anomalyco#63592)
@rekram1-node
fix(codemode): decode UTF-8 across chunk boundaries (anomalyco#63600)
a3d6e54
@iamdavidhill
refactor(site): put every neutral grey on one shared scale (anomalyco…
9bc3059
…#63604)
@jlongster
fix(tui): give shell mode its own prompt color under new designs (ano…
fd6a116
…malyco#63605)
@adamdotdevin @rekram1-node
fix(tui): drop tool-result image bytes from the transcript store unle…
f179e6e
…ss image previews are on (anomalyco#63577)

Co-authored-by: Aiden Cline <[email protected]>
@ssskay @claude
fix(gui-plugins): keep the pairing QR code dark on light in every the…
aed4cbc
…me (anomalyco#63220)

Co-authored-by: ssskay <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
@opencode-agent @R44VC0RP
feat(site): link the Android app on Google Play (anomalyco#62874)
737e133
Co-authored-by: R44VC0RP <[email protected]>
@iamdavidhill
docs(site): brand colors copy and agent style rules (anomalyco#63621)
6dd4063
@rekram1-node
fix(core): return empty structured output from patch (anomalyco#63618)
f1bbaea
@rekram1-node
refactor(core): return directory and content from the skill tool (ano…
9070bff
…malyco#63623)
@rekram1-node
fix(core): honor plugin tool repairs in Code Mode (anomalyco#63444)
c80548e
@Hona
chore(perf): bench with strobe 0.33.0 (anomalyco#63628)
e82687a
@rekram1-node
fix(core): return write confirmations as strings (anomalyco#63616)
b6ed77e
@rekram1-node
feat(codemode): stream fetch response bodies (anomalyco#63436)
a8dde00
@rekram1-node
revert(core): restore tool dispatch before nested repair (anomalyco#6…
e6f21f9
…3630)
@rekram1-node
refactor(ai): remove Gemini Veo and Runway video protocols (anomalyco…
85a0439
…#63634)
@rekram1-node
fix(core): pass stored message metadata to session request hooks (ano…
2f886a2
…malyco#63590)
@thdxr
fix(site): update press email (anomalyco#63649)
94e070d
@thdxr
docs(protocol): describe parentID on session create (anomalyco#63653)
7e441d3
@rekram1-node
refactor(core): expose shell exit code, elapsed time, and log path (a…
3f07396
…nomalyco#63647)
@rekram1-node
fix(core): rename instead of deleting when a patch only changes a fil…
2f8a867
…e's case (anomalyco#63655)
@rekram1-node
refactor(core): return the edit summary as a string (anomalyco#63635)
fe35524
@Hona
chore(perf): bench with strobe 0.34.0 (anomalyco#63661)
265be7a
@rekram1-node
feat(ai): graduate video generation with start, status, result and ca…
5eac280
…ncel (anomalyco#63657)
@rekram1-node
fix(core): only discourage unprompted subagent status checks (anomaly…
c4601e3
…co#63662)
rekram1-node and others added 16 commits November 17, 2026 21:31
@rekram1-node
refactor(server): remove plugin readiness from plugin.list (anomalyco…
7bec1e6
…#64524)
@neriousy
refactor(app): pass composer focus on from the shortcut's control (an…
7988f65
…omalyco#64504)
@opencode-agent James Long
fix(app): keep plugin update findings until the settled list agrees (a…
cb41d3d
…nomalyco#64525)

Co-authored-by: James Long <[email protected]>
@rekram1-node
feat(core): add append to Environment.Files (anomalyco#64517)
64630cf
@rekram1-node
fix(app): stop reading plugin readiness from plugin.list (anomalyco#6…
ea79f69
…4527)
@opencode-agent James Long
test(core): expect CLAUDE.md fallbacks in the Windows drive-letter te…
b0cecfa
…st (anomalyco#64530)

Co-authored-by: James Long <[email protected]>
@neriousy
fix(core): let either Claude Code flag disable every CLAUDE.md (anoma…
bd115fd
…lyco#64533)
@rekram1-node
refactor(core): drop url and format from webfetch output (anomalyco#6…
d9d0a46
…4534)
@rekram1-node
feat(codemode): let an extension name the modules that load its globa…
9cfff5f
…ls (anomalyco#64516)
@rekram1-node
fix(ai): send the OpenAI system prompt as a developer message (anomal…
7ca7b3f
…yco#64542)
@rekram1-node
fix(ai): send the system prompt as a developer message on every Respo…
de291ab
…nses route (anomalyco#64544)
@github-actions
release: v2.3.2
c0ad18b
@internetisalie
chore(opencode): merge upstream v2.3.2 into fork
52b4a04
@internetisalie
test(fork): update project and PTY fixtures for v2.3.2
87e1eed
@internetisalie
refactor(session): remove Loom session mirroring from fork
c5677c9
@internetisalie
chore(ci): export the smoke-tested candidate image for system tests
f378351
@internetisalie internetisalie mentioned this pull request Nov 18, 2026
Merge upstream OpenChamber 2.7.2 into the fork internetisalie/openchamber#41
Merged
@internetisalie
test(fork): gate backend regressions and verify orphan schedule migra…
67a99f3
…tion
@internetisalie

internetisalie commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Remediation at 67a99f3d49: expanded Linux fork CI passed, including native plugin fixtures, CLI service/lifecycle, global roots, migration and PTY suites. Clean Ubuntu canonical check and all 35 typecheck tasks passed. Previous docs and ARM macOS checks were cancelled rather than proven. A disposable baseline-to-PoC-1 rehearsal kept active and paused schedules, omitted finished, conditional-if, conditional-until, counted, missing-session and missing-due fixtures, and preserved session history across upgrade and restart. This is not approval for data loss. Per-environment read-only counts, operator disposition, and matched-pair recovery proof remain gates. PoC 2 is tagged for fresh qualification.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

internetisalie added 2 commits November 20, 2026 20:57
@internetisalie
ci: run fork docs and ARM macOS checks on hosted runners
d4b0a21
@internetisalie
fix(session): settle declined child interactions as user interruptions
06d29b9
@internetisalie

internetisalie commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Qualification hold on 06d29b9312 (PoC 3). All 302 session execution/runner tests passed on a leased Linux VM, including ordinary decline and independent shutdown recovery. A subsequent source review identified two uncovered orderings: an accepted denial followed by Location reload during settlement, and owner shutdown before the denial reaches the execution coordinator. Synchronized real-runner tests are assigned for both. Acceptance requires no continuation or handoff after denial, claim release, one durable parent cancellation, and continued recovery when teardown occurs without denial. Tag publication alone does not clear stage.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

internetisalie added 3 commits November 20, 2026 22:13
@internetisalie
fix(session): preserve accepted denial across reload and shutdown
cb61c89
@internetisalie
ci: run ARM guards after checkout and gate session lifecycle regressions
7688a37
@internetisalie
fix(session): stop model continuation when permission service closes
d11e414
internetisalie
internetisalie commented Nov 21, 2026
View reviewed changes

@internetisalie internetisalie left a comment

Copy link
Copy Markdown
Owner Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of d11e4140de — verdict: approve for merge

Merging is not stage promotion: the stage hold in the description stands, and the rollout conditions below are not met by this PR.

Method. Compared the fork-only delta of the candidate (v2.3.2..d11e4140de, 75 files, +2917/−112) with the fork-only delta of the previous fork (v2.2.3..v2.2.3-internetisalie.2, 87 files), then read the three session commits (06d29b9312, cb61c8967a, d11e4140de) and the mirror removal (c5677c9625) in full. Static review plus CI; I did not run the suites locally.

Focus areas

Child permission denial — sound.

  • A user reject fails the wait with Permission.DeclinedError(); a service close fails it with DeclinedError({ shutdown: true }) (packages/core/src/permission.ts:161,254,277 vs :339,353). The step classifies each decline from that marker instead of from isLocationClosed() at settlement time (packages/core/src/session/runner/step.ts:188-194), so a reload that overlaps settlement can no longer relabel an accepted denial as a shutdown and continue the model.
  • A user decline ends the step with StepDeclinedError (step.ts:330). Recovery, overflow compaction and retry are all gated on declines.length === 0 (step.ts:207,247,255), so nothing re-issues the request after a denial.
  • SessionExecution settles it as interrupted / user: the job is cancelled, the claim released and one cancelled report reaches the parent (packages/core/src/session/execution.ts:51-57,171-181).

Shutdown and recovery — sound.

  • The declined latch (execution.ts:112,131,171) covers an owner interrupt replacing the typed exit after masked settlement. It is set only on a path that always ends in StepDeclinedError, and consumed by the one settled hook per busy period; the run coordinator does not loop after a failed drain, so it cannot leak into a later execution.
  • A shutdown-flagged decline keeps upstream behaviour: Completed({ needsContinuation: true }) when the Location is closed (drain returns Reloaded), otherwise an interrupt that keeps the claim (step.ts:332-337). LocationLifecycle.shutdown sets closed before permission.close, so the second branch is defensive.

Asynchronous child completion — sound. SubagentJob, SubagentReport and job.ts are upstream v2.3.2 unchanged. The only fork change on that path is the terminal classification above.

Mirror removal and ordinary import/export — preserved.

  • packages/core/src/session/transfer.ts, session/store.ts, packages/server/src/handlers/session.ts, packages/protocol/src/groups/session.ts, groups/permission.ts, packages/schema/src/session-event.ts, packages/server/src/event-feed.ts, fetch.ts, process.ts, options.ts and packages/server/test/session-import.test.ts are byte-identical to upstream v2.3.2 at head. Import/export is upstream's code path with nothing of the fork left in it.
  • No reference to the mirror route, remoteProxy, OPENCODE_REMOTE_PROXY_*, SessionOwnership or session.mirror.updated remains under packages/.
  • The fork migration keeps its slot (20260926002438_project-association at m48); the four upstream migrations added since 2.2.3 all sort after it.

Evidence I could check

  • Fork CI linux-server passed on d11e4140de; it runs session-execution.test.ts, session-runner.test.ts, database-migration.test.ts and session-import.test.ts.
  • ghcr.io/internetisalie/opencode-stable:v2.3.2-internetisalie.1-poc.5 resolves to sha256:7e4319e1…f6acf and carries revision label d11e4140de….
  • The tests added by the fixes drive the real runner through reject-then-reload, reject-then-owner-interrupt, Location teardown and Permission-only teardown (packages/core/test/session-runner.test.ts:5628-5835) and assert request count, claim state, execution events and the parent notice.

Not blocking — follow-ups

  1. Question dismissal has no shutdown marker. step.ts:191 falls back to locationClosed for QuestionTool.CancelledError. A user dismissal followed by a Location reload before settlement is recorded as "the location shut down" and the model continues after the reload — the ordering cb61c8967a fixed for permissions. Carry a marker from Form.close the same way.
  2. terminal() lets the latch outrank every exit (execution.ts:52). A defect raised after onDecline would be reported as a user interruption. Not reachable today; check the latch after the success and defect branches, or log the discarded cause.
  3. Legacy mirror-owned rows. The old guard (store.isMirror in execution.ts at 2.2.3) is gone and nothing replaces it: a 2.2.3 database row with event_sequence.owner_id = 'mirror:<source>' is an ordinary executable session at head. Safety rests on the storage gate in opencode-stack-tests, which its own kit says is not installed in any environment (docs/paired-upgrade-qualification.md:213). Rollout condition, as the description already says.
  4. Qualification figures in the description (13/13 Direct V2, 14/14 Supervisor, 12/12 PTY cycles, async approval/denial on the published digest) are not backed by any committed artifact I could read. See the review on https://gitea.internetisalie.net/loom/opencode-stack-tests/pulls/48.

Not examined

Upstream code between 2.2.3 and 2.3.2; fork changes outside the four focus areas beyond a patch-equivalence check (project association, plugin HTTP routes, persistent PTY, global roots — across the merge their patches are unchanged, differ only by the mirror removal, or are test fixtures); the retained evidence archive.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@internetisalie

internetisalie commented Nov 21, 2026

Copy link
Copy Markdown
Owner Author

New integration evidence on the reviewed PoC 5 digest: when the server accepted a child permission rejection (HTTP 204) and was then stopped, the denied tool and interrupted child state survived restart, but the test did not observe the parent cancellation notice. This reproduced twice. Five other async cases passed, including reject then reload and teardown with permission pending. The earlier make test-stack run did not compile this tagged test. Investigation is checking durable storage versus notice consumption or observation; product attribution is still open.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

internetisalie and others added 2 commits November 21, 2026 13:44
@internetisalie @claude
fix(core): wake an idle parent whose subagent notice was admitted bef…
43e089a
…ore shutdown

A subagent's cancellation notice can be admitted to the parent inbox before the parent takes an execution claim. When shutdown lands in that gap the outbox row is retired and nothing wakes the parent after restart. Restart now finds idle, succeeded parents with an admitted steer notice from a subagent and wakes them once recovery finishes. Parents the restart budget already failed are left alone.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@internetisalie @claude
fix(core): wake parents of stranded subagent notices whatever their l…
3e5666a
…ast outcome

The restart sweep woke only parents whose last turn succeeded, while the
normal report path wakes the parent regardless. The sweep now skips only a
parent whose last turn failed, which the restart budget uses to leave its
notices parked. The inbox query moves into SessionInbox, and a test covers
the non-subagent source filter.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@internetisalie
internetisalie merged commit d80874c into internetisalie-v2 Nov 22, 2026
29 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

16 participants

@internetisalie @jlongster @adamdotdevin @rekram1-node @iamdavidhill @ssskay @Hona @thdxr @arvsrn @usrnk1 @neriousy @Tarquinen @MrMushrooooom @vaprdev @kitlangton @yhibo
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.