mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
Refactor Codex Issue Plan-Execute Skill Documentation and CLI Options
- Deleted obsolete INDEX.md and OPTIMIZATION_SUMMARY.md files, consolidating documentation for improved clarity and organization. - Removed skipGitRepoCheck option from CLI execution parameters to streamline command usage. - Updated CLI executor utilities to automatically skip git repository checks, allowing execution in non-git directories. - Enhanced documentation with new ARCHITECTURE.md and INDEX.md files for better navigation and understanding of the system architecture. - Created CONTENT_MIGRATION_REPORT.md to verify zero content loss during the consolidation process.
This commit is contained in:
@@ -138,7 +138,6 @@ interface CliExecOptions {
|
||||
base?: string; // Review changes against base branch
|
||||
commit?: string; // Review changes from specific commit
|
||||
title?: string; // Optional title for review summary
|
||||
skipGitRepoCheck?: boolean; // Skip git repository check (codex only)
|
||||
// Template/Rules options
|
||||
rule?: string; // Template name for auto-discovery (defines $PROTO and $TMPL env vars)
|
||||
// Output options
|
||||
@@ -1007,8 +1006,7 @@ async function execAction(positionalPrompt: string | undefined, options: CliExec
|
||||
uncommitted,
|
||||
base,
|
||||
commit,
|
||||
title,
|
||||
skipGitRepoCheck
|
||||
title
|
||||
// Rules are now concatenated directly into prompt (no env vars)
|
||||
}, onOutput); // Always pass onOutput for real-time dashboard streaming
|
||||
|
||||
|
||||
@@ -369,7 +369,6 @@ const ParamsSchema = z.object({
|
||||
base: z.string().optional(), // Review changes against base branch
|
||||
commit: z.string().optional(), // Review changes from specific commit
|
||||
title: z.string().optional(), // Optional title for review summary
|
||||
skipGitRepoCheck: z.boolean().optional(), // Skip git repository check (codex only)
|
||||
// Rules env vars (PROTO, TMPL) - will be passed to subprocess environment
|
||||
rulesEnv: z.object({
|
||||
PROTO: z.string().optional(),
|
||||
|
||||
@@ -254,6 +254,8 @@ export function buildCommand(params: {
|
||||
// codex review uses -c key=value for config override, not -m
|
||||
args.push('-c', `model=${model}`);
|
||||
}
|
||||
// Skip git repo check by default for codex (allows non-git directories)
|
||||
args.push('--skip-git-repo-check');
|
||||
// codex review uses positional prompt argument, not stdin
|
||||
useStdin = false;
|
||||
if (prompt) {
|
||||
@@ -280,6 +282,8 @@ export function buildCommand(params: {
|
||||
args.push('--add-dir', addDir);
|
||||
}
|
||||
}
|
||||
// Skip git repo check by default for codex (allows non-git directories)
|
||||
args.push('--skip-git-repo-check');
|
||||
// Enable JSON output for structured parsing
|
||||
args.push('--json');
|
||||
// codex resume uses positional prompt argument, not stdin
|
||||
@@ -302,6 +306,8 @@ export function buildCommand(params: {
|
||||
args.push('--add-dir', addDir);
|
||||
}
|
||||
}
|
||||
// Skip git repo check by default for codex (allows non-git directories)
|
||||
args.push('--skip-git-repo-check');
|
||||
// Enable JSON output for structured parsing
|
||||
args.push('--json');
|
||||
args.push('-');
|
||||
|
||||
Reference in New Issue
Block a user