Repository navigation
Description
Observable failure
A person pins a lane for a model in the chat surface (the lanes picker writes the lane.<slot> row and the manual promises "every request for that model goes to that lane and nowhere else"). A headless run in the same home — aforge do or aforge plan — ignores the row: its call ledger shows requests named to, and served by, other lanes. Measured on 2026-09-02: three aforge do runs in fresh homes on the default work model landed on OpenInference (the slowest of the model's seventeen lanes by twenty times, 44 s against 0.9–2.3 s for a 16K-token prompt) and died at the leaf wall on retries; there was no way from the home's settings to move them.
A pin a person set applies to every door of the same home, or the manual says which doors it does not reach.
Where
Only the v3 chat door resolves the row: cmd/aforge/chatv3.go reads config.LanePinned for the slot and calls provider.SetLanePin. The headless doors (cmd/aforge/do.go, the plan door in main.go, the resident runner) never call it, so provider.CurrentLanePin() is the zero value for every headless request and internal/lane chooses on its own. The chat manual (internal/manual/chat/lanes.md, "picking one pins it, and every request for that model goes …") states the promise for the chat session; no headless page claims it, so the gap is silent rather than contradicted.
Fix shape
Recommended: the pin is resolved where the profile is loaded for every door (one place, beside the model resolution) and handed to the provider client, so aforge do, aforge plan and the resident honour the same row the chat does; a test per door that a pinned home's first request carries the pin as provider.only. Alternative: the headless doors do not honour the row and lanes.md plus the headless pages say so in one sentence.
Replication
AFORGE_HOME=$(mktemp -d)
aforge chat # pick a lane for the work model in the lanes picker, quit
aforge do "write hello.txt containing the word hello" --keep
# logs/calls.jsonl in that home: the rows' `lane`/`served` name other lanesAcceptance
The same run's ledger shows every row served on the pinned lane (or refused when that lane cannot serve, which is the pin's own contract), and the chat manual's sentence is true of every door.
Found while running the planner experiment for #384 (evidence: #252 (comment) thread). Queued under the WIP freeze, not started.
Drafted with CodeAF · reviewed and owned by the author
Activity
engine: a lane pin holds at every door, not only in the conversation (#…