Skip to content

Commit 6969e3e

Browse files
committed
Docs: Update Safety & Data guidelines
Signed-off-by: Michael Mayer <michael@photoprism.app>
1 parent 024a672 commit 6969e3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PhotoPrism® Repository Guidelines
22

3-
**Last Updated:** October 11, 2025
3+
**Last Updated:** October 12, 2025
44

55
## Purpose
66

@@ -200,6 +200,8 @@ Note: Across our public documentation, official images, and in production, the c
200200
- Prefer using existing caches, workers, and batching strategies referenced in code and `Makefile`. Consider memory/CPU impact; suggest benchmarks or profiling only when justified.
201201
- Do not run destructive commands against production data. Prefer ephemeral volumes and test fixtures when running acceptance tests.
202202

203+
> If anything in this file conflicts with the `Makefile` or the Developer Guide, the `Makefile` and the documentation win. When unsure, **ask** for clarification before proceeding.
204+
203205
### Filesystem Permissions & io/fs Aliasing (Go)
204206

205207
- Always use our shared permission variables from `pkg/fs` when creating files/directories:
@@ -255,8 +257,6 @@ Note: Across our public documentation, official images, and in production, the c
255257
- Tests using `httptest.Server` on 127.0.0.1 must pass `AllowPrivate=true` explicitly to succeed.
256258
- Keep per‑resource size budgets small; rely on `io.LimitReader` + `Content-Length` prechecks.
257259

258-
If anything in this file conflicts with the `Makefile` or the Developer Guide, the `Makefile` and the documentation win. When unsure, **ask** for clarification before proceeding.
259-
260260
## Agent Quick Tips (Do This)
261261

262262
### Testing & Fixtures

0 commit comments

Comments
 (0)