Skip to content

Commit c783bff

Browse files
wayne930242claude
andcommitted
fix(release): remove aref release-please markers from READMEs
release-please generic updater rewrites every <!-- x-release-please-version --> marker in a tracked README to the version of the package currently releasing. The package-name="aref" attribute is not a real release-please filter — it was ignored, so the rcc release PR was about to set the aref README header to v11.1.0. Replace the aref marker with plain text plus a note. The aref version in READMEs is now in the same manual-sync bucket as marketplace.json plugins[1].version (already documented in CLAUDE.md Law 2). Closed PR #18 to regenerate cleanly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b8f6827 commit c783bff

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ rcc package:
1616

1717
aref package(獨立版號):
1818
- `plugins/aref/.claude-plugin/plugin.json`(release-please 自動)
19-
- `.claude-plugin/marketplace.json` (plugins[1].version)(**目前手動同步** — release-please 不允許 `..` 跨 package 路徑,待後續加 post-release sync workflow
20-
- `README.md` + `README.zh-TW.md` 的 aref 標頭(`<!-- x-release-please-version package-name="aref" -->` marker)(**目前手動同步**,理由同上
19+
- `.claude-plugin/marketplace.json` (plugins[1].version)(**目前手動同步** — release-please 不允許 `..` 跨 package 路徑)
20+
- `README.md` + `README.zh-TW.md` 的 aref 標頭(**目前手動同步**release-please `generic` updater 不支援 `package-name` scope,markers 已移除避免 rcc release 誤覆寫
2121

22-
手動修改版號屬反模式(除上述 aref 跨 package 例外,待自動化)。commit 使用 `feat:` / `fix:` / `feat!:` 驅動 bump。aref-scoped commits(`feat(aref):``fix(aref):` 等)只 bump aref,不影響 rcc。
22+
手動修改版號屬反模式(除上述 aref 跨 package 例外,待 post-release sync workflow 自動化)。commit 使用 `feat:` / `fix:` / `feat!:` 驅動 bump。aref-scoped commits(`feat(aref):``fix(aref):` 等)只 bump aref,不影響 rcc。
2323

2424
**Law 3: Documentation Sync** - README.md 與 README.zh-TW.md 必須保持同步
2525

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ The planner decides which assets each skill needs; the reviewer checks they exis
156156
| `refactoring-plugins` | Health-check plugins against official best practices |
157157
| `validating-plugins` | Batch scan all plugin files for errors |
158158

159-
### aref (v0.2.0) <!-- x-release-please-version package-name="aref" -->
159+
### aref (v0.2.0)
160+
<!-- aref version is manually synced from plugins/aref/.claude-plugin/plugin.json — release-please cannot scope generic markers per package -->
161+
160162

161163
Agentic refactoring pipeline. Detects languages, analyzes hotspots, proposes phased refactor plans, scaffolds characterization tests, applies refactors on a dedicated branch with per-phase review, verifies against hard structural rules and mutation testing, then writes AGENTS.md per subproject for future AI coding agents.
162164

README.zh-TW.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ migrate-plugin → validate → refactor
156156
| `refactoring-plugins` | 依官方最佳實踐檢查插件健康度 |
157157
| `validating-plugins` | 批次掃描所有插件檔案錯誤 |
158158

159-
### aref (v0.2.0) <!-- x-release-please-version package-name="aref" -->
159+
### aref (v0.2.0)
160+
<!-- aref 版號由 plugins/aref/.claude-plugin/plugin.json 手動同步 — release-please 無法 scope generic marker per package -->
161+
160162

161163
Agent 導向重構 pipeline。偵測語言、分析熱點、提出分階段重構計畫、為熱點模組補 characterization 測試、在獨立分支上逐階段套用重構並每階段由 reviewer 子代理把關、依硬性結構規則與 mutation testing 驗證,最後為每個子專案產出 AGENTS.md 供後續 AI coding agent 使用。
162164

0 commit comments

Comments
 (0)