Skip to content

ci: delete claude.yml (third-party action fork holding our OAuth token) - #267

Merged
Nic-dorman merged 1 commit into
mainfrom
nic/v2-1810-delete-claude-workflow
Nov 3, 2026
Merged

Nic-dorman merged 1 commit into
mainfrom
nic/v2-1810-delete-claude-workflow

Conversation

@Nic-dorman

Copy link
Copy Markdown
Member

Linear issue

Closes V2-1810

Summary

Deletes .github/workflows/claude.yml.

  • It ran keithah/claude-code-action@fork-pr-support. That's a third-party fork, pinned to a mutable branch (last commit 2025-10-10). It received CLAUDE_CODE_OAUTH_TOKEN, and the job had id-token: write. Whoever controls that branch can change the code that runs with our secret.
  • allowed_non_write_users: "*" meant anyone could trigger it with an @claude comment on an issue or PR, including fork PRs.
  • The upstream fix it was waiting for, Add comprehensive fork PR support documentation and examples anthropics/claude-code-action#614, is still open.
  • It's unused: all 17 runs in the last two weeks were skipped.

From the ant-node CI audit (V2-1799). If we want the Claude action back later, use upstream anthropics/claude-code-action pinned by SHA, with write-access-only triggers.

After merge (repo admin): delete the now-unused CLAUDE_CODE_OAUTH_TOKEN repo secret, and consider revoking the token.

Risk tier

  • T0 — docs / tooling / CI / pure UX-output. Repo CI only.
  • T1 — client-only, no network-facing behavior change. CI + prod compat smoke.
  • T2 — node/client logic with behavioral surface, no protocol/format/economics change. Dev testnet + ADR.
  • T3 — protocol / storage format / payments / routing. T2 evidence + adversarial testing.

Compatibility

  • Wire: none
  • Storage: none
  • API: none

Semver impact

  • breaking
  • feature
  • fix

Test evidence

Workflow file deletion only; no crate code changes. git grep finds no other reference to claude.yml, claude-code-action or CLAUDE_CODE_OAUTH_TOKEN in the repo.

New dependency

none

ADR

n/a

Mitigation / rollback

Revert this commit to restore the workflow.

🤖 Generated with Claude Code

The workflow ran keithah/claude-code-action@fork-pr-support, a third-party
fork pinned to a mutable branch (last commit 2025-10-10), and passed it
CLAUDE_CODE_OAUTH_TOKEN with id-token: write. allowed_non_write_users: "*"
let anyone trigger it with an @claude comment. The upstream fix it waited
for (anthropics/claude-code-action#614) is still unmerged.

It is unused: all 17 runs in the last two weeks were skipped.

Closes V2-1810

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@MaidSafe-Hermes MaidSafe-Hermes left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVE — 2/2 seats reviewed (sol-1 gpt-6.1-sol xhigh; glm-1 z-ai/glm-5.3); both seats agree (two model families).

The frozen diff deletes only .github/workflows/claude.yml; it removes the third-party fork action, OAuth token use, id-token: write, and unrestricted non-writer invocation. No concrete regression or required code follow-up is shown. Branch rules require linear-link and pr-template; both pass. The listed build, test, lint, format, docs, storage, and devnet checks pass.

Security Audit is failing and is separate from this code-review verdict; resolve it as a security/merge gate. Deleting the workflow does not delete or revoke the repository secret/token; complete the stated post-merge credential cleanup separately. Review covers head d61c5eb.

@Nic-dorman
Nic-dorman merged commit 7584c09 into main Nov 3, 2026
19 of 20 checks passed
@Nic-dorman
Nic-dorman deleted the nic/v2-1810-delete-claude-workflow branch November 3, 2026 12:59
grumbach added a commit to grumbach/ant-node that referenced this pull request Nov 3, 2026
Brings in the browser listener's UPnP port mapping (WithAutonomi#264, ADR-0027), the CI
concurrency and job timeouts (WithAutonomi#268) and the removal of claude.yml (WithAutonomi#267).

Conflicts: the endpoint publication, where main's Publication replaces the
single endpoint and the swarm's STUN server is still set beside it, and the
ADR index, which lists both ADR-0026 and ADR-0027.

A mapped endpoint withdrawn when its mapping ends now also clears the swarm's
STUN server, so the node hosts no rooms while browsers cannot reach it, as
before any endpoint is published. ADR-0026 says so, and main's two withdrawal
tests check the STUN server is set on publication and gone after withdrawal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants