[AAASM-4963] 🔧 (ci): Migrate default branch master→main#352
Conversation
Default branch migrated master→main per ADR 0016 (AAASM-4963).
Repoint every on.{push,pull_request}.branches filter so CI fires on
main. paths-filtered pull_request triggers were already branch-agnostic.
Refs AAASM-4963
Repo default branch migrated master→main per ADR 0016 (AAASM-4963). Rewrite the .claude/CLAUDE.md gotcha (master was default, main was the stale branch — now inverted), point the sdk-version-bump skill's branch/PR base at main, refresh the workflow README trigger column, and switch the cross-repo .github baseline link to the rename-proof /blob/HEAD/ form. Refs AAASM-4963
The report describes the verify-scenarios trigger and merge gate as 'push to master' / 'green on master'; both now resolve to main after the ADR 0016 rename. Kept the historical verdict, corrected the branch. Refs AAASM-4963
|
🤖 Claude Code review (evidence only — merge is a Pioneer reviewer's call)1. CI — ✅ green (34 pass / 0 fail / 1 skip). 2. CodeCov/SonarCloud — ✅ no issues. 3. Scope vs AAASM-4963 — ✅ complete. examples 4. Side effects — ✅ none. Pure branch-reference migration (every removed 5. Front-end — n/a. No FE source changed (workflows + Markdown + CI config only) → Playwright not applicable. Verdict: ready for approval + merge. Not self-merged. |



What changed
Default-branch migration for
examples:master→main, per ADR 0016(AAASM-4963, Epic AAASM-4955). The GitHub rename already moved the default
pointer, branch protection, and installed the
master→mainredirect. This PRlands the reference updates the rename does not touch:
on.{push,pull_request}.branchesfilter repointed
master→main(codeql,verify-node/python/go/scenarios,example-metadata-check,proof-html).paths:-filteredpull_requesttriggers were already branch-agnostic and needed no change.
.claude/CLAUDE.mdgotcha rewritten (it previously saidmasterwas default andmainwas a stale branch — now inverted), thesdk-version-bumpskill's branch/PR-base pointed atmain, the workflowREADME trigger column refreshed, and the cross-repo
.githubbaseline linkswitched to the rename-proof
/blob/HEAD/form.Audit results:
git grep master): only the 8 workflow branch filters + thedoc prose above. No hardcoded self-URLs; no
CONTRIBUTING/PR-template refs.examplesis not inagent-assembly/release.yml's bot-PRbase:list (that list targets the tap +three SDKs only). No
raw.githubusercontent.com/.../examples/master(would404), no
@masteraction refs, nobase: masteropening PRs into this repo.All inbound refs are
github.com/.../examples/{tree,blob,commits}/masterweblinks in docs (
agent-assembly,python-sdk,node-sdk,go-sdk) and the.githuborg-profile badge — all 301-redirect-covered (cosmetic, non-breakingper ADR §6 / Accepted risks), swept separately.
Related ticket
Closes AAASM-4963
How to verify
gh api repos/ai-agent-assembly/examples -q .default_branch→main.main(1 required approval + code-owner reviews).verify-*,codeql,proof-html) fires on push tomain.Transitional note: until this PR merges,
push-to-mainfilters do not fire;PR-path lanes still run on this PR.
Checklist
[AAASM-XXXX] <GitEmoji> (<scope>): <summary>.envfiles committedREADME.mdwith prerequisites and run instructions