Repository navigation
Description
Context
Part of #3103. Consumers need one lifecycle implementation rather than duplicating vendor cleanup and failure handling. Implement the accepted contract from #3104; existing registry convention starts at resolveEmbeddingProvider, packages/core/src/lib/registry.ts:98-115.
Scope
Implement typed provider registration/resolution and instance IDs, capability checks, lifecycle receipts, command handles, cancellation, bounded leases, source/artifact manifests and durable job state outside disposable brain.db. Provide restart reconciliation for pending/unknown allocations. Keep host-owned admission and caller identity explicit; preserve vendor-independent error/cost/retention metadata.
Out of scope
No Boat-specific HTTP code, global fleet scheduler, new daemon requirement, implicit content sync or interactive remote agents.
Acceptance criteria
- Two provider implementations pass one shared conformance suite, and two instances of one implementation remain separately configured and authorized.
- Unsupported capabilities refuse before effects; unconfigured providers leave local operation usable.
- Cancellation, deadline expiry, restart, lost creation response and failed cleanup retain enough state for reconciliation without duplicate effects.
- Artifact/source identity and terminal exit status survive the lifecycle; partial/missing results and uncertain cost are explicit.
- Fake-clock/racing-process tests prove finite lifecycle behavior and state ownership; no authoritative state is stored only in rebuildable brain.db.
Verification
Use the repository's keyless test harness with fake vendor transport and disposable state. Exercise the real implementation, capture a failing-first or mutation receipt for each material boundary, and run the focused tests through the repository test script, typecheck and lint. Live provider proof is a separately authorized operator exercise; no credentials or vendor calls in CI.
Contract impact
Additive public API/CLI/MCP behavior requires contract documentation and a changeset; exact names are settled by the contract task.
Blocked by #3104
2026-10-29 readiness review at main 83252add0357908a00fa4181b8e7b731938c69e7: the scoped implementation brief is complete for the output of its declared prerequisite tasks. Retain every canonical dependency and blocked; add agent-ready only to describe the dependency-gated brief. This is not currently pickable and does not approve provisional terminology/API choices. #3104 must first deliver its contract proposal and record any required maintainer rulings; implement only the accepted resulting contract, reassessing readiness if that output changes this scope. No vendor call, credentials, package change, allocation or release commitment is authorized by this triage. Priority p2 is consistent throughout the open dependency chain.
Activity
schlessera commentedon Nov 2, 2026
Claim
claim-3105-631978: layer 2 of the #3103 integration lane. Branchfeat/3105-compute-lifecycleimplements the contract indocs/decisions/external-compute.md(#3294). Work starts from #3294's headf54fd5a3c; that head's selected hosted proof is still pending. No PR opens until #3294 has merged intoepic/3103-external-computeand this branch has been rebased onto that tip.blockedandBlocked by #3104stay until #3104 is reconciled.fix(core): load the compute lifecycle lazily so the testing entry sti…
fix(core): close the compute lifecycle review findings
CONTRACT: feat(core): add the ComputeProvider seam and a vendor-indep…
schlessera commentedon Nov 2, 2026
Delivered to the integration lane. #3299 was squash-merged into
epic/3103-external-computeas8de5ecb407dcddfc82caff16a9351b9fa7434abc, whose parent ise9b33bea9. Its tree is identical to the tested head9a4f9c375. Confirmation run 41483430273 passedproofand every selected job on that head. The 10 independent-review findings were fixed with failing-first tests before merge. This issue stays open, with milestone 0.45.0, until the epic branch merges to main.CONTRACT: feat(core): expose external compute through brain compute a…
CONTRACT: feat(core): expose external compute through brain compute a…
schlessera commentedon Nov 3, 2026
Delivered on main through epic #3103's integration branch.
epic/3103-external-computeafter its own hosted ready-candidate proof)418b037ae4a0f9988713125c6d54db9221341ed1(parents: main29799ebcd, epicd2c7fe7b5; merge tree identical to the tested epic head)d2c7fe7b5/ base29799ebcd, every selected job passed (theverifyjob was re-run once after abun installsetup timeout)