feat(kernel): setup-control-tool - #124
Merged
Merged
Conversation
…AUTHORIZED spec §2.2:基于 ctx.agent + session 父子链判定调用者; 无 parentID → primary,子会话按 agent 名映射,未知 agent 保守视为 reviewer。 为批 7 setup_control 及后续工具的 caller 门禁提供基础。
- probe:readiness 报告(development-ready / release-ready,PRD R10) - generateWorkflows:缺失时生成 CI/release 草案(技术栈无关, 不硬编码包管理器)+ chore/setup-workflows 分支/commit/push/Setup PR - confirmProjectProfile:mutex 串行读改写回 AGENTS.md Profile 区块(§9.3) - 沿用 records.ts 的 executor 注入模式便于测试
三 op:probe / generate-workflows / confirm-profile,caller=primary。 按任务约定不在 server.ts 注册(避免与批 8-11 接线冲突), 提供 registerSetupControl 供后续批次统一接线(§2.3)。
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.
setup-control-tool
src/kernel/caller.ts— requireCaller 校验原语(ctx.agent + session 父子链)src/kernel/setup.ts— probe(readiness 报告)、generateWorkflows(CI/release 草案,技术栈无关)、confirmProjectProfile(写回 AGENTS.md)src/plugin/setup-control.ts— setup_control 工具工厂 + registerSetupControl(未接线,避免 server.ts 冲突)Closes #106