Skip to content

chore(E-255): fast-forward release from origin/dev and add BRANCHING.md - #2

Merged
TW199501 merged 3 commits into
devfrom
chore/e-255-zh-hant-release-ff
Oct 14, 2026
Merged

TW199501 merged 3 commits into
devfrom
chore/e-255-zh-hant-release-ff

Conversation

@TW199501

Copy link
Copy Markdown
Owner

ELI5

The fork's release script used to merge dev into release, which made release collect its own commits. Now it only fast-forwards release to the tested origin/dev, and a new BRANCHING.md writes down the branch rules.

What Changed

  • config/scripts/zh-hant-sync-release.mjs:
    • Fetches origin, then refuses to run (listing the commits) when release has commits that are not on origin/dev.
    • Lists release..origin/dev, fast-forwards with --ff-only, and pushes release only. It no longer pushes dev.
    • A later real run still pushes what an earlier --no-push run fast-forwarded locally.
    • Errors now throw, so the script always switches back to the start branch. Before, process.exit skipped the finally block.
  • BRANCHING.md (new, fork-only): records this repo as an ELF type-1 contribution fork, with main as the upstream mirror, dev as integration, and release as fast-forward only.
  • docs/zh-hant-fork.md and AGENTS.md point at BRANCHING.md. The sync flow now sends zh-Hant catalog fixes through a fix/ PR and requires pr/<short-name> branches for upstream PRs. oxfmt also reformatted the wording table.

Why

The team branching rules say release only fast-forwards from tested origin/dev. Merging into release let a build fix live only on release, which PR #1 cleans up. Fast-forwarding keeps release an exact, tested point of dev.

Linked Issue

Linear E-255 (fork-internal).

Visual Proof

N/A: fork tooling and docs only.

Testing

  • Real repo, --no-push on the current release (7 commits ahead of dev): the script lists the 7 commits, exits 1, and returns to the start branch.

  • Throwaway repo with a bare origin:

    • --no-push fast-forwards locally.
    • The next real run tries to push 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.
    • A rerun after a successful push reports the branches are aligned.
  • [email protected] and [email protected] on the changed files pass. Run with pnpm dlx, because this checkout has no node_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 release is still ahead of dev.

🤖 Generated with Claude Code

TW199501 and others added 3 commits October 14, 2026 15:01
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]>
@ecc-tools

ecc-tools Bot commented Oct 14, 2026

Copy link
Copy Markdown

ECC Tools / Security Evidence

Commit: dd7ce7ba68edf198e0f1a1bd7094d7545324dcf3

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

ecc-tools Bot commented Oct 14, 2026

Copy link
Copy Markdown

ECC Tools / PR Risk Taxonomy

Commit: dd7ce7ba68edf198e0f1a1bd7094d7545324dcf3

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 Drift

Harness-facing changes can drift across Claude Code, Codex, OpenCode, and shared adapter surfaces.

Signals:

  • 1 harness-facing path(s) changed

Paths:

  • AGENTS.md

CI/CD Recommendation

CI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work.

Signals:

  • Runtime config changes may ship without example or template updates
  • 0 CI or workflow path(s) changed

Paths:

  • config/scripts/zh-hant-sync-release.mjs

Agent Config Review

Agent, command, skill, MCP, and local instruction changes should be reviewed as executable agent configuration.

Signals:

  • 1 agent-config path(s) changed

Paths:

  • AGENTS.md

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

ecc-tools Bot commented Oct 14, 2026

Copy link
Copy Markdown

ECC Tools / Reference Set Readiness

Commit: dd7ce7ba68edf198e0f1a1bd7094d7545324dcf3

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 /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

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

ecc-tools Bot commented Oct 14, 2026

Copy link
Copy Markdown

ECC Tools / Hosted Promotion Readiness

Commit: dd7ce7ba68edf198e0f1a1bd7094d7545324dcf3

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 src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

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.

@coderabbitai

coderabbitai Bot commented Oct 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4d32b958-a112-4150-99c7-03e5033ac8b7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ecc-tools

ecc-tools Bot commented Oct 14, 2026

Copy link
Copy Markdown

ECC Tools / PR Config Audit

Commit: dd7ce7ba68edf198e0f1a1bd7094d7545324dcf3

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:

  • AGENTS.md

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

ecc-tools Bot commented Oct 14, 2026

Copy link
Copy Markdown

ECC Tools / PR Harness Audit

Commit: dd7ce7ba68edf198e0f1a1bd7094d7545324dcf3

Harness warnings detected (neutral)

Scanned 1 changed config file(s) and found 1 harness issue(s).

  • [medium] ECC manifest missing (AGENTS.md)

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@TW199501
TW199501 merged commit 5cf6aaf into dev Oct 14, 2026
1 check passed
@TW199501
TW199501 deleted the chore/e-255-zh-hant-release-ff branch October 14, 2026 07:43
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