Skip to content

chore(release): README_AI refresh release-time + post-commit hook retirement (#166) - #168

Merged
dreamlx merged 1 commit into
masterfrom
feat/166-release-time-index-refresh
Aug 15, 2026
Merged

chore(release): README_AI refresh release-time + post-commit hook retirement (#166)#168
dreamlx merged 1 commit into
masterfrom
feat/166-release-time-index-refresh

Conversation

@dreamlx

@dreamlx dreamlx commented Aug 15, 2026

Copy link
Copy Markdown
Owner

What

本仓落地 #166 三项 checklist:

  • scripts/release.sh step 6.5(bump commit 与 tag 之间):codeindex scan-all + claude-md update,commit 为 docs: refresh README_AI for vX.Y.Z;空变更跳过 commit(set -e 安全)
  • scripts/pre_release_check.sh section 1b:release gate 对齐外部真值——CLAUDE.md codeindex section 未盖 v$VERSION 章、或有 uncommitted README_AI → fail,不许 tag
  • post-commit hook 本仓退役(已 codeindex hooks uninstall post-commit,pre-commit/pre-push 保留);CLAUDE.md Git Hooks 章节同步

产品级 hook 弃用另案 #167,不在本 PR 范围。

Why

  • 848 commit 中 30% touch README_AI(per-commit 刷新频率错误);导航索引对"最近几小时的结构变化"不敏感
  • 保留 tracking(git 是分发通道,消费者是没装 codeindex 的 clone),只改刷新时机

Notes

Closes #166

…irement (#166)

- release.sh step 6.5: scan-all + claude-md update between bump commit and tag
- pre_release_check.sh section 1b: fail if CLAUDE.md not stamped v$VERSION
  or README_AI uncommitted at tag time
- CLAUDE.md: post-commit not installed in this repo
- product-level hook deprecation tracked in #167
@dreamlx
dreamlx merged commit 94849b7 into master Aug 15, 2026
8 checks passed
@dreamlx
dreamlx deleted the feat/166-release-time-index-refresh branch August 15, 2026 13:45
dreamlx added a commit that referenced this pull request Aug 15, 2026
P1 (docs, #169 residual): active user-facing surfaces still advertising
the removed post-commit workflow — codeindex init's final output,
README_zh.md (bullet/workflow/skill-table; EN was clean),
examples/ai-integration-guide.md (whole Post-commit section + doc-only
scenario), team-workflow-guide ('Three hooks'). All removed/updated;
version-history mentions intentionally kept.

P2 (#171): _has_js_test_files walked .venv and duplicated the skip-set —
now shares _WALK_SKIP_DIRS with detect_languages (venv/.tox/.eggs
pruned), uncapped-walk rationale documented.

P2 (#172): leftover-hook read_text now catches OSError — status is
informational, must not crash on an unreadable file.
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.

docs: README_AI 刷新时机 post-commit per-commit → release-time;post-commit hook 退役

1 participant