From 113f403f5a0ffa9f068dc9b5b87bd42af2117610 Mon Sep 17 00:00:00 2001 From: kami Date: Wed, 10 Jun 2026 20:54:59 +0400 Subject: [PATCH] chore(examples): add qa_ping smoke workflow; ignore tui-go binary and qa/ scratch qa_ping is a minimal single-stage file_write workflow used for live QA smoke runs (writes 'pong' into the qa/ scratch repo). The qa/ workspace itself is a nested git repo and stays untracked; the compiled tui-go binary is ignored. --- .gitignore | 3 +++ apps/tui-go/.gitignore | 1 + examples/workflows/prompts/qa_ping.md | 1 + examples/workflows/qa_ping.toml | 16 ++++++++++++++++ 4 files changed, 21 insertions(+) create mode 100644 apps/tui-go/.gitignore create mode 100644 examples/workflows/prompts/qa_ping.md create mode 100644 examples/workflows/qa_ping.toml diff --git a/.gitignore b/.gitignore index 6d17b126..b6b36370 100644 --- a/.gitignore +++ b/.gitignore @@ -81,3 +81,6 @@ apps/tui/logs/ # Server runtime logs apps/server/logs/ + +# local QA scratch workspace (nested git repo) +/qa/ diff --git a/apps/tui-go/.gitignore b/apps/tui-go/.gitignore new file mode 100644 index 00000000..fefb4607 --- /dev/null +++ b/apps/tui-go/.gitignore @@ -0,0 +1 @@ +/tui-go diff --git a/examples/workflows/prompts/qa_ping.md b/examples/workflows/prompts/qa_ping.md new file mode 100644 index 00000000..86afd008 --- /dev/null +++ b/examples/workflows/prompts/qa_ping.md @@ -0,0 +1 @@ +Write the single word 'pong' to the file qa/sample-repo/ping.txt using file_write, then call stage_complete. Do not explain. diff --git a/examples/workflows/qa_ping.toml b/examples/workflows/qa_ping.toml new file mode 100644 index 00000000..63cf33e4 --- /dev/null +++ b/examples/workflows/qa_ping.toml @@ -0,0 +1,16 @@ +id = "qa_ping" +start = "ping" + +[[stages]] +id = "ping" +prompt = "prompts/qa_ping.md" +produces = [{ name = "ping_result", kind = "file_written" }] +allowed_tools = ["file_write"] +token_budget = 1024 +max_retries = 1 + +[[transitions]] +id = "ping-to-done" +from = "ping" +to = "done" +condition_type = "always_true"