You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Root-cause analysis (delegated to a subagent per owner request) of a release-process bug found that this repo's actual GitHub default branch is develop, and GitHub Actions resolves schedule triggers (and default-ref workflow_dispatch runs) using the workflow YAML on the default branch, not main. The release-fix chain (#521/#523/#525/#526, landed via PR #527) was applied only to main, so develop's stale release.yml schedule has been running weekly and silently no-op'ing (green "success", nothing published) since 2026-07-06.
Owner decision: switch GitHub's default branch from develop to main. Confirmed via Claude Code's own docs (code.claude.com/docs/en/web-quickstart) that both the web and mobile apps expose a per-session branch selector independent of the repo's default branch, so this doesn't block starting sessions from develop going forward — it only removes the automatic pre-fill (one manual branch pick per new session).
Before flipping the default branch, two other default-branch-coupled files need to be at parity on main, or the flip regresses them:
.github/dependabot.yml — main's copy predates the npm-to-bun migration (Migrate JavaScript package management from npm to bun #353): it still lists a package-ecosystem: npm entry (invalid now that package-lock.json no longer exists) and uses pip instead of uv for the Python ecosystem. GitHub reads this file from the default branch, so flipping to main would silently regress dependabot to the stale config. Bring main's copy to parity with develop's current content.
release.yml needs no change — main's copy is already the fixed one (daily cadence, --no-ci, develop-derived commit prep) and will start running correctly the moment main becomes the default branch.
Backporting the ruleset-management workflow (apply-rulesets.yml, scripts/rulesets_apply.py, .github/rulesets/) to main — it's push/workflow_dispatch-triggered, not schedule-triggered, so it isn't default-branch-coupled and is fine staying on develop only.
Changing the actual GitHub default-branch setting — no API/MCP tool for this is available; the owner will do this manually after this PR merges.
Context
Root-cause analysis (delegated to a subagent per owner request) of a release-process bug found that this repo's actual GitHub default branch is
develop, and GitHub Actions resolvesscheduletriggers (and default-refworkflow_dispatchruns) using the workflow YAML on the default branch, notmain. The release-fix chain (#521/#523/#525/#526, landed via PR #527) was applied only tomain, so develop's stalerelease.ymlschedule has been running weekly and silently no-op'ing (green "success", nothing published) since 2026-07-06.Owner decision: switch GitHub's default branch from
developtomain. Confirmed via Claude Code's own docs (code.claude.com/docs/en/web-quickstart) that both the web and mobile apps expose a per-session branch selector independent of the repo's default branch, so this doesn't block starting sessions fromdevelopgoing forward — it only removes the automatic pre-fill (one manual branch pick per new session).Before flipping the default branch, two other default-branch-coupled files need to be at parity on
main, or the flip regresses them:Scope
.github/workflows/sync-agent-instructions.yml— this finishes CI: target sync-agent-instructions.yml PRs at develop instead of main #518, which changed thesync-claude-md/sync-apm-skillsjobs to targetdevelop(explicitref: developcheckout,base: develop) and added a thirdsync-rulesetsjob, but that change only ever landed ondevelop's copy of the file.main's copy is still the pre-CI: target sync-agent-instructions.yml PRs at develop instead of main #518 version (2 jobs, no explicit ref,base: main). Bringmain's copy to parity withdevelop's current content..github/dependabot.yml—main's copy predates the npm-to-bun migration (Migrate JavaScript package management from npm to bun #353): it still lists apackage-ecosystem: npmentry (invalid now thatpackage-lock.jsonno longer exists) and usespipinstead ofuvfor the Python ecosystem. GitHub reads this file from the default branch, so flipping tomainwould silently regress dependabot to the stale config. Bringmain's copy to parity withdevelop's current content.release.ymlneeds no change —main's copy is already the fixed one (daily cadence,--no-ci, develop-derived commit prep) and will start running correctly the momentmainbecomes the default branch.Non-goals
apply-rulesets.yml,scripts/rulesets_apply.py,.github/rulesets/) tomain— it'spush/workflow_dispatch-triggered, notschedule-triggered, so it isn't default-branch-coupled and is fine staying ondeveloponly.Refs #518.