Skip to content

Docs/sdk update documentation#308

Merged
GeWuYou merged 7 commits into
mainfrom
docs/sdk-update-documentation
May 1, 2026
Merged

Docs/sdk update documentation#308
GeWuYou merged 7 commits into
mainfrom
docs/sdk-update-documentation

Conversation

@GeWuYou
Copy link
Copy Markdown
Owner

@GeWuYou GeWuYou commented Apr 30, 2026

Summary by CodeRabbit

发布说明

  • 文档

    • 新增中文“Schema 配置生成器”页面,说明编译时生成的配置模型、表包装、索引/查找与诊断指引。
    • 明确 Cqrs 源生成器的分层回退与运行时注册语义,扩展源生成器与共享支撑层的阅读与排障路线。
    • 更新侧栏与 API 参考,新增深链与文档焦点说明。
  • 文档治理

    • 追踪中心切换至 RP-055,最新验证关联 PR Docs/sdk update documentation #308,测试报告为 2247 通过 / 0 失败。
    • 审查线程已刷新(含可执行与过时项);若仅剩过时/元数据项将暂停推进,优先推进源生成器后续并在推送后重新抓取审查线程。
  • 归档

    • 新增 RP-049~RP-052 的归档与验证历史(归档日期标注至 2026-05-01)。

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 30, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1490aee8-bb90-4062-b5aa-e1624ca94dc2

📥 Commits

Reviewing files that changed from the base of the PR and between 896e3ef and 6983b7e.

📒 Files selected for processing (4)
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
✅ Files skipped from review due to trivial changes (1)
  • docs/zh-CN/source-generators/schema-config-generator.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📜 Recent review details
🧰 Additional context used
📓 Path-based instructions (5)
ai-plan/public/*/traces/**

📄 CodeRabbit inference engine (AGENTS.md)

Contributors MUST maintain a matching execution trace under ai-plan/public/<topic>/traces/ for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
docs/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
{README.md,docs/**}

📄 CodeRabbit inference engine (AGENTS.md)

{README.md,docs/**}: Update the relevant README.md or docs/ page when behavior, setup steps, architecture guidance, or user-facing examples change
Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes
Public documentation MUST use semantic section titles and link labels; do not surface raw filenames or paths as reader-facing navigation text when a meaningful destination label is available
Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'
Public documentation MUST present limitations, suitability, and migration boundaries as adoption guidance; do not publish internal-governance or product-roadmap wording
Keep code samples, package names, and command examples aligned with the current repository state in documentation
Prefer documenting behavior and design intent, not only API surface in user documentation
When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology
If an existing documentation page no longer reflects the current implementation, fixing the code without fixing the documentation is considered incomplete work
Do not rely on 'the code is self-explanatory' for framework features that consumers need to adopt; write the adoption path down so future users do not need to rediscover it from source
When examples are rewritten, preserve only the parts that remain true; delete or replace speculative examples instead of lightly editing them into another inaccurate form

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
docs/zh-CN/**

📄 CodeRabbit inference engine (AGENTS.md)

docs/zh-CN/**: When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in docs/zh-CN/ in the same change
For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
docs/**

📄 CodeRabbit inference engine (AGENTS.md)

If a docs category appears in VitePress navigation or sidebar, it MUST have a real landing page or be removed from navigation in the same change

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
🧠 Learnings (19)
📓 Common learnings
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/traces/** : Contributors MUST maintain a matching execution trace under `ai-plan/public/<topic>/traces/` for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active `todos/` and `traces/` entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for `boot` to locate the current recovery point quickly

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under `ai-plan/public/<topic>/todos/` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: For any multi-step refactor, migration, or cross-module task, contributors MUST create or adopt a dedicated recovery document under `ai-plan/public/<topic>/todos/` before making substantive code changes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : If subagents are used on a complex task, the main agent MUST capture the delegated scope and any accepted findings in the active recovery document or trace before continuing implementation

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/README.md : When a worktree-to-topic mapping changes, or when a topic becomes active/inactive, contributors MUST update `ai-plan/public/README.md` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: If a task depends on observations from `ai-libs/**`, record the referenced path and conclusion in the active plan or trace when the work is multi-step or complex, rather than editing the third-party reference copy

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-17T11:35:08.762Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-04-17T11:35:08.762Z
Learning: Applies to **/*{Startup,Init,Register,Setup,Configure}*.cs : CQRS handler registration should use generated products from CqrsHandlerRegistryGenerator at runtime, falling back to reflection scanning when generation cannot cover cases; explicitly register handlers from non-default assemblies using RegisterCqrsHandlersFromAssembly(...) or RegisterCqrsHandlersFromAssemblies(...)

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : When generator behavior changes intentionally, update snapshots together with the implementation

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Generated logic and generator pipelines MUST explain what is generated, why it is generated, semantic assumptions, and diagnostics or fallback behavior

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Source generator changes MUST be covered by generator tests

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
🪛 LanguageTool
docs/zh-CN/source-generators/cqrs-handler-registry-generator.md

[uncategorized] ~91-~91: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...类型名补扫剩余 handler;若元数据为空或只保留 marker 语义,则退回整程序集补扫 7. 同一程序集按稳定键去重,避免重复注册 这个行为由 [运行时注册流...

(wa5)


[uncategorized] ~132-~132: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...lback 的结果 ## 生成策略层级 把这个生成器理解成“静态注册 or 整程序集扫描”的二选一,会低估它的收益。当前策略实际上分成四层: 1. 直接静态注册...

(wa5)


[uncategorized] ~145-~145: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...路径前移到编译期,再对少数复杂类型做定向补扫。 ## 哪些场景通常不会直接退回整程序集扫描 下列类型形态经常仍然能保留精细化注册,而不是立刻退回整程序集盲扫: ...

(wa5)


[uncategorized] ~169-~169: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...lectionFallbackAttribute` 出现也不等于“运行时一定回到整程序集扫描”。只有 fallback 元数据为空、或旧版只保留 marker 语义时...

(wa5)


[uncategorized] ~169-~169: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...ack 元数据为空、或旧版只保留 marker 语义时,runtime 才会退回整程序集补扫;当元数据里已经带了具体 Type 或类型名时,runtime 会优先...

(wa5)

🔇 Additional comments (6)
ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md (1)

3-53: 本次 RP-055 trace 更新完整且可恢复性良好。

当前版本已覆盖恢复所需最小闭环:日期、恢复点、关键决策、当前风险、验证里程碑与下一步,并通过归档指针保持 active trace 精简,符合治理预期。

As per coding guidelines "Contributors MUST maintain a matching execution trace under ai-plan/public/<topic>/traces/, recording the current date, key decisions, validation milestones, and the immediate next step".

docs/zh-CN/source-generators/cqrs-handler-registry-generator.md (5)

91-91: 回退语义描述准确

第 6 步的 fallback 行为描述与 CqrsReflectionFallbackAttribute 的实现契合:优先使用 Type 或类型名元数据做定向补扫,仅在元数据为空或仅保留 marker 语义时才退回整程序集扫描。


94-98: 测试引用改进符合规范

从直接提及测试文件改为提供语义化链接标签("运行时注册流程测试"和"生成器行为测试"),而非暴露原始文件路径,符合公开文档规范。

As per coding guidelines: Public documentation MUST use semantic section titles and link labels; do not surface raw filenames or paths as reader-facing navigation text when a meaningful destination label is available.


130-144: 四层策略模型解释清晰

新增的"生成策略层级"章节准确反映了 CreateHandlerCandidateAnalysis 方法中的四类注册策略分层,将技术实现细节转化为用户可理解的采用指导,帮助用户认识到生成器并非"全静态或全反射"的二元选择,而是具备渐进式降级能力。

Based on learnings: Generated logic and generator pipelines MUST explain what is generated, why it is generated, semantic assumptions, and diagnostics or fallback behavior.


145-156: 场景表提供实用的采用指导

场景对照表将常见类型形态映射到具体的注册结果,帮助用户理解哪些看似"复杂"的类型仍能保留精细化注册。表格内容与生成器的渐进降级策略一致,特别是 dynamic 归一化到 System.Object 的说明,避免了用户对 typeof(dynamic) 合法性的误解。


163-169: 诊断说明扩展为有序排查清单

GF_Cqrs_001 诊断从简单提及扩展为三步排查清单,引导用户系统地检查 runtime 合同、handler 类型形态和重构选项。最后一段澄清"fallback 特性出现≠整程序集扫描"的误解,与 CqrsReflectionFallbackAttribute 实现中的元数据优先补扫逻辑一致,有助于用户正确理解生成器的降级边界。

Based on learnings: Generated logic and generator pipelines MUST explain what is generated, why it is generated, semantic assumptions, and diagnostics or fallback behavior.


📝 Walkthrough

Walkthrough

将文档治理追踪点推进到 RP-055(以 PR #308 最新审查为基准并标注为 OPEN);新增中文 “Schema 配置生成器” 页面并扩展/重写与 CQRS / SourceGenerators 相关文档与侧栏;将 RP-049~RP-052 的状态与验证记录归档并附带 2026-05-01 验证/追踪指针。

Changes

Cohort / File(s) Summary
文档治理跟踪
ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md, ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
恢复点更新为 RP-055,审查基线改为 PR #308(OPEN);重写状态摘要、风险说明、最新验证与下一步流程;移除基于 origin/main 的旧 batch 流程并将 RP-049~RP-052 细节移入归档。
导航配置
docs/.vitepress/config.mts
在中文“源码生成器”侧栏新增对 /zh-CN/source-generators/schema-config-generator 页面路由的链接。
API 与 核心 CQRS 文档
docs/zh-CN/api-reference/index.md, docs/zh-CN/core/cqrs.md
扩展 CqrsGame 条目以描述生成注册表与补扫协作边界;明确 Cqrs.SourceGenerators 的运行时降级顺序及何时触发全程序集反射扫描。
源码生成器集合文档
docs/zh-CN/source-generators/index.md, docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
在索引加入 Schema 配置生成器入口;为 CQRS 处理器注册生成器补充四层生成/回退策略、共享抽象与诊断决策检查表,以及常见避免全盘扫描的情形示例。
Schema 配置生成器文档
docs/zh-CN/source-generators/schema-config-generator.md
新增完整中文页面(≈+227 行):说明 schemas/**/*.schema.json 的编译期摄取契约、生成产物(强类型配置模型、表包装器、索引/查找辅助、GeneratedConfigCatalog 与 RegisterAllGeneratedConfigTables 重载)、支持的扩展元数据键、诊断类别与迁移/集成指引。
归档 — 状态/验证/追踪历史
ai-plan/public/.../archive/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md, ...validation-history-...-2026-05-01.md, ...trace-history-...-2026-05-01.md
新增三份归档文档,记录 RP-049→RP-052 的状态快照、验证命令与结果、基线/工作树差异统计(含 commit/hash 与行/文件计数)及后续建议。

Sequence Diagram(s)

sequenceDiagram
  autonumber
  rect rgba(85, 150, 255, 0.5)
    participant Dev as 开发者
    participant SrcGen as 编译时 Schema SourceGenerator
    participant Artifacts as 生成产物 (GeneratedConfigCatalog / Types)
  end
  rect rgba(100, 200, 150, 0.5)
    participant Runtime as 运行时 (GameConfigBootstrap / YamlConfigLoader)
    participant Registry as 注册 API (RegisterAllGeneratedConfigTables)
  end

  Dev->>SrcGen: 提交包含 schemas/**/*.schema.json 的项目
  SrcGen->>Artifacts: 生成强类型配置模型、表包装器、索引辅助与注册点
  Dev->>Runtime: 运行/部署(读取生成产物)
  Runtime->>Registry: 调用 RegisterAllGeneratedConfigTables(...) / 使用 GeneratedConfigCatalog 查找表
  Registry->>Runtime: 返回已注册表元数据与读取入口
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive PR标题「Docs/sdk update documentation」过于宽泛且不够具体,未能清晰反映此次更改的主要内容。 建议更新标题为更具体的描述,例如「docs: update CQRS handler registry and schema config generator documentation」或「docs: add schema-config-generator docs and governance trace updates」以更准确地反映核心变更。
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/sdk-update-documentation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 30, 2026

Greptile Summary

This PR adds a new Chinese documentation page for the Schema 配置生成器 (Game.SourceGenerators) and expands the existing CQRS Handler Registry Generator page with a four-tier fallback strategy section and improved GF_Cqrs_001 diagnostic guidance. Supporting changes wire the new page into the sidebar, API reference table, and source-generators index, while internal AI-plan governance files are trimmed to the current RP-055 checkpoint with older history moved to archive files.

Confidence Score: 5/5

This PR is safe to merge — all changes are documentation and internal AI-plan governance files with no production code impact.

No code logic is changed. The new and updated Markdown pages are internally consistent, cross-links point to existing or newly-created files, sidebar navigation is correctly extended, and all findings are documentation quality at most P2.

No files require special attention.

Important Files Changed

Filename Overview
docs/zh-CN/source-generators/schema-config-generator.md New 227-line documentation page for the Schema 配置生成器, covering installation, input constraints, generation outputs, runtime consumption, migration, and diagnostics.
docs/zh-CN/source-generators/cqrs-handler-registry-generator.md Expanded with a four-tier fallback strategy section, a new table for complex handler forms, and an extended GF_Cqrs_001 diagnostic resolution guide; test links upgraded to GitHub deep-links.
docs/.vitepress/config.mts Adds one sidebar entry for the new Schema 配置生成器 page under the 源码生成器 section.
docs/zh-CN/api-reference/index.md Updates module-mapping table rows for Cqrs and Game, and adds a new section pointing to the shared SourceGenerators.Common reading entry-points.
docs/zh-CN/core/cqrs.md Adds a paragraph clarifying that CqrsReflectionFallbackAttribute with typed metadata triggers targeted re-scan rather than full assembly scan.
docs/zh-CN/source-generators/index.md Adds Schema 配置生成器 deep-links to the use-case table and reading-route section, and extends the shared support layer troubleshooting guidance.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[schema .json input] --> B[Game.SourceGenerators pipeline]
    B --> C[Config type e.g. MonsterConfig]
    B --> D[Table wrapper e.g. MonsterTable]
    B --> E[Single-table bindings e.g. MonsterConfigBindings]
    B --> F[Aggregate catalog GeneratedConfigCatalog]
    F --> G["RegisterAllGeneratedConfigTables()"]
    G --> H[GameConfigBootstrap / YamlConfigLoader]
    D --> I["Get / TryGet / FindBy... entries"]
    C --> J[Strong-typed fields + XML docs]
Loading

Reviews (7): Last reviewed commit: "docs(source-generators): 收口最新 PR 审查跟进" | Re-trigger Greptile

@github-actions
Copy link
Copy Markdown

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2222    ↑41 2222    ↑41 0 0 0 0 34.8s    ↓450ms

Test Results

passed 2222 passed ↑41

Details

tests 2222 tests ↑41
clock 34.8s ↓450ms
tool nunit
build CI - Build & Test arrow-right build-and-test link #1025
pull-request Docs/sdk update documentation link #308

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2150 0 0 5.4s

build-and-test: Run #1025

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
2222 2222 0 0 0 0 0 34.8s

🎉 All tests passed!

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
Does_Not_Report_When_FieldInjectedModel_Is_Registered 39 2.3s 5.4s
SendRequestAsync_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 39 4.1s 4.8s
Generates_Scene_Behavior_Boilerplate 39 2.0s 4.6s
CreateStream_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 1 4.3s 4.3s
Context_Caching_Should_Improve_Performance 39 798ms 1.1s
CleanupDuringAcquire_Should_NotCauseRaceCondition 39 1.1s 1.1s
Append_ShouldNotBlock 39 1.0s 1.0s
RegisterCqrsHandlersFromAssembly_Should_Deduplicate_Repeated_Assembly_Registration 39 221ms 791ms
ConfigModuleCanRunDuringArchitectureInitialization 39 209ms 550ms
PendingCount_ShouldReflectQueuedEntries 39 501ms 501ms

± Comparison with run #1012 at 5133e64 | 🎉 No failed tests detected across all runs. | 🍂 No flaky tests detected across all runs. | ⏱️ Measured over 39 runs.

Github Test Reporter by CTRF 💚

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ REPOSITORY gitleaks yes no no 3.8s
✅ REPOSITORY trufflehog yes no no 4.05s

See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@GeWuYou
Copy link
Copy Markdown
Owner Author

GeWuYou commented May 1, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 1, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md`:
- Around line 34-37: The active tracking section currently contains verbose,
stage-by-stage validation lists (e.g., the dated entries starting with
"2026-04-30" and "2026-04-29" and the other long verification block referenced
in the comment); trim that file's active area down to a single concise "current
recovery point" entry plus a one-line pointer to an archive, and move all
per-item verification details (the step-by-step checklists and repetitive
validation notes) into a separate archive document; update the active file's
headings to "Current recovery point" and "Archive → [archive name]" and remove
internal-review phrasing so the active file only contains executable recovery
info and a link to the archived history.

In `@docs/zh-CN/source-generators/schema-config-generator.md`:
- Around line 51-109: Add a new subsection titled "迁移与兼容性" (placed after the
"输入约定" or before "当前稳定约束子集") that concisely lists: required project directory
layout and file naming conventions, what files/fields must be wired into the
generator (e.g., x-gframework-config-path usage), a minimal working usage
example showing old-config → schema flow, explicit migration steps for moving
existing configs into the schema pipeline, compatibility boundaries (which
legacy features are unsupported) and recommended rollback/verification steps;
keep it short, use bullet points and reference the existing headings "输入约定" and
"当前稳定约束子集" so readers can cross-link.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: db997b15-8162-47df-8ccf-8f4feab143e5

📥 Commits

Reviewing files that changed from the base of the PR and between 36db7d0 and 097e97b.

📒 Files selected for processing (8)
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • docs/.vitepress/config.mts
  • docs/zh-CN/api-reference/index.md
  • docs/zh-CN/core/cqrs.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (6)
docs/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Files:

  • docs/zh-CN/core/cqrs.md
  • docs/zh-CN/source-generators/schema-config-generator.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/api-reference/index.md
{README.md,docs/**}

📄 CodeRabbit inference engine (AGENTS.md)

{README.md,docs/**}: Update the relevant README.md or docs/ page when behavior, setup steps, architecture guidance, or user-facing examples change
Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes
Public documentation MUST use semantic section titles and link labels; do not surface raw filenames or paths as reader-facing navigation text when a meaningful destination label is available
Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'
Public documentation MUST present limitations, suitability, and migration boundaries as adoption guidance; do not publish internal-governance or product-roadmap wording
Keep code samples, package names, and command examples aligned with the current repository state in documentation
Prefer documenting behavior and design intent, not only API surface in user documentation
When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology
If an existing documentation page no longer reflects the current implementation, fixing the code without fixing the documentation is considered incomplete work
Do not rely on 'the code is self-explanatory' for framework features that consumers need to adopt; write the adoption path down so future users do not need to rediscover it from source
When examples are rewritten, preserve only the parts that remain true; delete or replace speculative examples instead of lightly editing them into another inaccurate form

Files:

  • docs/zh-CN/core/cqrs.md
  • docs/zh-CN/source-generators/schema-config-generator.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/api-reference/index.md
docs/zh-CN/**

📄 CodeRabbit inference engine (AGENTS.md)

docs/zh-CN/**: When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in docs/zh-CN/ in the same change
For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Files:

  • docs/zh-CN/core/cqrs.md
  • docs/zh-CN/source-generators/schema-config-generator.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/api-reference/index.md
docs/**

📄 CodeRabbit inference engine (AGENTS.md)

If a docs category appears in VitePress navigation or sidebar, it MUST have a real landing page or be removed from navigation in the same change

Files:

  • docs/zh-CN/core/cqrs.md
  • docs/zh-CN/source-generators/schema-config-generator.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/api-reference/index.md
ai-plan/public/*/traces/**

📄 CodeRabbit inference engine (AGENTS.md)

Contributors MUST maintain a matching execution trace under ai-plan/public/<topic>/traces/ for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
ai-plan/public/*/todos/**

📄 CodeRabbit inference engine (AGENTS.md)

ai-plan/public/*/todos/**: When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under ai-plan/public/<topic>/todos/ in the same change
Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point
Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for boot to locate the current recovery point quickly
Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely
When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active todos/ and traces/ entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files
When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off
If subagents are used on a complex task, the main agent MUST capture the delegated scope and any accepted findings in the active recovery document or trace before continuing implementation

Files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
🧠 Learnings (27)
📓 Common learnings
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change

Applied to files:

  • docs/.vitepress/config.mts
  • docs/zh-CN/core/cqrs.md
  • docs/zh-CN/source-generators/schema-config-generator.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/api-reference/index.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-17T11:35:08.762Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-04-17T11:35:08.762Z
Learning: Applies to docs/**/*.md : Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Applied to files:

  • docs/.vitepress/config.mts
  • docs/zh-CN/source-generators/schema-config-generator.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/api-reference/index.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Applied to files:

  • docs/.vitepress/config.mts
  • docs/zh-CN/core/cqrs.md
  • docs/zh-CN/source-generators/schema-config-generator.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/api-reference/index.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/** : If a docs category appears in VitePress navigation or sidebar, it MUST have a real landing page or be removed from navigation in the same change

Applied to files:

  • docs/.vitepress/config.mts
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/README.md : A module README MUST describe: the module's purpose, relationship to adjacent runtime/abstractions/generator packages, major subdirectories or subsystems, minimum adoption path, and corresponding `docs/zh-CN/` entry points

Applied to files:

  • docs/.vitepress/config.mts
  • docs/zh-CN/source-generators/schema-config-generator.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/api-reference/index.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-17T11:35:08.762Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-04-17T11:35:08.762Z
Learning: Applies to **/*{Startup,Init,Register,Setup,Configure}*.cs : CQRS handler registration should use generated products from CqrsHandlerRegistryGenerator at runtime, falling back to reflection scanning when generation cannot cover cases; explicitly register handlers from non-default assemblies using RegisterCqrsHandlersFromAssembly(...) or RegisterCqrsHandlersFromAssemblies(...)

Applied to files:

  • docs/zh-CN/core/cqrs.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : When generator behavior changes intentionally, update snapshots together with the implementation

Applied to files:

  • docs/zh-CN/core/cqrs.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Source generator changes MUST be covered by generator tests

Applied to files:

  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/README.md : If a module's responsibilities, setup, public API surface, generator inputs, or adoption path change, update that module's `README.md` in the same change

Applied to files:

  • docs/zh-CN/source-generators/index.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Generated logic and generator pipelines MUST explain what is generated, why it is generated, semantic assumptions, and diagnostics or fallback behavior

Applied to files:

  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/api-reference/index.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/traces/** : Contributors MUST maintain a matching execution trace under `ai-plan/public/<topic>/traces/` for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Governance-only material such as XML audit snapshots, documentation remediation baselines, backlog status, and recovery metadata belongs in `ai-plan/**`, not in public docs

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for `boot` to locate the current recovery point quickly

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active `todos/` and `traces/` entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: For any multi-step refactor, migration, or cross-module task, contributors MUST create or adopt a dedicated recovery document under `ai-plan/public/<topic>/todos/` before making substantive code changes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Any change to public API, lifecycle semantics, module behavior, or extension points MUST update the related XML docs

Applied to files:

  • docs/zh-CN/api-reference/index.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Core framework components such as Architecture, Module, System, Context, Registry, Service Module, and Lifecycle types MUST include high-level explanations of responsibilities, lifecycle, interactions, why the abstraction exists, and when to use it

Applied to files:

  • docs/zh-CN/api-reference/index.md
📚 Learning: 2026-04-16T13:26:01.780Z
Learnt from: GeWuYou
Repo: GeWuYou/GFramework PR: 235
File: GFramework.SourceGenerators.Tests/Rule/ContextAwareGeneratorSnapshotTests.cs:1-3
Timestamp: 2026-04-16T13:26:01.780Z
Learning: In the GeWuYou/GFramework repository, the test project `GFramework.SourceGenerators.Tests` provides `global using NUnit.Framework;` via its `GlobalUsings.cs`. Do not flag missing `using NUnit.Framework;` directives in test files within this project, as the global using already covers it. The project-wide GlobalUsings.cs pattern is used broadly to supply common namespaces (including NUnit, System.IO, etc.) without per-file imports.

Applied to files:

  • docs/zh-CN/api-reference/index.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under `ai-plan/public/<topic>/todos/` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Update the relevant `README.md` or `docs/` page when behavior, setup steps, architecture guidance, or user-facing examples change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
🪛 LanguageTool
docs/zh-CN/source-generators/cqrs-handler-registry-generator.md

[uncategorized] ~119-~119: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...lback 的结果 ## 生成策略层级 把这个生成器理解成“静态注册 or 整程序集扫描”的二选一,会低估它的收益。当前策略实际上分成四层: 1. 直接静态注册...

(wa5)


[uncategorized] ~132-~132: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...路径前移到编译期,再对少数复杂类型做定向补扫。 ## 哪些场景通常不会直接退回整程序集扫描 下列类型形态经常仍然能保留精细化注册,而不是立刻退回整程序集盲扫: ...

(wa5)


[uncategorized] ~156-~156: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...lectionFallbackAttribute` 出现也不等于“运行时一定回到整程序集扫描”。只有 fallback 元数据为空、或旧版只保留 marker 语义时...

(wa5)


[uncategorized] ~156-~156: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...ack 元数据为空、或旧版只保留 marker 语义时,runtime 才会退回整程序集补扫;当元数据里已经带了具体 Type 或类型名时,runtime 会优先...

(wa5)

ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md

[uncategorized] ~36-~36: 您的意思是“"不"新”?
Context: ...iles / 0 lines,因此允许把批次目标从“低风险句子收口”提升为“补新的 docs coverage 入口”。 - 主线程保留实现与验证,同时接受了...

(BU)


[uncategorized] ~45-~45: 您的意思是“"不"共享”?
Context: ...独立 public docs 页面,只在现有 landing / API 入口里补共享 diagnostics、attribute 契约与冲突规则的阅读路线。 -...

(BU)


[uncategorized] ~64-~64: 您的意思是“"不"链”?
Context: ...g。 2. 若继续同一主题,优先挑选“已有用户面 package,但站内专题仍需补链”的模块,而不是继续给共享支撑层单开页面。 3. 在 remote branc...

(BU)

ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md

[style] ~22-~22: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... Game.SourceGenerators 的 schema 生成链路和 Cqrs.SourceGenerators 的定向 fallback 语义收敛成站内可见入口 - 本轮在提交前一度把工作...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[grammar] ~156-~156: Ensure spelling is correct
Context: ....md ## 下一步 1. 若继续下一批,优先挑选“已有 package README、但站内专题仍不足”的模块入口,例如README与现有 docs 之间的采用路径补链;避免把Source...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🔇 Additional comments (5)
docs/.vitepress/config.mts (1)

251-251: 侧栏路由补充合理,和新增专题页一致。

该入口与新文档页保持一致,导航闭环完整。

docs/zh-CN/api-reference/index.md (1)

34-35: 模块映射与“共享支撑层”阅读入口更新到位。

新增的 Schema 入口和 CQRS 边界说明清晰,且保持 reader-facing 导航语义。

Also applies to: 81-95

docs/zh-CN/source-generators/index.md (1)

28-28: 选包表与阅读路线补充有效。

Schema 配置生成器入口被正确纳入“选包→专题→运行时”的链路,易于落地。

Also applies to: 97-105, 119-121, 152-153

docs/zh-CN/core/cqrs.md (1)

176-180: fallback 语义表述准确且实用。

“先 generated registry,再补剩余 handler”的解释与运行时实现一致,能减少接入误解。

docs/zh-CN/source-generators/cqrs-handler-registry-generator.md (1)

117-157: 生成策略分层说明清楚,且与运行时行为一致。

这段把“分层收益”和“何时才会整程序集补扫”区分得很好,可直接降低误用成本。

Comment thread docs/zh-CN/source-generators/schema-config-generator.md
GeWuYou added 3 commits May 1, 2026 13:22
- 新增 Schema 配置生成器专题页,补充输入契约、生成物与诊断边界

- 更新 source-generators、API 参考与 CQRS 文档,说明共享支撑层阅读路线与 fallback 分层

- 更新 documentation-full-coverage-governance 的 tracking 和 trace,记录批次指标与验证结果
- 更新 committed diff 基线,记录本轮提交后的 8 files / 337 lines 状态

- 补充 documentation-full-coverage-governance 的下一步建议,避免后续按过时工作树峰值恢复
- 补充 Schema 配置生成器专题的迁移步骤、兼容边界与回退建议

- 更新 active tracking 与 active trace,只保留当前恢复事实、验证结果与归档指针

- 新增 RP-049 到 RP-052 的状态、验证与时间线归档文件
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md`:
- Line 12: Two inline code backticks are left unclosed causing Markdown
rendering issues: remove the trailing backtick in the fragment "`13` files /
`132` lines`" (referenced in the diff) and the similar trailing backtick at Line
30 so both inline code markers are properly paired; update the two occurrences
to use matched backticks (e.g., "`13` files / `132` lines") to fix
highlighting/formatting.

In
`@ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md`:
- Line 29: 在文本中发现未闭合的内联代码标记:当前行包含 "`f88f96c3`,提交后 branch diff 相对 `origin/main`
回落到 `8` files / `337` lines`",末尾多了一个反引号,导致 Markdown
渲染异常;请编辑该行,移除多余的末尾反引号,使内联代码片段正确闭合(例如 保留 `f88f96c3` 和 `337`
两个反引号包裹的片段,确保结尾不含额外反引号)。
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a2185f1f-c83b-4f7b-977b-fe134d36b986

📥 Commits

Reviewing files that changed from the base of the PR and between 097e97b and a468c9b.

📒 Files selected for processing (6)
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-validation-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • docs/zh-CN/source-generators/schema-config-generator.md
✅ Files skipped from review due to trivial changes (1)
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-validation-history-rp-049-to-rp-052-2026-05-01.md
📜 Review details
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: submit-nuget
🧰 Additional context used
📓 Path-based instructions (6)
ai-plan/public/*/traces/**

📄 CodeRabbit inference engine (AGENTS.md)

Contributors MUST maintain a matching execution trace under ai-plan/public/<topic>/traces/ for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
ai-plan/public/*/todos/**

📄 CodeRabbit inference engine (AGENTS.md)

ai-plan/public/*/todos/**: When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under ai-plan/public/<topic>/todos/ in the same change
Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point
Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for boot to locate the current recovery point quickly
Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely
When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active todos/ and traces/ entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files
When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off
If subagents are used on a complex task, the main agent MUST capture the delegated scope and any accepted findings in the active recovery document or trace before continuing implementation

Files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
docs/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Files:

  • docs/zh-CN/source-generators/schema-config-generator.md
{README.md,docs/**}

📄 CodeRabbit inference engine (AGENTS.md)

{README.md,docs/**}: Update the relevant README.md or docs/ page when behavior, setup steps, architecture guidance, or user-facing examples change
Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes
Public documentation MUST use semantic section titles and link labels; do not surface raw filenames or paths as reader-facing navigation text when a meaningful destination label is available
Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'
Public documentation MUST present limitations, suitability, and migration boundaries as adoption guidance; do not publish internal-governance or product-roadmap wording
Keep code samples, package names, and command examples aligned with the current repository state in documentation
Prefer documenting behavior and design intent, not only API surface in user documentation
When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology
If an existing documentation page no longer reflects the current implementation, fixing the code without fixing the documentation is considered incomplete work
Do not rely on 'the code is self-explanatory' for framework features that consumers need to adopt; write the adoption path down so future users do not need to rediscover it from source
When examples are rewritten, preserve only the parts that remain true; delete or replace speculative examples instead of lightly editing them into another inaccurate form

Files:

  • docs/zh-CN/source-generators/schema-config-generator.md
docs/zh-CN/**

📄 CodeRabbit inference engine (AGENTS.md)

docs/zh-CN/**: When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in docs/zh-CN/ in the same change
For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Files:

  • docs/zh-CN/source-generators/schema-config-generator.md
docs/**

📄 CodeRabbit inference engine (AGENTS.md)

If a docs category appears in VitePress navigation or sidebar, it MUST have a real landing page or be removed from navigation in the same change

Files:

  • docs/zh-CN/source-generators/schema-config-generator.md
🧠 Learnings (21)
📓 Common learnings
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/traces/** : Contributors MUST maintain a matching execution trace under `ai-plan/public/<topic>/traces/` for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active `todos/` and `traces/` entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: For any multi-step refactor, migration, or cross-module task, contributors MUST create or adopt a dedicated recovery document under `ai-plan/public/<topic>/todos/` before making substantive code changes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Governance-only material such as XML audit snapshots, documentation remediation baselines, backlog status, and recovery metadata belongs in `ai-plan/**`, not in public docs

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under `ai-plan/public/<topic>/todos/` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for `boot` to locate the current recovery point quickly

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/README.md : When a worktree-to-topic mapping changes, or when a topic becomes active/inactive, contributors MUST update `ai-plan/public/README.md` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : If subagents are used on a complex task, the main agent MUST capture the delegated scope and any accepted findings in the active recovery document or trace before continuing implementation

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-17T11:35:08.762Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-04-17T11:35:08.762Z
Learning: Applies to docs/**/*.md : Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/README.md : A module README MUST describe: the module's purpose, relationship to adjacent runtime/abstractions/generator packages, major subdirectories or subsystems, minimum adoption path, and corresponding `docs/zh-CN/` entry points

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Do not rely on 'the code is self-explanatory' for framework features that consumers need to adopt; write the adoption path down so future users do not need to rediscover it from source

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST present limitations, suitability, and migration boundaries as adoption guidance; do not publish internal-governance or product-roadmap wording

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
🪛 LanguageTool
ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md

[grammar] ~17-~17: Ensure spelling is correct
Context: ...a.mdgame/storage.mdgodot/ui.mdGFramework.Cqrs.Abstractions/README.mdGFramework.Sou...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md

[uncategorized] ~23-~23: 您的意思是“"不"链”?
Context: ...in/main 同步后,本轮把目标提升为新的 docs coverage 入口补链,而不是继续做纯措辞巡检。 - 接受的结论是:Game.SourceGene...

(BU)


[uncategorized] ~31-~31: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:清晰"地"恢复
Context: ...mework-pr-review` 精确跟进最新 review 线程提供了更清晰的恢复入口。

(wb4)

docs/zh-CN/source-generators/schema-config-generator.md

[uncategorized] ~183-~183: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:稳妥"地"回
Context: ... 阶段,而不是继续复制生成器会维护的样板代码。 如果你需要分批迁移,当前更稳妥的回退方式是只回退注册入口,而不是同时回退 schema 结构: - 可以先让一...

(wb4)

🪛 markdownlint-cli2 (0.22.1)
ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md

[warning] 12-12: Spaces inside code span elements

(MD038, no-space-in-code)


[warning] 30-30: Spaces inside code span elements

(MD038, no-space-in-code)


[warning] 30-30: Spaces inside code span elements

(MD038, no-space-in-code)

🔇 Additional comments (3)
docs/zh-CN/source-generators/schema-config-generator.md (1)

28-49: 这版专题页覆盖完整,方向正确。

接线方式、最小示例、迁移/兼容边界与回退策略都已集中呈现,读者可以直接按文档落地,不需要再回源码拼 adoption path。

Also applies to: 153-188

ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md (1)

5-15: RP-053 的 active trace 结构清楚,恢复入口可执行。

当前恢复点、归档指针与下一步动作都能直接驱动后续接手,符合“active trace 作为恢复入口”的目标。

Also applies to: 34-47

ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md (1)

13-26: tracking 与 RP-053 的执行状态已对齐,归档链路完整。

恢复点、验证结果、归档指针和下一步动作之间是一致闭环,便于后续继续推进。

Also applies to: 42-55, 59-84

@GeWuYou GeWuYou force-pushed the docs/sdk-update-documentation branch from a468c9b to 241c9ff Compare May 1, 2026 05:23
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2247    ↑25 2247    ↑25 0 0 0 0 35.9s    ↑1.0s

Test Results

passed 2247 passed ↑25

Details

tests 2247 tests ↑25
clock 35.9s ↑1.0s
tool nunit
build CI - Build & Test arrow-right build-and-test link #1030
pull-request Docs/sdk update documentation link #308

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2152 0 0 4.7s

build-and-test: Run #1030

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
2247 2247 0 0 0 0 0 35.9s

🎉 All tests passed!

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
SendRequestAsync_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 40 4.0s 4.7s
CreateStream_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 2 4.0s 4.3s
Does_Not_Report_When_FieldInjectedModel_Is_Registered 40 2.3s 2.7s
Generates_Scene_Behavior_Boilerplate 40 2.0s 2.0s
CleanupDuringAcquire_Should_NotCauseRaceCondition 40 1.1s 1.1s
Append_ShouldNotBlock 40 1.0s 1.0s
Context_Caching_Should_Improve_Performance 40 797ms 799ms
PendingCount_ShouldReflectQueuedEntries 40 501ms 501ms
Cleanup_Should_NotRemoveActiveLocks 40 404ms 406ms
Cleanup_Should_RemoveUnusedLocks 40 401ms 402ms

± Comparison with run #1025 at 2a68c60 | 🎉 No failed tests detected across all runs. | 🍂 No flaky tests detected across all runs. | ⏱️ Measured over 40 runs.

Github Test Reporter by CTRF 💚

- 修复 documentation-full-coverage-governance 归档中的 Markdown 行内代码闭合错误

- 更新 active tracking 与 trace,使其反映 PR #308 review 的本地核验结论

- 补充本轮文档构建验证结果与后续恢复步骤
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2247 2247 0 0 0 0 38.2s    ↑2.3s

Test Results

passed 2247 passed

Details

tests 2247 tests
clock 38.2s ↑2.3s
tool nunit
build CI - Build & Test arrow-right build-and-test link #1031
pull-request Docs/sdk update documentation link #308

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2154 0 0 4.7s

build-and-test: Run #1031

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
2247 2247 0 0 0 0 0 38.2s

🎉 All tests passed!

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
SendRequestAsync_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 41 3.9s 4.7s
CreateStream_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 3 4.0s 4.3s
Does_Not_Report_When_FieldInjectedModel_Is_Registered 41 2.3s 2.7s
Generates_Scene_Behavior_Boilerplate 41 2.0s 2.0s
CleanupDuringAcquire_Should_NotCauseRaceCondition 41 1.1s 1.1s
Append_ShouldNotBlock 41 1.0s 1.0s
Context_Caching_Should_Improve_Performance 41 797ms 799ms
PendingCount_ShouldReflectQueuedEntries 41 501ms 501ms
Cleanup_Should_NotRemoveActiveLocks 41 404ms 406ms
Cleanup_Should_RemoveUnusedLocks 41 401ms 402ms

± Comparison with run #1030 at 28ef6cb | 🎉 No failed tests detected across all runs. | 🍂 No flaky tests detected across all runs. | ⏱️ Measured over 41 runs.

Github Test Reporter by CTRF 💚

@GeWuYou
Copy link
Copy Markdown
Owner Author

GeWuYou commented May 1, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 1, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/zh-CN/source-generators/cqrs-handler-registry-generator.md (1)

94-95: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

将源码路径改为语义化入口标签。

Line 94-95 当前直接展示了测试文件路径,建议改成语义化描述并用链接承载路径(例如“运行时注册流程测试”“生成器快照测试”),避免把原始路径当作读者导航文本。
As per coding guidelines "Public documentation MUST use semantic section titles and link labels; do not surface raw filenames or paths as reader-facing navigation text when a meaningful destination label is available".

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/zh-CN/source-generators/cqrs-handler-registry-generator.md` around lines
94 - 95, 当前文档将测试文件路径直接展示为读者可见文本;请把那句包含 CqrsHandlerRegistrarTests 和
CqrsHandlerRegistryGeneratorTests
的文本改为使用语义化链接标签(例如“运行时注册流程测试”和“生成器快照测试”)作为可见文字,并将每个标签的链接目标保留为原始测试文件的位置;在
docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
中找到包含“GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarTests.cs”和“GFramework.SourceGenerators.Tests/Cqrs/CqrsHandlerRegistryGeneratorTests.cs”
的那一行,替换为带有描述性文本的 Markdown 链接(可见标签为语义化名称,href 指向原路径)。
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/zh-CN/source-generators/schema-config-generator.md`:
- Line 202: The line currently exposes a raw test source path
("GFramework.SourceGenerators.Tests/Config/SchemaConfigGeneratorTests.cs");
replace the visible filename/path with a semantic label like "Schema generator
behavior tests and snapshot tests" and keep the link target pointing to the same
test file (or add an inline link) so readers see the meaningful label but can
still open the test source; update the phrase in the document (referencing
SchemaConfigGeneratorTests) to use this semantic text and ensure any link markup
points to the original test file.

---

Outside diff comments:
In `@docs/zh-CN/source-generators/cqrs-handler-registry-generator.md`:
- Around line 94-95: 当前文档将测试文件路径直接展示为读者可见文本;请把那句包含 CqrsHandlerRegistrarTests 和
CqrsHandlerRegistryGeneratorTests
的文本改为使用语义化链接标签(例如“运行时注册流程测试”和“生成器快照测试”)作为可见文字,并将每个标签的链接目标保留为原始测试文件的位置;在
docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
中找到包含“GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarTests.cs”和“GFramework.SourceGenerators.Tests/Cqrs/CqrsHandlerRegistryGeneratorTests.cs”
的那一行,替换为带有描述性文本的 Markdown 链接(可见标签为语义化名称,href 指向原路径)。
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 153b6e6c-28ba-4f52-bf4d-76dd45520509

📥 Commits

Reviewing files that changed from the base of the PR and between a468c9b and 4fdb1e7.

📒 Files selected for processing (11)
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-validation-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • docs/.vitepress/config.mts
  • docs/zh-CN/api-reference/index.md
  • docs/zh-CN/core/cqrs.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/index.md
  • docs/zh-CN/source-generators/schema-config-generator.md
✅ Files skipped from review due to trivial changes (3)
  • docs/.vitepress/config.mts
  • docs/zh-CN/api-reference/index.md
  • docs/zh-CN/source-generators/index.md
🚧 Files skipped from review as they are similar to previous changes (2)
  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-validation-history-rp-049-to-rp-052-2026-05-01.md
  • docs/zh-CN/core/cqrs.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (6)
ai-plan/public/*/todos/**

📄 CodeRabbit inference engine (AGENTS.md)

ai-plan/public/*/todos/**: When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under ai-plan/public/<topic>/todos/ in the same change
Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point
Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for boot to locate the current recovery point quickly
Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely
When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active todos/ and traces/ entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files
When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off
If subagents are used on a complex task, the main agent MUST capture the delegated scope and any accepted findings in the active recovery document or trace before continuing implementation

Files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
ai-plan/public/*/traces/**

📄 CodeRabbit inference engine (AGENTS.md)

Contributors MUST maintain a matching execution trace under ai-plan/public/<topic>/traces/ for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
docs/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
{README.md,docs/**}

📄 CodeRabbit inference engine (AGENTS.md)

{README.md,docs/**}: Update the relevant README.md or docs/ page when behavior, setup steps, architecture guidance, or user-facing examples change
Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes
Public documentation MUST use semantic section titles and link labels; do not surface raw filenames or paths as reader-facing navigation text when a meaningful destination label is available
Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'
Public documentation MUST present limitations, suitability, and migration boundaries as adoption guidance; do not publish internal-governance or product-roadmap wording
Keep code samples, package names, and command examples aligned with the current repository state in documentation
Prefer documenting behavior and design intent, not only API surface in user documentation
When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology
If an existing documentation page no longer reflects the current implementation, fixing the code without fixing the documentation is considered incomplete work
Do not rely on 'the code is self-explanatory' for framework features that consumers need to adopt; write the adoption path down so future users do not need to rediscover it from source
When examples are rewritten, preserve only the parts that remain true; delete or replace speculative examples instead of lightly editing them into another inaccurate form

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
docs/zh-CN/**

📄 CodeRabbit inference engine (AGENTS.md)

docs/zh-CN/**: When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in docs/zh-CN/ in the same change
For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
docs/**

📄 CodeRabbit inference engine (AGENTS.md)

If a docs category appears in VitePress navigation or sidebar, it MUST have a real landing page or be removed from navigation in the same change

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
🧠 Learnings (26)
📓 Common learnings
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Governance-only material such as XML audit snapshots, documentation remediation baselines, backlog status, and recovery metadata belongs in `ai-plan/**`, not in public docs

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active `todos/` and `traces/` entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: For any multi-step refactor, migration, or cross-module task, contributors MUST create or adopt a dedicated recovery document under `ai-plan/public/<topic>/todos/` before making substantive code changes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/README.md : When a worktree-to-topic mapping changes, or when a topic becomes active/inactive, contributors MUST update `ai-plan/public/README.md` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Commit messages MUST use Conventional Commits format: `<type>(<scope>): <summary>` with simplified Chinese summary and unordered list body items starting with verbs like `新增`、`修复`、`优化`

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : If an existing documentation page no longer reflects the current implementation, fixing the code without fixing the documentation is considered incomplete work

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/traces/** : Contributors MUST maintain a matching execution trace under `ai-plan/public/<topic>/traces/` for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for `boot` to locate the current recovery point quickly

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under `ai-plan/public/<topic>/todos/` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : If subagents are used on a complex task, the main agent MUST capture the delegated scope and any accepted findings in the active recovery document or trace before continuing implementation

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-17T11:35:08.762Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-04-17T11:35:08.762Z
Learning: Applies to **/*{Startup,Init,Register,Setup,Configure}*.cs : CQRS handler registration should use generated products from CqrsHandlerRegistryGenerator at runtime, falling back to reflection scanning when generation cannot cover cases; explicitly register handlers from non-default assemblies using RegisterCqrsHandlersFromAssembly(...) or RegisterCqrsHandlersFromAssemblies(...)

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : When generator behavior changes intentionally, update snapshots together with the implementation

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Generated logic and generator pipelines MUST explain what is generated, why it is generated, semantic assumptions, and diagnostics or fallback behavior

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-17T11:35:08.762Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-04-17T11:35:08.762Z
Learning: Applies to docs/**/*.md : Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/README.md : A module README MUST describe: the module's purpose, relationship to adjacent runtime/abstractions/generator packages, major subdirectories or subsystems, minimum adoption path, and corresponding `docs/zh-CN/` entry points

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Do not rely on 'the code is self-explanatory' for framework features that consumers need to adopt; write the adoption path down so future users do not need to rediscover it from source

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST present limitations, suitability, and migration boundaries as adoption guidance; do not publish internal-governance or product-roadmap wording

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
🪛 LanguageTool
ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md

[grammar] ~17-~17: Ensure spelling is correct
Context: ...a.mdgame/storage.mdgodot/ui.mdGFramework.Cqrs.Abstractions/README.mdGFramework.Sou...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md

[uncategorized] ~23-~23: 您的意思是“"不"链”?
Context: ...in/main 同步后,本轮把目标提升为新的 docs coverage 入口补链,而不是继续做纯措辞巡检。 - 接受的结论是:Game.SourceGene...

(BU)


[uncategorized] ~31-~31: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:清晰"地"恢复
Context: ...mework-pr-review` 精确跟进最新 review 线程提供了更清晰的恢复入口。

(wb4)

ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md

[uncategorized] ~31-~31: 您的意思是“"不"出”?
Context: ...I 参考层级的已验证入口。 - source-generators 栏目已经补出 Schema 配置生成器 专题页,并把 `Game.SourceGene...

(BU)

ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md

[uncategorized] ~7-~7: 名词后要加"方位词"
Context: ...当前只剩 3CodeRabbit open threads,分别落在两份归档文档与 Schema 配置生成器 专题页。 - 本地复核确认真正仍成立...

(wa2)

docs/zh-CN/source-generators/cqrs-handler-registry-generator.md

[uncategorized] ~129-~129: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...lback 的结果 ## 生成策略层级 把这个生成器理解成“静态注册 or 整程序集扫描”的二选一,会低估它的收益。当前策略实际上分成四层: 1. 直接静态注册...

(wa5)


[uncategorized] ~142-~142: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...路径前移到编译期,再对少数复杂类型做定向补扫。 ## 哪些场景通常不会直接退回整程序集扫描 下列类型形态经常仍然能保留精细化注册,而不是立刻退回整程序集盲扫: ...

(wa5)


[uncategorized] ~166-~166: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...lectionFallbackAttribute` 出现也不等于“运行时一定回到整程序集扫描”。只有 fallback 元数据为空、或旧版只保留 marker 语义时...

(wa5)


[uncategorized] ~166-~166: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...ack 元数据为空、或旧版只保留 marker 语义时,runtime 才会退回整程序集补扫;当元数据里已经带了具体 Type 或类型名时,runtime 会优先...

(wa5)

docs/zh-CN/source-generators/schema-config-generator.md

[uncategorized] ~183-~183: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:稳妥"地"回
Context: ... 阶段,而不是继续复制生成器会维护的样板代码。 如果你需要分批迁移,当前更稳妥的回退方式是只回退注册入口,而不是同时回退 schema 结构: - 可以先让一...

(wb4)

🔇 Additional comments (4)
ai-plan/public/documentation-full-coverage-governance/archive/traces/documentation-full-coverage-governance-trace-history-rp-049-to-rp-052-2026-05-01.md (1)

1-32: 归档追踪结构清晰,符合当前治理文档定位。

本文件放置位置、阶段时间线与恢复决策记录都一致,当前改动没有发现需要阻塞合并的问题。

ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md (1)

3-42: 当前 active trace 可恢复性良好。

恢复点、决策、验证和下一步都聚焦在可执行信息上,符合 active 入口用途。

ai-plan/public/documentation-full-coverage-governance/archive/todos/documentation-full-coverage-governance-status-history-rp-049-to-rp-052-2026-05-01.md (1)

1-32: 状态历史归档内容完整,粒度合适。

阶段边界、差异指标与批次决策记录清楚,和 active 文档分工合理。

ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md (1)

13-84: RP-054 跟踪信息闭环良好。

当前事实、风险、验证结果与后续动作对齐,作为恢复入口已具备可执行性。

Comment thread docs/zh-CN/source-generators/schema-config-generator.md Outdated
- 更新 source-generators 文档中的测试入口表述,使用语义化链接标签替代源码路径

- 校正 documentation-full-coverage-governance active ai-plan 的 PR 审查事实、验证结果与下一步恢复点
@GeWuYou GeWuYou enabled auto-merge May 1, 2026 07:43
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2247 2247 0 0 0 0 36.7s    ↓1.5s

Test Results

passed 2247 passed

Details

tests 2247 tests
clock 36.7s ↓1.5s
tool nunit
build CI - Build & Test arrow-right build-and-test link #1032
pull-request Docs/sdk update documentation link #308

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2157 0 0 4.7s

build-and-test: Run #1032

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
2247 2247 0 0 0 0 0 36.7s

🎉 All tests passed!

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
SendRequestAsync_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 42 3.8s 4.7s
CreateStream_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 4 3.9s 4.3s
Does_Not_Report_When_FieldInjectedModel_Is_Registered 42 2.3s 2.7s
Generates_Scene_Behavior_Boilerplate 42 2.0s 2.0s
CleanupDuringAcquire_Should_NotCauseRaceCondition 42 1.1s 1.1s
Append_ShouldNotBlock 42 1.0s 1.0s
Context_Caching_Should_Improve_Performance 42 797ms 799ms
PendingCount_ShouldReflectQueuedEntries 42 501ms 501ms
Cleanup_Should_NotRemoveActiveLocks 42 404ms 406ms
Cleanup_Should_RemoveUnusedLocks 42 401ms 402ms

± Comparison with run #1031 at bb7a353 | 🎉 No failed tests detected across all runs. | 🍂 No flaky tests detected across all runs. | ⏱️ Measured over 42 runs.

Github Test Reporter by CTRF 💚

@GeWuYou
Copy link
Copy Markdown
Owner Author

GeWuYou commented May 1, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 1, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/zh-CN/source-generators/cqrs-handler-registry-generator.md (1)

84-93: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

“若存在 CqrsReflectionFallbackAttribute 只补扫剩余 handler”表述需加条件以避免与后文矛盾。

目前步骤列表的第 6 条(Line 91-92)给读者的直觉是“只补扫”;但在后文(Line 169-170)你又说明:当 fallback 元数据为空/仅 marker 语义时,runtime 会退回整程序集补扫。建议在步骤列表第 6 条补一句关键条件(例如“取决于 fallback 元数据是否为空/是否包含 Type/类型名”),让读者在快速阅读时不形成误解。

🔧 Suggested wording (minimal change)
  6. 若存在 `CqrsReflectionFallbackAttribute`,只补扫剩余 handler
+    (仅当 fallback 元数据为空/仅 marker 时,可能退回整程序集补扫)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/zh-CN/source-generators/cqrs-handler-registry-generator.md` around lines
84 - 93, 在第 6 条“若存在 CqrsReflectionFallbackAttribute,只补扫剩余
handler”后面补一句条件说明以避免矛盾:明确说明该行为取决于 fallback 元数据是否为空或是否包含具体 Type/类型名(例如:“仅当
fallback 元数据包含具体 Type/类型名时只补扫剩余 handler;若元数据为空或仅作
marker,则回退到对整个程序集的补扫”)。在文档中定位并更新 CqrsReflectionFallbackAttribute
相关的句子以加入此条件描述,保持表述简洁并与后文关于空/marker 语义的说明一致。
🧹 Nitpick comments (1)
ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md (1)

58-80: ⚡ Quick win

建议压缩“最新验证”命令逐条清单,仅保留关键结论 + 指向 archive,减少 active 文档噪音。

Line 60-80 仍然是“多条命令 + 多条结果”的逐项列表形式(含 2026-05-01 的多条脚本与 2026-04-30 的多条 validate/build)。这会降低 active tracking 作为“恢复入口”的效率。建议把这段压缩为更短的“本轮关键验证结论”(例如:两页 frontmatter/链接/代码块校验通过 + site build 通过 + PR review re-fetch 通过),并把详细命令/逐项结果引用到你下面的 archive 指针(你已在文档里维护了历史归档路径)。

🔧 Suggested shape
 ## 最新验证
 
-- - `2026-05-01` `bash ...validate-all.sh ...schema-config-generator.md`
--   - 结果:通过...
-- - `2026-05-01` `bash ...validate-all.sh ...cqrs-handler-registry-generator.md`
--   - 结果:通过...
-- - `2026-05-01` `bun run build`...
--   - 结果:通过...
-- - `2026-05-01` `python3 ...fetch_current_pr_review.py ...`
--   - 结果:通过...
-- - `2026-04-30` `bash ...`...
--   - 结果:通过...
-- - ...
+- 2026-05-01:`$gframework-pr-review` 重新抓取通过;两篇 source-generators 页面(schema-config / cqrs-handler-registry)校验通过;`docs/` 站点构建通过。(详细命令/逐项结果见对应 validate-history / trace-history archive)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md`
around lines 58 - 80, "最新验证" 部分现在以多条命令+结果的逐项清单形式冗长;请将该段(标题 "最新验证"
下的多条条目)压缩为一段简短的“本轮关键验证结论”,例如:1) 两篇 source-generators 页面
frontmatter/链接/代码块校验通过,2) 站点构建通过(保留大 chunk warning),3) PR `#308` 的 re-fetch
校验通过并列出 latest commit id 简短摘录;把原有的逐条命令与详细输出移到已存在的历史归档并在该段中添加到归档的引用链接。定位提示:编辑标识为
"最新验证" 的段落,关注出现的脚本名 validate-all.sh、bun run build、python3
.agents/skills/gframework-pr-review/scripts/fetch_current_pr_review.py 和提到的
PR/commit(#308 / 4fdb1e7398e4f114757b5c988698af203dce24c8)以完成压缩与归档链接替换。
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md`:
- Around line 3-16: Add an explicit "当前风险 / Known risks" subsection immediately
after the "当前决策(RP-055)" paragraph in the trace; list 2–3 concise risk items
such as: (1) uncertainty whether remote open threads are truly stale vs.
requiring follow-up, (2) potential mismatch between the recorded latest reviewed
commit `4fdb1e7398e4f114757b5c988698af203dce24c8` and local verification, and
(3) risk that remote CI/site builds may pass now but later triggers could
surface issues; include a short "Next steps" line suggesting who should validate
each risk (e.g., assignee or reviewer) and expected follow-up action.

In `@docs/zh-CN/source-generators/schema-config-generator.md`:
- Around line 153-163: 示例中使用了未定义的 configRootPath(在 GameConfigBootstrapOptions 的
RootPath 字段),请把示例改为自包含:在展示 GameConfigBootstrap / GameConfigBootstrapOptions
前添加一行定义 configRootPath(例如从应用目录拼接出配置根目录),或直接将 RootPath 改为内联构造路径的表达式;确保保留
ConfigureLoader = static loader => loader.RegisterAllGeneratedConfigTables()
以便读者能直接复制运行。

---

Outside diff comments:
In `@docs/zh-CN/source-generators/cqrs-handler-registry-generator.md`:
- Around line 84-93: 在第 6 条“若存在 CqrsReflectionFallbackAttribute,只补扫剩余
handler”后面补一句条件说明以避免矛盾:明确说明该行为取决于 fallback 元数据是否为空或是否包含具体 Type/类型名(例如:“仅当
fallback 元数据包含具体 Type/类型名时只补扫剩余 handler;若元数据为空或仅作
marker,则回退到对整个程序集的补扫”)。在文档中定位并更新 CqrsReflectionFallbackAttribute
相关的句子以加入此条件描述,保持表述简洁并与后文关于空/marker 语义的说明一致。

---

Nitpick comments:
In
`@ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md`:
- Around line 58-80: "最新验证" 部分现在以多条命令+结果的逐项清单形式冗长;请将该段(标题 "最新验证"
下的多条条目)压缩为一段简短的“本轮关键验证结论”,例如:1) 两篇 source-generators 页面
frontmatter/链接/代码块校验通过,2) 站点构建通过(保留大 chunk warning),3) PR `#308` 的 re-fetch
校验通过并列出 latest commit id 简短摘录;把原有的逐条命令与详细输出移到已存在的历史归档并在该段中添加到归档的引用链接。定位提示:编辑标识为
"最新验证" 的段落,关注出现的脚本名 validate-all.sh、bun run build、python3
.agents/skills/gframework-pr-review/scripts/fetch_current_pr_review.py 和提到的
PR/commit(#308 / 4fdb1e7398e4f114757b5c988698af203dce24c8)以完成压缩与归档链接替换。
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 98ac4030-69c2-44b5-b8a1-b5480168e933

📥 Commits

Reviewing files that changed from the base of the PR and between 4fdb1e7 and 896e3ef.

📒 Files selected for processing (4)
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (6)
docs/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
{README.md,docs/**}

📄 CodeRabbit inference engine (AGENTS.md)

{README.md,docs/**}: Update the relevant README.md or docs/ page when behavior, setup steps, architecture guidance, or user-facing examples change
Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes
Public documentation MUST use semantic section titles and link labels; do not surface raw filenames or paths as reader-facing navigation text when a meaningful destination label is available
Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'
Public documentation MUST present limitations, suitability, and migration boundaries as adoption guidance; do not publish internal-governance or product-roadmap wording
Keep code samples, package names, and command examples aligned with the current repository state in documentation
Prefer documenting behavior and design intent, not only API surface in user documentation
When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology
If an existing documentation page no longer reflects the current implementation, fixing the code without fixing the documentation is considered incomplete work
Do not rely on 'the code is self-explanatory' for framework features that consumers need to adopt; write the adoption path down so future users do not need to rediscover it from source
When examples are rewritten, preserve only the parts that remain true; delete or replace speculative examples instead of lightly editing them into another inaccurate form

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
docs/zh-CN/**

📄 CodeRabbit inference engine (AGENTS.md)

docs/zh-CN/**: When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in docs/zh-CN/ in the same change
For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
docs/**

📄 CodeRabbit inference engine (AGENTS.md)

If a docs category appears in VitePress navigation or sidebar, it MUST have a real landing page or be removed from navigation in the same change

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
ai-plan/public/*/traces/**

📄 CodeRabbit inference engine (AGENTS.md)

Contributors MUST maintain a matching execution trace under ai-plan/public/<topic>/traces/ for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
ai-plan/public/*/todos/**

📄 CodeRabbit inference engine (AGENTS.md)

ai-plan/public/*/todos/**: When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under ai-plan/public/<topic>/todos/ in the same change
Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point
Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for boot to locate the current recovery point quickly
Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely
When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active todos/ and traces/ entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files
When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off
If subagents are used on a complex task, the main agent MUST capture the delegated scope and any accepted findings in the active recovery document or trace before continuing implementation

Files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
🧠 Learnings (27)
📓 Common learnings
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes
📚 Learning: 2026-04-17T11:35:08.762Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-04-17T11:35:08.762Z
Learning: Applies to **/*{Startup,Init,Register,Setup,Configure}*.cs : CQRS handler registration should use generated products from CqrsHandlerRegistryGenerator at runtime, falling back to reflection scanning when generation cannot cover cases; explicitly register handlers from non-default assemblies using RegisterCqrsHandlersFromAssembly(...) or RegisterCqrsHandlersFromAssemblies(...)

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Source generator changes MUST be covered by generator tests

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : When generator behavior changes intentionally, update snapshots together with the implementation

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Generated logic and generator pipelines MUST explain what is generated, why it is generated, semantic assumptions, and diagnostics or fallback behavior

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Any change to public API, lifecycle semantics, module behavior, or extension points MUST update the related XML docs

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/traces/** : Contributors MUST maintain a matching execution trace under `ai-plan/public/<topic>/traces/` for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for `boot` to locate the current recovery point quickly

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: For any multi-step refactor, migration, or cross-module task, contributors MUST create or adopt a dedicated recovery document under `ai-plan/public/<topic>/todos/` before making substantive code changes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active `todos/` and `traces/` entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under `ai-plan/public/<topic>/todos/` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : If subagents are used on a complex task, the main agent MUST capture the delegated scope and any accepted findings in the active recovery document or trace before continuing implementation

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Governance-only material such as XML audit snapshots, documentation remediation baselines, backlog status, and recovery metadata belongs in `ai-plan/**`, not in public docs

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/README.md : When a worktree-to-topic mapping changes, or when a topic becomes active/inactive, contributors MUST update `ai-plan/public/README.md` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-17T11:35:08.762Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-04-17T11:35:08.762Z
Learning: Applies to docs/**/*.md : Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/README.md : A module README MUST describe: the module's purpose, relationship to adjacent runtime/abstractions/generator packages, major subdirectories or subsystems, minimum adoption path, and corresponding `docs/zh-CN/` entry points

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Do not rely on 'the code is self-explanatory' for framework features that consumers need to adopt; write the adoption path down so future users do not need to rediscover it from source

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST present limitations, suitability, and migration boundaries as adoption guidance; do not publish internal-governance or product-roadmap wording

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST use semantic section titles and link labels; do not surface raw filenames or paths as reader-facing navigation text when a meaningful destination label is available

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
🪛 LanguageTool
docs/zh-CN/source-generators/cqrs-handler-registry-generator.md

[uncategorized] ~132-~132: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...lback 的结果 ## 生成策略层级 把这个生成器理解成“静态注册 or 整程序集扫描”的二选一,会低估它的收益。当前策略实际上分成四层: 1. 直接静态注册...

(wa5)


[uncategorized] ~145-~145: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...路径前移到编译期,再对少数复杂类型做定向补扫。 ## 哪些场景通常不会直接退回整程序集扫描 下列类型形态经常仍然能保留精细化注册,而不是立刻退回整程序集盲扫: ...

(wa5)


[uncategorized] ~169-~169: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...lectionFallbackAttribute` 出现也不等于“运行时一定回到整程序集扫描”。只有 fallback 元数据为空、或旧版只保留 marker 语义时...

(wa5)


[uncategorized] ~169-~169: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...ack 元数据为空、或旧版只保留 marker 语义时,runtime 才会退回整程序集补扫;当元数据里已经带了具体 Type 或类型名时,runtime 会优先...

(wa5)

ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md

[uncategorized] ~31-~31: 您的意思是“"不"出”?
Context: ...I 参考层级的已验证入口。 - source-generators 栏目已经补出 Schema 配置生成器 专题页,并把 `Game.SourceGene...

(BU)

docs/zh-CN/source-generators/schema-config-generator.md

[uncategorized] ~183-~183: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:稳妥"地"回
Context: ... 阶段,而不是继续复制生成器会维护的样板代码。 如果你需要分批迁移,当前更稳妥的回退方式是只回退注册入口,而不是同时回退 schema 结构: - 可以先让一...

(wb4)

🔇 Additional comments (5)
docs/zh-CN/source-generators/cqrs-handler-registry-generator.md (3)

94-98: LGTM:测试入口链接已使用语义化文本,符合公开文档导航规范。

Line 95-98 的两处链接文本是“运行时注册流程测试 / 生成器行为测试”,没有把原始文件路径当作读者可见导航文本暴露出来;与项目文档规范一致。


130-143: LGTM:四层“生成策略层级”与代码侧建模思路一致,解释到位。

“生成策略层级”的 Line 132-142 以四层拆解(直接静态注册、实现类型定向反射查找、service type 精确 lookup、程序集级 fallback 元数据),与代码中对 handler candidate 的分层信息结构(直接/反射实现/精确反射/fallback 元数据)在概念上是对齐的。


169-170: LGTM:fallback 边界的“空元数据/marker-only vs 含 Type/类型名”条件表达清晰。

Line 169-170 明确了 runtime 何时会退回整程序集补扫、何时会基于已有 Type/类型名做定向补扫;这也能支撑你前文对“并非总是盲扫整程序集”的主张。

docs/zh-CN/source-generators/schema-config-generator.md (2)

202-206: LGTM:测试入口链接语义化,读者体验与文档规范一致。

Line 203-206 的“Schema 生成器行为测试 / 生成结果快照测试”均为语义标签,且链接目标指向测试源码文件;不会把原始路径当成导航文案暴露给读者。


42-44: 原文档语句已验证准确,无需修改。

通过仓库内 GFramework.Game.SourceGenerators/GeWuYou.GFramework.Game.SourceGenerators.targets 的实现确认,第 42-44 行的陈述准确无误。.targets 文件通过 MSBuild 条件 <ItemGroup Condition="Exists('$(MSBuildProjectDirectory)/$(GFrameworkConfigSchemaDirectory)')"> 和条目 <AdditionalFiles Include="$(MSBuildProjectDirectory)/$(GFrameworkConfigSchemaDirectory)/**/*.schema.json"/> 自动将 schemas/**/*.schema.json 纳入 AdditionalFiles;同时通过属性 <GFrameworkConfigSchemaDirectory Condition="'$(GFrameworkConfigSchemaDirectory)' == ''">schemas</GFrameworkConfigSchemaDirectory> 默认指向 schemas 目录。文档已正确说明了默认行为及覆盖机制。

Comment thread docs/zh-CN/source-generators/schema-config-generator.md
- 更新 source-generators 文档中的 fallback 条件说明与自包含运行时示例

- 压缩 documentation-full-coverage-governance active tracking 的验证摘要并同步最新 PR 审查事实

- 补充 active trace 的显式风险记录与本轮验证结论
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2247 2247 0 0 0 0 37.4s    ↑676ms

Test Results

passed 2247 passed

Details

tests 2247 tests
clock 37.4s ↑676ms
tool nunit
build CI - Build & Test arrow-right build-and-test link #1033
pull-request Docs/sdk update documentation link #308

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2159 0 0 4.7s

build-and-test: Run #1033

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
2247 2247 0 0 0 0 0 37.4s

🎉 All tests passed!

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
SendRequestAsync_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 43 3.7s 4.7s
CreateStream_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 5 4.0s 4.3s
Does_Not_Report_When_FieldInjectedModel_Is_Registered 43 2.3s 2.7s
Generates_Scene_Behavior_Boilerplate 43 2.0s 2.0s
CleanupDuringAcquire_Should_NotCauseRaceCondition 43 1.1s 1.1s
Append_ShouldNotBlock 43 1.0s 1.0s
Context_Caching_Should_Improve_Performance 43 796ms 799ms
PendingCount_ShouldReflectQueuedEntries 43 501ms 501ms
Cleanup_Should_NotRemoveActiveLocks 43 404ms 406ms
Cleanup_Should_RemoveUnusedLocks 43 401ms 402ms

± Comparison with run #1032 at 9b7e675 | 🎉 No failed tests detected across all runs. | 🍂 No flaky tests detected across all runs. | ⏱️ Measured over 43 runs.

Github Test Reporter by CTRF 💚

@GeWuYou
Copy link
Copy Markdown
Owner Author

GeWuYou commented May 1, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 1, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md`:
- Around line 61-64: 当前记录中 RP-055 的验证结论(涉及 PR `#308` 和 commit
896e3efaa9c7496043fdaeee4dceff3d0e46b318)错误地指向了归档“RP-049 到
RP-052”,请修改位于该验证段落下的引用:要么删除多余的三条归档引用,要么将它们替换为指向 RP-055
的实际验证追踪(documentation-full-coverage-governance-trace.md 中 RP-055
验证段落),确保摘要段落只引用与 RP-055 相关的 trace/validation 文件或不再包含错误的归档链接。

In `@docs/zh-CN/source-generators/schema-config-generator.md`:
- Line 185: 将句子中的“更稳妥的回退方式是只回退注册入口,而不是同时回退 schema
结构:”修改为更自然的表达“更稳妥地回退是只回退注册入口,而不是同时回退 schema
结构:”,即替换“更稳妥的回退方式”为“更稳妥地回退”,以改善语感;在文档段落中查找原句并直接替换该短语(参考原句文本以定位修改处)。
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e376d18e-0328-4007-95a7-f8757886f657

📥 Commits

Reviewing files that changed from the base of the PR and between 896e3ef and 00ecf6f.

📒 Files selected for processing (4)
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (6)
ai-plan/public/*/traces/**

📄 CodeRabbit inference engine (AGENTS.md)

Contributors MUST maintain a matching execution trace under ai-plan/public/<topic>/traces/ for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
ai-plan/public/*/todos/**

📄 CodeRabbit inference engine (AGENTS.md)

ai-plan/public/*/todos/**: When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under ai-plan/public/<topic>/todos/ in the same change
Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point
Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for boot to locate the current recovery point quickly
Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely
When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active todos/ and traces/ entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files
When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off
If subagents are used on a complex task, the main agent MUST capture the delegated scope and any accepted findings in the active recovery document or trace before continuing implementation

Files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
docs/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
{README.md,docs/**}

📄 CodeRabbit inference engine (AGENTS.md)

{README.md,docs/**}: Update the relevant README.md or docs/ page when behavior, setup steps, architecture guidance, or user-facing examples change
Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes
Public documentation MUST use semantic section titles and link labels; do not surface raw filenames or paths as reader-facing navigation text when a meaningful destination label is available
Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'
Public documentation MUST present limitations, suitability, and migration boundaries as adoption guidance; do not publish internal-governance or product-roadmap wording
Keep code samples, package names, and command examples aligned with the current repository state in documentation
Prefer documenting behavior and design intent, not only API surface in user documentation
When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology
If an existing documentation page no longer reflects the current implementation, fixing the code without fixing the documentation is considered incomplete work
Do not rely on 'the code is self-explanatory' for framework features that consumers need to adopt; write the adoption path down so future users do not need to rediscover it from source
When examples are rewritten, preserve only the parts that remain true; delete or replace speculative examples instead of lightly editing them into another inaccurate form

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
docs/zh-CN/**

📄 CodeRabbit inference engine (AGENTS.md)

docs/zh-CN/**: When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in docs/zh-CN/ in the same change
For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
docs/**

📄 CodeRabbit inference engine (AGENTS.md)

If a docs category appears in VitePress navigation or sidebar, it MUST have a real landing page or be removed from navigation in the same change

Files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
  • docs/zh-CN/source-generators/schema-config-generator.md
🧠 Learnings (25)
📓 Common learnings
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/traces/** : Contributors MUST maintain a matching execution trace under `ai-plan/public/<topic>/traces/` for complex work, recording the current date, key decisions, validation milestones, and the immediate next step

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When a task spans multiple commits or is likely to exceed a single agent context window, update both the recovery document and the trace at each meaningful milestone before pausing or handing work off

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active `todos/` and `traces/` entry files in the same change, keeping only the current recovery point, active facts, active risks, immediate next step, and pointers to archive files

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Tracking updates MUST reflect completed work, newly discovered issues, validation results, and the next recommended recovery point

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for `boot` to locate the current recovery point quickly

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under `ai-plan/public/<topic>/todos/` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: For any multi-step refactor, migration, or cross-module task, contributors MUST create or adopt a dedicated recovery document under `ai-plan/public/<topic>/todos/` before making substantive code changes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : If subagents are used on a complex task, the main agent MUST capture the delegated scope and any accepted findings in the active recovery document or trace before continuing implementation

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to ai-plan/public/*/todos/** : Recovery documents MUST record the current phase, the active recovery point identifier, known risks, and the next recommended resume step so another contributor or subagent can continue the work safely

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST NOT include governance-only content such as inventory tables, coverage baselines, review queues, batch metrics, recovery points, trace summaries, or 'this still needs a later audit wave' notes

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md
  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Governance-only material such as XML audit snapshots, documentation remediation baselines, backlog status, and recovery metadata belongs in `ai-plan/**`, not in public docs

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : When a feature is added, removed, renamed, or substantially refactored, contributors MUST update or create the corresponding user-facing integration documentation in `docs/zh-CN/` in the same change

Applied to files:

  • ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md
  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-17T11:35:08.762Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-04-17T11:35:08.762Z
Learning: Applies to **/*{Startup,Init,Register,Setup,Configure}*.cs : CQRS handler registration should use generated products from CqrsHandlerRegistryGenerator at runtime, falling back to reflection scanning when generation cannot cover cases; explicitly register handlers from non-default assemblies using RegisterCqrsHandlersFromAssembly(...) or RegisterCqrsHandlersFromAssemblies(...)

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : When generator behavior changes intentionally, update snapshots together with the implementation

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Generated logic and generator pipelines MUST explain what is generated, why it is generated, semantic assumptions, and diagnostics or fallback behavior

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/*.cs : Source generator changes MUST be covered by generator tests

Applied to files:

  • docs/zh-CN/source-generators/cqrs-handler-registry-generator.md
📚 Learning: 2026-04-17T11:35:08.762Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-04-17T11:35:08.762Z
Learning: Applies to docs/**/*.md : Documentation should be organized with Chinese content in docs/zh-CN/ and structured to include getting started, module-specific capabilities (Core, Game, Godot, ECS), source generator usage, tutorials, best practices, and troubleshooting

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to docs/zh-CN/** : For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to **/README.md : A module README MUST describe: the module's purpose, relationship to adjacent runtime/abstractions/generator packages, major subdirectories or subsystems, minimum adoption path, and corresponding `docs/zh-CN/` entry points

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST avoid rhetorical, self-referential, or AI-sounding headings and prompts; prefer neutral labels like '公开入口'、'模块与包关系'、'栏目覆盖范围' and '相关主题'

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Do not rely on 'the code is self-explanatory' for framework features that consumers need to adopt; write the adoption path down so future users do not need to rediscover it from source

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST present limitations, suitability, and migration boundaries as adoption guidance; do not publish internal-governance or product-roadmap wording

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : When a public page references XML docs or API coverage, convert that evidence into reader-facing guidance by explaining which types/namespaces/entry points readers should inspect and why, instead of exposing audit counts or governance terminology

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
📚 Learning: 2026-04-26T03:16:48.230Z
Learnt from: CR
Repo: GeWuYou/GFramework PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-04-26T03:16:48.230Z
Learning: Applies to {README.md,docs/**} : Public documentation MUST use semantic section titles and link labels; do not surface raw filenames or paths as reader-facing navigation text when a meaningful destination label is available

Applied to files:

  • docs/zh-CN/source-generators/schema-config-generator.md
🪛 LanguageTool
docs/zh-CN/source-generators/cqrs-handler-registry-generator.md

[uncategorized] ~91-~91: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...类型名补扫剩余 handler;若元数据为空或只保留 marker 语义,则退回整程序集补扫 7. 同一程序集按稳定键去重,避免重复注册 这个行为由 [运行时注册流...

(wa5)


[uncategorized] ~132-~132: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...lback 的结果 ## 生成策略层级 把这个生成器理解成“静态注册 or 整程序集扫描”的二选一,会低估它的收益。当前策略实际上分成四层: 1. 直接静态注册...

(wa5)


[uncategorized] ~145-~145: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...路径前移到编译期,再对少数复杂类型做定向补扫。 ## 哪些场景通常不会直接退回整程序集扫描 下列类型形态经常仍然能保留精细化注册,而不是立刻退回整程序集盲扫: ...

(wa5)


[uncategorized] ~169-~169: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...lectionFallbackAttribute` 出现也不等于“运行时一定回到整程序集扫描”。只有 fallback 元数据为空、或旧版只保留 marker 语义时...

(wa5)


[uncategorized] ~169-~169: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...ack 元数据为空、或旧版只保留 marker 语义时,runtime 才会退回整程序集补扫;当元数据里已经带了具体 Type 或类型名时,runtime 会优先...

(wa5)

docs/zh-CN/source-generators/schema-config-generator.md

[uncategorized] ~185-~185: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:稳妥"地"回
Context: ... 阶段,而不是继续复制生成器会维护的样板代码。 如果你需要分批迁移,当前更稳妥的回退方式是只回退注册入口,而不是同时回退 schema 结构: - 可以先让一...

(wb4)

🔇 Additional comments (4)
docs/zh-CN/source-generators/schema-config-generator.md (1)

170-190: 迁移与兼容性章节完整度很好。

这一段把迁移步骤、兼容边界和回退策略拆分得很清楚,适合读者按步骤落地。

Based on learnings "For integration-oriented features such as the AI-First config system, documentation MUST cover: project directory layout and file conventions, required project or package wiring, minimal working usage example, and migration or compatibility notes".

docs/zh-CN/source-generators/cqrs-handler-registry-generator.md (1)

91-92: fallback 行为说明这次补得很到位。

“定向补扫优先、元数据为空才整程序集补扫”的边界,以及四层生成策略解释都很清晰,能显著降低误解成本。

Also applies to: 130-170

ai-plan/public/documentation-full-coverage-governance/traces/documentation-full-coverage-governance-trace.md (1)

3-51: LGTM! 追踪文档结构符合恢复点要求。

文件已成功解决之前的审查意见,当前结构清晰:

  • 显式记录了 RP-055 的恢复点、决策、风险与验证
  • 已将 RP-049~RP-052 的历史细节归档并保留指针
  • 保持了足够简洁以便快速定位当前恢复点
  • 验证命令(lines 25-34)为当前检查点提供了可复现性

As per coding guidelines "Contributors MUST maintain a matching execution trace...recording the current date, key decisions, validation milestones, and the immediate next step" 与 "Active tracking and trace files are recovery entrypoints, not append-only changelogs; they MUST stay concise enough for boot to locate the current recovery point quickly"。

ai-plan/public/documentation-full-coverage-governance/todos/documentation-full-coverage-governance-tracking.md (1)

3-70: 整体结构符合追踪文档要求。

文件已成功处理之前的审查建议:

  • 将 RP-049~RP-052 的详细验证与状态迁入归档(Lines 44-57 提供完整指针)
  • 保持当前恢复点 RP-055 的事实、风险与下一步清晰可见
  • "当前恢复点"章节虽有 9 个事实点(Lines 17-24),但都是当前 PR 状态的必要信息,非历史堆积

唯一问题是 Line 62-64 的验证引用指向已在另一条评论中标记。

As per coding guidelines "When working from a tracked implementation plan, contributors MUST update the corresponding tracking document under ai-plan/public/<topic>/todos/ in the same change" 与 "When completed and validated stages begin to accumulate, contributors MUST archive their detailed history out of the active todos/ and traces/ entry files in the same change"。

Comment thread docs/zh-CN/source-generators/schema-config-generator.md Outdated
- 更新 schema-config-generator 文案并同步 PR review 最新建议

- 修复 documentation-full-coverage-governance active tracking 的 RP-055 验证引用与审查事实

- 更新 active trace 的 latest reviewed commit、线程结论与验证摘要
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2247 2247 0 0 0 0 35.5s    ↓1.8s

Test Results

passed 2247 passed

Details

tests 2247 tests
clock 35.5s ↓1.8s
tool nunit
build CI - Build & Test arrow-right build-and-test link #1034
pull-request Docs/sdk update documentation link #308

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2161 0 0 4.7s

build-and-test: Run #1034

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
2247 2247 0 0 0 0 0 35.5s

🎉 All tests passed!

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
SendRequestAsync_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 44 3.6s 4.7s
CreateStream_Should_ResolveCqrsRuntime_OnlyOnce_When_AccessedConcurrently 6 3.9s 4.3s
Does_Not_Report_When_FieldInjectedModel_Is_Registered 44 2.3s 2.7s
Generates_Scene_Behavior_Boilerplate 44 2.0s 2.0s
CleanupDuringAcquire_Should_NotCauseRaceCondition 44 1.1s 1.1s
Append_ShouldNotBlock 44 1.0s 1.0s
Context_Caching_Should_Improve_Performance 44 796ms 799ms
PendingCount_ShouldReflectQueuedEntries 44 501ms 501ms
Cleanup_Should_NotRemoveActiveLocks 44 404ms 406ms
Cleanup_Should_RemoveUnusedLocks 44 401ms 402ms

± Comparison with run #1033 at fe41c78 | 🎉 No failed tests detected across all runs. | 🍂 No flaky tests detected across all runs. | ⏱️ Measured over 44 runs.

Github Test Reporter by CTRF 💚

@GeWuYou
Copy link
Copy Markdown
Owner Author

GeWuYou commented May 1, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 1, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@GeWuYou
Copy link
Copy Markdown
Owner Author

GeWuYou commented May 1, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 1, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@GeWuYou GeWuYou merged commit a1b3576 into main May 1, 2026
7 checks passed
@GeWuYou GeWuYou deleted the docs/sdk-update-documentation branch May 1, 2026 13:58
@coderabbitai coderabbitai Bot mentioned this pull request May 8, 2026
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.

1 participant