[pull] main from claude-code-best:main#3
Merged
Conversation
添加 5 篇文档揭示 Claude Code 的三层功能门禁系统: - 构建时 88+ feature flags 分类全解 - GrowthBook 运行时 A/B 测试体系与 tengu_* 命名文化 - KAIROS/PROACTIVE/BRIDGE 等 8 大未公开功能深度分析 - Ant 身份门控下的专属工具、命令与 Beta API Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
isKairosCronEnabled() 依赖 feature('AGENT_TRIGGERS'),在反编译版本中
feature() 始终返回 false,导致 /loop skill 被禁用。简化为仅检查
CLAUDE_CODE_DISABLE_CRON 环境变量。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
上次提交仅移除了 isKairosCronEnabled 中的 gate,但 /loop 整条链路
仍被 feature('AGENT_TRIGGERS') 拦截导致无法使用:
- skills/bundled/index.ts: registerLoopSkill() 未被调用
- tools.ts: CronCreate/Delete/List 工具未加载
- constants/tools.ts: cron 工具名未加入 teammate 工具列表
- screens/REPL.tsx: useScheduledTasks hook 被跳过
- cli/print.ts: pipe 模式 cron 调度器未初始化
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Gates 是 Anthropic 内部组件,反编译版本中不存在,运行时引用导致 ReferenceError。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
execa 新版将 signal 选项重命名为 cancelSignal,导致 execFileNoThrowWithCwd 调用 git ls-files 时抛出 TypeError,文件索引始终为空。同时改进了 FileIndex 的模糊匹配算法,从多个词边界起始位置评分取最优,提升搜索排名质量。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )