docs: sprint day 11 session 3 — agent-sudo design, projects DB, infrastructure migration

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Backtalk6858
2026-06-27 16:39:16 -05:00
parent 9260cc039f
commit 37d1c5d90f
3 changed files with 3 additions and 3 deletions
@@ -96,7 +96,7 @@ If Ollama call fails or times out (>120s): set builder_status = 'failed', log er
Pass the generated code to `claude -p` for structural review. Keep the prompt minimal to conserve SDK credits:
```bash
claude -p "Review this {type} automation code for the following only:
claude -p --model claude-sonnet-4-6 --thinking medium "Review this {type} automation code for the following only:
1. Does it correctly fetch secrets from Vault via AppRole (never hardcoded)?
2. Are there any obvious syntax errors or missing imports?
3. Does the logic match this spec summary: {name} — {task_description[:200]}
@@ -110,7 +110,7 @@ If Ollama call fails or times out (>120s): set builder_status = 'failed', log er
Pass the generated JSON to `claude -p` for structural review. Keep prompt minimal to conserve SDK credits:
```bash
claude -p "Review this N8N workflow JSON for the following only:
claude -p --model claude-sonnet-4-6 --thinking medium "Review this N8N workflow JSON for the following only:
1. Is it valid N8N workflow JSON with required fields (name, nodes, connections, active, settings)?
2. Do all nodes have id, name, type, typeVersion, position, parameters?
3. Do connections reference node names that exist in the nodes array?
@@ -48,7 +48,7 @@ Does it deploy to sandbox without errors?
| Type | Check |
|---|---|
| `n8n_automation` | `POST /api/v1/workflows` succeeds; workflow appears in sandbox N8N UI; all credentials are assigned (no empty credential IDs) |
| `claude_agent` | Container builds and starts; `docker ps` shows healthy; `claude -p "echo ok"` returns without error from within the agent's execution context |
| `claude_agent` | Container builds and starts; `docker ps` shows healthy; `claude -p --model claude-sonnet-4-6 --thinking medium "echo ok"` returns without error from within the agent's execution context |
| `script` | Docker image builds; container starts; first log line appears within 30 seconds; exit code is 0 for one-shot scripts or container stays running for daemon scripts |
**Pass criteria:** No deployment errors, artifact is reachable. **Fail action:** Log to `agent_test_results`, NTFY user, tear down partial deployment in sandbox.