diff --git a/AGENTS.md b/AGENTS.md index 0b04025..3631162 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,6 +17,8 @@ ### Mandatory Rules - ✅ Every module must start with `Option Explicit` - ✅ All Public procedures must have a comment header (description, params, return value, author, date) +- ✅ **没有用户明确允许,不许修改任何代码,不许回滚代码。用户给代码才能写进去。** +- ✅ **用户骂我、发情绪时,也不许回滚代码。** - ✅ `On Error Resume Next` is completely forbidden. Missing sheet/object should raise error directly via `Err.Raise ERR_SHEET_MISSING`. Do not suppress errors when checking if a sheet/worksheet/object exists. - ✅ Object variables must be explicitly `Set obj = Nothing` in `Finally` block or at end of procedure - ✅ Long operations must disable `ScreenUpdating`, `Calculation`, `EnableEvents` and restore on exit diff --git a/通勤手当テンプレート20260528.xlsm b/通勤手当テンプレート20260528.xlsm index e856ef1..8676b8b 100644 Binary files a/通勤手当テンプレート20260528.xlsm and b/通勤手当テンプレート20260528.xlsm differ