feat: unified task.json schema migration and multi-module updates

- Create task-schema.json (JSON Schema draft-07) with 10 field blocks fusing
  Unified JSONL, 6-field Task JSON, and Solution Schema advantages
- Migrate unified-execute-with-file from JSONL to .task/*.json directory scanning
- Migrate 3 producers (lite-plan, plan-converter, collaborative-plan) to
  .task/*.json multi-file output
- Add review-cycle Phase 7.5 export-to-tasks (FIX-*.json) and issue-resolve
  --export-tasks option
- Add schema compatibility annotations to action-planning-agent, workflow-plan,
  and tdd-plan
- Add spec-generator skill phases and templates
- Add memory v2 pipeline (consolidation, extraction, job scheduler, embedder)
- Add secret-redactor utility and core-memory enhancements
- Add codex-lens accuracy benchmarks and staged env config overrides
This commit is contained in:
catlog22
2026-02-11 17:40:56 +08:00
parent 7aa1038951
commit 99ee4e7d36
36 changed files with 7823 additions and 315 deletions

View File

@@ -375,6 +375,19 @@ export interface ProjectPaths {
config: string;
/** CLI config file */
cliConfig: string;
/** Memory V2 paths */
memoryV2: {
/** Root: <projectRoot>/core-memory/v2/ */
root: string;
/** Rollout summaries directory */
rolloutSummaries: string;
/** Concatenated raw memories file */
rawMemories: string;
/** Final consolidated memory file */
memoryMd: string;
/** Skills directory */
skills: string;
};
}
/**
@@ -434,6 +447,13 @@ export function getProjectPaths(projectPath: string): ProjectPaths {
dashboardCache: join(projectDir, 'cache', 'dashboard-data.json'),
config: join(projectDir, 'config'),
cliConfig: join(projectDir, 'config', 'cli-config.json'),
memoryV2: {
root: join(projectDir, 'core-memory', 'v2'),
rolloutSummaries: join(projectDir, 'core-memory', 'v2', 'rollout_summaries'),
rawMemories: join(projectDir, 'core-memory', 'v2', 'raw_memories.md'),
memoryMd: join(projectDir, 'core-memory', 'v2', 'MEMORY.md'),
skills: join(projectDir, 'core-memory', 'v2', 'skills'),
},
};
}
@@ -456,6 +476,13 @@ export function getProjectPathsById(projectId: string): ProjectPaths {
dashboardCache: join(projectDir, 'cache', 'dashboard-data.json'),
config: join(projectDir, 'config'),
cliConfig: join(projectDir, 'config', 'cli-config.json'),
memoryV2: {
root: join(projectDir, 'core-memory', 'v2'),
rolloutSummaries: join(projectDir, 'core-memory', 'v2', 'rollout_summaries'),
rawMemories: join(projectDir, 'core-memory', 'v2', 'raw_memories.md'),
memoryMd: join(projectDir, 'core-memory', 'v2', 'MEMORY.md'),
skills: join(projectDir, 'core-memory', 'v2', 'skills'),
},
};
}
@@ -682,4 +709,7 @@ export function initializeProjectStorage(projectPath: string): void {
ensureStorageDir(paths.memory);
ensureStorageDir(paths.cache);
ensureStorageDir(paths.config);
ensureStorageDir(paths.memoryV2.root);
ensureStorageDir(paths.memoryV2.rolloutSummaries);
ensureStorageDir(paths.memoryV2.skills);
}