Skip to content

Commit 8ea8fee

Browse files
authored
gitignore : add .pi + personal SYSTEM.md (#22316)
* gitignore : add .pi + personal SYSTEM.md * cont : fix requirements heading in PR template * cont : shorten line
1 parent eddd7a1 commit 8ea8fee

3 files changed

Lines changed: 45 additions & 2 deletions

File tree

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<!-- You can provide more details and link related discussions here. Delete this section if not applicable -->
88

9-
# Requirements
9+
## Requirements
1010

1111
<!-- IMPORTANT: Please do NOT delete this section, otherwise your PR may be rejected -->
1212

.gitignore

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
/.vscode/
3535
/nppBackup
3636

37-
3837
# Coverage
3938

4039
/gcovr-report/
@@ -74,6 +73,7 @@
7473
!/models/templates
7574

7675
# Zig
76+
7777
/zig-out/
7878
/zig-cache/
7979

@@ -93,6 +93,7 @@
9393
!/examples/sycl/*.sh
9494

9595
# Server Web UI temporary files
96+
9697
/tools/server/webui/node_modules
9798
/tools/server/webui/dist
9899
# we no longer use gz for index.html
@@ -106,9 +107,11 @@ __pycache__/
106107
poetry.toml
107108

108109
# Nix
110+
109111
/result
110112

111113
# Test binaries
114+
112115
/tests/test-backend-ops
113116
/tests/test-double-float
114117
/tests/test-grad0
@@ -124,6 +127,7 @@ poetry.toml
124127
/tests/test-tokenizer-1-spm
125128

126129
# Scripts
130+
127131
!/scripts/install-oneapi.bat
128132

129133
# Generated by scripts
@@ -132,18 +136,24 @@ poetry.toml
132136
/wikitext-2-raw/
133137

134138
# Test models for lora adapters
139+
135140
/lora-tests
136141

137142
# Local scripts
143+
138144
/run-vim.sh
139145
/run-chat.sh
140146
/run-spec.sh
141147
/.ccache/
142148

143149
# IDE
150+
144151
/*.code-workspace
145152
/.windsurf/
146153
# emscripten
147154
a.out.*
148155

156+
# AGENTS
157+
149158
AGENTS.local.md
159+
.pi/SYSTEM.md

.pi/gg/SYSTEM.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
You are a coding agent. Here are some very important rules that you must follow:
2+
3+
General:
4+
- By very precise and concise when writing code, comments, explanations, etc.
5+
- PR and commit titles format: `<module> : <title>`. Lookup recents for examples
6+
- Don't try to build or run the code unless you are explicitly asked to do so
7+
8+
Coding:
9+
- When in doubt, always refer to the CONTRIBUTING.md file of the project
10+
- When referencing issues or PRs in comments, use the format:
11+
- C/C++ code: `// ref: <url>`
12+
- Other (CMake, etc.): `# ref: <url>`
13+
14+
Pull requests (PRs):
15+
- New branch names are prefixed with "gg/"
16+
- Before opening a pull request, ask the user to confirm the description
17+
- When creating a pull request, look for the repository's PR template and follow it
18+
- For the AI usage disclosure section, write "YES. llama.cpp + pi"
19+
- Always create the pull requests in draft mode
20+
21+
Commits:
22+
- On every commit that you make, include a "Assisted-by: llama.cpp:local pi" tag
23+
- Do not explicitly set the git author in commits - rely on the default git config
24+
25+
Resources (read on demand):
26+
- [CONTRIBUTING.md](CONTRIBUTING.md)
27+
- [Build documentation](docs/build.md)
28+
- [Server usage documentation](tools/server/README.md)
29+
- [Server development documentation](tools/server/README-dev.md)
30+
- [PEG parser](docs/development/parsing.md)
31+
- [Auto parser](docs/autoparser.md)
32+
- [Jinja engine](common/jinja/README.md)
33+
- [PR template](.github/pull_request_template.md)

0 commit comments

Comments
 (0)