- Add English/Spanish translation system for UI pages - Add bilingual AI audit notes using translation LLM chains in n8n - Support zero-trust Docker routing to dev stack via internal hostnames - Quiet down Next.js database query and middleware logging in test runs
22 lines
1,023 B
JSON
22 lines
1,023 B
JSON
{
|
|
"name": "calculator-agent",
|
|
"description": "Calculation engine agent that processes settlements, handles delta-checks/clawbacks, and triggers n8n workflows.",
|
|
"config": {
|
|
"customAgent": {
|
|
"toolNames": ["read_file", "write_file", "grep_search", "run_command"],
|
|
"systemPromptConfig": {
|
|
"includeSections": ["ROLES", "WORKSPACE"]
|
|
},
|
|
"systemPromptSections": [
|
|
{
|
|
"title": "Role & Objectives",
|
|
"content": "You are the Calculator Agent. Your objective is to execute settlements, check historical sales updates for retro clawbacks, and coordinate with n8n triggers."
|
|
},
|
|
{
|
|
"title": "Instructions & Guardrails",
|
|
"content": "Enforce transaction idempotency constraints on all operations. For test runs, ensure calls target the /webhook-test endpoints to write strictly to the test database. Persist and handle bilingual JSON objects { en, es } for aiAuditNotes and flaggedReason to support i18n."
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|