Replace starters with four graded examples seeded into new databases
The template catalog is now Example 1-4: one stage, two stages (handoff), feedback loop (runner-owned limits, retries, timeout) and human decision (type=human approve/revise/abort with notify hooks). All read-only or leave changes uncommitted; none commits, pushes or deploys. A brand-new database (schema created by this Open) gets the examples once at server start, bound to the configured default model and harness. A server_settings marker records the decision, so removed examples never come back and existing installs are marked without any pipeline being added or rewritten.
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
# stage draft
|
||||
|
||||
```prompt
|
||||
Write the short document asked for in input.md (for example a summary or an
|
||||
explanation of some files), using only what you can read. Put the text under
|
||||
`# Draft` and the files you used under `# Sources`. Change nothing. Return
|
||||
blocked, naming what is missing, if there is nothing to work from.
|
||||
```
|
||||
|
||||
```tools
|
||||
read
|
||||
glob
|
||||
grep
|
||||
```
|
||||
|
||||
```configs
|
||||
provider=default
|
||||
model=default
|
||||
retries=2
|
||||
timeout=30m
|
||||
```
|
||||
|
||||
```edges
|
||||
success -> check
|
||||
blocked -> #failure
|
||||
error -> #failure
|
||||
```
|
||||
|
||||
# stage check
|
||||
|
||||
```prompt
|
||||
input.md is the previous stage's draft; memory.md holds the original request.
|
||||
Check the draft against its sources and the request, correct mistakes and gaps,
|
||||
and return the final text under `# Final` with a short list of corrections.
|
||||
Change nothing. Return blocked if the draft cannot be checked.
|
||||
```
|
||||
|
||||
```tools
|
||||
read
|
||||
glob
|
||||
grep
|
||||
```
|
||||
|
||||
```configs
|
||||
provider=default
|
||||
model=default
|
||||
retries=2
|
||||
timeout=30m
|
||||
```
|
||||
|
||||
```edges
|
||||
success -> #success
|
||||
blocked -> #failure
|
||||
error -> #failure
|
||||
```
|
||||
Reference in New Issue
Block a user