Clarify session bootstrap path semantics in docs
Updated documentation files to specify that all session bootstrap file paths are relative to the root of the repo holding the file, not just the repo root. This clarification affects `.github/LLM_RULES.md`, `copilot-instructions.md`, `AGENTS.md`, and `CLAUDE.md` across multiple repositories. Repo declaration comments in `LLM_RULES.md` now reference field semantics and rules from the host's `.github/REPO_PREFIXES.md` and related base rules. No functional or behavioral changes—documentation and instruction clarifications only.
This commit is contained in:
@@ -12,9 +12,7 @@ No additional mandatory session reads.
|
||||
|
||||
```
|
||||
# own-dep-repos: "name: path" — paths are relative to this repo root (.github/..)
|
||||
# layer: coarse repo-level label - frameworks low, all consumers share one level (LLMP-DEC-74).
|
||||
# product-lines: version lines this repo takes part in. A value is the branch name without its version — `<value>_v<A>.<B>.<C>.<D>`. Empty = joins no line.
|
||||
# A reference is allowed when the target's layer <= mine AND the target is listed in own-dep-repos, OR both repos are product/consumer typed and share a product line.
|
||||
# Field semantics: the host's `.github/REPO_PREFIXES.md` sample block; the reference rule: BASE:REFERENCE_RULE; lines: BASE:PRODUCT_LINE_SCOPE.
|
||||
@repo {
|
||||
name = "Mango.Nop Libraries"
|
||||
prefix = "MGNOPLIB"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## Session bootstrap
|
||||
|
||||
This file is injected by the host. **Before answering anything, read `.github/LLM_RULES.md` and follow the chain it starts, to its end.** Paths are relative to the repo root, here and in every file of the chain. Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
This file is injected by the host. **Before answering anything, read `.github/LLM_RULES.md` and follow the chain it starts, to its end.** Paths are relative to the root of the repo holding the file they are written in — here and in every file of the chain. Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
|
||||
Every response begins with the `[LOADED_DOCS: N files (+K this turn: <short names>)]` prefix — `[LOADED_DOCS: N files, no new loads]` when nothing new; semantics in `BASE:CONTEXT_LEDGER`.
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ CRITICAL: Your FIRST action in every session is the bootstrap chain below. Compl
|
||||
|
||||
## Session bootstrap
|
||||
|
||||
**Read [`.github/LLM_RULES.md`](.github/LLM_RULES.md) and follow the chain it starts, to its end.** Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
**Read [`.github/LLM_RULES.md`](.github/LLM_RULES.md) and follow the chain it starts, to its end.** Paths are relative to the root of the repo holding the file they are written in — here and in every file of the chain. Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
|
||||
Every response begins with the `[LOADED_DOCS: N files (+K this turn: <short names>)]` prefix — `[LOADED_DOCS: N files, no new loads]` when nothing new; semantics in `BASE:CONTEXT_LEDGER`.
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ CRITICAL: Your FIRST action in every session is the bootstrap chain below. Compl
|
||||
|
||||
## Session bootstrap
|
||||
|
||||
**Read [`.github/LLM_RULES.md`](.github/LLM_RULES.md) and follow the chain it starts, to its end.** Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
**Read [`.github/LLM_RULES.md`](.github/LLM_RULES.md) and follow the chain it starts, to its end.** Paths are relative to the root of the repo holding the file they are written in — here and in every file of the chain. Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
|
||||
Every response begins with the `[LOADED_DOCS: N files (+K this turn: <short names>)]` prefix — `[LOADED_DOCS: N files, no new loads]` when nothing new; semantics in `BASE:CONTEXT_LEDGER`.
|
||||
|
||||
|
||||
Vendored
+1
-3
@@ -11,9 +11,7 @@ No additional mandatory session reads.
|
||||
## Repo declaration
|
||||
|
||||
```
|
||||
# layer: coarse repo-level label - frameworks low, all consumers share one level (LLMP-DEC-74).
|
||||
# product-lines: version lines this repo takes part in. A value is the branch name without its version — `<value>_v<A>.<B>.<C>.<D>`. Empty = joins no line.
|
||||
# A reference is allowed when the target's layer <= mine AND the target is listed in own-dep-repos, OR both repos are product/consumer typed and share a product line.
|
||||
# Field semantics: the host's `.github/REPO_PREFIXES.md` sample block; the reference rule: BASE:REFERENCE_RULE; lines: BASE:PRODUCT_LINE_SCOPE.
|
||||
@repo {
|
||||
name = "Mango.Nop.Core"
|
||||
prefix = "MGNOPCORE"
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
## Session bootstrap
|
||||
|
||||
This file is injected by the host. **Before answering anything, read `.github/LLM_RULES.md` and follow the chain it starts, to its end.** Paths are relative to the repo root, here and in every file of the chain. Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
This file is injected by the host. **Before answering anything, read `.github/LLM_RULES.md` and follow the chain it starts, to its end.** Paths are relative to the root of the repo holding the file they are written in — here and in every file of the chain. Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
|
||||
Every response begins with the `[LOADED_DOCS: N files (+K this turn: <short names>)]` prefix — `[LOADED_DOCS: N files, no new loads]` when nothing new; semantics in `BASE:CONTEXT_LEDGER`.
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ CRITICAL: Your FIRST action in every session is the bootstrap chain below. Compl
|
||||
|
||||
## Session bootstrap
|
||||
|
||||
**Read [`.github/LLM_RULES.md`](.github/LLM_RULES.md) and follow the chain it starts, to its end.** Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
**Read [`.github/LLM_RULES.md`](.github/LLM_RULES.md) and follow the chain it starts, to its end.** Paths are relative to the root of the repo holding the file they are written in — here and in every file of the chain. Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
|
||||
Every response begins with the `[LOADED_DOCS: N files (+K this turn: <short names>)]` prefix — `[LOADED_DOCS: N files, no new loads]` when nothing new; semantics in `BASE:CONTEXT_LEDGER`.
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ CRITICAL: Your FIRST action in every session is the bootstrap chain below. Compl
|
||||
|
||||
## Session bootstrap
|
||||
|
||||
**Read [`.github/LLM_RULES.md`](.github/LLM_RULES.md) and follow the chain it starts, to its end.** Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
**Read [`.github/LLM_RULES.md`](.github/LLM_RULES.md) and follow the chain it starts, to its end.** Paths are relative to the root of the repo holding the file they are written in — here and in every file of the chain. Each file names the next; none of them is optional, and relevance to the question is judged after loading, never instead of it.
|
||||
|
||||
Every response begins with the `[LOADED_DOCS: N files (+K this turn: <short names>)]` prefix — `[LOADED_DOCS: N files, no new loads]` when nothing new; semantics in `BASE:CONTEXT_LEDGER`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user