Skip to content

Commit be1ba55

Browse files
committed
new codex rule to prevent removing files
1 parent 5dc0db4 commit be1ba55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CODEX.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
- Web client in `web/` uses React Router v7, Tailwind + StyleX, Vite.
77
- Use `bun` for JS/TS tooling (not npm/yarn); keep IDs as `Int64` (Swift `Id`, proto `ID`), timestamps in seconds unless host API needs ms.
88

9+
## Critical Rules
10+
11+
- Never revert a file; never discard a change yourself; never undo work on any file by destructive shell commands or clearing files unless explicitly given permission to do so. Otherwise keep a copy or comment out, do not do irreversible deletions especially to files you have not made those changes to.
12+
913
## Working Rules
1014

1115
- Do requested work only; mirror existing patterns; add comments only when clarifying non-obvious logic; never touch `.env` or delete others’ work.

0 commit comments

Comments
 (0)