name: wrap-up description: Close out MCP-backed Codex work when asked to "wrap up", "export requirements", or "close out".
Trust the marker only after Invoke-CodexMcpPlugin.ps1 -Command Status verifies signature and nonce health. Use lib/repl-invoke.sh for MCP mutations; do not use raw REST for normal MCP changes.
workflow.* names below are Codex plugin workflow/REPL method names, not literal native MCP tool names. Native /mcp-transport tools use names such as sessionlog_*, todo_*, and requirements_*; hosted-agent adapters may expose mcp_* aliases. Do not declare the plugin unavailable solely because generic MCP discovery does not list literal workflow.* names.
- Reconcile requirements with
workflow.requirements.*, including requirement reconciliation for new FR/TR/TEST evidence. - Export wiki requirements with
workflow.requirements.generateDocumentusingformat: wikianddocType: all. - Run validation commands and keep zero-failure zero-skip evidence.
- If commit/push is required, use the
commit-syncpause and acknowledgement contract first. - Perform session-log reconciliation with
workflow.sessionlog.appendDialogandworkflow.sessionlog.appendActions. - Finish with
workflow.sessionlog.completeTurn; useworkflow.sessionlog.failTurnwhen validation or export cannot be completed.