You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
adr-bootstrap sets up the ADRs a repository already has before it drafts new ones, in three steps. First it looks in docs/adr/ and in the folders other ADR tools use (adr-tools' doc/adr/ or the folder .adr-dir names, MADR's docs/decisions/, log4brains' adrFolder, Backstage's backstage.io/adr-location, and docs/adrs/, docs/architecture/decisions/, architecture/decisions/, adr/ and decisions/), and asks once whether to convert every ADR the CLI reads on its own. On a yes it moves the ones outside docs/adr/ there with git mv, points the tool's setting at docs/adr/, and runs actual adr normalize, whose own model writes the policies of a decision written as prose. Next it goes through the ADRs that still have questions with you. Last, whatever happened before, it asks whether to draft ADRs for what they don't cover. Plugin version 3.4.0. See adr-bootstrap
When the session-start refresh finds ADRs in another format and no decision governing the repository, your agent offers adr-bootstrap, which converts them before it drafts anything, and the actual skill answers that recommendation the same way. It used to offer actual adr normalize alone and keep adr-bootstrap out. Each offer is still made once a session and starts only on a yes. See Hooks
adr-bootstrap no longer has you read and tick every draft. It lists each in one line (title, MUST and SHOULD counts, scope) and asks once: Accept all (recommended), Review one by one (Accept, Edit or Skip, with the full text only there), or Choose some. Past about 15 drafts it groups them by area and asks per group, and for 100 or more, or whenever you'd rather choose in your editor, it writes a review file under docs/adr/drafts/ with a keep column and creates what you keep. The review only adds files there, each marked so normalize leaves it alone, and removes only the ones it lists; a later run offers to finish or remove a review left unfinished. Converting many files with normalize asks a question shared by many files once, grouped the same way, instead of once per file. See adr-bootstrap
adr-bootstrap no longer caps its foundation set at ten ADRs. It drafts one for every decision in scope that warrants an ADR, ranked by how much code each governs, and a large set is answered as the line above describes: Accept all, group by group, or in a review file. A pattern the code follows only in part is drafted only when it's clear which way the code is going, and is otherwise named in the report as undecided. See adr-bootstrap