Skip to content

feat(instructions): 支持项目指令覆盖文件与隐藏目录指令 - #435

Merged
Qiyuanqiii merged 3 commits into
mainfrom
Qiyuanqiii/instruction-overrides
Oct 23, 2026
Merged

Qiyuanqiii merged 3 commits into
mainfrom
Qiyuanqiii/instruction-overrides

Conversation

@Qiyuanqiii

Copy link
Copy Markdown
Member

项目中的覆盖指令和隐藏目录指令此前不会被加载。现在每级目录优先采用非空 AGENTS.override.md,缺失、空白或显式忽略时回退到 AGENTS.md,并读取 .claude/CLAUDE.md。保留来源说明、项目边界、内容校验及已固定任务的确认刷新流程。

验证:go test ./internal/projectconfig -count=1 通过;实际 Provider 投递、快照刷新/重开和上下文压力下投递的 application 聚焦测试通过。Windows junction 拒绝用例通过;本机无符号链接权限,三个 symlink 子用例跳过,交由 CI 的其他平台执行。

基于 #434,便于分别审阅与合并;本 PR 无界面改动。

@Qiyuanqiii
Qiyuanqiii changed the base branch from Qiyuanqiii/runtime-security-october to main October 22, 2026 02:43
@Qiyuanqiii
Qiyuanqiii merged commit d9f4e16 into main Oct 23, 2026
20 of 33 checks passed
@Qiyuanqiii
Qiyuanqiii deleted the Qiyuanqiii/instruction-overrides branch October 23, 2026 17:02
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