Skip to content

docs: repository settings guidelines - #4

Merged
surrealwolf merged 5 commits into
mainfrom
docs/repo-settings-guidelines
Aug 2, 2026
Merged

docs: repository settings guidelines#4
surrealwolf merged 5 commits into
mainfrom
docs/repo-settings-guidelines

Conversation

@surrealwolf

@surrealwolf surrealwolf commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add docs/REPO_SETTINGS.md: recommended common pattern for first-party repo defaults, branch protection / rulesets, Dependabot & vulnerability alerts, fork exceptions, and how this ties to github-workflows reusable CI
  • Solo-developer assumption: protection defaults use 0 required approvals, optional conversation resolution, block force-push / prefer linear history, required checks only when CI is real, and soft enforce_admins (off) so the sole maintainer is not locked out — plus a short When the org grows section
  • Link the doc from the root README
  • Based on an org-wide settings audit (non-forks + forks noted separately); documents target state rather than bulk-changing product repos
  • Live hygiene on this meta repo: delete_branch_on_merge on, wiki off; main classic protection aligned to the solo-dev pattern (0 reviews, no empty required checks, enforce_admins off)

Alignment gaps (audit)

  • Aligned: main default; issues/projects on; merge strategies on; downloads off; many public repos share classic protection (PR required, often 0 approvals, linear history, no force push)
  • Drift: wiki still on for many repos; delete-branch-on-merge off on many newer repos; protection missing on several newer public repos; empty required checks where protection exists; Dependabot / vuln alerts uneven; older repos often have enforce_admins on (solo default prefers off); private repos cannot use classic protection on free plan; forks correctly differ (issues off)

Test plan

  • Skim docs/REPO_SETTINGS.md for solo-dev clarity and org-mission tone
  • Confirm README table links to the new doc
  • Confirm .github main protection matches the documented solo pattern
  • No product-repo settings bulk-changed

Note

Low Risk
Documentation-only changes in the org meta repo; no application code or automated org-wide settings changes in the diff.

Overview
Introduces docs/REPO_SETTINGS.md as the canonical target pattern for first-party DataKnifeAI repos: creation defaults (e.g. main, issues on, wiki off, squash + delete branch on merge), solo-maintainer branch protection (PR required, 0 approvals, linear history, no force-push; real CI checks only; soft enforce_admins), optional rulesets, Dependabot/vuln alerts, fork exceptions, and how settings tie to pinned github-workflows reusable CI.

The doc also records an alignment snapshot from an org audit (common drift vs. target) and a safe rollout approach—document intent first, no bulk product-repo changes in this PR.

The root README table gains a row pointing to the new doc.

Reviewed by Cursor Bugbot for commit f6d7596. Bugbot is set up for automated code reviews on this repo. Configure here.

@surrealwolf

Copy link
Copy Markdown
Contributor Author

Added a Related link to the project-setup baseline (PR #5). README table row can be switched to an in-repo path once #5 merges.

surrealwolf and others added 4 commits August 2, 2026 10:56
Capture the recommended common pattern for first-party repo defaults,
branch protection, Dependabot/security, forks, and github-workflows CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Cross-link the open PROJECT_SETUP PR so settings guidance points at
agent-skills / agent-workspace review for new and existing repos.

Co-authored-by: Cursor <cursoragent@cursor.com>
Org is one maintainer; prefer 0 required reviews and soft
admin enforcement so automation stays usable without multi-reviewer gates.

Co-authored-by: Cursor <cursoragent@cursor.com>
@surrealwolf
surrealwolf force-pushed the docs/repo-settings-guidelines branch from 10ccc4e to 853d90c Compare August 2, 2026 17:56
Remove stale PR #5 README row and link PROJECT_SETUP/NAMING in-repo after main catch-up.

Co-authored-by: Cursor <cursoragent@cursor.com>
@surrealwolf
surrealwolf merged commit 80294cc into main Aug 2, 2026
1 check passed
@surrealwolf
surrealwolf deleted the docs/repo-settings-guidelines branch August 2, 2026 17:57
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