diff --git a/.agents/pm/chores/pm-beads-bv5f.toon b/.agents/pm/chores/pm-beads-bv5f.toon new file mode 100644 index 0000000..1d9efb6 --- /dev/null +++ b/.agents/pm/chores/pm-beads-bv5f.toon @@ -0,0 +1,12 @@ +id: pm-beads-bv5f +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:36:42.027Z" +updated_at: "2026-10-16T10:36:42.027Z" +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-beads-bv5f.jsonl b/.agents/pm/history/pm-beads-bv5f.jsonl new file mode 100644 index 0000000..da9c5ce --- /dev/null +++ b/.agents/pm/history/pm-beads-bv5f.jsonl @@ -0,0 +1 @@ +{"hash_algorithm":"sha256","ts":"2026-10-16T10:36:42.027Z","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-beads-bv5f"},{"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:36:42.027Z"},{"op":"add","path":"/metadata/updated_at","value":"2026-10-16T10:36:42.027Z"},{"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":"a509abcacb8249deff1d4e7b30aba227cd7a87254a0ce4479917d3ae3ab3b00d","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":"4ecd51b49af54024a688e51231af0ec275a23b14c8e88c38baf8ab62eeabce00"} diff --git a/.github/workflows/pm-github-closeout.yml b/.github/workflows/pm-github-closeout.yml new file mode 100644 index 0000000..a7d2369 --- /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 aabcb39..5d3be13 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"