From 9b8956de1f67a5eac93037d1e9281f59f3c463b8 Mon Sep 17 00:00:00 2001 From: deathpie <10750179+deathpie@users.noreply.github.com> Date: Mon, 23 Nov 2026 15:04:35 -0500 Subject: [PATCH] docs: add the fork safety rule to the core standard --- standards/core.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/standards/core.md b/standards/core.md index 2011400..0f284f8 100644 --- a/standards/core.md +++ b/standards/core.md @@ -25,6 +25,10 @@ without a reason or a date is drift. - C1.5 Issues are on. Wiki, Projects and Discussions are off unless used. **(profile)** - C1.6 Public code written by the owner is MIT licensed. Private repositories carry no license. Forks keep the upstream license. +- C1.7 Every local clone of a fork runs `gh repo set-default /` + once, so `gh` never falls back to the upstream repository. Agents always + pass `-R /` (and `--base` for forks) to `gh pr`, and never open, + comment on, or close anything in an upstream repository. ## C2. Branches, pull requests and merging