Skip to content

feat: v4.11.0 β€” to-doc --adr: team ADR template on Confluence - #28

Merged
helderberto merged 3 commits into
mainfrom
feat/to-doc-adr
Oct 22, 2026
Merged

helderberto merged 3 commits into
mainfrom
feat/to-doc-adr

Conversation

@helderberto

Copy link
Copy Markdown
Owner

Summary

to-adr writes a 1–3 sentence record in docs/adr/. Teams that keep ADRs on Confluence need the full shape: numbered title, status header, approvers, consequences, alternatives. to-doc already publishes to Confluence, so --adr adds that shape as a third format instead of growing to-adr.

 to-doc
   formats
     doc
     --one-pager
+    --adr        # ADR-NNNN title, Context β†’ Decision β†’ Consequences (+/-)
+                 # optional: Technical details, Alternatives (Outcome col), References
   2. pin takeaway
+    --adr β†’ to-adr's gate first (hard to reverse, surprising, real trade-off)
 to-adr
+  points to /hb:to-doc --adr for a Confluence ADR

The Confluence header keeps Author(s), Date, Status, Approvers. Statuses: DRAFT (yellow), PROPOSED (blue), APPROVED (green), REJECTED (red), SUPERSEDED (purple).

Evidence

  • Before: to-doc had only the doc and --one-pager formats. An ADR on Confluence meant hand-copying the team template.
    After: bash scripts/check.sh passes: plugin validate, plugin.json copies match, all script tests. /hb:to-doc --adr has not been run end to end against a live Confluence page yet: the Atlassian MCP timed out this session.

Merge Danger

Door: two-way

Blast Radius: to-doc

Existing doc and --one-pager output is unchanged. The new template text only applies with --adr.

@helderberto
helderberto merged commit f63f642 into main Oct 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant