MCPcopy Create free account
hub / github.com/SethGammon/Citadel / main

Function main

scripts/codex-compat.js:727–750  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

725 '',
726 '- Prioritize P0/P1 correctness, security, regression, and missing-verification issues.',
727 '- Keep findings concrete and actionable with file and line references when possible.',
728 '',
729 '## Verification',
730 '',
731 '- Use the narrowest command that proves the changed behavior.',
732 '- Run `node scripts/codex-readiness-check.js --write` after generating Codex artifacts when Citadel is available.',
733 '',
734 ].join('\n');
735 writeFile(agentsMdPath, fallback);
736 console.log(' Generated minimal Codex AGENTS.md fallback.');
737 }
738}
739
740// ---- Main -------------------------------------------------------------------
741
742function main() {
743 console.log(`Citadel Codex Compatibility Generator`);
744 console.log(` Citadel root: ${CITADEL_ROOT}`);
745 console.log(` Project root: ${PROJECT_ROOT}`);
746 if (DRY_RUN) console.log(' Mode: DRY RUN');
747 console.log('');
748
749 generateConfigToml();
750 generatePluginMcpConfig();
751 syncPluginAssets();
752 generatePluginManifest();
753 generatePluginHooks();

Callers 1

codex-compat.jsFile · 0.70

Calls 8

generateConfigTomlFunction · 0.85
generatePluginMcpConfigFunction · 0.85
generatePluginManifestFunction · 0.85
generatePluginHooksFunction · 0.85
translateAgentsFunction · 0.85
syncSkillsFunction · 0.85
syncProjectScriptsFunction · 0.85
syncProjectGuidanceFunction · 0.85

Tested by

no test coverage detected