会话实测优化——规则聚合计数/java_project executable/scope 加固 - #42
Merged
Merged
Conversation
基于 opencode-java-sdk 六分支发布实测的后续优化: - gate_lib:新增 _rule_summary() 聚合 lint 规则计数(AI 被截断后 一次看到问题全集与规模,不再 whack-a-mole 逐个修) - pre_tool_git_guard:gate_directive 传入 project_root(供日志/决策) - java_project:plan 顶层暴露 executable 键——门禁消费者直接读取 用于 mvn→./mvnw 替换(POM 4.1.0 场景) - scope:新增 is_git_repo 工具函数 + full_excludes 泛化改进 测试 248 个全绿。codeguard skipGate 已获用户明确指令启用。
…skip_event 审计明细增强 - JavaExecutableContractTest 夹具补 groupId/artifactId/version/packaging—— 不完整 pom 会让 _maven 在 wrapper 判定前就抛"缺少 artifactId", 契约测试恒 UNVERIFIED 无法到达 executable 断言 - record_skip_event 增加可选 detail 参数:skipGate-read-error 与 monorepo-fallback 事件记录具体原因(豁免/跳过必须可回溯到"哪个仓、 什么时候、为什么");resolve_project_roots 回退路径同步传 None lanes - 测试断言消息附带 plan reasons(失败时直接看到判定依据)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
基于 opencode-java-sdk 六分支发布实测。测试 248 全绿。