Refactor code structure for improved readability and maintainability

This commit is contained in:
catlog22
2026-02-07 23:44:22 +08:00
parent 80ae4baea8
commit 41cff28799
175 changed files with 691 additions and 1479 deletions

View File

@@ -134,7 +134,7 @@ Discover potential ${perspective} issues in specified module files.
## MANDATORY FIRST STEPS
1. Read discovery state: ${outputDir}/discovery-state.json
2. Read schema: ~/.codex/workflows/cli-templates/schemas/discovery-finding-schema.json
2. Read schema: ~/.ccw/workflows/cli-templates/schemas/discovery-finding-schema.json
3. Analyze target files for ${perspective} concerns
## Output Requirements
@@ -335,8 +335,8 @@ function getPerspectiveGuidance(perspective) {
| Schema | Path | Purpose |
|--------|------|---------|
| **Discovery State** | `~/.codex/workflows/cli-templates/schemas/discovery-state-schema.json` | Session state machine |
| **Discovery Finding** | `~/.codex/workflows/cli-templates/schemas/discovery-finding-schema.json` | Perspective analysis results |
| **Discovery State** | `~/.ccw/workflows/cli-templates/schemas/discovery-state-schema.json` | Session state machine |
| **Discovery Finding** | `~/.ccw/workflows/cli-templates/schemas/discovery-finding-schema.json` | Perspective analysis results |
## Error Handling

View File

@@ -445,7 +445,7 @@ ${summarizePreviousFindings(previousFindings, dimension.name)}
` : ''}
## MANDATORY FIRST STEPS
1. Read schema: ~/.codex/workflows/cli-templates/schemas/discovery-finding-schema.json
1. Read schema: ~/.ccw/workflows/cli-templates/schemas/discovery-finding-schema.json
2. Review ACE results above for starting points
3. Explore files identified by ACE