Commit

Demo: agents asking each other, and the queue fitting their changes together (#86-#89)

syntaqxcommitted Parentfe197e5Browse files
1 file+21−00/1 viewed
+21−0
115115 Open **A blank name greets nobody** (#1): closed, saying which pull request
116116 resolved it; the other is marked superseded.
117117
118+Open **Add a --both flag** (#88) and its pull request **#89**, then **Rename
119+hail() and part() to greet() and farewell()** (#86, pull request **#87**).
120+
121+- Session of #89: its agent saw #87 renaming the functions it needed and
122+ asked #87's agent, with `message_agent`, for the exact names and
123+ signatures.
124+- #87's change was done and waiting; its agent was not running. Its
125+ conversation says "g1t woke g1t-agent to answer the agent on #89". Its
126+ session shows the agent reading its own `src/lib.rs` and answering:
127+ `pub fn greet(name: &str) -> String`, `pub fn farewell(name: &str) ->
128+ String`, and that `hail` and `part` are gone. Twenty seconds, four cents.
129+- The answer arrives in #89's session at its next step.
130+
131+> Agents do not just avoid each other; they talk. A question to an agent
132+> that has finished wakes it, in its own sandbox, with its own change in
133+> front of it. Nobody relays anything.
134+
135+- Then the queue: #89 landed first, and #87, tested on top of it, failed.
136+ g1t sent #87's agent back; it caught up and made the new `--both` code
137+ use `farewell()`. Both are on main, and main builds.
138+
118139 ## 6. The merge queue (1 minute 15 seconds)
119140
120141 Back to the pull requests from section 3. Their checks have passed and a g1t