yhangf
cbf88c14ca
refactor(agents): remove English description from StrictSpec whenToUse
2026-04-20 15:57:51 +08:00
yhangf
d74321180f
feat(costrict): enable StrictSpec workflow and refine strict skills
2026-04-20 15:17:36 +08:00
xixingde
b58f5b72b0
feat(agents): restrict Agent tool to specific sub-agents and add allowedTools to skills
2026-04-16 10:37:38 +08:00
xixingde
1e1d32205d
Merge branch 'dev' of https://github.com/y574444354/csc into dev
2026-04-16 09:43:10 +08:00
xixingde
28b0ecfaf2
fix(agents): remove isMainThread flag and update agent descriptions and tool restrictions
2026-04-15 22:27:50 +08:00
yhangf
0b11d6e215
fix(agents): change QuickExplore hierarchy level from L2 to L1
2026-04-15 16:37:00 +08:00
yhangf
316f306b99
refactor(agents): streamline agent system prompts
2026-04-15 16:25:40 +08:00
xixingde
75c510cb9d
feat(agents): add visibleTo access control and orchestrator agents for TDD/Wiki workflows
...
- Add `visibleTo` field to `BaseAgentDefinition` to restrict agent visibility to specific parent agent types
- Filter agents with `visibleTo` restrictions from wildcard agent lists in prompt generation
- Add new `TDD_AGENT` and `WIKI_AGENT` orchestrator agents as entry points for TDD and Wiki workflows
- Register `WIKI_AGENT` in built-in agents list with workflow grouping comments
- Mark all TDD sub-agents (`TddRunAndFix`, `TddTestAndFix`, `TddTestDesign`, `TddTestPrepare`) as `visibleTo: ['TDD']`
- Mark all Wiki sub-agents (`WikiProjectAnalyze`, `WikiCatalogueDesign`, `WikiDocumentGenerate`, `WikiIndexGeneration`) as `visibleTo: ['WIKI']`
- Mark workflow-specific agents (`DesignAgent`, `QuickExplore`, `Requirement`, `SubCoding`, `TaskCheck`, `TaskPlan`, `StrictSpec`) with appropriate `visibleTo` restrictions
- Refactor `strict-project-wiki` and `strict-test` skills to delegate directly to orchestrator agents via `context: 'fork'`
- Remove stale package-level node_modules symlinks
2026-04-15 15:49:28 +08:00
xixingde
05c8fe9589
Merge branch 'main' into dev
2026-04-15 10:19:12 +08:00
Ubuntu
88e2ce1e70
refactor: 重构 provider、agents、status 及相关工具模块
2026-04-14 14:21:21 +00:00
xixingde
3eb909567a
feat(agents): restrict Agent tool to specific sub-agents in strictPlan and strictSpec
2026-04-14 14:10:19 +08:00
yhangf
70dda49946
feat(costrict): add strict-spec skill and rename skill/ to skills/
2026-04-11 11:11:49 +08:00
yhf
8cb9343adf
Merge branch 'y574444354:main' into main
2026-04-11 09:21:34 +08:00
y574444354
6f233a6586
feat(costrict): add depthGuard agent and refine strictPlan/strictSpec workflow
...
- Add depthGuard agent for depth-limiting sub-agent orchestration
- Update strictPlan/strictSpec agents with improved task handling
- Refresh builtin skill registry
- Update builtInAgents with depthGuard integration
- Add nested-agent design docs and user guide
- Update README_EN with project documentation
2026-04-10 21:42:53 +08:00
yhangf
8258d9be59
fix(agents): normalize tool name references in built-in agent prompts
2026-04-10 17:26:05 +08:00
xixingde
557b873a79
feat(agents): add isMainThread flag to agent definition for full tool access
2026-04-10 15:54:42 +08:00
xixingde
082345b8aa
refactor(costrict): replace SpecPlan agent with StrictPlan skill
2026-04-10 12:17:56 +08:00
xixingde
46ba58e46e
refactor(strictPlan): update system prompt to clarify role and correct tool references
2026-04-10 10:29:56 +08:00
xixingde
2f115cfd0b
refactor(agents): reorganize strictPlan agent workflow and remove constraints
2026-04-10 10:00:09 +08:00
yhangf
0d1754614a
refactor(agents): 改回2层架构,StrictSpec 直接调 SubCoding
...
- StrictSpec 精简为~60行,stage 4 直接调 SubCoding(绕过 SpecPlan 中间层)
- 移除 SpecPlan 注册(3层嵌套对外部用户不可用,ALL_AGENT_DISALLOWED_TOOLS 限制)
- SubCoding 自带探索/实施能力,无需上层准备 proposal/task.md
- 支持 teammates 并行调用 SubCoding,自动降级串行
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:32:21 +08:00
yhangf
7ee0b3a6a2
refactor(agents): 清理 StrictSpec 架构,删除 PlanManager
...
- StrictSpec 精简为纯4阶段分发器(~40行),只负责编排,不含实施细节
- SpecPlan 成为唯一实施协调逻辑来源(探索→提案→验证→实施→收尾)
- 删除 planManager.ts 文件
- builtInAgents.ts 去除重复注册、移除 PLAN_MANAGER_AGENT
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:23:19 +08:00
yhangf
bb1e88ea82
Merge branch 'main' of https://github.com/yhangf/csc
2026-04-10 08:56:09 +08:00
yhangf
51b88ecb24
refactor(agents): 改为2层架构,StrictSpec 直接调度所有叶子 agent
...
- StrictSpec 吸收 SpecPlan 的全部实施协调逻辑
- 完整流程:Requirement→DesignAgent→TaskPlan→QuickExplore/TaskCheck/SubCoding
- 移除 SpecPlan 注册(不再是链路中间层)
- 调用深度:StrictSpec → leaf agents(2层)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 21:00:52 +08:00
yhangf
1f768d682a
refactor(agents): 3层架构重构 StrictSpec 工作流
...
- SpecPlan 合并 PlanManager/SpecPlan/PlanApply 为统一 Layer 2 协调者
- StrictSpec Stage 4 直接调用 SpecPlan,移除中间层 PlanManager
- SpecPlan 支持 SubCoding 串行(模式A)和 teammates 并行(模式B),自动降级
- builtInAgents.ts 移除 PLAN_MANAGER_AGENT 注册(不再是 StrictSpec 链路必需)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 20:52:41 +08:00
xixingde
57d0e1feac
refactor(agents): consolidate PlanApply functionality into StrictPlan agent
...
- Remove separate PlanApply agent and integrate task distribution logic directly into StrictPlan agent
- Move PlanApply and TDD agents to backup directory
- Update StrictPlan system prompt to reflect dual role as PlanAgent and CodingAgent
- Update builtInAgents registry to remove PlanApply and update TDD import path
2026-04-09 20:46:18 +08:00
yhangf
fe8ad9df69
feat: migrate strictSpec workflow agents into csc built-in agent registry
...
Register 6 previously-unregistered costrict agents as first-class built-in
agents: StrictSpec (4-stage orchestrator), Requirement, DesignAgent, TaskPlan,
PlanManager, and SpecPlan.
Adapt system prompts in strictSpec.ts, planManager.ts, specPlan.ts to use the
csc Agent tool (subagent_type parameter) instead of the legacy costrict-specific
`task` tool. Also fix a broken relative import in taskPlan.ts.
Agent call chain for StrictSpec workflow:
StrictSpec → Requirement / DesignAgent / TaskPlan / PlanManager
PlanManager → SpecPlan
SpecPlan → QuickExplore / TaskCheck / PlanApply
PlanApply → SubCoding
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 20:44:50 +08:00
xixingde
3363059608
fix(agents): enable Claude markdown output across all built-in agents
2026-04-09 18:22:14 +08:00
xixingde
6962816be7
feat(agents): add TDD agent and integrate into strict plan workflow
2026-04-09 17:12:36 +08:00
yhangf
cc326e5b3b
refactor: rename costrict/agent directory to costrict/agents
2026-04-09 15:28:02 +08:00
xixingde
47fda685a3
refactor(agents): remove checkpoint workflow and file-outline from subCoding prompt
2026-04-09 14:17:28 +08:00
xixingde
9cef68a360
refactor(strictPlan): update agent references from Explore to QuickExplore
2026-04-09 14:06:48 +08:00
xixingde
0c3b7e1cb2
feat(agents): add explicit tools list to planApply agent
2026-04-09 12:45:11 +08:00
xixingde
02d046a61e
feat(agents): add QuickExploreAgent and enable planning agents by default
2026-04-09 12:42:11 +08:00
xixingde
792b784066
refactor(agents): standardize import paths and remove obsolete tool references
2026-04-09 11:34:40 +08:00
xixingde
80288a1c46
refactor(costrict): rename QuickExplore to Explore, standardize imports and remove dead code
2026-04-09 11:26:48 +08:00
xixingde
c15c952659
refactor(costrict): archive QuickExplore agent and update agent tool references
2026-04-09 11:19:03 +08:00
xixingde
ab0ffd5c59
refactor(costrict): migrate agents to dedicated module and add new agent types
2026-04-09 10:10:20 +08:00