GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fix(task): make async subagent tasks answer honestly, once, in order, and stop by NamedIdentity · Pull Request #45482 · anomalyco/opencode fix(task): make async subagent tasks answer honestly, once, in order, and stop #45482New issueHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails. Already on GitHub? Sign in to your account
Closed
Uh oh!
There was an error while loading. Please reload this page.
Closed
Changes from 1 commit
Commits
Show all changes
89 commits
Select commit
Hold shift + click to select a range
0b85718
fix: cancel the background job that was observed, not whatever holds …
NamedIdentity e2ef533
feat(session): add branch closure and task attachment modules
NamedIdentity 7b234b3
feat(session): wire branch closure into the session HTTP surface
NamedIdentity 4bf5e5f
fix(background): grant jobs that supply no admission
NamedIdentity 40627ff
feat(opencode): give task one explicit input for async execution
NamedIdentity 29c3a53
feat(opencode): hold a subagent's answer until its async children settle
NamedIdentity b40e7ed
fix(opencode): target one exact run for task wait, promote and cancel
NamedIdentity 8be4e8b
fix(opencode): interrupt a task exactly, without re-entering branch c…
NamedIdentity 0c7a7d0
fix(opencode): report what a task child actually finished with
NamedIdentity d5b4e38
refactor(session): use a descriptive id for the task attachment parti…
NamedIdentity cf5d97d
feat(tui): say async where a task stops blocking its caller
NamedIdentity dd30ebb
feat(ui): render a branch closure record where work was stopped
NamedIdentity af846fd
feat(tui): settle stopped task branches and order undo behind a real …
NamedIdentity 39cbbc6
fix(session): order undo and redo against branch cancellation
NamedIdentity 2a156b0
fix(session): order destructive session changes against cancellation
NamedIdentity 88ad6e3
fix(workspace): close a local prior owner before warping a session away
NamedIdentity efd3b87
fix(session): keep closure records intact through compaction and sett…
NamedIdentity d4eb702
fix(run): derive direct-run's Task body from the structured outcome
NamedIdentity b54ba7b
fix(session): require a reservation for event replay reaching the pro…
NamedIdentity 998c36c
fix(session): stop permission and question replies from resuming a cl…
NamedIdentity 0d847fb
fix(acp): abort a backing session before removing it, and skip closur…
NamedIdentity 053d9cd
fix(session): reserve the branch-closure provenance key against calle…
NamedIdentity 24ce5ed
test(session): cover task return classification, selection and rendering
NamedIdentity 5d63182
test(lib): add closure, attachment and physical fixtures for the bran…
NamedIdentity f678987
test(session): cover attachment claim ownership and the task return gate
NamedIdentity 80e5e91
test(session): cover exact job lifetimes and the bind-before-arm prot…
NamedIdentity 460a970
test(run): cover task envelopes and closure records on the direct-run…
NamedIdentity 1245422
fix(session): record the task edge coordinates a branch walk needs
NamedIdentity e788b88
test(session): cover the task edge coordinates end to end
NamedIdentity 04135ba
test(session): state two bind-suite constraints directly
NamedIdentity 766533e
test(session): cover branch-membership proof, discovery and the locat…
NamedIdentity e5a806a
test(session): cover mutation ordering, closure records, high-water a…
NamedIdentity c65251c
test(session): cover the attached async status observation
NamedIdentity b3cb808
test(session): cover abort completion and incomplete-stop repair
NamedIdentity e8da823
test(session): cover the fence-and-quiesce loop
NamedIdentity 0fdbf21
chore: regenerate SDK and OpenAPI for the new session error types
NamedIdentity 7f6f77f
feat(core): deliver background job answers per position, in conversat…
NamedIdentity 1bf959f
feat(task): send a prompt to a running task, and deliver every answer
NamedIdentity f86ef18
chore(run): drop stale task_prior_output references
NamedIdentity a735f4b
test(task): drop absence guards naming a mechanism upstream never had
NamedIdentity c4d6c33
fix(tui): reach branch closure from Double-Escape, and report a faile…
NamedIdentity 77e915e
fix(task): stop the async protocol promising a status line nothing emits
NamedIdentity 60eb3e2
fix(provider): append message suffix after cache selection
NamedIdentity d8e944c
feat(session): split appended messages during conversion
NamedIdentity 8e88905
fix(session): carry appended messages outside cache selection
NamedIdentity c709afb
test(session): cover appended-message cache boundaries
NamedIdentity d2da3a8
test(session): verify appended-message routing
NamedIdentity d5bb79d
fix(session): preserve max-step suffix shape
NamedIdentity 95e096e
fix(session): preserve structured plugin messages
NamedIdentity daa3260
feat(session): emit the attached-async status line the protocol names
NamedIdentity 9ee5a66
fix(task): release child attachment scope on lifetime end, not delivery
NamedIdentity aeb6699
refactor(core): remove the detection-time announce/floor mechanism
NamedIdentity ce8b3d3
fix(core): disposition a lifetime whose last reserved extension is re…
NamedIdentity 148ba8e
task: restore async protocol text verbatim
NamedIdentity a78a57a
fix: restore lifecycle safety guards
NamedIdentity eb6d61b
test(session): restore closure model and wiring suites
NamedIdentity 6bd3cc5
test(session): restore closure HTTP and task boundary suites
NamedIdentity e98556a
test(session): restore closure mutation authority corpus
NamedIdentity 4df77b1
fix(server): restore substitutable HTTP session graph
NamedIdentity f17558e
fix(session): restore closure admission and metadata guards
NamedIdentity b86608c
fix(ui): restore closure-aware turn selection and timeline
NamedIdentity bc064e4
fix(tui): restore descendant attention and prompt sequencing
NamedIdentity c9d9f5d
test(tool): align the task wire-schema snapshot with the restored des…
NamedIdentity f8131f6
test: restore lifecycle acceptance coverage
NamedIdentity dfca98b
fix(provider): preserve cache breakpoint inputs
NamedIdentity a71434a
fix(ui): restore closure-aware selection guards
NamedIdentity cecbaac
docs(api): describe recursive session abort
NamedIdentity 8094d33
fix(session): restore attachment scope boundaries
NamedIdentity d4dbd0e
session/attachment: gate supplemental borrow on scope resolution (CP-…
NamedIdentity 1b03a15
session/attachment: refuse ownership only on a published resolution
NamedIdentity f3775e2
fix(core): preserve nonaccepted extension cause at the shared finalizer
NamedIdentity 1815393
session/attachment: prove the scope-join refusal boundary end to end
NamedIdentity 1cc44fa
feat(core): restore the answer-log delivery floor, keyed on sequence
NamedIdentity 7d89206
test(session): layer the background flag on the R-08 supplement oracle
NamedIdentity 109e77b
fix(task): gate answer filing on return eligibility and project termi…
NamedIdentity c36dd72
refactor(session): move return-eligibility off the public attachment …
NamedIdentity 7ec8a78
fix(task): degrade the faulting attachment generation on scope mismatch
NamedIdentity 2a0357c
feat(session): gate attachment results on Admission Freshness membership
NamedIdentity 5a8dc67
session/attachment: freeze admission members at publication
NamedIdentity d9f700c
fix(task): preserve cancelled owner-scope terminal
NamedIdentity 82597a4
test(task): prove selected evidence parity
NamedIdentity 68b8091
fix(task): deliver truthful cancellation envelopes
NamedIdentity bac04f7
test(task): prove live sequence-floor ordering
NamedIdentity 36a3a24
test(session): prove B-2 terminal winner composition
NamedIdentity ed2cf5e
test(task): close R-08 and wake evidence
NamedIdentity 731c26b
session: add FIFO reply-required Runner generations
NamedIdentity b2f1ee1
session: route reply-required prompts through FIFO Runner
NamedIdentity 26847ff
test(session): prove FIFO release-gate scheduling
NamedIdentity ca47439
test(session): verify dev prompt FIFO wiring
NamedIdentity File filterConversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page. Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page. Diff viewDiff view
feat(session): gate attachment results on Admission Freshness membership
CP-032 v0.12. A pre-published resolution speaks for the turns it covers, not for every later caller. The coordinator now records which Assistants a resolution covers and consults that at result() time, inside the same synchronous transition that returns the selected structural result. Mechanism, all private: State.members is a mutable monotonic Set of MessageID, and State.publishedMembers is a frozen non-aliasing snapshot taken at each of the three evidence publication points (the degraded and clean branches of gate(), and the never-attached immediate mint in result()). Resolution and TaskSelectedReturn are byte-unchanged, so no public schema, API, Current field, timer, poll, or lock is added. Enrolment happens at accepted observeTurn before gate() runs, and at every result(runFinal) entering unresolved before the fallback latch, so waiters enrol too. invalidate() clears candidate and observed only, never history. closeNow clears the mutable set only when a resolution exists, because apply() runs gate() after closeNow and an unconditional clear would let a close-triggered publication freeze an empty membership. Decision in result(): a pre-published cancellation consumes globally and yields no controlling Assistant, so nothing files. Pre-published evidence, clean or degraded alike, consumes the selected structural result when the incoming Assistant is in the frozen membership, and otherwise returns fresh non-degraded evidence without mutating fallback, history, or resolution. Callers that entered unresolved are not reclassified: they park on the one-shot Deferred and consume the one result. The no-retained exception is removed. Task: eligible() no longer samples scope state. Scope-less turns are immediately fresh; every scoped path announces its sequence and makes exactly one Scope.result(runFinal) call. The Task-facing Scope.resolved accessor is removed from the interface, implementation, and handle; the registry-private resolved() thunk that R-08 borrow refusal and atomic replacement depend on is unchanged. Why membership rather than the frozen candidate/observed/fallback trio: those slots are replaceable. An Assistant observed and then displaced by a later admission is still covered by the resolution while occupying no slot, and testing slots would falsely revive it as fresh. Why not degraded-only, as v0.11 had it: a clean resolution minted while a distinct admitted run is still producing must not swallow that run answer. Eight mutants, each killed by a discriminating arm. Trio proxy and clear-on-invalidate each kill only the displaced-observed arm. Omit-observe-registration kills four. Unconditional evidence kills four. Always-fresh kills five. Degraded-only kills the R-08 successor and no-retained arms. No-retained-exception kills the no-retained arm. Self-enrolment required contaminating the frozen snapshot through a ReadonlySet cast to be observable at all, because the post-publication decision reads only the frozen set. Sixteen pre-existing rows were migrated rather than having expectations edited. Four were a lazy-fork ordering defect where a forked probe was only scheduled, never parked, and needed a yieldNow. Twelve read the settled selection by calling result() after publication with a foreign Assistant, which is now the fresh case by design; they read through a genuine pre-publication entrant instead. Three assertions that were themselves reader-idempotence are retired in place with their rationale, and the foreign-ID behaviour moved to the nonmember-fresh arms. Verified with OPENCODE_EXPERIMENTAL and OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS unset: 12-file affected radius 210 pass / 0 fail / 1701 expect; coordinator 48 / 0 / 199; core background-job 52 / 0 / 619 unchanged. Both package typechecks exit 0. git diff --check clean. oxlint 23 warnings 0 errors on the five changed files. Ref: CP-ocp-032 v0.12 R-01, R-02, R-07, R-08, R-23, B-7
Uh oh!
There was an error while loading. Please reload this page.
commit 2a0357ce9534ad4d491fadf44fca1e2a4373b47a
There are no files selected for viewing
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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 01402792 — 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. |