fix(codex): separate project guidance from user install defaults

Preserve the original contributor histories and apply the exact independently reviewed repair.

Source-Parent: 81df6475b2
Review-Manifest-SHA256: 272ae1970f0b94fe40dbb974b509b7333682176259f5a1493bbae12d9a7e70cb
This commit is contained in:
affaan-m
2026-09-28 06:42:33 -04:00
parent 81df6475b2
commit c5bb5579fe
6 changed files with 465 additions and 125 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
'use strict';
/**
* Merge the non-MCP Codex baseline from `.codex/config.toml` into a target
* Merge the non-MCP Codex baseline from `.codex/user-config.example.toml` into a target
* `config.toml` without overwriting existing user choices.
*
* Strategy: add-only.
@@ -219,7 +219,7 @@ function main() {
process.exit(1);
}
const referencePath = path.join(__dirname, '..', '..', '.codex', 'config.toml');
const referencePath = path.join(__dirname, '..', '..', '.codex', 'user-config.example.toml');
if (!fs.existsSync(referencePath)) {
console.error(`[ecc-codex] Reference config not found: ${referencePath}`);
process.exit(1);