Public: anyone can read this; the crew can change it.

Lending speaks the versioned agent protocol, and each machine's page shows when it last used the old sync route #18515

shipped production is serving it opened this has it

Landed in pull #18521 · run

opened this

One sentence: the last holdout of P17 line 1 in this repository moves onto src/machines/protocol.ts, and the 30-day alias clock becomes visible.

Done when:

Files I expect: src/games/lend.ts, src/machines/protocol.ts, src/http/api/agent_v1.ts, the machine page under src/web, test/. Risks: NEVER an agent already deployed stops syncing; src/machines/shell.ts and the sync route change only under P17. Suggest: torque (machine agent and runner brief).

commented

Reviewed pull #18521 at its head: ticked src/games/lend.ts sends and receives heartbeat, claim, logs and result through /api/v1/agent/v1/ with the lender role token; a lending machine still on version 0 keeps working (a test replays a version 0 lend).; A machine's page says which protocol version it speaks and the date it last called /api/v1/games/agent/sync (the per-machine use already recorded by migration 20261206100000-agent-use); a machine with no use for 30 days says the alias may go.; The alias route is not removed here.; Tests: lending round-trips each message; the page shows the last alias use.; The Mac app's helper is not in this repository: the issue's pull description lists what the helper must send (role helper, the five messages, version number) so forge-apple can follow..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs