summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-07-04 22:14:16 +0300
committerPaul Buetow <paul@buetow.org>2026-07-04 22:14:16 +0300
commit2381c8712ebafa8060f0d2feacadd85bef280eb0 (patch)
tree5132d2b105de91299d052b6a0b69e9b8c9ec7a38 /AGENTS.md
parentcb9a2b35216a1df783d9a8e9b901bcd32c958dbb (diff)
- Delete internal/file/content.go (duplicate implementation with different semantics).
- Refactor internal/file/file.go to use a File struct with options (WithContent, WithSource, WithMode, etc.). - Update Have signature to accept variadic options instead of (path, param). - Update tests to use new API. - Update TODO.md to remove resolved blocker and reflect remaining features.
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000..3d3cd6d
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,4 @@
+# Agent Guidelines
+
+## Resource Management
+All public functions which start with `Have` should be responsible for registering the resource they create.