Initial import of NLProg

This commit is contained in:
sunguosheng
2026-06-17 20:41:49 +08:00
commit 26265cbb10
32 changed files with 3162 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# NLProg Memory
- Add stable project facts here as the agent learns them.
- Keep secrets, tokens, and private credentials out of this file.
+21
View File
@@ -0,0 +1,21 @@
{
"schema_version": 1,
"project_types": [
"python"
],
"important_files": [
"pyproject.toml"
],
"verification_commands": [
"python -m compileall src",
"python -m unittest discover"
],
"protected_paths": [
".git",
".venv",
"node_modules",
"__pycache__",
"dist",
"build"
]
}
+22
View File
@@ -0,0 +1,22 @@
# NLProg Rules
## Editing
- Inspect relevant files before editing.
- Prefer small, exact replacements over whole-file rewrites.
- Preview edits and ask for confirmation before writing files.
- Do not write secrets, API keys, or private credentials into the repository.
## Protected Paths
- `.git`
- `.venv`
- `node_modules`
- `__pycache__`
- `dist`
- `build`
## Verification
- `python -m compileall src`
- `python -m unittest discover`