feat: working orhcestration engine
This commit is contained in:
7
tests/toy/root/agents/checker.md
Normal file
7
tests/toy/root/agents/checker.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
role: checker
|
||||
deliverable: check
|
||||
budget: 12
|
||||
includes: [protocol]
|
||||
---
|
||||
You check that every dish can be made from the shopping list.
|
||||
6
tests/toy/root/agents/menu-writer.md
Normal file
6
tests/toy/root/agents/menu-writer.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
role: menu-writer
|
||||
deliverable: menu
|
||||
includes: [protocol]
|
||||
---
|
||||
You write the menu: the dishes, each with an id.
|
||||
4
tests/toy/root/agents/orchestrator.md
Normal file
4
tests/toy/root/agents/orchestrator.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
role: orchestrator
|
||||
---
|
||||
You coordinate a picnic plan. You produce nothing yourself.
|
||||
6
tests/toy/root/agents/packer.md
Normal file
6
tests/toy/root/agents/packer.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
role: packer
|
||||
deliverable: plan
|
||||
includes: [protocol]
|
||||
---
|
||||
You put the menu, the shopping list and the check together as the picnic plan.
|
||||
3
tests/toy/root/agents/partials/protocol.md
Normal file
3
tests/toy/root/agents/partials/protocol.md
Normal file
@@ -0,0 +1,3 @@
|
||||
## How you work
|
||||
|
||||
You produce exactly one Deliverable, named in your task. Submit it with `submit_deliverable` when it meets its `contract`, or ask with `needs_input`.
|
||||
4
tests/toy/root/agents/reply-writer.md
Normal file
4
tests/toy/root/agents/reply-writer.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
role: reply-writer
|
||||
---
|
||||
You write what the user reads, from the facts you are given.
|
||||
7
tests/toy/root/agents/shopper.md
Normal file
7
tests/toy/root/agents/shopper.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
role: shopper
|
||||
deliverable: shopping_list
|
||||
tools: [tally]
|
||||
includes: [protocol]
|
||||
---
|
||||
You write the shopping list: what to buy for every dish on the menu.
|
||||
19
tests/toy/root/providers/toy.yaml
Normal file
19
tests/toy/root/providers/toy.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
# A provider bundle for the engine's own tests. Nothing here is a real provider.
|
||||
name: toy
|
||||
|
||||
skills_dirs:
|
||||
- skills
|
||||
|
||||
models:
|
||||
default: scripted/none
|
||||
roles:
|
||||
checker: scripted/careful
|
||||
timeout_seconds:
|
||||
checker: 240
|
||||
|
||||
role_skills:
|
||||
menu-writer: [picnic-planning]
|
||||
shopper: [picnic-planning]
|
||||
|
||||
tools:
|
||||
general: [tally]
|
||||
10
tests/toy/root/skills/overlays/house-rules/SKILL.md
Normal file
10
tests/toy/root/skills/overlays/house-rules/SKILL.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
name: house-rules
|
||||
description: >-
|
||||
A stand-in overlay Skill for the engine's own tests: one household's rules for a
|
||||
picnic. Use on any Deliverable of an Execution that names this overlay.
|
||||
---
|
||||
|
||||
# House rules
|
||||
|
||||
Nothing here is a rule. It exists so a test can name an overlay Skill.
|
||||
10
tests/toy/root/skills/picnic-planning/SKILL.md
Normal file
10
tests/toy/root/skills/picnic-planning/SKILL.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
name: picnic-planning
|
||||
description: >-
|
||||
A stand-in Skill for the engine's own tests: how a picnic is planned. Use when
|
||||
writing the menu or the shopping list of a picnic plan.
|
||||
---
|
||||
|
||||
# Picnic planning
|
||||
|
||||
Nothing here is guidance. It exists so the toy Workflow's roles have a Skill.
|
||||
Reference in New Issue
Block a user