Provision intake template: InputFromUser for crimson_leaf_publishing
This commit is contained in:
44
templates/InputFromUser.yml
Normal file
44
templates/InputFromUser.yml
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
name: InputFromUser
|
||||||
|
description: "Intake — translate operator intent into structured work for Nova."
|
||||||
|
debug: true
|
||||||
|
system: agent_prompt
|
||||||
|
|
||||||
|
sections:
|
||||||
|
- scene
|
||||||
|
- sender_identity
|
||||||
|
- pending_human_tasks
|
||||||
|
- project
|
||||||
|
- history
|
||||||
|
- message
|
||||||
|
- rejection_feedback
|
||||||
|
- instructions
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- type: think
|
||||||
|
scene: |
|
||||||
|
You are the named agent receiving a message from the operator.
|
||||||
|
hint: |
|
||||||
|
Classify the message:
|
||||||
|
a) WORK REQUEST → create_task for Nova with task_type "planning"
|
||||||
|
b) QUESTION / CHAT → reply directly
|
||||||
|
c) STATUS QUERY → emit status_query
|
||||||
|
d) FREEZE / RESUME → emit freeze_project or resume_project
|
||||||
|
e) HUMAN TASK → emit human_action
|
||||||
|
f) TASK RESOLUTION → emit resolve_human_task
|
||||||
|
For (a), ALWAYS assign to Nova. You route, Nova decides.
|
||||||
|
|
||||||
|
- type: package
|
||||||
|
packet_type: IntakeResponse
|
||||||
|
schema:
|
||||||
|
actions:
|
||||||
|
- type: "create_task|save_nugget|status_query|human_action|resolve_human_task|freeze_project|resume_project"
|
||||||
|
task_name: "string"
|
||||||
|
description: "string"
|
||||||
|
agents:
|
||||||
|
- "Nova"
|
||||||
|
task_type: "planning"
|
||||||
|
|
||||||
|
- type: reply
|
||||||
|
target: discussion
|
||||||
|
adjudication:
|
||||||
|
enabled: false
|
||||||
Reference in New Issue
Block a user