From 3ffd525b4dcffea1fd5702d9a3affa77d635ebb2 Mon Sep 17 00:00:00 2001 From: pelikhan <4175913+pelikhan@users.noreply.github.com> Date: Tue, 24 Nov 2026 12:03:32 +0000 Subject: [PATCH 1/2] Initial plan From 6896ef155a89ecd7e7a1d9cd3f4cbcc76af17efd Mon Sep 17 00:00:00 2001 From: pelikhan <4175913+pelikhan@users.noreply.github.com> Date: Tue, 24 Nov 2026 12:11:36 +0000 Subject: [PATCH 2/2] Apply remaining changes Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .github/workflows/daily-rig-decomposition-bench.lock.yml | 2 +- .github/workflows/daily-rig-decomposition-bench.md | 5 +++++ src/decomposition-bench-workflow.test.ts | 7 +++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/daily-rig-decomposition-bench.lock.yml b/.github/workflows/daily-rig-decomposition-bench.lock.yml index 62bf621..9681750 100644 --- a/.github/workflows/daily-rig-decomposition-bench.lock.yml +++ b/.github/workflows/daily-rig-decomposition-bench.lock.yml @@ -1,4 +1,4 @@ -# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"2c14664a2b7f8a2b604ea91377e521a083ecfe964b11d24edb7a5aab2e95b7af","body_hash":"07a50108d2d2ed0a9dc6cc686c5f060ed57368667202f00b06a7dee8fc55900c","compiler_version":"v1.4.0","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.113","copilot-sdk":"2.0.0"}} +# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"2c14664a2b7f8a2b604ea91377e521a083ecfe964b11d24edb7a5aab2e95b7af","body_hash":"fa356ad28d64be4995a2076aaa2d3b0ae52bce9833db42fffbe9536eaeacb9af","compiler_version":"v1.4.0","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.113","copilot-sdk":"2.0.0"}} # gh-aw-manifest: {"version":1,"secrets":["GH_AW_DEFAULT_OTLP_ENDPOINT","GH_AW_DEFAULT_OTLP_HEADERS","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN"],"actions":[{"repo":"actions/checkout","sha":"3d3c42e5aac5ba805825da76410c181273ba90b1","version":"v7.0.1"},{"repo":"actions/download-artifact","sha":"9000827ccba6bdab643e8b6fd33ac0654aef8333","version":"v8.0.2"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"949feb2413d6458794dcd2491c4babbbce0c15c1","version":"v7.1.0"},{"repo":"actions/upload-artifact","sha":"cf430e030ddbb5b0abf93d22962f4752f3646cd9","version":"v7.0.2"},{"repo":"github/gh-aw-actions/setup","sha":"b907753c079ddd7d6829a0d8c24e02e818b4b45f","version":"v1.4.0"}],"skills":["githubnext/rig/skills/rig@0cf43bec9424276137fc101983033039d4e0e592"],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.29.20@sha256:b9cd8d7d1a9c2693e5d91db035a678fb1ea8d87ce691e08ec091b327e5e8ba75"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.29.20@sha256:fc6c1eff686514d26ff90ae1398e0f6e3dcad8d2e43d11b16df312c1e72c0ace"},{"image":"ghcr.io/github/gh-aw-firewall/router:0.29.20@sha256:732c3741e866099c6c2095aad7c84a18266486563deb51d7cce723f9bfc48721"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.29.20@sha256:1c4a4a12fcea206a81d656cb1f73847420a2c041d02ab51235364079a1e31d71"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.5.14","digest":"sha256:716b41d53a20660e945c351c08140380430d65d98d3263596e45114c29fa7a43","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.5.14@sha256:716b41d53a20660e945c351c08140380430d65d98d3263596e45114c29fa7a43"},{"image":"ghcr.io/github/gh-aw-node","digest":"sha256:a8082161d7dceda14b68f32eb39d0eaa96b825d07f5895b096afab9d9e0c7748","pinned_image":"ghcr.io/github/gh-aw-node@sha256:a8082161d7dceda14b68f32eb39d0eaa96b825d07f5895b096afab9d9e0c7748"},{"image":"ghcr.io/github/github-mcp-server:v2.2.0","digest":"sha256:040c4e99810076035eb1d9beb4b4a96fcf589c43cefed6ff51a46a553eb4e174","pinned_image":"ghcr.io/github/github-mcp-server:v2.2.0@sha256:040c4e99810076035eb1d9beb4b4a96fcf589c43cefed6ff51a46a553eb4e174"}],"mcp_servers":[{"name":"github","tools":["get_commit","get_file_contents","get_latest_release","get_me","get_pull_request","get_pull_request_comments","get_pull_request_diff","get_pull_request_files","get_pull_request_review_comments","get_pull_request_reviews","get_pull_request_status","get_release_by_tag","get_tag","issue_read","list_branches","list_commits","list_issue_types","list_issues","list_pull_requests","list_releases","list_starred_repositories","list_tags","pull_request_read","search_code","search_issues","search_pull_requests","search_repositories"]},{"name":"safeoutputs","tools":["create_issue","noop","report_incomplete","report_missing_data","report_missing_tool"]}],"threat_detection":{"mode":"enabled"},"admission":false,"agent_metadata":{"03cbf8931deff21d5116":{"name":"Agentic Workflows"}}} # This file was automatically generated by gh-aw (v1.4.0). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md # diff --git a/.github/workflows/daily-rig-decomposition-bench.md b/.github/workflows/daily-rig-decomposition-bench.md index 1816af7..2fea5d9 100644 --- a/.github/workflows/daily-rig-decomposition-bench.md +++ b/.github/workflows/daily-rig-decomposition-bench.md @@ -70,6 +70,11 @@ implements the specification below. Then typecheck it by piping it to the instal CLI, run from the skill directory so Node's package self-reference resolves the bare `"rig"` import, and fix any reported errors before running it: +Write the program incrementally in several small file edits, completing one section at a +time (agent definitions, orchestration, then result handling). Do not plan or generate the +entire program in a single response; keep each edit bounded and proceed directly to the +next section. The assembled file must still meet all of the requirements below. + ```bash cd .github/skills/rig && cat /tmp/gh-aw/agent/bench.ts | node rig.ts --typecheck ``` diff --git a/src/decomposition-bench-workflow.test.ts b/src/decomposition-bench-workflow.test.ts index 58226e1..02e2288 100644 --- a/src/decomposition-bench-workflow.test.ts +++ b/src/decomposition-bench-workflow.test.ts @@ -26,4 +26,11 @@ describe("Daily Rig Decomposition Benchmark workflow", () => { expect(markdown).toContain("mark it as a fallback in the report"); expect(markdown).toContain("The fallback is a task description, not a substitute for either solution or grading."); }); + + it("writes the benchmark in bounded edits before typechecking and running it once", () => { + expect(markdown).toContain("Write the program incrementally in several small file edits"); + expect(markdown).toContain("entire program in a single response"); + expect(markdown).toContain("The assembled file must still meet all of the requirements below."); + expect(markdown).toContain("Run the program **exactly once**"); + }); });