Commit Graph

2241 Commits

Author SHA1 Message Date
catlog22
92dbde696e docs: 删除 prep-cycle.md 和 prep-plan.md 文件 2026-03-29 14:35:18 +08:00
catlog22
21a6d29701 feat: add json_builder tool with schema-aware JSON construction and validation
Unified tool replacing manual schema reading (cat schema) across all agents
and skills. Supports 5 commands: init (skeleton), set (incremental field
setting with instant validation), validate (full structural + semantic),
merge (dedup multiple JSONs), info (compact schema summary).

Registers 24 schemas in schema-registry.ts. Updates all agent/skill/command
files to use json_builder info/init/validate instead of cat schema references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-29 13:37:41 +08:00
catlog22
bbceef3d36 docs: remove core_memory section from AGENTS.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 20:29:40 +08:00
catlog22
bb0346e506 docs: add core_memory session awareness to AGENTS.md
Document CMEM-* memory records, query pattern, and relationship to .workflow/ artifacts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 20:26:38 +08:00
catlog22
55a89d6444 docs: add workflow session awareness spec to AGENTS.md
Same artifact locations table and pre-task discovery rules as CLAUDE.md.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 20:24:40 +08:00
catlog22
e30fc3575a docs: add workflow session awareness spec to CLAUDE.md
Artifact locations table, pre-task discovery rules, and memory integration guidelines.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 20:23:59 +08:00
catlog22
6be78cbe22 chore: bump version to 7.2.25
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 20:07:44 +08:00
catlog22
367466c1ef refactor: streamline CLI tools usage documentation by consolidating sections and enhancing clarity 2026-03-28 20:04:37 +08:00
catlog22
ffae6ddc19 fix: quote description in team-designer scaffold template to prevent YAML parse errors
The template generated unquoted description values containing `: ` sequences,
causing "mapping values are not allowed in this context" YAML errors in
generated SKILL.md files.

Closes #143

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 14:41:08 +08:00
catlog22
4fb983c747 Merge remote-tracking branch 'origin/main' - resolve spec-generator SKILL.md conflict
Keep local 7-phase description with proper YAML quoting from PR #144.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 14:37:54 +08:00
catlog22
45212e14c9 Merge pull request #144 from bluzername/fix/yaml-frontmatter-quoting
fix: quote YAML frontmatter descriptions with colons in SKILL.md files
2026-03-28 14:35:31 +08:00
catlog22
662cff53d9 Remove outdated coordinator, developer, reviewer, tester roles and associated commands, along with pipeline definitions and team configuration files to streamline the iterative development process. 2026-03-28 12:40:22 +08:00
catlog22
656550210e chore: bump version to 7.2.24
Add multi_agent_v2=true to Codex config documentation in both
README.md and README_CN.md, required for v4 agent API features
(fork_context, task_name, send_message, assign_task, list_agents).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 22:27:01 +08:00
catlog22
88ea7fc6d7 refactor: deep Codex v4 API conversion for all 20 team skills
Upgrade all team-* skills from mechanical v3→v4 API renames to deep
v4 tool integration with skill-adaptive patterns:

- list_agents: health checks in handleResume, cleanup verification in
  handleComplete, added to allowed-tools and coordinator toolbox
- Named targeting: task_name uses task-id (e.g. EXPLORE-001) instead
  of generic <role>-worker, enabling send_message/assign_task by name
- Message semantics: send_message for supplementary cross-agent context
  vs assign_task for triggering work, with skill-specific examples
- Model selection: per-role reasoning_effort guidance matching each
  skill's actual roles (not generic boilerplate)
- timeout_ms: added to all wait_agent calls, timed_out handling in
  all 18 monitor.md files
- Skill-adaptive v4 sections: ultra-analyze N-parallel coordination,
  lifecycle-v4 supervisor assign_task/send_message distinction,
  brainstorm ideator parallel patterns, iterdev generator-critic loops,
  frontend-debug iterative debug assign_task, perf-opt benchmark
  context sharing, executor lightweight trimmed v4, etc.

60 files changed across 20 team skills (SKILL.md, monitor.md, role.md)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 22:25:32 +08:00
bluzername
e7d59140c0 fix: quote YAML frontmatter descriptions containing colons in SKILL.md files
Closes #143
2026-03-27 15:06:19 +07:00
catlog22
3d39ac6ac8 chore: bump version to 7.2.23
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 23:37:00 +08:00
catlog22
e83063bd29 fix: enable remote dashboard access by acquiring auth cookie on startup
When accessing the dashboard remotely (--host 0.0.0.0), all API calls
returned 401 because the frontend never acquired an auth_token cookie.
Added initializeAuth() that fetches /api/auth/token before React renders,
so the browser has the cookie before any TanStack Query hooks fire.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 23:36:44 +08:00
catlog22
25d4764d7f chore: bump version to 7.2.22
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 15:13:05 +08:00
catlog22
a45c672d30 delete: remove unified-execute-with-file skill documentation and implementation details 2026-03-26 15:11:48 +08:00
catlog22
b104cd9ffd refactor: optimize analyze-with-file SKILL.md structure, merge duplicates
- Merge 7 duplicate content blocks into single-source-of-truth sections
  (Recording Protocol, Reference tables, Templates)
- Restructure from 1229 to ~970 lines (~21% reduction) with all content preserved
- Add cross-references instead of inline re-definitions
- Restore missing fields: exploration decisions, actionable finding sources,
  heuristic examples, Documentation Practices, Perspectives Selection note

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 15:05:33 +08:00
catlog22
3111bd23f4 feat: add Delegation Lock and Scope Lock to all 18 team skill coordinators
Prevent coordinator from executing task work directly instead of
delegating to team_worker agents. Three-layer enforcement:

- SKILL.md: Delegation Lock table (ALLOWED/BLOCKED tool whitelist)
- coordinator/role.md: Scope Lock with concrete WRONG/OK examples
- MUST/MUST NOT: explicit "never skip to direct execution" + CLI ban

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 17:17:31 +08:00
catlog22
36672bae39 fix: resolve multi-perspective parallel search design ambiguity in analyze-with-file
Two issues fixed:
1. Default perspective selection now auto-recommends Technical + Architectural
   when dimensions >= 2, instead of always defaulting to single comprehensive
   view (which caused Phase B to never trigger).
2. Phase B pseudocode replaced forEach sequential pattern with explicit
   parallel Agent() call pattern — all perspective agents must be launched
   in the same response block for concurrent execution.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 10:41:25 +08:00
catlog22
aeaf54519e feat: add findings-to-recommendations traceability in codex analyze-with-file
Mirror the same Findings Coverage Matrix mechanism added to the Claude
version. Insert Step 4.1 between Intent Coverage (4.0) and Consolidate
Insights (now 4.2) to ensure all actionable findings are mapped to a
disposition before generating recommendations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 22:48:10 +08:00
catlog22
c1268cb6ce chore: bump version to 7.2.20
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 22:45:36 +08:00
catlog22
017fd9ea53 feat: add findings-to-recommendations traceability in analyze-with-file
Add Phase 4 Step 2 "Findings Coverage Matrix" to ensure all actionable
findings from analysis rounds are mapped to a disposition (recommendation,
absorbed, deferred, or informational) before consolidation. This prevents
the issue where rich analysis discovers many actionable points but only
a subset makes it into final recommendations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 22:45:12 +08:00
catlog22
8cfc71139e feat: expand batch controls with full claude-only advanced settings
Batch now has a gear toggle for Claude advanced fields:
- Quick settings: color, permission, memory, maxTurns, background, isolation
- Tools row: tools, disallowedTools, skills
- When target=All, note indicates claude-only fields apply to claude agents only
- When target=Codex, advanced section hidden entirely

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 21:14:35 +08:00
catlog22
4c03a92eb9 feat: add type filter and claude-only fields to batch controls
Batch controls now distinguish codex vs claude agents:
- Type selector (All/Codex/Claude) filters targets and shows count
- Effort options adapt per type (no 'max' for codex-only)
- Color and Permission batch fields shown when claude agents targeted
- Claude-only fields applied individually per agent via PUT endpoint

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 21:06:57 +08:00
catlog22
22c7d90d5a chore: bump version to 7.2.19
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 21:03:51 +08:00
catlog22
e293195ad0 feat: add advanced frontmatter config for Claude agent definitions
Support all Claude agent frontmatter fields (color, permissionMode, memory,
maxTurns, background, isolation, tools, disallowedTools, skills, mcpServers,
hooks) with MCP server picker, hooks editor, and progressive disclosure UI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 20:59:06 +08:00
catlog22
c744a80ef9 fix: resolve TOML escape errors and SKILL.md YAML parsing issue
- Fix team-review SKILL.md description containing unquoted colons
- Bump version to 7.2.18

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 20:35:02 +08:00
catlog22
c882eeee58 fix: correct description formatting in team-review skill 2026-03-24 20:23:41 +08:00
catlog22
9043a0d453 feat: add agent definitions API for managing Codex and Claude agent configurations 2026-03-24 20:22:44 +08:00
catlog22
2a6df97293 chore: bump version to 7.2.17
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 19:21:52 +08:00
catlog22
d693f05b69 feat: convert all codex agent definitions from .md to .toml format
Convert 20 agent .md files to Codex-native .toml format with proper
metadata (name, description, model, sandbox_mode, developer_instructions).
Update all 19 skill files to use agent_type references instead of .md
file paths. Remove "Read role definition" bootstrapping step from spawn
messages since TOML developer_instructions replaces it.

Agent format: YAML frontmatter + body → TOML with inline instructions
Calling schema: agent: "path.md" → agent_type: "toml_name"
Sandbox: read-only for exploration agents, workspace-write for executors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 19:20:28 +08:00
catlog22
a525db14c7 chore: bump version to 7.2.16
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 17:25:05 +08:00
catlog22
f112d4b9a2 refactor: redesign cli settings export/import API with endpoint-based schema
Replace nested settings structure with flat endpoints array for
export/import. Add conflict strategy options (skip/overwrite/merge)
and skipInvalid/disableImported flags.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 17:24:42 +08:00
catlog22
45756aad83 feat: add universal team-tasks-schema.json for all codex team skills
Extract generalized tasks.json schema from team-lifecycle-v4 to shared
location (~/.ccw/workflows/cli-templates/schemas/). Codex needs explicit
schema since it uses file-based task state (unlike Claude Code's built-in
TaskCreate/TaskUpdate API). Simplify lifecycle-v4 tasks-schema.md to
reference the shared schema and only document skill-specific extensions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 17:24:23 +08:00
catlog22
1e560ab8e8 feat: migrate all codex team skills from spawn_agents_on_csv to spawn_agent + wait_agent architecture
- Delete 21 old team skill directories using CSV-wave pipeline pattern (~100+ files)
- Delete old team-lifecycle (v3) and team-planex-v2
- Create generic team-worker.toml and team-supervisor.toml (replacing tlv4-specific TOMLs)
- Convert 19 team skills from Claude Code format (Agent/SendMessage/TaskCreate)
  to Codex format (spawn_agent/wait_agent/tasks.json/request_user_input)
- Update team-lifecycle-v4 to use generic agent types (team_worker/team_supervisor)
- Convert all coordinator role files: dispatch.md, monitor.md, role.md
- Convert all worker role files: remove run_in_background, fix Bash syntax
- Convert all specs/pipelines.md references
- Final state: 20 team skills, 217 .md files, zero Claude Code API residuals

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 16:54:48 +08:00
catlog22
54283e5dbb Refactor user interaction tools from AskUserQuestion to request_user_input across multiple skills for consistency and improved user experience. Update documentation to reflect necessary Codex configuration for interactive confirmations and multi-agent coordination. Ensure mandatory confirmation gates are clearly defined in workflow processes to prevent unintended execution. 2026-03-24 15:34:46 +08:00
catlog22
bab3719ab1 chore: bump version to 7.2.15
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 15:19:47 +08:00
catlog22
fe7945eaa2 feat: standardize request_user_input schema across all codex skills and add config reminder
- Update all 68 .codex/skills files to use correct request_user_input schema
  (header, id, question, options with label/description)
- Remove deprecated multiSelect, type, value, prompt fields
- Add mandatory confirmation gates to planning-only skills
- Add Codex config.toml reminder to ccw install CLI
- Add Codex configuration section to README.md and README_CN.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 15:19:18 +08:00
catlog22
ccb5f1e615 feat: update LINUX DO badge text in README and README_CN for clarity 2026-03-24 10:43:38 +08:00
catlog22
bfad1d5eb6 feat: add links section with LINUX DO badge to README and README_CN 2026-03-24 10:41:00 +08:00
catlog22
d2409f0814 fix: add ambiguity detection for proposed technical solutions in analyze-with-file
Phase 3 Record-Before-Continue now checks for unresolved alternatives
in Proposed solutions and surfaces them to user. Phase 4 Consolidation
adds Solution Readiness Gate to flag recommendations with ambiguity.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 20:16:24 +08:00
catlog22
f2d9d55ea4 refactor: enhance analyze-with-file documentation and streamline workflow-lite-plan execution steps 2026-03-23 19:34:13 +08:00
catlog22
94e44ca7e6 refactor: remove redundant schema instructions from lite-plan and consolidate analyze-with-file schemas
- lite-plan: remove schema reading instructions from plan agent prompt (agent handles schema loading internally)
- analyze-with-file: consolidate JSON schemas into dedicated <schemas> section, add Technical Solution Triggers and Record-Before-Continue rule, remove trailing handoff note

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 19:18:50 +08:00
catlog22
b502ebcae1 feat: add workflow-research-agent for targeted external research and update analyze-with-file documentation v7.2.13 2026-03-23 14:12:49 +08:00
catlog22
97ed2ef213 refactor: update agent usage description and streamline planning strategy references 2026-03-23 10:08:26 +08:00
catlog22
fcd0b9a2c4 refactor: split review responsibilities — code review in lite-execute, convergence review in lite-test-review
- lite-plan LP-Phase 4: split single "Review" into two selections (Code Review + Convergence Review)
- lite-execute: add Step 4 Code Review (agent/codex/gemini) with code-review.md artifact, Step 5 passes convergenceReviewTool
- lite-test-review: rename reviewTool → convergenceReviewTool, TR-Phase 2 focused on convergence criteria verification
- All autoYes paths default both reviews to Skip
- Data structures updated across all three files for consistency

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 17:18:20 +08:00
catlog22
fab07c2e97 Remove IDAW run and status commands, consolidating functionality and streamlining task execution and progress tracking. 2026-03-21 16:18:15 +08:00