Route skill/workflow improvement notes to Skill Evolution Advisor - #35
Open
caozx1110 wants to merge 1 commit into
Open
Route skill/workflow improvement notes to Skill Evolution Advisor#35caozx1110 wants to merge 1 commit into
caozx1110 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adjusts the research routing contract so explicit “skill/workflow improvement notes” are routed to skill-evolution-advisor (and generic discussion hints are suppressed), while explicit research-route discussion archiving remains owned by discussion-archivist; composed requests are intended to preserve both owners and require an ordered research-orchestrator route decision.
Changes:
- Extend
research-orchestratorroute hinting to detect bounded skill/workflow improvement phrases and suppress generic讨论/discussionhits when that meta-workflow intent is present. - Update discoverable metadata/prompts and SKILL docs for
skill-evolution-advisor,discussion-archivist, andresearch-orchestratorto align with the new routing boundary. - Add regression tests covering direct, suppressed, negative, and composed routing cases.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/test_skill_metadata.py | Adds assertions to ensure meta-skill prompts expose complementary routing boundaries. |
| tests/test_orchestrator_route_hints.py | Adds routing regression cases for skill/workflow improvement, suppression, negative optimization, explicit route-discussion, and composed intents. |
| skills/skill-evolution-advisor/SKILL.md | Updates description and adds an explicit trigger boundary section clarifying scope and non-goals. |
| skills/skill-evolution-advisor/agents/openai.yaml | Updates short description and default prompt to match the new boundary. |
| skills/research-orchestrator/SKILL.md | Clarifies that explicit skill/workflow improvement belongs to evolution advisor and composed cases require ordered decisions. |
| skills/research-orchestrator/scripts/orchestrate.py | Implements meta-workflow regex matching, explicit-discussion hint set, and suppression logic updates. |
| skills/research-orchestrator/agents/openai.yaml | Updates prompt to emphasize ordered route decisions for composed/ambiguous requests. |
| skills/metadata.yaml | Updates discoverable catalog prompts for the three relevant skills to reflect the new routing contract. |
| skills/discussion-archivist/SKILL.md | Updates description and adds a trigger boundary section explicitly excluding skill/workflow improvement notes. |
| skills/discussion-archivist/agents/openai.yaml | Updates short description and default prompt to align with the revised boundary. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+328
to
+330
| explicit_discussion_present = any( | ||
| hint in lower for hint in ROUTE_EXPLICIT_DISCUSSION_HINTS | ||
| ) |
Comment on lines
+149
to
+152
| ( | ||
| "先记录 skill 优化项,再归档研究路线讨论", | ||
| "record this skill improvement candidate, then archive the research-route discussion", | ||
| ), |
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.
References / 关联
2eed117a76c326d24dd3402f104b2ee5a71554d67f95f29f2ca97c263b2993c2c6d03d542e7537f8codex/issue-32-route-skill-optimizationOutcome
明确的 skill/workflow 优化记录请求会交给
skill-evolution-advisor,不再被泛化的“讨论 / discussion”单独吞掉;如果同一请求还独立要求归档研究路线讨论,snapshot 保留两个 owner 并要求research-orchestrator形成有依赖顺序的 route decision。Scope / Non-goals
Scope
Non-goals
kb动词。Implementation / 实现摘要
research-orchestrator仅在skill/技能/workflow/工作流与改进语义成对出现,或出现明确“流程问题/摩擦”时加入 evolution owner。讨论/discussion会被标记为 suppressed;研究路线讨论及英文对应表达仍保留 discussion owner。SKILL.md使用互补正/负边界;skill defect/candidate 仍是 record-only。并行 track 集成
N/A;单一 branch、单一 integrator、单一 commit。
Validation / 验收证据
35 passedpytest tests -q:2534 passed, 18 skipped, 5 warnings测试与 CI
Candidate-head Actions run / SHA:run 31128458272, 3/3 success /
7f95f29f2ca97c263b2993c2c6d03d542e7537f8PR merge-candidate Actions run / base SHA:run 31129601298, 3/3 success /
2eed117a76c326d24dd3402f104b2ee5a71554d6Full/target test summary:full
2534 passed, 18 skipped, 5 warnings; focused35 passed; expanded owner/docs/pure-reader41 passedStatic gates:metadata byte-current、15-skill validator、rule-token、compileall、
bash -n install.sh、changed CLI help、git diff --check均通过Cold acceptance:PASS;空临时 workspace 零写入
相关定向测试通过
完整本地门禁通过
Current-base tested-merge Actions 通过
承重 bug 已在 baseline 复现并由回归固定
Risks / 安全、治理与数据边界
kb/未读取或修改;验收使用隔离临时目录Documentation, migration, rollback, and Known limits / 文档、迁移与回滚
docs/DESIGN.md/ ADR / schema / 用户文档 / CHANGELOG:无需修改;这是既有 owner 合同内的局部路由修复,触发边界已在三个SKILL.md与 metadata 同步。人类 review gate
合并后收尾(merge 后填写)