Repository navigation
Description
Priority: P1
Project: https://github.com/users/markd3ng/projects/3
Type: Long-lived upstream tracking / research, not automatic synchronization
Current direction — Owner clarification 2026-11-28 (parallel track C)
Firefly is the preferred candidate product/presentation upstream; Shirone is the current product ancestor and future theme integration/override upstream. Formal base selection depends on #36 PoC and #35 audit, not on the completion of existing Shirone Bugfix. Prepare dual-source selective downstream maintenance now. Keep existing upstream/shirone ref; plan exact upstream/firefly mirror (no product commits, no unrelated merges; native Git verify source/tree and branch/deployment triggers before actual publishing; if specific publication concern, retain native remote tracking, do not block other tracks). The five other sources remain reference/dependency remotes. No new mirrors for them required. Track observed, reviewed and individually adopted SHAs; classify retained/optional/removed/replaced/evaluate product capabilities and prevent removed features from returning via targeted existing tests. Record provenance for cherry-pick -x / adapted patches, route shared bugfixes to the originating project, avoid duplicate upstream PRs; pending upstream review never blocks local merge. Review Git migration options preserving current main history and Firefly ancestry without force-push or unrelated bulk merge by default. Compare existing #15 workflow with lean weekly/manual read-only digest; planning only, no new automation or deployment. Maintain one canonical register; keep old roles/status as historical observations. Own Project #3 reconciliation for #35, #36, #15 and #2–#7, leaving active Bugfix status unchanged. Coordinate with A/B through issue links. No product code changes, base switch, feature removal, release, or deployment.
Objective
Maintain a lean, Suntory-owned tracking mechanism for the direct upstream, actually used external repositories, and selected reference projects. Detect meaningful upstream changes, assess relevance to Suntory, prevent duplicate fixes/contributions, and selectively adopt changes through normal PR review.
Initial sources
- LyraVoid/Shirone — direct upstream; product source baseline.
- LyraVoid/Shirone-Content — related content-template reference.
- yCENzh/shirones — currently pinned external packaging/validation pipeline.
- saicaca/fuwari — historical upstream/reference; not a direct merge source.
- matsuzaka-yuki/Mizuki — active reference (original LyraVoid/Mizuki archived); master.
- CuteLeaf/Firefly — active reference; master.
- markd3ng/KIRARI — active reference; main.
Canonical working register (created in this setup): Upstream tracking analysis.
Source tracking (current policy)
Keep upstream/shirone as the exact direct-upstream mirror. Track the other six sources via named Git remotes, exact remote commit/tree IDs and upstream permalinks in the existing register; fetch and compare relevant changes on demand. Independent forks are optional when needed for contributions. Additional public mirror branches are NOT required and must not block bugfixes. Retain license/NOTICE obligations for any actual redistribution, and check workflow safety only if publishing a new mirror. No synthetic snapshots, unrelated-history merges, automatic product sync or force updates.
Acceptance criteria
- Register exact repository identity, relationship, default branch, license/provenance, observed/reviewed/adopted revisions independently, tracked capabilities and last review.
- Check changes since last reviewed revision, not just release notes or latest tag. Identify security/correctness, compatibility, feature, engineering and irrelevant changes; record adopt/evaluate/skip/defer/already-fixed decisions with evidence.
- Match incoming changes to existing audit findings, R1–R6, and outgoing upstream PRs; reuse work items and avoid duplicate patches.
- New reference projects require a concrete product reason and verified canonical repository/license. Do not treat reference projects as merge sources or copy code contrary to project rules.
- For adoption, use clean product branches, tests, CI and final-head CodeRabbit review before merge; no automatic source sync, dependency pin bump, release or deploy.
- Propose a weekly and milestone-triggered review cadence. Start with the single register; assess automation only when necessary. No new service, bot or scheduled workflow is authorized by this setup.
- Store findings, analysis, evidence and adoption reports on audit-and-analysis per project-rules §13. Track actionable work in existing Project R2 Consolidate Content Schema Design #3. Dependency version automation remains with existing dependency management.
Bugfix-first execution (Owner clarification 2026-11-28)
Current phase is baseline bugfix, not architecture or mirror expansion. For each independently fixable defect: verify, fix and test, open a Suntory PR, obtain required CI and CodeRabbit review on final HEAD, resolve actionable threads, merge into Suntory, and submit a focused upstream PR for shared fixes (or link the existing/equivalent fix). Upstream maintainers control upstream merges; pending review does not block local work. No additional Owner approval per ordinary bugfix. No release or production deployment.
Status
A live Git readback confirmed that all seven upstream default branches match their local remote-tracking refs. The existing upstream/shirone mirror matches the upstream commit and tree. The other six sources are tracked via native Git remotes; additional public mirrors are not required under the revised Owner policy. See the published register and evidence index for exact upstream permalinks, license findings, and mirror decisions.
| Source | Local ref |
|---|---|
| shirone | refs/remotes/shirone/main |
| shirone-content | refs/remotes/shirone-content/main |
| shirones | refs/remotes/shirones/main |
| fuwari | refs/remotes/fuwari/main |
| mizuki | refs/remotes/mizuki/master |
| firefly | refs/remotes/firefly/master |
| kirari | refs/remotes/kirari/main |
F-96 remains external under #12 with R4 relevance under #5. The pinned packaging validator has the same tree as observed HEAD. An isolated Astro startup probe reproduced the readiness failure and confirmed that foreground mode passed the readiness check.
The maintainer request is open at yCENzh/shirones#14. It records the foreground-mode control and asks for the preferred patch route. The full package pipeline remains unverified by the focused probe. Redistribution is unresolved, and the pin remains 4291a59d63b3aa3e4b9a5e954c9b518598573724.
Review manually each week and before integration, release, or architecture milestones. Check upstream before shared remediation fixes and contributions. The read-only digest proposal remains in REVIEW pending demonstrated maintenance cost and owner approval. Project #3 tracks this open issue as In Progress.
Milestone — baseline remediation round (2026-11-28)
- Elapsed: opened with the Stage 0 fix merge (
e2c893a5, 2026-11-28T06:49Z) and closed for this round with the remediation report at audit14c3d9b03f. - Work performed: nine local fix PRs (fix(ci): separate validation entry points #16–fix(cli): keep src/assets files that are not the starters #24) merged; eight upstream ports opened from fork
markd3ng/Shironeagainst base2a91f325. - Observed SHAs: upstream
main2a91f32510384f7c26dfa5984ab47721a836ecf2; Suntorymain11b78c149c8677d3b83ca0658edae8ffd440d2e1; audit branch14c3d9b03fa4de2f6726b95b9145521018b4b561. - Mirror checks (historical):
upstream/shironematched its upstream ref; the other six were not published. Under the revised policy, their Git remote tracking is sufficient. - Review conclusions: upstream review state is
REVIEW_REQUIREDon all eight ports and none is mergeable by us; no upstream merge was performed. Two ports (fix(package-skills): refuse unsafe output paths instead of deleting them LyraVoid/Shirone#199, fix(cli): keep src/assets files that are not the starter's LyraVoid/Shirone#200) carry the local review-fix commits; fix(cli): keep src/assets files that are not the starter's LyraVoid/Shirone#200 needed a test-file conflict resolution and fix(schemas): merge yaml.schemas into settings.json without rewriting it LyraVoid/Shirone#197 copies rather than cherry-picks because the upstream file diverges at the base. - Adoption/pin state: validator pin remains
4291a59d63b3aa3e4b9a5e954c9b518598573724; no pin bump, release or deploy this round. The read-only digest proposal staysREVIEW.
| Finding(s) | Upstream PR | Local merge |
|---|---|---|
| F-31, F-32, F-33 | #193 | e2c893a51c12646be4012ddd1b78bfde1884a6c4 |
| F-38 | #194 | 5ff645321967057f941450ba34af58b4e7fefca0 |
| F-55, F-56, F-99 | #195 | e3b7693f40f9e46876de6b4a5a7a19c4dfdc3169 |
| F-97 | #196 | a0b8d1db03a38eb0baae9febd0aafab2aa0c51de |
| F-98 | #197 | bda2de2fc413135b749e02c1848c23955ec2bddb |
| F-23 | #198 | d4d90ed7f8458dd14a909a2ba63f6f8a1a0005b0 |
| F-95 | #199 | 11b78c149c8677d3b83ca0658edae8ffd440d2e1 |
| F-21 | #200 | 61eb570b0a19dac8db1ad4987f38cb18935ec643 |
| F-96 | external, yCENzh/shirones#14 | no local change |
Baseline remediation report · final-state evidence. Register digest stays REVIEW; no numeric threshold is authorized.
Activity
markd3ng commentedon Nov 28, 2026
Stage 0 milestone review · 2026-11-28 (Beijing)
The manual ref review took 20 seconds elapsed (07:01:41–07:02:01 UTC). It fetched the seven remote HEAD identities, matched them to their local tracking refs, checked the destination mirror refs and open Shirone PRs, and compared the packaging pin to the observed packaging tree. The 20 seconds cover this observation window. They exclude the earlier Stage 0 implementation and CI work.
upstream/shironeexists, still at2a91f32510384f7c26dfa5984ab47721a836ecf2. The six other publication blockers remain recorded in the register.4a7fffb37c8acf384754c383d6e5ddee2dd7594cstill has the same tree as the CI pin. The F-96 maintainer issue remains open with no comments. F-96 upstream issue4291a59d63b3aa3e4b9a5e954c9b518598573724. Its full validation passed on the Stage 0 merge. No adoption or pin change occurred at this review. Main CIStage 0 contribution. F-31–F-33 are fixed in Suntory via PR #16. The generic four-file patch is applicable to Shirone and the contribution is awaiting the owner’s behavior-change design approval. Merge evidence
The digest proposal remains at
REVIEW. This milestone provides one elapsed-time observation. #15 remains open and In Progress in Project #3.[-]Upstream Tracking — Source evolution, reference projects and selective adoption[/-][+]Upstream Tracking — Firefly candidate base, Shirone integration and selective adoption[/+]markd3ng commentedon Nov 28, 2026
Track C 执行完毕(2026-11-28,Owner 指定) — 上游追踪与双上游策略本轮复核。
Git 核实:7 个上游 remote 全部 fetch 并解析
HEADsymref,符号 HEAD、默认分支与本地 remote-tracking SHA 全部一致(firefly/master5de25c40、shirone/main2a91f325、shirone-content/main5460070f、shirones/main4a7fffb3、fuwari/main6d39b0de、mizuki/master14da4262、kirari/main5700bcde);upstream/shirone镜像仍为2a91f325。Ancestry 事实:shirone/main↔fuwari/main共享 merge-base9b68fd1b…;Firefly 与 Shirone/Fuwari/Suntory 无任何共同祖先。upstream/firefly 镜像决定:DEFER_PUBLICATION(保留原生 remote tracking,不阻塞任何 track)。具体原因:树内 MIT 仅覆盖代码版权行,miHoYo 署名美术再分发授权未建立;镜像 commit 自带 Firefly
deploy.yml(push 过滤master+workflow_dispatch、pages: write)及vercel.json/wrangler.jsonc,第三方 Git 集成 gate 仍 NOT_VERIFIED。复审前提:#35 资产结论 + Owner 确认外部集成不构建upstream/*。Base Migration 规划(仅规划,未执行):默认 Option A —— 从 main 切 integration 分支做普通 PR 选择式迁移,干净 commit 用
cherry-pick -x(firefly remote 对象本地已有),混合 commit 提取最小等价 patch 并带Adopted-from:溯源;Option B(merge --allow-unrelated-histories保 ancestry 的 candidate 分支)仅在 Owner 批准整体换基后使用。拒绝任何历史重写 / 伪造 merge-base;两案均保 bugfix 不丢、可 revert、不动 main、无 force push。其余:Trim-down 防回归复用既有 gate(check:manifest、tests/site 回归、PR 审查不重新引入已删 route/runtime/deps/assets/config),不建 feature guard 框架;Contribution 路由确认(Firefly bug→CuteLeaf/Firefly 无重复;Shirone LyraVoid#193–LyraVoid#200 全部 OPEN/MERGEABLE,不重提);read-only Digest workflow 维持 DEFER(本轮人工 pass 约 1 分钟,无复发成本证据)。
Project #3 已对齐并回读:新增 #35、#36 并置 In Progress;#15 In Progress;#1、#10–#14 保持真实 In Progress 且不关闭;#8、#9 Done;#2–#7 为 #36 的研究子项;共 17 items 与现状一致。Shirone-only 旧路线在 register §2–§3 保留为历史证据(superseded),未另立第二套状态系统。
canonical register 更新:
audit-and-analysiscommit603aeacbcb4ebf3b432130cf56b33ade2b546d2c(已远程回读一致)。未修改任何产品源码、未切 main、未裁剪、未发布部署。markd3ng commentedon Nov 28, 2026
Round 2 上游回流完成(里程碑)
Suntory 侧 11 个 PR 全部合并后,本轮把 8 个修复流中与上游
LyraVoid/Shirone同源共享的缺陷移植为 7 个 fork PR(LyraVoid#201–LyraVoid#207),共 56 项 finding;其余 19 项按去重/归属规则跳过,每项在 PR 正文或台账中记录了逐文件证据。去重方法:移植前用
gh pr view <n> --json files核对上游全部开放 PR(当时仅 LyraVoid#193–LyraVoid#200),逐 finding 比对文件集;重叠即跳过并留证据。Suntory #32(CI)/#33(e2e)为纯测试基建,无可移植内容。每个 PR 的本地校验(port worktree,
pnpm install --offline):完整node --test全绿(843–891 pass / 0 fail)、astro sync+ type-check 仅 2 个已知 TS9013、biome 与 base 持平。Playwright /astro check/pnpm build在该环境不可运行,已在 PR 正文声明。合并注意(已写入各 PR 正文):
src/integration/index.ts(LyraVoid#201/LyraVoid#203)、src/layouts/Layout.astro(LyraVoid#203/LyraVoid#204/LyraVoid#205)、src/utils/layout-mode.ts(LyraVoid#204/LyraVoid#205)被不同分支在不同区域修改,后合并者需一次 trivial rebase,无语义冲突。上游 PR 是否合入由上游 owner 决定,本任务不代为合并。完整台账见证据包:
https://github.com/markd3ng/Suntory/blob/audit-and-analysis/docs/evidence/2026-11-29-round2-bugfix/ports/upstream-ports.md
markd3ng commentedon Nov 29, 2026
Round 2 closeout review: the Shirone remediation contribution milestone and Track C planning deliverable can be complete, but #15 is the long-lived dual-source upstream tracker, not a completed bugfix batch. Reopened to preserve the agreed tracking lifecycle. Project #3 should show this tracker as In Progress, with completed milestones recorded in comments; do not reopen the completed bugfix batches. The Firefly base decision is still pending Owner review of #35/#36. No source or deployment changes.
docs(evidence): record Round 2 closure, review exception, porting rec…
markd3ng commentedon Nov 29, 2026
【收口确认(2026-11-29)】
docs/evidence/2026-11-29-round2-bugfix/closure-record.md§5;GitHub Project R2 Consolidate Content Schema Design #3 中本 Issue 状态已由 Done 更正为 In Progress(追踪未闭环:fix(url): correct sitemap filtering, canonical routes and permalink ids LyraVoid/Shirone#201–fix(cli): honor configured page size, fail closed on remote font text, and harden script checks LyraVoid/Shirone#207 全部 open @ shirone/main 2a91f32)。docs(evidence): record closure publication (comments, board, SHA)
markd3ng commentedon Nov 29, 2026
canonical SPEC:
docs/specs/2026-11-27-unified-content-architecture-spec.md(分支audit-and-analysis,提交971cc116e0a0e4a44a787a3da305bdc2feb019da)。本轮为 Gate 3 提交说明,未实施、未发布(C7):
5de25c40为目标源码基线,把 Suntory 已有有效修复移植过去。相对旧 Option A 原文方向反转,机制不变(§1.2、§7.1)。5de25c40cf3778451107dd2508e869536dac27ad(refmaster);移植用单一目的 commit 的git cherry-pick -x;分支r3/firefly-theme-base切自实施当时最新origin/main。否决重写历史或合成 merge-base;Option B(--allow-unrelated-histories)为候选,非默认。CuteLeaf/Firefly;真实漏洞条目与公开 PR 批次分离,细节不进公开正文(沿用既有四条策略);普通 bugfix 不被 Base Migration 阻塞。配套产物:
docs/analysis/2026-11-29-unified-defect-classification-analysis.md(192 行 = F 126 / FF 46 / TB 20;Forward-port57;Deferred17 全部有承接)。状态:Gate 3 待 Owner 批准;Gate 4(实施)与 Gate 5(发布/部署)未申请。
markd3ng commentedon Nov 29, 2026
PR 维度已补全:#64 分类 557 个上游 PR(12 项采纳候选 #52–#63)。报告见
docs/analysis/firefly-2026-11-29-upstream-pr-classification.md(audit-and-analysis@c6eb1264)。