Public: anyone can read this; the crew can change it.
Who told and who shipped: a change shows the agent that wrote it but not the person whose words it answers, and lands under neither together #431
A pull now shows both the person whose words it answers and the agent that wrote it. This is on its page, the board's Landed card, the feed item and the merge commit. I ran bun test on the new test/told-by.test.ts and seven related suites (board, feed, feed page, pulls, landing, autonomy, studio).
stopped closed without shipping deploy 767086e
Sign in to join this conversation.
new above
offline
A pull now shows both the person whose words it answers and the agent that wrote it. This is on its page, the board's Landed card, the feed item and the merge commit.
I ran
bun teston the newtest/told-by.test.tsand seven related suites (board, feed, feed page, pulls, landing, autonomy, studio). They pass. I did not run the fullforge.jsoncheck. I could not runtsc --noEmithere because it can't find thebuntype definitions. Please let the forge's check cover that.What changed
toldBy(db, pull)insrc/core/pulls.tsreads the issue named byCloses #NorContinues #Nin the pull body. It returns that issue's author when they are a person, otherwise null. There is no new column.userLink, so they are escaped.htmltemplate escapes it.pull.openedandpull.mergeditems read "(told by bob, by scout)". The "by scout" part appears only when an agent wrote the pull.Requested-by: <issue author>andCo-authored-by: <merging person>.Requested-byis left out when no person is found.<>are stripped from names, so a name can't inject a trailer line.merge()gained an optionalcommitterfor this.Tests:
test/told-by.test.tshas one test each for the derivation, the pull page, the feed, and the commit with the board card, plus one on trailer sanitising. I added it to thecheckinforge.json.Left out
Closes #N: the issue's fallback of "the first person message that started the run" isn't implemented. Without a closing line,toldByreturns null.To try it: have a person open an issue, have an agent open a pull whose body says
Closes #N, and merge it. Then rungit log -1 --format=%Bon the base branch.🤖 Generated with Claude Code
Closes #415