Repository navigation
adr.retro reads the whole pull request text and knows the decisions on record - #120
Merged
Merged
Conversation
…n record The model now gets the body of a pull request cleaned before it is cut, batches keep one module and one issue together, and each request names the decisions already on record. A draft can say which decision it continues, and relate.adr always pairs the two. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ters in order Main asks all occasions of a run at the same time. A later occasion must know the drafts of the earlier ones, so only the occasions of one quarter are asked together. The record moves to 0342, 0333 is taken. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
adr.retro(4.0.0) writes the drafts of derived decisions. Four things change in what it sends to the model:bodyandbody_restof a pull request, removes comments, check boxes and the sections about testing and review, and cuts to 3,000 characters after that. Before, 4,539 of 6,597 Artemis bodies hit the cut at 4,000 characters, mostly inside the template.continueswhich one it extends or replaces. A change that only carries out a known decision goes underrepeats: no second draft, but it counts as architecture.relate.adr(1.4.0) always asks about the pair a draft names incontinues.Order of the requests
Main asks all occasions of a run at the same time (0336). That does not fit "a later occasion knows the earlier drafts". This PR asks the occasions of one quarter together and the quarters one after the other. Occasions of the same quarter do not know each other's drafts. A full build takes longer than on main, a run with one or two new occasions does not.
Measured
Eight oldest occasions of Artemis (97 changes), on a copy of the board, before the merge of main: 33 drafts instead of 29, 24 with the same id, 3 with
continues, 13,800 input tokens per request instead of 23,800.For the reviewer
continuesyet.docs/adr/0342. Guide:docs/decisions.md.🤖 Generated with Claude Code