()
| 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 | |
| 742 | function 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(); |
no test coverage detected