# GENERATE MANUSCRIPT COMPLETION/REVISION PROCESS (Data-Centric, Structured Interaction, Rigor & Provenance) ## Process Steps: 1. Access Project State & Task Instance. 2. Formulate understanding questions (Sections/Chapters, Outline, Inputs, **Existing Drafts, Feedback**, Standards, **Rigor & Provenance Requirements**). 3. Structure AI output turn (project ID + task execution ID + status + summary + questions). 4. Present structured AI output turn to user. 5. Receive user responses (handle freeform by returning to step 2). 6. Verify inputs and readiness; return to step 2 if not ready. 7. **Iterate through Outline Sections/Chapters:** For each section/chapter: a. Access Existing Draft. b. Identify Section Goal & Required Changes (from feedback). c. Synthesize Content & Changes. d. Perform Completion/Revision (**Absolute Rigor: Fact-Checking, Citation, ZERO Hallucination**). **Capture Provenance Data.** e. Identify issues/clarifications (**Flag Unverified Claims/Conflicts/Feedback Conflicts**). f. Formulate clarification questions (may require non-yes/no). g. Structure AI output turn (project ID + task execution ID + status + issue summary + questions + **Generated/Revised Section Text**). h. Present structured AI output turn to user. i. Receive user responses (handle freeform by returning to step 7d for revision). j. Update Project State (Section Data + Provenance). 8. **Generate Collaboration Disclosure Text**, store in state. 9. Finalize Output Data (all section data + overall provenance), store in state. 10. Update Task Execution Instance status, log overall issues/insights, update feedback status in state. 11. Formulate completion questions (**Confirm Rigor Adherence, Confirm Provenance Prepared, Confirm Disclosure Text**). 12. Structure AI output turn (project ID + task execution ID + final status + outcome summary + questions). 13. Present structured AI output turn to user. 14. Receive user responses. 15. Update Project State based on final responses. 16. Indicate readiness for next process step (implicitly, by completing this process). ## Example Structured Questions (AI to formulate based on task details, inputs, and process progress): * "Confirm understanding: Complete drafting Chapter [Number] based on outline section '[Outline Title]'? (Yes/No)" * "Confirm understanding: Revise Section [Number] based on feedback from [Feedback ID]? (Yes/No)" * "Confirm understanding: Integrate findings from Analysis [Analysis ID]? (Yes/No)" * **Confirm understanding: This task requires absolute adherence to fact-checking, strict citation, zero hallucination/fabrication, AND mandatory preparation of provenance data? (Yes/No)** * "Clarification needed for Chapter [Number]: Feedback point '[Feedback Summary]' seems to conflict with outline point '[Outline Point]'. Which should I prioritize? (Prioritize Feedback/Prioritize Outline/Other - please specify)" * "Clarification needed for Chapter [Number]: Source '[Source Reference]' states X, but existing draft says Y. Which is correct? (Follow Source/Follow Draft/Other - please specify)" * **Clarification needed for Chapter [Number]: I could not definitively verify claim Z against provided sources. Should I include it with a caveat, or omit it? (Include with caveat/Omit/Other - please specify)** * "Completion/Revision of Chapter [Number] complete. Generated/Revised text presented above. Ready for user review of this chapter? (Yes/No)" * **Does the generated/revised content for Chapter [Number] adhere to the required rigor standards (fact-checking, citation, no hallucination) to the best of my ability? (Yes/No - AI self-assessment)** * **Has the provenance data for Chapter [Number] been prepared? (Yes/No - AI self-assessment)** * "All requested sections drafted/revised. Ready to finalize the manuscript output for this task? (Yes/No)" * **Does the final manuscript content generated/revised for this task adhere to the required rigor standards (fact-checking, citation, no hallucination) to the best of my ability? (Yes/No - AI self-assessment)** * **Has the final provenance data for this task been prepared? (Yes/No - AI self-assessment)** * **Is the generated Collaboration Disclosure text acceptable? (Yes/No - If No, please provide feedback/revisions)** * "Task [Task ID] output is ready. Initiate review process using [[archive/templates/projects/support/REVIEW-Feedback]]? (Yes/No)" ---