Skip to content

chore(docs): reorganize docs/ into guides/ spec/ prompts/ subdirs - #17

Merged
891458249 merged 2 commits into
mainfrom
chore-docs-reorganize
Apr 24, 2026
Merged

chore(docs): reorganize docs/ into guides/ spec/ prompts/ subdirs#17
891458249 merged 2 commits into
mainfrom
chore-docs-reorganize

Conversation

@891458249

Copy link
Copy Markdown
Owner

Summary

Docs 目录从扁平结构整理为三个语义子目录,支撑 Phase 2A.5 + 未来阶段的文档规模:

docs/guides/    user-facing how-tos          (install.md)
docs/spec/      normative specs              (math_derivation.md, schema_v1.md)
docs/prompts/   Phase-level AI master prompts (phase2a5_master_prompt.md)

零行为变更。7 处源码注释 + README 的路径引用就地更新,CI 应按常规绿。

Changes

Renames(git -M 检测到 100% rename,历史保留):

  • `docs/install.md` → `docs/guides/install.md`
  • `docs/math_derivation.md` → `docs/spec/math_derivation.md`
  • `docs/schema_v1.md` → `docs/spec/schema_v1.md`

New:

  • `docs/prompts/phase2a5_master_prompt.md` — 活文档,Phase 2A.5 期间 17X 执行者会话首条消息模板。header 的"当前进度"段每次切片合并后更新;主体任务/约束段保持稳定。替代之前会话临时放在 `~/.claude/plans/` 的一次性快照。

Path reference updates(注释改动,零行为):

  • `README.md` — 3 处 href
  • `kernel/include/rbfmax/{distance, interpolator, io_json, kernel_functions, quaternion}.hpp` — 5 处注释
  • `kernel/src/io_json.cpp` — 1 处注释

Historical references untouched:

  • `DEVLOG.md` / `CHANGELOG.md` 中提及旧路径的条目故意不动——它们是各切片合并时的 audit-trail 快照。

Test plan

  • `cmake --build build --config Release` 本地 clean build,0 warn / 0 err
  • `ctest --test-dir build --output-on-failure` 159/159 PASS
  • CI matrix(MSVC Release / Debug / GCC 11 Release / Benchmark smoke)全绿
  • README 渲染在 GitHub 上链接正常(3 个 href 都指向新位置)

Scope discipline

🤖 Generated with Claude Code

d891458249-rgb and others added 2 commits April 24, 2026 16:24
Flat docs/ was accumulating mixed-purpose files (user guides + normative
specs + AI session prompts + reference materials). Introduce three
semantic subdirs to scale past Phase 2A.5:

  docs/guides/   user-facing how-tos (install, future: author-workflows)
  docs/spec/     normative specs (math, schema)
  docs/prompts/  Phase-level AI master prompts (living docs)

Renames (git -M detected):
  docs/install.md          -> docs/guides/install.md
  docs/math_derivation.md  -> docs/spec/math_derivation.md
  docs/schema_v1.md        -> docs/spec/schema_v1.md

New:
  docs/prompts/phase2a5_master_prompt.md
    Living doc — header "current progress" block gets updated after
    each 17X merge; body task/constraints stay stable. Supersedes
    the ephemeral per-session master prompt that used to live in
    ~/.claude/plans/.

Path references updated in-place (zero behavior change):
  README.md                        3 hrefs
  kernel/include/rbfmax/*.hpp      5 comment refs across
                                    {distance, interpolator, io_json,
                                     kernel_functions, quaternion}
  kernel/src/io_json.cpp           1 comment ref

Historical references in DEVLOG.md and CHANGELOG.md intentionally
left at old paths — they are audit-trail records of what the repo
looked like at the time of each slice.

Local verification: cmake build Release clean; ctest --test-dir build
159/159 PASS (zero regression). No functional source code edited.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The docs/源文档/ tree holds research inputs that the project depends on
as reference (铁拳 8 PPT + PDF, chadvernon cmt/jsRadial source drops,
internal prompt-engineering draft) but intentionally never ships:
licensing on the Tekken materials is unclear, the upstream MIT source is
fetched as a one-time snapshot, and the prompt docx is an internal
drafting artifact.

Before this commit every git status / gh pr create surfaced three
persistent ?? entries — easy to tune out, but noise compounds as more
Phase 2A.5 slices land. Ignoring the whole subtree makes the working
tree quiet without losing local copies.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@891458249
891458249 merged commit a81ee56 into main Apr 24, 2026
4 checks passed
@891458249
891458249 deleted the chore-docs-reorganize branch April 24, 2026 09:08
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.

2 participants