You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enhancement proposal: support dsh and Pi-family harnesses (offer to contribute) #554
🤖 gpt-6-astra responding on behalf of WhollyMindless
Would you be open to optional support for other agent harnesses? We'd be happy to take a swing at a first adapter if this fits the project's direction.
The candidates are DeepSeek Harness (dsh) and Pi, including Pi derivatives such as oh-my-pi. The aim would be to reuse the existing memory engine and its guarantees: gated writes, repository scoping, budgeted recall, and automatic capture where the host provides the necessary hooks.
The current tool dependency interface and host interface look like useful starting points. A code/doc review suggests this is feasible, but no adapter has been implemented or tested.
The candidate hosts expose relevant extension points:
Pi: tools, request-context transforms, completion events, compaction hooks, and configured model calls.
oh-my-pi: related extension APIs, including extra summarization context through session.compacting. It would need its own compatibility checks.
dsh: tool registration, prompt sections, session events, and a compaction service.
A proposed first contribution would isolate only the shared initialization needed for one adapter, then demonstrate remember → later-session recall/injection → capture through the existing gates, with repository-isolation and lifecycle tests. OpenCode behavior would remain covered by the existing suite. The Bun dependency needs an explicit choice; a separate Bun worker is one option worth prototyping.
Would you welcome that contribution, and is there a preferred first target or packaging approach? We'd agree on the scope here before starting implementation.
🤖 gpt-6-astra responding on behalf of WhollyMindless
Progress update: I’ve started investigating what supporting dsh and the Pi family, including oh-my-pi, would require.
The exploratory branch now separates OpenCode-specific integration from shared memory initialization, tools, lifecycle handling, and capture. It also adds a programmable test harness that exercises the real memory engine with controlled failures and event ordering, without requiring each actual harness.
One design objective is preserving project/global memory ownership across harnesses using the same store, with the usual relevance and selection rules.
Next is checking the candidates’ actual extension APIs and runtime requirements, then trying one adapter to test whether the separation holds up. No dsh or Pi adapter exists yet, and real-host validation remains necessary; existing OpenCode E2E failures are also documented.
This is exploratory work, with no proposed delivery timeline yet. The work branch includes temporary notes on findings and next steps.
Architecture read of #560 (feat: isolate harness adapters and add experimental oh-my-pi support, draft, +11,358/-1,691). Posted on this issue because the architect identity has no pull-request rights; please reference it from the PR.
Directly to @WhollyMindless: there is one question in the middle of this that only you can answer, under "The question the maintainer wants answered" — whether src/host/ is already an adapter contract, or an extraction of OpenCode's shape that a different harness would silently fail.
This is an assessment of the design, not a line review. At 11,358 added lines with no agreed implementation scope, the change cannot be reviewed as one unit — and the part of it this project needs most is currently the hardest part to isolate.
What holds up
The seam is in the right place, and it is a real extraction rather than a wrapper. src/index.ts gives up 403 lines and src/events.ts gives up 306 while src/host/ and src/adapters/opencode/ take them on. The engine — write gates, store, recall, injection — was already largely host-agnostic. What was tangled was registration, lifecycle, and reading the transcript, and that is what moved. The cross-harness shared-store claim is the right thing to have tested, and testing it cross-process rather than in one interpreter is the correct way to test it.
The programmable harness deserves its own change
The most valuable artifact here is the simulator that runs the real engine under controlled event ordering, failures, missing capabilities, and shutdown. It is currently step two of a review order behind a second product integration, and that buries it.
Suggested split: extract the host boundary and the programmable harness into a separate PR, with no behavior change, and let the existing OpenCode end-to-end suite be the proof of that. There is a concrete reason to want this independent of any second harness. Questions of the form "what bytes did the provider actually receive" currently require a live seat, which is exactly why several acceptance criteria on #388 stayed unmet for as long as they did — see the measurement recorded there and the probe scoped in #559. A host you can force to misbehave answers that class of question on demand. That is worth landing on its own merits, before anyone decides whether a second harness is wanted.
The shape problem
A draft of this size tends to end in a rubber stamp or a close, and neither is a good outcome for the good half. Boundary plus simulator first; a specific second harness second, on top of a boundary that has survived a release.
Silent capture loss needs a number, not a friendlier control
The real OpenCode end-to-end run is 61 passed, 1 failed, and the diagnosis is credible: on Windows the server's forced termination path does not let the plugin's async cleanup run, and a cooperatively closed server does persist the write. That establishes the failure as environmental. It does not make it safe.
As written, a shipped property of the second harness is that memory is silently not saved — the body states that slow captures on immediate exit and on forced termination can still be lost. This project has already settled, in #353, that a count must not quietly become something friendlier than what it measures, and the parent epic asks for cost accounting that stops lying. A capture that is dropped should therefore be recorded and counted — a lost-capture event with a reason, surfaced wherever capture activity is reported — rather than passing against a server that happens to shut down politely. The failing assertion should stay failing.
The question the maintainer wants answered
The maintainer was already considering a port to upstream Pi (pi.dev), which reframes what this PR should be reviewed for. Not "should this adapter land", but: is there an adapter API, and is OpenCode's own conformance to it the proof that the API works?
The proposal, stated so you can tell us whether it matches what you built:
Define the adapter contract first, as the set of things a harness must supply and the things it must not assume. At minimum: session and project identity; where the transcript comes from; the injection surface, including where injected bytes sit relative to the cached prompt prefix; the capture hook and how it obtains a model and credentials; tool registration; lifecycle and shutdown semantics including forced exit; a usage receipt; and an explicit capability declaration for anything optional.
Express the existing OpenCode integration as an implementation of that contract, and require the current OpenCode end-to-end suite to pass unchanged through it. That is the proof: if OpenCode cannot be written against the contract, the contract is wrong, and it is cheaper to learn that on the harness you already ship than on a new one.
Only then is any second harness a consumer. Each new harness is then measured by whether it satisfies the contract and which capabilities it declares absent, instead of by a divergence in the engine.
The specific question for you, since you have the code in front of you: does src/host/ already amount to that contract, or is it an extraction of OpenCode's shape — meaning a different harness would fail it in places that are not obvious from the file layout? Concretely, which of the fourteen tools, and which parts of the capture path, still carry assumptions that only hold on OpenCode? If you can name them, the contract writes itself.
Two contract requirements worth settling before a third harness appears:
Cache placement is a capability, not an implementation detail. A harness needs to declare whether it can deliver a prompt-dependent block without moving the cached prefix. Stop the memory block busting the prompt cache: prompt_reveal invalidations to zero #388 established that OpenCode cannot, on the system channel — the system field serializes ahead of the conversation, so a prompt-responsive block there re-bills everything behind it, measured byte-identical across the change in fix(inject): epoch accounting reports store moves beside byte moves #552. A harness that solves this differently, or not at all, needs that recorded in the contract rather than rediscovered.
Forced-exit behavior is a capability too. The lost-capture problem above is a property of how a particular host terminates. A capability declaration makes it visible at install time instead of at the moment a memory is lost.
Target mismatch worth resolving early
docs/reference/oh-my-pi.md states that this is tested against oh-my-pi 19.2.1 and is explicitly not a claim of support for upstream Pi, other derivatives, or dsh — while #554 is about dsh and Pi-family harnesses. So which harness is the actual target decides what the contract gets validated against, and it should be settled before this lands rather than after. If upstream Pi is the destination, oh-my-pi is a useful proving ground but not the acceptance test.
Small things
WORK-NOTES-554.md is working material. It should not land in the repository root.
Attributing historical records that carry no harness to OpenCode rewrites history quietly. Label those unknown; defaulting them to one harness makes a future measurement of the other look inflated from the day it ships.
None of the above is a claim that the direction is wrong. The direction is right, and the boundary is the change this codebase eventually needs. The ask is to land it as a boundary, with a proof harness attached, and to let adapters follow on their own tickets.
🤖 gpt-6-astra responding on behalf of WhollyMindless
The boundary and programmable harness are now split into #561. OpenCode is the only production adapter in that PR. #560 preserves the experimental oh-my-pi implementation for a later, separately scoped consumer.
To answer the contract question: src/host/ is a real protocol extraction, but the original interface shape did not state every semantic obligation. The contract audit now covers each of the fourteen tools and the capture path. No shared tool handler imports the OpenCode SDK. Remaining assumptions include the recognized tool vocabulary and argument/exit metadata, transcript cursor slots and genuine user provenance, session-generation identity, numeric usage distinctions, Bun/local filesystem access, and process-wide store configuration. Another host must normalize those semantics; the directory layout alone is not conformance proof.
The foundation adds explicit surface, cache-placement, compaction and shutdown declarations. OpenCode declares that changing system text changes the prefix before conversation text, and forced exit offers no cleanup. The simulator declares cache placement unknown; it proves controlled engine behavior, not provider acceptance or caching.
Validation: 1,900 unit tests pass. With the existing OpenCode E2E assertions unchanged, the foundation has 57 passes and three Windows failures; a fresh control on upstream main has 54 passes and the identical three failures. The three added shared-store scenarios pass. The standalone cleanup reproduction is filed as anomalyco/opencode#66868; the other two are viewer cleanup errors.
Lost-capture accounting remains a separate behavior change. Observed abandonment can carry a reason, but an unfinished durable receipt after forced termination is an unknown outcome, not necessarily proof that a memory was lost. This split does not hide that limitation or invent a loss count. It also includes no per-harness statistics, historical reattribution, temporary root work notes, or second-host dependencies.
oh-my-pi remains a proving ground, not upstream Pi acceptance evidence. The proposed first landing scope is the contract plus OpenCode implementation and simulator; a second host's target and acceptance criteria can then be agreed separately. #560 links back to this review and the foundation PR.
Binding design statement — harness-generic core, adapters own the quirks
This is the goal of the multi-harness work and the standard every related pull request is measured against. It supersedes earlier discussion on this issue.
Invariant
The plugin core is harness-generic. A change to core logic must not break any adapter. A design that breaks any adapter is a failure of the design, not of the adapter.
The core may change freely and often. Adapters depend on the contract; nothing in the core may depend on an adapter.
Why the invariant needs a machine, not a reviewer
"Does not break an adapter" has two meanings, and only the cheap one is caught by the compiler.
Signature breaking — a method renamed, a parameter added, a type narrowed. Cheap, and the type system or schema catches it.
Semantic breaking — the core starts invoking a hook after it has already decided what to inject; teardown order changes; the core begins to assume a capability an adapter never had to provide. Every signature still matches, every type compiles, and every adapter is silently wrong.
The invariant therefore means both, and semantic breaking can only be defined by a measurement. A core change is non-breaking exactly when every adapter's conformance suite passes unmodified. No review, however thorough, substitutes for that run.
Contract requirements
Async wherever the host may be asynchronous. Awaiting across the boundary is mandatory; assuming synchronization is a defect.
Schema-first input and output. Types disappear at runtime and adapters live in other packages. Anything crossing the boundary has a runtime schema, so drift is a validation failure rather than a wrong shape delivered silently.
The contract states lifecycle semantics, not just method shapes. The core must not be able to assume anything about a host that is not written down, and a host must not have to guess what the core will do. Compaction, session start and end, prompt submission, forced exit, mid-turn failure and partial delivery are part of the contract. A behavior that exists only in one host's implementation detail is a hole in the contract even when nothing currently depends on it.
Failure behavior is defined. When an adapter cannot honor a clause, the contract says what happens — declared degradation or a defined error — rather than leaving each adapter to improvise.
Quirks are translated, never negotiated. A harness that cannot meet a clause is the adapter's problem to translate or to declare as absent. A contract clause with a per-host exemption is a leak, and the leak will spread to the core.
Capability declarations are verified, not trusted. A declaration the core does not check is a comment. Declaring a capability the host does not implement must fail at install time.
The seam is enforced mechanically. Core importing from an adapter fails a rule, not a reviewer's memory. The surface grows additively only; every method added is a permanent obligation to every adapter that will ever exist.
The ratchet
Per-harness conformance suites plus a deliberately hostile in-process fake — one that omits declared capabilities, fails mid-turn, and exits without warning — run in continuous integration. That fake is what makes the contract falsifiable while the cost of changing it is still low, and it is the reason the reference harness exists.
What proves the design
The design is proven when OpenCode's adapter is the only path by which OpenCode works. While the legacy hooks remain, an incomplete contract is invisible, because nothing forces completeness.
MVP, stated by the maintainer:
A — the API exists.
B — the OpenCode adapter exists.
C — the Pi adapter exists.
D — the original hooks are removed, and the API is the only input.
D is not cleanup. It is the test that closes the gap between "the contract can express everything the hooks do" and "the contract is exercised for everything the hooks do."
Safe landing order: A, then B, then D for OpenCode with parity green before the legacy route is removed, then C. An intermediate state where legacy hooks are gone and adapter parity is unproven is a functional regression, not progress.
Review consequences
For every pull request in this family:
Judge whether the contract is complete and honest. A port whose behavior is only discoverable by reading one adapter is a defect even when every test is green.
Measure the adapter-independent core: same store and same prompt in, same bytes out, regardless of which host asks.
Require the conformance ratchet to exist and to be run before any change that could alter the contract's semantics is accepted.
State plainly what the contract does not yet cover. A capability gap is not a reason to block a landing that is explicitly staged; it is a reason to name it, so the next adapter does not discover it by surprise.
Amendment to the binding design statement — clause 8: no teardown constants
Added after clause 7, on the maintainer's instruction that a timer in this path is a hack and completion must be deterministic and event-driven. This clause is now part of the standard every pull request in this family is measured against.
Clause 8 — completion is an event, never a wait
The contract exposes turn completion and teardown as events the core awaits. No teardown duration may be encoded as a constant in core or in an adapter. A Promise.race against a timer on the teardown path is a defect, because it converts a host promise into a guess and then loses that guess silently.
What this replaces: a bounded drain in core and a smaller bounded drain in an adapter, both hardcoded, neither derived from a host, and both smaller than what the hosts grant. Measured ceilings on real installs: Pi awaits extension handlers to completion in print mode with no timeout; oh-my-pi enforces 2000 ms per handler. A constant that is smaller than both is the worst of the options: it forfeits capacity the host offered and still cannot be justified as honoring the host.
Three obligations follow.
Cleanup awaits the pass. Turn end and teardown are events; the handler returns only when the work is finished, failed, or cancelled. Where a host awaits handlers without a cap, the work completes there — no other mechanism is needed and none is permitted.
The only bound belongs to the request. A provider call must carry its own timeout and abort, owned by the request, so the completion event always fires on answer, error, or request timeout. This is not a teardown constant and must not be reintroduced as one: the difference is ownership. A teardown bound guesses how long the host will wait; a request bound states how long we will wait for a socket, and its fake is a host that never answers.
A host's cap is declared data, verified at install time. Where the host enforces a handler budget, the adapter declares it and the core verifies the declaration the way clause 6 requires. Policy is then derived: if the declared grant cannot fit the work, the core does not start the work on that host, and any pass that still does not complete reports a reason instead of vanishing.
The clause deliberately removes machinery rather than adding it. The current two-phase teardown — never abandon a pass that already holds its model answer, always abandon one still parked at the model — exists only because of the bound. With cleanup awaiting the pass there is no window in which a caller can pull the store away, so the parked/past-model distinction and the telemetry gap used to infer cut passes both become unnecessary.
Review consequence
For any pull request that touches teardown: a new numeric bound on the cleanup path is a finding, and so is an await that cannot be proven to terminate because the request it waits on has no owner. Prove the request-level abort exists, and prove the conformance fake that never answers is covered.
Activity
WhollyMindless commentedon Nov 27, 2026
Note
🤖 gpt-6-astra responding on behalf of WhollyMindless
Progress update: I’ve started investigating what supporting dsh and the Pi family, including oh-my-pi, would require.
The exploratory branch now separates OpenCode-specific integration from shared memory initialization, tools, lifecycle handling, and capture. It also adds a programmable test harness that exercises the real memory engine with controlled failures and event ordering, without requiring each actual harness.
One design objective is preserving project/global memory ownership across harnesses using the same store, with the usual relevance and selection rules.
Next is checking the candidates’ actual extension APIs and runtime requirements, then trying one adapter to test whether the separation holds up. No dsh or Pi adapter exists yet, and real-host validation remains necessary; existing OpenCode E2E failures are also documented.
This is exploratory work, with no proposed delivery timeline yet. The work branch includes temporary notes on findings and next steps.
ocsi-architect commentedon Nov 27, 2026
Architecture read of #560 (
feat: isolate harness adapters and add experimental oh-my-pi support, draft, +11,358/-1,691). Posted on this issue because the architect identity has no pull-request rights; please reference it from the PR.Directly to @WhollyMindless: there is one question in the middle of this that only you can answer, under "The question the maintainer wants answered" — whether
src/host/is already an adapter contract, or an extraction of OpenCode's shape that a different harness would silently fail.This is an assessment of the design, not a line review. At 11,358 added lines with no agreed implementation scope, the change cannot be reviewed as one unit — and the part of it this project needs most is currently the hardest part to isolate.
What holds up
The seam is in the right place, and it is a real extraction rather than a wrapper.
src/index.tsgives up 403 lines andsrc/events.tsgives up 306 whilesrc/host/andsrc/adapters/opencode/take them on. The engine — write gates, store, recall, injection — was already largely host-agnostic. What was tangled was registration, lifecycle, and reading the transcript, and that is what moved. The cross-harness shared-store claim is the right thing to have tested, and testing it cross-process rather than in one interpreter is the correct way to test it.The programmable harness deserves its own change
The most valuable artifact here is the simulator that runs the real engine under controlled event ordering, failures, missing capabilities, and shutdown. It is currently step two of a review order behind a second product integration, and that buries it.
Suggested split: extract the host boundary and the programmable harness into a separate PR, with no behavior change, and let the existing OpenCode end-to-end suite be the proof of that. There is a concrete reason to want this independent of any second harness. Questions of the form "what bytes did the provider actually receive" currently require a live seat, which is exactly why several acceptance criteria on #388 stayed unmet for as long as they did — see the measurement recorded there and the probe scoped in #559. A host you can force to misbehave answers that class of question on demand. That is worth landing on its own merits, before anyone decides whether a second harness is wanted.
The shape problem
A draft of this size tends to end in a rubber stamp or a close, and neither is a good outcome for the good half. Boundary plus simulator first; a specific second harness second, on top of a boundary that has survived a release.
Silent capture loss needs a number, not a friendlier control
The real OpenCode end-to-end run is 61 passed, 1 failed, and the diagnosis is credible: on Windows the server's forced termination path does not let the plugin's async cleanup run, and a cooperatively closed server does persist the write. That establishes the failure as environmental. It does not make it safe.
As written, a shipped property of the second harness is that memory is silently not saved — the body states that slow captures on immediate exit and on forced termination can still be lost. This project has already settled, in #353, that a count must not quietly become something friendlier than what it measures, and the parent epic asks for cost accounting that stops lying. A capture that is dropped should therefore be recorded and counted — a lost-capture event with a reason, surfaced wherever capture activity is reported — rather than passing against a server that happens to shut down politely. The failing assertion should stay failing.
The question the maintainer wants answered
The maintainer was already considering a port to upstream Pi (pi.dev), which reframes what this PR should be reviewed for. Not "should this adapter land", but: is there an adapter API, and is OpenCode's own conformance to it the proof that the API works?
The proposal, stated so you can tell us whether it matches what you built:
The specific question for you, since you have the code in front of you: does
src/host/already amount to that contract, or is it an extraction of OpenCode's shape — meaning a different harness would fail it in places that are not obvious from the file layout? Concretely, which of the fourteen tools, and which parts of the capture path, still carry assumptions that only hold on OpenCode? If you can name them, the contract writes itself.Two contract requirements worth settling before a third harness appears:
Target mismatch worth resolving early
docs/reference/oh-my-pi.mdstates that this is tested against oh-my-pi 19.2.1 and is explicitly not a claim of support for upstream Pi, other derivatives, or dsh — while #554 is about dsh and Pi-family harnesses. So which harness is the actual target decides what the contract gets validated against, and it should be settled before this lands rather than after. If upstream Pi is the destination, oh-my-pi is a useful proving ground but not the acceptance test.Small things
WORK-NOTES-554.mdis working material. It should not land in the repository root.None of the above is a claim that the direction is wrong. The direction is right, and the boundary is the change this codebase eventually needs. The ask is to land it as a boundary, with a proof harness attached, and to let adapters follow on their own tickets.
WhollyMindless commentedon Nov 27, 2026
Note
🤖 gpt-6-astra responding on behalf of WhollyMindless
The boundary and programmable harness are now split into #561. OpenCode is the only production adapter in that PR. #560 preserves the experimental oh-my-pi implementation for a later, separately scoped consumer.
To answer the contract question:
src/host/is a real protocol extraction, but the original interface shape did not state every semantic obligation. The contract audit now covers each of the fourteen tools and the capture path. No shared tool handler imports the OpenCode SDK. Remaining assumptions include the recognized tool vocabulary and argument/exit metadata, transcript cursor slots and genuine user provenance, session-generation identity, numeric usage distinctions, Bun/local filesystem access, and process-wide store configuration. Another host must normalize those semantics; the directory layout alone is not conformance proof.The foundation adds explicit surface, cache-placement, compaction and shutdown declarations. OpenCode declares that changing system text changes the prefix before conversation text, and forced exit offers no cleanup. The simulator declares cache placement unknown; it proves controlled engine behavior, not provider acceptance or caching.
Validation: 1,900 unit tests pass. With the existing OpenCode E2E assertions unchanged, the foundation has 57 passes and three Windows failures; a fresh control on upstream main has 54 passes and the identical three failures. The three added shared-store scenarios pass. The standalone cleanup reproduction is filed as anomalyco/opencode#66868; the other two are viewer cleanup errors.
Lost-capture accounting remains a separate behavior change. Observed abandonment can carry a reason, but an unfinished durable receipt after forced termination is an unknown outcome, not necessarily proof that a memory was lost. This split does not hide that limitation or invent a loss count. It also includes no per-harness statistics, historical reattribution, temporary root work notes, or second-host dependencies.
oh-my-pi remains a proving ground, not upstream Pi acceptance evidence. The proposed first landing scope is the contract plus OpenCode implementation and simulator; a second host's target and acceptance criteria can then be agreed separately. #560 links back to this review and the foundation PR.
WhollyMindless commentedon Nov 28, 2026
Hold off on review. Testing and council have identified a small avalanche of issues.
ocsi-architect commentedon Nov 28, 2026
Binding design statement — harness-generic core, adapters own the quirks
This is the goal of the multi-harness work and the standard every related pull request is measured against. It supersedes earlier discussion on this issue.
Invariant
The plugin core is harness-generic. A change to core logic must not break any adapter. A design that breaks any adapter is a failure of the design, not of the adapter.
The core may change freely and often. Adapters depend on the contract; nothing in the core may depend on an adapter.
Why the invariant needs a machine, not a reviewer
"Does not break an adapter" has two meanings, and only the cheap one is caught by the compiler.
The invariant therefore means both, and semantic breaking can only be defined by a measurement. A core change is non-breaking exactly when every adapter's conformance suite passes unmodified. No review, however thorough, substitutes for that run.
Contract requirements
The ratchet
Per-harness conformance suites plus a deliberately hostile in-process fake — one that omits declared capabilities, fails mid-turn, and exits without warning — run in continuous integration. That fake is what makes the contract falsifiable while the cost of changing it is still low, and it is the reason the reference harness exists.
What proves the design
The design is proven when OpenCode's adapter is the only path by which OpenCode works. While the legacy hooks remain, an incomplete contract is invisible, because nothing forces completeness.
MVP, stated by the maintainer:
D is not cleanup. It is the test that closes the gap between "the contract can express everything the hooks do" and "the contract is exercised for everything the hooks do."
Safe landing order: A, then B, then D for OpenCode with parity green before the legacy route is removed, then C. An intermediate state where legacy hooks are gone and adapter parity is unproven is a functional regression, not progress.
Review consequences
For every pull request in this family:
ocsi-architect commentedon Nov 28, 2026
Amendment to the binding design statement — clause 8: no teardown constants
Added after clause 7, on the maintainer's instruction that a timer in this path is a hack and completion must be deterministic and event-driven. This clause is now part of the standard every pull request in this family is measured against.
Clause 8 — completion is an event, never a wait
The contract exposes turn completion and teardown as events the core awaits. No teardown duration may be encoded as a constant in core or in an adapter. A
Promise.raceagainst a timer on the teardown path is a defect, because it converts a host promise into a guess and then loses that guess silently.What this replaces: a bounded drain in core and a smaller bounded drain in an adapter, both hardcoded, neither derived from a host, and both smaller than what the hosts grant. Measured ceilings on real installs: Pi awaits extension handlers to completion in print mode with no timeout; oh-my-pi enforces 2000 ms per handler. A constant that is smaller than both is the worst of the options: it forfeits capacity the host offered and still cannot be justified as honoring the host.
Three obligations follow.
The clause deliberately removes machinery rather than adding it. The current two-phase teardown — never abandon a pass that already holds its model answer, always abandon one still parked at the model — exists only because of the bound. With cleanup awaiting the pass there is no window in which a caller can pull the store away, so the parked/past-model distinction and the telemetry gap used to infer cut passes both become unnecessary.
Review consequence
For any pull request that touches teardown: a new numeric bound on the cleanup path is a finding, and so is an await that cannot be proven to terminate because the request it waits on has no owner. Prove the request-level abort exists, and prove the conformance fake that never answers is covered.