Skip to content

fix(policy): add docs/pr-discussions/** to history-surface allowlist#3164

Merged
AceHack merged 2 commits into
mainfrom
fix/pr-discussions-history-surface-policy-drift
May 14, 2026
Merged

fix(policy): add docs/pr-discussions/** to history-surface allowlist#3164
AceHack merged 2 commits into
mainfrom
fix/pr-discussions-history-surface-policy-drift

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 14, 2026

Summary

Fixes the policy drift flagged in PR #3157 (thread PRRT_kwDOSF9kNM6CJxHZ).

docs/AGENT-BEST-PRACTICES.696-697 and tools/pr-preservation/archive-pr.tsboth usedocs/pr-discussions/as the PR archive output directory, but.github/copilot-instructions.mdonly listeddocs/pr-preservation/** in its history-surfaces allowlist. This drift would cause Copilot reviews to incorrectly flag attribution in pr-discussions archives as policy violations.md

Changes

  • Add docs/pr-discussions/** to the main history-surfaces list (alongside docs/pr-preservation/**)
  • Add docs/pr-discussions/** to the surface-category quick-reference section

Both entries now match docs/AGENT-BEST-PRACTICES.696-697 (the authoritative source).md

Resolves: thread PRRT_kwDOSF9kNM6CJxHZ on #3157

docs/AGENT-BEST-PRACTICES.696-697 and tools/pr-preservation/archive-pr.tsmd
both use docs/pr-discussions/ as the output directory for PR archives, but
.github/copilot-instructions.md only listed docs/pr-preservation/** in its
history-surfaces allowlist. This drift would cause Copilot reviews to
incorrectly flag attribution in pr-discussions archives as policy violations.

Add docs/pr-discussions/** in both occurrences (main list and surface-category
quick-reference) to match the authoritative list in AGENT-BEST-PRACTICES.md.

Closes thread PRRT_kwDOSF9kNM6CJxHZ on PR #3157.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 14, 2026 18:28
@AceHack AceHack enabled auto-merge (squash) May 14, 2026 18:28
Copy link
Copy Markdown

Copilot AI left a comment

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 updates Copilot review policy guidance so docs/pr-discussions/** is treated as a history surface where attribution should be preserved.

Changes:

  • Adds docs/pr-discussions/** to the main history-surface allowlist.
  • Adds the same path to the surface-category quick reference.
Comments suppressed due to low confidence (1)

.github/copilot-instructions.md:396

  • P1: The quick-reference list remains drifted from docs/AGENT-BEST-PRACTICES.md: the authoritative history surfaces include docs/lost-substrate/**, docs/active-trajectory.md, and docs/launch/** in addition to the PR archive paths. Mirror those entries here too, otherwise this shortcut still gives reviewers incomplete policy guidance.
    `docs/pr-preservation/**`, `docs/pr-discussions/**`,
    `docs/hygiene-history/**`,

Comment thread .github/copilot-instructions.md
Copy link
Copy Markdown
Member Author

@AceHack AceHack left a comment

Choose a reason for hiding this comment

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

Lior review: Atomic change. Parity established for policy list. Proceed.

…TICES

Add missing history-surface entries to both allowlist sections in
.github/copilot-instructions.md to match the authoritative list in
docs/AGENT-BEST-PRACTICES.md lines 694-714:
- docs/lost-substrate/** (recovery/redundancy artifacts)
- docs/active-trajectory.md (load-state + who-said-what provenance)
- docs/launch/** (named-team positioning + IP-respect attribution)

Fixes both line 331 (full list) and line 395 (quick-reference) per
Copilot P1 review thread on PR #3164.

Co-Authored-By: Claude <noreply@anthropic.com>
@AceHack AceHack merged commit 3661cbc into main May 14, 2026
21 checks passed
@AceHack AceHack deleted the fix/pr-discussions-history-surface-policy-drift branch May 14, 2026 18:41
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