docs: documented SYSTEM.md / APPEND_SYSTEM.md customization contract
- Added docs/system-prompt-customization.md covering precedence, replace-vs-append semantics, the verbatim insertion rule for template syntax, deduplication, and discovery behavior across the primary findConfigFile path and the capability layer. - Linked the new doc from docs/config-usage.md so the existing SYSTEM.md reference points at the full contract. Fixes #1671
This commit is contained in:
@@ -217,7 +217,7 @@ Native provider (`id: native`) reads native config from:
|
||||
|
||||
- Slash commands, rules, prompts, instructions, hooks, tools, extensions, extension modules, and settings use a project/user root only when the root directory exists and is non-empty.
|
||||
- Skills scan `<ancestor>/.omp/skills` for each ancestor from the current working directory up to the repo root/home boundary, plus `~/.omp/agent/skills`, without requiring the root `.omp` directory itself to be non-empty.
|
||||
- `SYSTEM.md` and `AGENTS.md` read user-level files directly and use nearest-ancestor project `.omp` lookup for project files, but the project `.omp` directory must be non-empty.
|
||||
- `SYSTEM.md` and `AGENTS.md` read user-level files directly and use nearest-ancestor project `.omp` lookup for project files, but the project `.omp` directory must be non-empty. See [`docs/system-prompt-customization.md`](./system-prompt-customization.md) for the full `SYSTEM.md` / `APPEND_SYSTEM.md` contract (replace vs. append, templating).
|
||||
|
||||
### Scope-specific loading
|
||||
|
||||
|
||||
Reference in New Issue
Block a user