Repository navigation
chore(E-255): fast-forward release from origin/dev and add BRANCHING.md - #2
Conversation
The sync script merged dev into release and pushed both, so release kept growing its own merge commits. It now fetches, lists release..origin/dev, fast-forwards only, and pushes release alone; dev changes go through PRs. BRANCHING.md records this fork as an ELF type-1 contribution fork. docs/zh-hant-fork.md and AGENTS.md point at it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…orwarded it Co-Authored-By: Claude Opus 5.5 <[email protected]>
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 4 changed file(s). No missing scanner-evidence signal was detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy review recommended (neutral) Detected 3 PR taxonomy bucket(s): Harness Drift, CI/CD Recommendation, Agent Config Review. Scanned 4 changed file(s). Roadmap taxonomy buckets: Harness DriftHarness-facing changes can drift across Claude Code, Codex, OpenCode, and shared adapter surfaces. Signals:
Paths:
CI/CD RecommendationCI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work. Signals:
Paths:
Agent Config ReviewAgent, command, skill, MCP, and local instruction changes should be reviewed as executable agent configuration. Signals:
Paths:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 0/7 areas (0%) across 4 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 4 changed file(s); 0 corpus scenarios had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in No evaluator corpus scenarios matched this PR. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ECC Tools / PR Config AuditCommit: No changed-config issues detected (success) Scanned 1 config file(s) present at this commit across 1 changed config path(s) and found no issues in the supported security rules. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Harness AuditCommit: Harness warnings detected (neutral) Scanned 1 changed config file(s) and found 1 harness issue(s).
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ELI5
The fork's release script used to merge
devintorelease, which madereleasecollect its own commits. Now it only fast-forwardsreleaseto the testedorigin/dev, and a newBRANCHING.mdwrites down the branch rules.What Changed
config/scripts/zh-hant-sync-release.mjs:origin, then refuses to run (listing the commits) whenreleasehas commits that are not onorigin/dev.release..origin/dev, fast-forwards with--ff-only, and pushesreleaseonly. It no longer pushesdev.--no-pushrun fast-forwarded locally.process.exitskipped thefinallyblock.BRANCHING.md(new, fork-only): records this repo as an ELF type-1 contribution fork, withmainas the upstream mirror,devas integration, andreleaseas fast-forward only.docs/zh-hant-fork.mdandAGENTS.mdpoint atBRANCHING.md. The sync flow now sends zh-Hant catalog fixes through afix/PR and requirespr/<short-name>branches for upstream PRs. oxfmt also reformatted the wording table.Why
The team branching rules say
releaseonly fast-forwards from testedorigin/dev. Merging intoreleaselet a build fix live only onrelease, which PR #1 cleans up. Fast-forwarding keepsreleasean exact, tested point ofdev.Linked Issue
Linear E-255 (fork-internal).
Visual Proof
N/A: fork tooling and docs only.
Testing
Real repo,
--no-pushon the currentrelease(7 commits ahead ofdev): the script lists the 7 commits, exits 1, and returns to the start branch.Throwaway repo with a bare origin:
--no-pushfast-forwards locally.release; the local git-guard pre-push hook rejected it there because the throwaway repo has no CI, and the script reported the push failure.[email protected]and[email protected]on the changed files pass. Run withpnpm dlx, because this checkout has nonode_modules.I manually tested these changes locally
Automated tests added/updated, or explained why not below (fork-only script, no test harness)
AI Disclosure
Claude Opus 5.5 (Claude Code).
Notes
Merge after PR #1. Until then the script correctly refuses to sync, because
releaseis still ahead ofdev.🤖 Generated with Claude Code