Fleet onboarding-injection — comms cheat-sheet + peer roster per agent #620
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fleet onboarding-injection — comms cheat-sheet + peer roster per agent
Root cause (Mos's failed first send): fleet agents are born not knowing their comms tooling. When the fleet spawns a role, inject a comms cheat-sheet + peer roster into that agent's system prompt.
Requirement
Inject (runtime-agnostic, via the launcher system-prompt path
composeContract) for each fleet agent:agent-send.shpath + how to reach the orchestrator/lead and known peers (host + tmux session).[src -> dst]preamble convention + the FLIP-to-reply rule.agent send --verifyconfirms ACCEPTED (not just injected).Peer roster sourced from
roster.yaml(each agent gets the others; self excluded). Orchestrator flagged as point-of-contact.Approach
src/fleet/comms-onboarding.ts:parseRosterAgents,buildFleetCommsBlock,readFleetCommsBlock(nofleet.tscoupling).composeContract(launch.ts): appends# Fleet Commsonly whenMOSAIC_AGENT_NAMEis set + the agent is inroster.yaml; no-op otherwise.composeContractwith a fixture roster contains the cheat-sheet + correct peer addresses + self excluded.