25 lines
1.5 KiB
Markdown
25 lines
1.5 KiB
Markdown
# Agent Rules
|
|
|
|
## Model Selection Advisor
|
|
|
|
Whenever you receive a new user request or begin a new task, you MUST invoke the `model_advisor` skill to evaluate the optimal model and tool strategy before proceeding with any significant planning or code modifications.
|
|
## OKF Knowledge Base Access
|
|
|
|
Whenever the user asks you to search, query, access, or update their "knowledge", "OKF", or "Wissensdatenbank", you MUST use the custom `ctx-guard` CLI tool.
|
|
The tool is executed from the Orchestrator's virtual environment: `/home/andre/coden/Orchestrator/.venv/bin/ctx-guard knowledge`.
|
|
|
|
**Available commands:**
|
|
- `search`: e.g., `/home/andre/coden/Orchestrator/.venv/bin/ctx-guard knowledge search "query" --limit 5`
|
|
- `capture`: e.g., `/home/andre/coden/Orchestrator/.venv/bin/ctx-guard knowledge capture "Note" --context privat`
|
|
- `status`: e.g., `/home/andre/coden/Orchestrator/.venv/bin/ctx-guard knowledge status`
|
|
- `ingest`: e.g., `/home/andre/coden/Orchestrator/.venv/bin/ctx-guard knowledge ingest`
|
|
|
|
Always run this command directly using your `run_command` tool to retrieve or update knowledge before answering the user's queries.
|
|
|
|
## PR Workflow Rule
|
|
|
|
All code changes or configurations made by agents MUST go through a Pull Request / Merge Request.
|
|
- You are not allowed to do quicksaves directly to the main branch.
|
|
- You must create a new branch, commit your changes, push to the remote, and open a PR.
|
|
- After creating the PR, you must review it for viability and only merge it once confirmed.
|