Skip to content

docs(decisions): rescue two orphaned decision records and drain the inbox - #1773

Merged
bradygaster merged 2 commits into
devfrom
squad/rescue-git-safety-decision
Aug 20, 2026
Merged

docs(decisions): rescue two orphaned decision records and drain the inbox#1773
bradygaster merged 2 commits into
devfrom
squad/rescue-git-safety-decision

Conversation

@bradygaster

@bradygaster bradygaster commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Two decision records existed only outside dev and would have been lost. Both are now in .squad/decisions.md, and .squad/decisions/inbox/ is empty — so a fresh clone starts clean.

What was rescued

1. Git safety (2026-03-26, RETRO/Security) — lived only on the deleted bradygaster-laughing-winner branch. Documents incident #631, where destructive staging deleted 361 files. The resulting rule is already live in .github/copilot-instructions.md under ## Git Safety — Mandatory, but the rationale existed nowhere in dev. Without this, a future contributor sees a strict rule with no explanation and is free to relax it.

2. Merge-continuation dispatch inputs (2026-08-20) — the last unmerged file in .squad/decisions/inbox/. Records an earlier dispatch failure where the payload was sent as top-level keys instead of nested under inputs, plus a guardrail proposal that static gates should check both sides of the dispatch contract. That proposal is directly relevant to #1772; it is cross-referenced there.

Notes

Both entries are appended as single ### entries. Their original heading levels were demoted rather than spliced in as-is, so this does not reintroduce the heading-hierarchy break tracked in #1760.

.squad/decisions.md entries are appended in merge order, not sorted by date — consistent with the existing file.

The 2026-03-26 RETRO git-safety decision existed only in
.squad/decisions/inbox/retro-copilot-git-safety.md on the stale branch
bradygaster-fix-merge-continuation-dispatch-inputs. The rule it describes
is live in .github/copilot-instructions.md, but the rationale --
incident #631, 361 files deleted by destructive staging -- was never
merged into decisions.md and would have been lost when that branch was
deleted.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 26891f18-3f78-4cda-801b-ee668fecae33
Copilot AI lite review requested due to automatic review settings August 20, 2026 17:13
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Squad File Leakage Detected

The following .squad/ files were modified in this PR:

  • .squad/decisions.md

These files affect team routing, agent charters, and decisions.
If intentional, ensure approval from the team lead.

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🛫 PR Readiness Check

ℹ️ This comment updates on each push. Last checked: commit f106c8c

PR Scope: 🔧 Infrastructure

⚠️ 4 item(s) to address before review

Status Check Details
Single commit 2 commits — consider squashing before review
Not in draft Ready for review
Branch up to date dev is 1 commit(s) ahead — rebase recommended
Copilot review No Copilot review yet — it may still be processing
Changeset present No source files changed — changeset not required
Scope clean ⚠️ PR includes 2 .squad/ file(s) — ensure these are intentional
No merge conflicts Merge status unknown — GitHub is still computing
Copilot threads resolved 0 active Copilot thread(s) resolved (1 outdated skipped)
CI passing 6 check(s) still running

Files Changed (2 files, +10 −39)

File +/−
.squad/decisions.md +10 −0
.squad/decisions/inbox/booster-continuation-dispatch-inputs.md +0 −39

Total: +10 −39


This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🟢 Impact Analysis — PR #1773

Risk tier: 🟢 LOW

📊 Summary

Metric Count
Files changed 2
Files added 0
Files modified 1
Files deleted 1
Modules touched 1

🎯 Risk Factors

  • 2 files changed (≤5 → LOW)
  • 1 module(s) touched (≤1 → LOW)
  • 1 file(s) deleted

📦 Modules Affected

squad-state (2 files)
  • .squad/decisions.md
  • .squad/decisions/inbox/booster-continuation-dispatch-inputs.md

This report is generated automatically for every PR. See #733 for details.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR rescues and preserves the rationale for the already-enforced “Git Safety — Mandatory” rule by appending the missing decision record (incident #631 context) into the repo’s consolidated .squad/decisions.md.

Changes:

  • Appends a new decision entry documenting Copilot Git safety rules and their origin (incident #631).
  • Captures “By / What / Why” metadata consistent with the existing decision-record format.
Show a summary per file
File Description
.squad/decisions.md Appends the missing decision entry describing Copilot Git safety rules and the incident rationale.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .squad/decisions.md

### 2026-03-26: Copilot git safety rules
**By:** RETRO (Security)
**What:** Added mandatory Git Safety section to copilot-instructions.md: prohibits staging the entire working tree with a bare-dot `git add` (i.e. `git add` followed by just `.`), requires feature branches and PRs, adds pre-push checklist, defines red-flag stop conditions.
Merges the remaining inbox entry into decisions.md and removes it from
.squad/decisions/inbox so a fresh clone starts with an empty inbox.

Headings are demoted to a single ### entry rather than spliced in at
their original H1/H2 levels, avoiding the hierarchy break tracked in
 #1760.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 26891f18-3f78-4cda-801b-ee668fecae33
@bradygaster bradygaster changed the title docs(decisions): rescue unmerged git-safety decision record docs(decisions): rescue two orphaned decision records and drain the inbox Aug 20, 2026
@bradygaster
bradygaster merged commit 7f09e7d into dev Aug 20, 2026
18 checks passed
@bradygaster
bradygaster deleted the squad/rescue-git-safety-decision branch September 9, 2026 19:44
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.

2 participants