summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-10 19:45:32 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-10 19:45:32 +0300
commit5c9373d0c6e0457f47a67425285f5a641575fffd (patch)
treebb31f7f8a736df32c2a3cbc31a5a882793cb864b /.github
parent266acf2829fdcf809fe851203d8e34167075dd3f (diff)
downloadvyos-documentation-5c9373d0c6e0457f47a67425285f5a641575fffd.tar.gz
vyos-documentation-5c9373d0c6e0457f47a67425285f5a641575fffd.zip
docs: expand context7 rules — VyOS-specific LLM guardrails
Add 5 rules to `context7.json` targeting recurring LLM mistakes when answering VyOS questions through the context7-served index: 1. `commit` vs `save` semantics + verification step. Most common mistake: forgetting that `set/delete` are staged-only, that `commit` runs validation (failure = no change), and that `save` is a separate persistence step. 2. Image-based, not package-managed. Stops `apt install <pkg>` recommendations. Upgrade is `add system image <url>` then `set system image default-boot <name>`. 3. No raw Linux commands for configuration (`ip`, `iptables`, `systemctl`, NetworkManager). They bypass the CLI and do not persist. 4. CLI quoting with single quotes for whitespace/special chars + hierarchical-path reminder (paths under a parent extend without re-stating it). 5. Routing protocols are FRR-backed but only the VyOS-CLI-exposed subset is valid. Synthesizing from FRR docs produces invalid VyOS commands. Reinforces existing rule 5 with the most common synthesis trap. Each rule fits the 255-char per-rule limit. Total now 11 of 50. Lower-priority candidates intentionally omitted (low LLM-mistake yield): `compare`/`discard`/`rollback` mechanics, interface naming conventions, `commit-confirm`, `load`/`merge`, Equuleus EOL status — already implicit in the version-branches rule. 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions