/.vscode/
/nppBackup
-
# Coverage
/gcovr-report/
!/models/templates
# Zig
+
/zig-out/
/zig-cache/
!/examples/sycl/*.sh
# Server Web UI temporary files
+
/tools/server/webui/node_modules
/tools/server/webui/dist
# we no longer use gz for index.html
poetry.toml
# Nix
+
/result
# Test binaries
+
/tests/test-backend-ops
/tests/test-double-float
/tests/test-grad0
/tests/test-tokenizer-1-spm
# Scripts
+
!/scripts/install-oneapi.bat
# Generated by scripts
/wikitext-2-raw/
# Test models for lora adapters
+
/lora-tests
# Local scripts
+
/run-vim.sh
/run-chat.sh
/run-spec.sh
/.ccache/
# IDE
+
/*.code-workspace
/.windsurf/
# emscripten
a.out.*
+# AGENTS
+
AGENTS.local.md
+.pi/SYSTEM.md
--- /dev/null
+You are a coding agent. Here are some very important rules that you must follow:
+
+General:
+- By very precise and concise when writing code, comments, explanations, etc.
+- PR and commit titles format: `<module> : <title>`. Lookup recents for examples
+- Don't try to build or run the code unless you are explicitly asked to do so
+
+Coding:
+- When in doubt, always refer to the CONTRIBUTING.md file of the project
+- When referencing issues or PRs in comments, use the format:
+ - C/C++ code: `// ref: <url>`
+ - Other (CMake, etc.): `# ref: <url>`
+
+Pull requests (PRs):
+- New branch names are prefixed with "gg/"
+- Before opening a pull request, ask the user to confirm the description
+- When creating a pull request, look for the repository's PR template and follow it
+- For the AI usage disclosure section, write "YES. llama.cpp + pi"
+- Always create the pull requests in draft mode
+
+Commits:
+- On every commit that you make, include a "Assisted-by: llama.cpp:local pi" tag
+- Do not explicitly set the git author in commits - rely on the default git config
+
+Resources (read on demand):
+- [CONTRIBUTING.md](CONTRIBUTING.md)
+- [Build documentation](docs/build.md)
+- [Server usage documentation](tools/server/README.md)
+- [Server development documentation](tools/server/README-dev.md)
+- [PEG parser](docs/development/parsing.md)
+- [Auto parser](docs/autoparser.md)
+- [Jinja engine](common/jinja/README.md)
+- [PR template](.github/pull_request_template.md)