From 9b5333472bc8c3306a8ebc7322c06b8b06565185 Mon Sep 17 00:00:00 2001 From: SteveBot <1153461+unbraind@users.noreply.github.com> Date: Fri, 16 Oct 2026 12:40:33 +0200 Subject: [PATCH] Repin gated sync to pm-github 2026.10.16 and add the daily gated closeout caller The sync caller now pins pm-github 2026.10.16 (tag 67a5e3e), whose reusable workflow resolves the caller's default branch through the API (schedule payloads carry no repository object) and accepts npm-project-dir. The new closeout caller runs the reusable gated closeout workflow daily: it closes items delivered by merged pull requests on a bot branch and opens one PR. Tracked by pm-rl-yb4q. --- .agents/pm/chores/pm-rl-yb4q.toon | 12 ++++++++++++ .agents/pm/history/pm-rl-yb4q.jsonl | 1 + .github/workflows/pm-github-closeout.yml | 24 ++++++++++++++++++++++++ .github/workflows/pm-github-sync.yml | 4 ++-- 4 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 .agents/pm/chores/pm-rl-yb4q.toon create mode 100644 .agents/pm/history/pm-rl-yb4q.jsonl create mode 100644 .github/workflows/pm-github-closeout.yml diff --git a/.agents/pm/chores/pm-rl-yb4q.toon b/.agents/pm/chores/pm-rl-yb4q.toon new file mode 100644 index 00000000..67e51b08 --- /dev/null +++ b/.agents/pm/chores/pm-rl-yb4q.toon @@ -0,0 +1,12 @@ +id: pm-rl-yb4q +title: "Adopt pm-github 2026.10.16: default-branch-safe gated sync and daily gated closeout PRs" +description: "Repin the gated sync caller to pm-github 2026.10.16 (tag 67a5e3e: npm-project-dir input, caller default branch resolved through the API for schedule payloads) and add the reusable gated closeout caller, which opens one reviewed PR per day closing items delivered by merged pull requests." +type: Chore +status: in_progress +priority: 2 +tags[3]: changed,ci,pm-github +created_at: "2026-10-16T10:40:31.286Z" +updated_at: "2026-10-16T10:40:31.286Z" +author: claude-orchestrator +acceptance_criteria: pm-github-sync.yml pins 2026.10.16 at 67a5e3e; pm-github-closeout.yml calls the reusable closeout workflow at the same pin +body: "" diff --git a/.agents/pm/history/pm-rl-yb4q.jsonl b/.agents/pm/history/pm-rl-yb4q.jsonl new file mode 100644 index 00000000..548714e4 --- /dev/null +++ b/.agents/pm/history/pm-rl-yb4q.jsonl @@ -0,0 +1 @@ +{"hash_algorithm":"sha256","ts":"2026-10-16T10:40:31.286Z","author":"claude-orchestrator","author_source":"asserted","agent_harness":"claude-code","agent_model":"claude-opus-5-5","agent_model_source":"probe","agent_instance":"cd687996088c07eef02d762c","agent_provenance":{"model":{"value":"claude-opus-5-5","source":"probe"},"effort":{"value":"xhigh","source":"environment"},"role":{"value":"implementer","source":"argv"},"topic":null,"version":{"value":"2.1.301","source":"probe"}},"op":"create","patch":[{"op":"add","path":"/metadata/id","value":"pm-rl-yb4q"},{"op":"add","path":"/metadata/title","value":"Adopt pm-github 2026.10.16: default-branch-safe gated sync and daily gated closeout PRs"},{"op":"add","path":"/metadata/description","value":"Repin the gated sync caller to pm-github 2026.10.16 (tag 67a5e3e: npm-project-dir input, caller default branch resolved through the API for schedule payloads) and add the reusable gated closeout caller, which opens one reviewed PR per day closing items delivered by merged pull requests."},{"op":"add","path":"/metadata/type","value":"Chore"},{"op":"add","path":"/metadata/status","value":"in_progress"},{"op":"add","path":"/metadata/priority","value":2},{"op":"add","path":"/metadata/tags","value":["changed","ci","pm-github"]},{"op":"add","path":"/metadata/created_at","value":"2026-10-16T10:40:31.286Z"},{"op":"add","path":"/metadata/updated_at","value":"2026-10-16T10:40:31.286Z"},{"op":"add","path":"/metadata/author","value":"claude-orchestrator"},{"op":"add","path":"/metadata/acceptance_criteria","value":"pm-github-sync.yml pins 2026.10.16 at 67a5e3e; pm-github-closeout.yml calls the reusable closeout workflow at the same pin"}],"before_hash":"3cc22dff72be7b14824654a7a64ea62b04799939b2fee54c1b5f52ca60bf6df0","after_hash":"36992b558d47b0ed6479b1e72d3c9dfcbd9274cc05cf0431bf5490023c44285d","item_hash_version":3,"message":"","context":{"agent_provenance_outcomes":{"model":{"status":"resolved","resolver":"claude_session_file","rule_version":"v1"},"version":{"status":"resolved","resolver":"claude_session_file","rule_version":"v1"}}},"event_class":"substantive","record_hash_version":1,"record_hash":"9ad1fbfa4458bc181dd09aa9cc5d3c20cd2856c2c23fe91aa2b79ee105f34016"} diff --git a/.github/workflows/pm-github-closeout.yml b/.github/workflows/pm-github-closeout.yml new file mode 100644 index 00000000..a7d23698 --- /dev/null +++ b/.github/workflows/pm-github-closeout.yml @@ -0,0 +1,24 @@ +# Pin both placeholders to a reviewed release containing github closeout and this workflow. +# Callers need no guard of their own: API default-branch resolution supports schedule +# payloads without repository metadata; manual dispatch from another branch fails closed. +# Configure required CI workflows to support workflow_dispatch and emit their usual checks. +# Missing CI filenames are skipped with a notice, matching the reusable sync workflow. +# Settings -> Actions -> General must allow Actions to create pull requests. +name: Close pm items delivered by merged pull requests +on: + schedule: + - cron: "43 3 * * *" + workflow_dispatch: +permissions: + contents: write + pull-requests: write + checks: read + actions: write +jobs: + gated-closeout: + uses: unbraind/pm-github/.github/workflows/pm-github-closeout.yml@67a5e3e1514fddeeae29951da00513f06f7aa0ab # pm-github 2026.10.16 + with: + pm-github-version: "2026.10.16" + npm-project-dir: "." # Use tools/oracle or another contained npm project when needed. + post-closeout-script: "changelog:full" # Missing script skips; "" disables it. + ci-workflows: "ci.yml" # Whitespace-separated workflow filenames; "" disables dispatch. \ No newline at end of file diff --git a/.github/workflows/pm-github-sync.yml b/.github/workflows/pm-github-sync.yml index e77d6346..f55ce348 100644 --- a/.github/workflows/pm-github-sync.yml +++ b/.github/workflows/pm-github-sync.yml @@ -13,6 +13,6 @@ permissions: actions: write jobs: gated-sync: - uses: unbraind/pm-github/.github/workflows/pm-github-sync.yml@3015930b351a3d9c1c03ee4a26f8404025287df7 # pm-github 2026.10.15 + uses: unbraind/pm-github/.github/workflows/pm-github-sync.yml@67a5e3e1514fddeeae29951da00513f06f7aa0ab # pm-github 2026.10.16 with: - pm-github-version: "2026.10.15" + pm-github-version: "2026.10.16"