[Epic] Fork-alignment with release/2.0-rc — 10 implementation PRs + 2 RFCs + 4-5 capability-merged PRs · Issue #2472 · bytedance/deer-flow · GitHub
Skip to content

[Epic] Fork-alignment with release/2.0-rc — 10 implementation PRs + 2 RFCs + 4-5 capability-merged PRs #2472

@DeiuDesHommies

Description

@DeiuDesHommies

Epic — fork-alignment with release/2.0-rc

This epic tracks the work coming from a downstream fork that has been running on release/2.0-rc in production. We are filing the work as a coordinated set of PRs + RFC issues to keep review tractable.

OpenSpec changes governing this epic (in-fork only)

These three OpenSpec changes live inside our fork (in a gitignored openspec/ tree) and govern the scope, freeze, and audit of this work:

  • align-fork-with-upstream-rc — original 14-PR fork-alignment proposal
  • freeze-upstream-alignment-pr-scope — PR-scope freeze that pinned each PR to its current scope
  • audit-and-sanitize-meitu-develop — divergence registry + governance overlay (CLA, body annotations, sync SOP)

Reading order (suggested)

Stage 1: pluggable auth (RFC + 3 implementation PRs)

Reading order: RFC → #2430#2431#2432

Stage 2: multi-replica infrastructure (umbrella RFC + 4 implementation PRs)

Reading order: RFC → #2433#2434#2453#2455

Stage 3: queued memory pipeline + follow-ups (3 PRs)

Reading order: #2454#2456#2459

Stage 4: capability-merged new PRs (8 open)

These PRs collect remaining PUSH-classified divergent files into capability-coherent batches. All five planned theme PRs from audit-and-sanitize-meitu-develop Phase 6 are now open as of 2026-04-23.

Coverage

This epic covers everything our fork has carried on top of release/2.0-rc that we believe belongs upstream. The remainder of the fork divergence is internal-only (Matrix deployment manifests, brand strings, fork-internal docs, the Meitu GitLab CI pipeline, etc.) and is recorded in our internal divergence registry (six-class routing: PUSH / BASELINE-DRIFT / KEEP-V / KEEP-I / REVERT / DROP).

Final empirical distribution of the 330 divergent paths between our meitu/develop and upstream/release/2.0-rc (post-Audit-B reclassification, 2026-04-23):

Label Count % Notes
PUSH 154 46.7% Going upstream via the PRs above (or already in flight)
KEEP-V 127 38.5% Non-intrusive internal retention (Matrix docs ×84, fork-internal AI helper docs, brand UI shells, brand-stripping i18n locales, OA-Auth-namespaced files, deletion-of-upstream-test files no longer compatible after fork API reshape)
BASELINE-DRIFT 35 10.6% Files byte-identical with upstream/main already; will absorb naturally on next sync
KEEP-I 14 4.2% Intrusive internal retention (.gitlab-ci.yml, Dockerfile, brand strings)
DROP 0 0% (none)
REVERT 0 0% (none)

The previous distribution snapshot (177 / 104 / 35 / 14 / 0 / 0) was based on the registry as initially populated by the Phase 2 batch process. After a third-pass line-by-line review of every "orphan PUSH" path's diff (Audit B), 23 paths originally labelled PUSH were reclassified to KEEP-V because they turned out to be brand-stripping ({{brand}} template injection, brand color theming, GitHub-Star removal), Meitu-internal use cases (visitor-booking prompt template), Meitu OA-Auth namespace dependents, deploy-policy choices (extensions_config.py skill default, app/page.tsx redirect to /workspace), or deletions of upstream tests that became incompatible after the fork's API reshape. The CI infrastructure (divergence_registry_check, rebase_dry_run, baseline_drift_monthly_review) is unchanged — only the data was relabelled.

How we plan to keep this in sync going forward

  • An automated divergence-registry-check job runs on every fork MR and blocks unregistered divergence.
  • A daily rebase_dry_run cross-checks the registry against fresh upstream/release/2.0-rc.
  • A monthly baseline_drift_monthly_review job reports BASELINE-DRIFT rows that have converged with release.
  • A scripts/sync-upstream.sh --update-registry advisory check refuses zero exit when a planned merge contradicts the registry.

We are happy to coordinate review timing — please ping us in any of the linked PRs if a particular order works better for the maintainer team.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions