Skip to content

Add upstream-first contribution policy to AGENTS.md#23

Merged
kraftbj merged 2 commits intotrunkfrom
docs/upstream-first-policy-DOTCOM-16812
Apr 22, 2026
Merged

Add upstream-first contribution policy to AGENTS.md#23
kraftbj merged 2 commits intotrunkfrom
docs/upstream-first-policy-DOTCOM-16812

Conversation

@kraftbj
Copy link
Copy Markdown
Contributor

@kraftbj kraftbj commented Apr 22, 2026

Summary

Adds a new "Upstream contribution policy" section to `AGENTS.md` (after "Common Pitfalls"). Codifies the rule: post-type-agnostic correctness goes upstream; FOSSE-shape-specific behavior stays in FOSSE. Uses the current Bluesky-native-publishing epic as the worked example — but the policy itself stands on its own.

Implements Task 7 of `sdd/bluesky-native-publishing/plan.md`. Originally opened as a stacked PR on #18, retargeted to trunk because the two aren't tightly coupled: even if the SDD plan in #18 gets reshaped, this policy holds.

Closes DOTCOM-16812 once merged.

Test plan

  • `grep -n "Upstream contribution policy" AGENTS.md` returns the new heading.
  • `pnpm run format:check` — clean.

Copilot AI review requested due to automatic review settings April 22, 2026 14:12
Copy link
Copy Markdown
Contributor

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

Adds an “Upstream contribution policy” section to AGENTS.md, clarifying when changes should be proposed to upstream federation backends vs. implemented in FOSSE-specific code, using the Bluesky-native-publishing epic as an example.

Changes:

  • Documented an upstream-first rule of thumb for post-type-agnostic correctness vs. FOSSE-shape-specific behavior.
  • Added a worked example mapping which parts belong upstream vs. in FOSSE.

Comment thread AGENTS.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@kraftbj kraftbj merged commit 58f3dcd into trunk Apr 22, 2026
13 checks passed
@kraftbj kraftbj deleted the docs/upstream-first-policy-DOTCOM-16812 branch April 22, 2026 14:36
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