When should we start thinking about regulatory strategy?
Before the architecture is fixed. Classification determines your IEC 62304 safety class, which determines both the documentation burden and how the system should be segregated. Retrofitting design controls and traceability onto an existing codebase is the most expensive avoidable mistake in this field, and the reconstruction is visible in the record.