From c5af88b87cc6e39cfbce687283af4c4ce68f80bc Mon Sep 17 00:00:00 2001 From: Yakuphan Yucel Date: Sun, 26 Apr 2026 06:06:02 +0300 Subject: [PATCH] chore: replace stale 'master' branch refs with 'main' (post-rename cleanup) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default branch was renamed master → main on 2026-04-26 via atomic gh api .../branches/master/rename. GitHub auto-redirect kept all old 'master' references working transparently, but the hardcoded refs should be replaced for clarity and to avoid surprise on future tooling that doesn't follow redirects. Replaces 8 occurrences across 5 files: 1. .github/workflows/ci.yml × 2 — `branches: [main, master]` → `[main]` (master no longer receives pushes; the defensive dual-listing is now dead code) 2. .github/workflows/codeql.yml × 2 — same as ci.yml 3. pyproject.toml — Changelog URL `blob/master/CHANGELOG.md` → `main` (PyPI metadata; auto-redirect works but cleaner to point at the live ref) 4. README.md × 3 — CI badge, CodeQL badge, License link all `?branch=master` / `blob/master/` → `main` (badges currently render fine via redirect but the badge URL parameter is the canonical source) 5. SECURITY.md — "latest release on `master`" → "on `main`" No code or behaviour changes. Pure ref-cleanup post the master→main rename. Internal memory entry: fix_instinct_default_branch_rename.md documented this cleanup as deferred Tier 3 polish; this PR closes it. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 4 ++-- .github/workflows/codeql.yml | 4 ++-- README.md | 6 +++--- SECURITY.md | 2 +- pyproject.toml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b21f1b2..3d424bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main, master] + branches: [main] pull_request: - branches: [main, master] + branches: [main] permissions: contents: read diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 5f14867..ddfa717 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,9 +2,9 @@ name: CodeQL on: push: - branches: [main, master] + branches: [main] pull_request: - branches: [main, master] + branches: [main] schedule: - cron: '0 3 * * 1' diff --git a/README.md b/README.md index 0c7bf84..1d37eb0 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ [![PyPI](https://img.shields.io/pypi/v/instinct-mcp?color=%2334D058&label=pypi)](https://pypi.org/project/instinct-mcp/) [![Python](https://img.shields.io/pypi/pyversions/instinct-mcp)](https://pypi.org/project/instinct-mcp/) -[![CI](https://github.com/yakuphanycl/instinct/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/yakuphanycl/instinct/actions/workflows/ci.yml) -[![CodeQL](https://github.com/yakuphanycl/instinct/actions/workflows/codeql.yml/badge.svg?branch=master)](https://github.com/yakuphanycl/instinct/actions/workflows/codeql.yml) -[![License](https://img.shields.io/github/license/yakuphanycl/instinct)](https://github.com/yakuphanycl/instinct/blob/master/LICENSE) +[![CI](https://github.com/yakuphanycl/instinct/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/yakuphanycl/instinct/actions/workflows/ci.yml) +[![CodeQL](https://github.com/yakuphanycl/instinct/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/yakuphanycl/instinct/actions/workflows/codeql.yml) +[![License](https://img.shields.io/github/license/yakuphanycl/instinct)](https://github.com/yakuphanycl/instinct/blob/main/LICENSE) [![MCP](https://img.shields.io/badge/MCP-compatible-blue)](https://modelcontextprotocol.io) Self-learning memory for AI coding agents: record repeated patterns, score them by confidence, and surface mature guidance back through MCP. diff --git a/SECURITY.md b/SECURITY.md index 17e14ff..29d007d 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,7 +2,7 @@ ## Supported Versions -Security fixes are applied to the latest release on `master`. +Security fixes are applied to the latest release on `main`. ## Reporting a Vulnerability diff --git a/pyproject.toml b/pyproject.toml index 9cd75a0..d4fb675 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ Homepage = "https://github.com/yakuphanycl/instinct" Repository = "https://github.com/yakuphanycl/instinct" Issues = "https://github.com/yakuphanycl/instinct/issues" -Changelog = "https://github.com/yakuphanycl/instinct/blob/master/CHANGELOG.md" +Changelog = "https://github.com/yakuphanycl/instinct/blob/main/CHANGELOG.md" [project.scripts] instinct = "instinct.cli:main"