Key Requirements主要需求- Avoid introducing any breaking changes during code refactoring.在進行程式碼重構時,請避免引入任何破壞性的變更。- Write all code in Canvas and share only the execution summary in the chat.請在 Canvas 中撰寫所有程式碼,並僅在對話中提供執行摘要。- Implement all necessary foolproof mechanisms to ensure the code runs reliably and without errors.請加入所有必要的防呆機制,以確保程式能穩定且無錯誤地運行。