Update agent feature documentation

This commit is contained in:
Georg Bauer
2026-08-30 13:19:51 +02:00
parent 1597ddbc11
commit f1b62c65f9
2 changed files with 85 additions and 4 deletions

View File

@@ -92,7 +92,70 @@ application-control, and credential risks still require approval.
Tool calls and results appear in the transcript. Use their copy actions for the
complete, untruncated text; large outputs can also be opened from their saved
file.
file. Calls are checked against typed schemas before execution, so unknown
tools, missing or extra fields, invalid values, and malformed tool syntax are
returned to the agent as structured errors instead of being executed.
## Ralph loops
For a bounded task that benefits from repeated autonomous passes, ask the agent
to use a Ralph loop, for example: “Use a Ralph loop with at most 12 rounds to
fix and verify this parser.” This is an agent tool, not a slash command or a
separate view. The normal default is 8 rounds and the allowed range is 164.
Ralph runs in the foreground. Each round receives the same immutable objective
in a fresh model context, inspects the current project as its source of truth,
and ends with one structured report. File changes remain on disk between
rounds, but earlier conversation does not: only the previous validated report,
applicable workspace instructions, and available skills are handed to the next
worker. This limits accumulated context while allowing the next round to
continue, verify, or repair the work.
The current chat's model settings and permission mode still apply. Risky shell
commands and visible browser actions can therefore pause for the usual
approval. **Stop** cancels the loop and its active work. Ralph also stops when a
worker reports completion or a blocker, a child round fails, or the round limit
is reached. Completion is a worker report rather than independent
certification; review its evidence or ask the parent agent to verify it when
that distinction matters. Ralph workers cannot start nested Ralph loops.
## Workspace instructions and standard skills
DS4Server applies workspace guidance from these locations:
- `~/Library/Application Support/de.rfc1437.ds4server/AGENTS.md` applies to all
projects.
- `AGENTS.md` in the project root applies to that project.
- `AGENTS.md` and `AGENTS.local.md` in nested directories apply after the agent
successfully reads, writes, or edits a file in that part of the project.
Instructions are ordered from broad to specific. A deeper file takes
precedence over broader guidance, and `AGENTS.local.md` is the final overlay for
its directory. DS4Server records additions, changes, and removals during an
ongoing chat and restores the applicable instruction set after context
compaction. Files that cannot be read safely produce a context notice; if the
file was already tracked, its last readable version remains in effect.
Workspace instructions cannot override system, developer, or direct user
instructions.
Reusable standard skills are discovered from
`~/.agents/skills/<name>/SKILL.md`. Each `SKILL.md` starts with YAML frontmatter:
```yaml
---
name: review-release
description: Review a release against this project's checklist.
---
```
The directory name must match `name`; names use lowercase letters, digits, and
single hyphens. DS4Server initially gives the agent only each valid skill's
name, description, and path. When a task matches, the agent reads the complete
file and any needed resources from that skill directory. Standard skill files
are readable but not writable through agent tools. Install only skills you
trust, place them manually before starting a chat, and start a new chat after
changing the installed set. There is currently no built-in skill installer or
extension marketplace.
## Dev Brain