Merge branch 'main' into small-shell-wire-defaults

This commit is contained in:
2026-10-18 23:12:23 +01:00
18 changed files with 790 additions and 830 deletions
@@ -0,0 +1,25 @@
# Android target pool allocation — 2026-10-18, phase one not activated
This item adds a reusable store contract only. Pool declarations are not
activated in live jobs, runner handoff, server configuration, Android maps,
shared documentation, or deployment.
`Store.ConfigureResourcePool(ctx, protocol.ResourcePool)` replaces a bounded
pool declaration. Each member has a unique 1–128 byte resource key, an enabled
flag, quarantine state, and at most 16 bounded ASCII-keyed metadata values
(each value is at most 128 bytes). A pool has 1–32 explicit members. Invalid,
empty, duplicate, unknown, or malformed declarations are rejected. Updating a
pool never transfers a live owner; queued requests use the new declaration on
the next eligible release.
`Store.RequestResourcePool(ctx, pool, visit)` atomically returns a lease for one
free eligible concrete member, or a FIFO wait channel. The lease's `Target`
contains only the concrete member and bounded non-secret metadata. Capability
tokens remain private to the store and are never protocol/model metadata.
Direct concrete-resource leases and pool leases share the owner table, so they
cannot overlap. Disabled or quarantined members are skipped; if none are
eligible, the request queues without inference. Release, cancellation, stale
credentials, recovery, and restart retain the existing no-expiry semantics.
This is scheduler coordination only: no device probing, emulator creation,
credentials, activation, or live job changes are included.
+12
View File
@@ -0,0 +1,12 @@
# Retry memory input override ordering
On 2026-10-18, selected-stage retry input overrides are persisted separately
from the immutable source-stage input. Retry reconstruction now resolves the
selected stage's memory bindings from the original prefix first, then applies
the validated override once to that invocation. This keeps the persisted
`run_steps.input` and downstream handoff aligned with the requested correction
without changing the source history or unrelated later stages.
The shared retry documentation and packaged OpenCode skill reference should be
folded by the manual `docs-fold` pipeline; this note records the behavior change
without editing those shared documents.