Payload
{
"action": "closed",
"issue": {
"url": "https://api.github.com/repos/darkmatter/centaur-overlay/issues/7",
"repository_url": "https://api.github.com/repos/darkmatter/centaur-overlay",
"labels_url": "https://api.github.com/repos/darkmatter/centaur-overlay/issues/7/labels{/name}",
"comments_url": "https://api.github.com/repos/darkmatter/centaur-overlay/issues/7/comments",
"events_url": "https://api.github.com/repos/darkmatter/centaur-overlay/issues/7/events",
"html_url": "https://github.com/darkmatter/centaur-overlay/issues/7",
"id": 4923018429,
"node_id": "I_kwDOTRO22c8AAAABJW9MvQ",
"number": 7,
"title": "Demo: ci_fixer identity and announcement rendering (fixer ≠ reviewer)",
"user": {
"login": "czxtm",
"id": 1325802,
"node_id": "MDQ6VXNlcjEzMjU4MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czxtm",
"html_url": "https://github.com/czxtm",
"followers_url": "https://api.github.com/users/czxtm/followers",
"following_url": "https://api.github.com/users/czxtm/following{/other_user}",
"gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
"organizations_url": "https://api.github.com/users/czxtm/orgs",
"repos_url": "https://api.github.com/users/czxtm/repos",
"events_url": "https://api.github.com/users/czxtm/events{/privacy}",
"received_events_url": "https://api.github.com/users/czxtm/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"labels": [],
"state": "closed",
"locked": false,
"assignees": [],
"milestone": null,
"comments": 3,
"created_at": "2026-07-19T14:17:53Z",
"updated_at": "2026-07-19T20:29:29Z",
"closed_at": "2026-07-19T20:29:29Z",
"assignee": null,
"author_association": "MEMBER",
"issue_field_values": [],
"type": null,
"active_lock_reason": null,
"sub_issues_summary": {
"total": 0,
"completed": 0,
"percent_completed": 0
},
"issue_dependencies_summary": {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
},
"body": "## ci_fixer identity and announcement rendering — design demo\n\nThis issue is a **demo/proposal**, not a task. It exists so we can settle how the CI fixer presents itself on PRs *separate from* the PR reviewer, before writing the code. The fixer and the reviewer should feel like different identities, and the announcement should avoid creating noise.\n\n### Context\n\n`ci_fixer` (this overlay's `workflows/ci_fixer/`) currently diagnoses failing PRs and, once armed, pushes fixes **directly to the PR head branch**. The redesign splits the identity from the reviewer and changes the mutation model:\n\n1. On a failing PR, the fixer posts an **initial announcement comment** from a distinct identity: *\"your PR failed to build — I'll branch off your work and push a fix on a new branch; when it's done I'll update this comment with the description and a link. Up to you whether to merge it. If you'd rather handle it yourself, cancel me and I'll stand down.\"*\n2. The fixer branches off the author's head, applies the fix, pushes to a new branch, and opens (or updates) a **separate fix PR** back against the author's branch.\n3. On completion it **updates the original announcement** with the fix description and a link to the fix PR. The author decides whether to merge.\n4. **Cancellation signal** — see the dedicated section below; the label is the primary path, a reaction on this comment is the low-noise fallback. (A checkbox in the comment is **not** viable: only the comment's author can edit it, so the PR author can't tick one.)\n\nThe persona/identity lives in the prompt and the signature; the rendering is what the PR author actually sees. Below are **three variants** of the announcement comment for review. Please react 👍 on the one you want, or comment with edits.\n\n---\n\n### Variant A — compact, single marker line\n\n```markdown\n<!-- centaur:ci-fixer -->\n> 🛠️ **ci_fixer** — your CI is failing on this PR.\n>\n> I'll branch off your work and push a fix on a new branch. When it's done, I'll update this comment with what I changed and a link to the fix PR — up to you whether to merge it.\n>\n> Rather handle it yourself? Cancel me (see \"Cancellation\" below) and I'll stand down.\n\n**Status:** _working…_ <!-- updated in place on completion -->\n\n— *ci_fixer (separate from your PR reviewers)*\n```\n\n**Character:** one sticky comment, status line edited in place, signature names the identity and its separation from reviewers. Lowest noise.\n\n---\n\n### Variant B — structured, with a status table\n\n```markdown\n<!-- centaur:ci-fixer -->\n> ### 🔧 ci_fixer\n>\n> Your PR's CI is failing. I'll prepare a fix on a **separate branch** and report back here — you stay in control of whether it merges.\n>\n> | | |\n> |---|---|\n> | **Status** | 🟡 working |\n> | **Fix PR** | _(pending)_ |\n> | **Failing checks** | `ci/test`, `lint` |\n> | **Cancel** | apply `ci-fixer-cancel`, or ❌ this comment |\n> | **Who** | ci_fixer — separate automated identity from your PR reviewers |\n>\n> This comment is the only place I post on your PR.\n\n— *ci_fixer*\n```\n\n**Character:** a table the author can scan at a glance; the status/fix-PR rows are edited in place. More vertical noise but more information.\n\n---\n\n### Variant C — collapsible, deferred detail\n\n```markdown\n<!-- centaur:ci-fixer -->\n> 🔧 **ci_fixer**: CI failing — I'll branch off and push a fix on a new branch, then update this comment with the link. Your call to merge.\n>\n> <details><summary>cancel · what's happening · who am I</summary>\n>\n> - **Cancel:** apply `ci-fixer-cancel`, or ❌ this comment.\n> - **What:** I branch off your head, fix the failing check, open a fix PR against your branch, and link it here.\n> - **Who:** ci_fixer — an automated identity distinct from your PR reviewers. This comment is the only place I post on your PR.\n> </details>\n\n**Status:** _working…_\n\n— *ci_fixer*\n```\n\n**Character:** one line of noise by default, detail behind a disclosure. Hides the explanation from people who don't care.\n\n---\n\n### Cancellation signal (separate from rendering)\n\nThe fixer must detect cancellation raceproof-ly at the live claim gate. Two mechanisms, no new webhook plumbing required:\n\n1. **Label — `ci-fixer-cancel`** (primary, for members with triage access). The fixer live-checks `gh pr view --json labels` at the claim step. Durable across branch rename/force-push. **Limit:** external collaborators can't apply repo labels (GitHub permission boundary), so this only covers org-internal PRs.\n\n2. **Reaction on this comment** (fallback, for external collaborators). The author reacts ❌ (or another chosen emoji) on the fixer's announcement comment; the fixer polls `gh api repos/{owner}/{repo}/issues/comments/{id}/reactions` at the live claim gate and validates the reactor is the PR author or a repo collaborator before standing down. Needs no new webhook; reactions are a first-class pollable GitHub API.\n\nA `/ci-fixer cancel` slash command would require new webhook plumbing in `darkmatter/platform`'s github-bot (which today only routes `/dm`); it is **not** present today and is out of scope for this iteration. Label + reaction covers the surface without it.\n\n---\n\n### What I'd like a decision on\n\n1. **Variant A / B / C** (or a mash-up).\n2. **Signature wording** — `— *ci_fixer*`, `— *ci_fixer (separate from your reviewers)*`, or something tonally different you'd prefer.\n3. **Persona name** — keep `ci_fixer`, or rename to something that reads more like an identity and less like a workflow id (e.g. `Daisy`, `fixer-bot`, `centaur-fix`). The persona prompt is a one-line edit in the overlay.\n4. **Fix-PR target** — fix PR back against the **author's branch** (so the author merges one PR into their own), or against **main** (so the fix lands independently and the author rebases). First is less surprising for the author; second avoids a second merge when the author's branch is already stale.\n5. **Cancel emoji** — ❌, 👎, 🛫, or another for the reaction fallback.\n\nThis issue is the demo; the implementation lands in a follow-up overlay PR once the rendering is settled.\n",
"reactions": {
"url": "https://api.github.com/repos/darkmatter/centaur-overlay/issues/7/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
},
"timeline_url": "https://api.github.com/repos/darkmatter/centaur-overlay/issues/7/timeline",
"performed_via_github_app": null,
"state_reason": "completed",
"pinned_comment": null
},
"repository": {
"id": 1293137625,
"node_id": "R_kgDOTRO22Q",
"name": "centaur-overlay",
"full_name": "darkmatter/centaur-overlay",
"private": true,
"owner": {
"login": "darkmatter",
"id": 17834193,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/darkmatter",
"html_url": "https://github.com/darkmatter",
"followers_url": "https://api.github.com/users/darkmatter/followers",
"following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
"gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
"organizations_url": "https://api.github.com/users/darkmatter/orgs",
"repos_url": "https://api.github.com/users/darkmatter/repos",
"events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
"received_events_url": "https://api.github.com/users/darkmatter/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/darkmatter/centaur-overlay",
"description": "darkmatter org overlay for Centaur sandboxes: tools, skills, personas (chart ordered overlay source)",
"fork": false,
"url": "https://api.github.com/repos/darkmatter/centaur-overlay",
"forks_url": "https://api.github.com/repos/darkmatter/centaur-overlay/forks",
"keys_url": "https://api.github.com/repos/darkmatter/centaur-overlay/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/darkmatter/centaur-overlay/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/darkmatter/centaur-overlay/teams",
"hooks_url": "https://api.github.com/repos/darkmatter/centaur-overlay/hooks",
"issue_events_url": "https://api.github.com/repos/darkmatter/centaur-overlay/issues/events{/number}",
"events_url": "https://api.github.com/repos/darkmatter/centaur-overlay/events",
"assignees_url": "https://api.github.com/repos/darkmatter/centaur-overlay/assignees{/user}",
"branches_url": "https://api.github.com/repos/darkmatter/centaur-overlay/branches{/branch}",
"tags_url": "https://api.github.com/repos/darkmatter/centaur-overlay/tags",
"blobs_url": "https://api.github.com/repos/darkmatter/centaur-overlay/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/darkmatter/centaur-overlay/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/darkmatter/centaur-overlay/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/darkmatter/centaur-overlay/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/darkmatter/centaur-overlay/statuses/{sha}",
"languages_url": "https://api.github.com/repos/darkmatter/centaur-overlay/languages",
"stargazers_url": "https://api.github.com/repos/darkmatter/centaur-overlay/stargazers",
"contributors_url": "https://api.github.com/repos/darkmatter/centaur-overlay/contributors",
"subscribers_url": "https://api.github.com/repos/darkmatter/centaur-overlay/subscribers",
"subscription_url": "https://api.github.com/repos/darkmatter/centaur-overlay/subscription",
"commits_url": "https://api.github.com/repos/darkmatter/centaur-overlay/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/darkmatter/centaur-overlay/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/darkmatter/centaur-overlay/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/darkmatter/centaur-overlay/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/darkmatter/centaur-overlay/contents/{+path}",
"compare_url": "https://api.github.com/repos/darkmatter/centaur-overlay/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/darkmatter/centaur-overlay/merges",
"archive_url": "https://api.github.com/repos/darkmatter/centaur-overlay/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/darkmatter/centaur-overlay/downloads",
"issues_url": "https://api.github.com/repos/darkmatter/centaur-overlay/issues{/number}",
"pulls_url": "https://api.github.com/repos/darkmatter/centaur-overlay/pulls{/number}",
"milestones_url": "https://api.github.com/repos/darkmatter/centaur-overlay/milestones{/number}",
"notifications_url": "https://api.github.com/repos/darkmatter/centaur-overlay/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/darkmatter/centaur-overlay/labels{/name}",
"releases_url": "https://api.github.com/repos/darkmatter/centaur-overlay/releases{/id}",
"deployments_url": "https://api.github.com/repos/darkmatter/centaur-overlay/deployments",
"created_at": "2026-07-08T06:16:55Z",
"updated_at": "2026-07-19T20:04:05Z",
"pushed_at": "2026-07-19T20:04:01Z",
"git_url": "git://github.com/darkmatter/centaur-overlay.git",
"ssh_url": "org-17834193@github.com:darkmatter/centaur-overlay.git",
"clone_url": "https://github.com/darkmatter/centaur-overlay.git",
"svn_url": "https://github.com/darkmatter/centaur-overlay",
"homepage": null,
"size": 179,
"stargazers_count": 0,
"watchers_count": 0,
"language": "Python",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 2,
"license": null,
"allow_forking": false,
"is_template": false,
"web_commit_signoff_required": false,
"has_pull_requests": true,
"pull_request_creation_policy": "all",
"topics": [],
"visibility": "private",
"forks": 0,
"open_issues": 2,
"watchers": 0,
"default_branch": "main",
"custom_properties": {}
},
"organization": {
"login": "darkmatter",
"id": 17834193,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
"url": "https://api.github.com/orgs/darkmatter",
"repos_url": "https://api.github.com/orgs/darkmatter/repos",
"events_url": "https://api.github.com/orgs/darkmatter/events",
"hooks_url": "https://api.github.com/orgs/darkmatter/hooks",
"issues_url": "https://api.github.com/orgs/darkmatter/issues",
"members_url": "https://api.github.com/orgs/darkmatter/members{/member}",
"public_members_url": "https://api.github.com/orgs/darkmatter/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
"description": ""
},
"enterprise": {
"id": 469843,
"slug": "darkmatter",
"name": "darkmatter",
"node_id": "E_kgDOAAcrUw",
"avatar_url": "https://avatars.githubusercontent.com/b/469843?v=4",
"description": "",
"website_url": "darkmatter.io",
"html_url": "https://github.com/enterprises/darkmatter",
"created_at": "2025-09-07T16:01:00Z",
"updated_at": "2026-07-07T15:59:26Z"
},
"sender": {
"login": "czxtm",
"id": 1325802,
"node_id": "MDQ6VXNlcjEzMjU4MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czxtm",
"html_url": "https://github.com/czxtm",
"followers_url": "https://api.github.com/users/czxtm/followers",
"following_url": "https://api.github.com/users/czxtm/following{/other_user}",
"gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
"organizations_url": "https://api.github.com/users/czxtm/orgs",
"repos_url": "https://api.github.com/users/czxtm/repos",
"events_url": "https://api.github.com/users/czxtm/events{/privacy}",
"received_events_url": "https://api.github.com/users/czxtm/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"installation": {
"id": 131074261,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
}
}