Skip to content

chore: move the CLA signer procedure into signatures/README.md - #202

Merged
cosmin-staicu merged 1 commit into
mainfrom
chore/remove-cla-add-signer
Sep 22, 2026
Merged

cosmin-staicu merged 1 commit into
mainfrom
chore/remove-cla-add-signer

Conversation

@cosmin-staicu

@cosmin-staicu cosmin-staicu commented Sep 22, 2026

Copy link
Copy Markdown
Member

Why

/cla-add-signer carried real procedure, not just a wrapper over "edit the JSON". Steps that existed nowhere else:

  • the stop condition — if legal has not confirmed the signed CLA is on file, do not add the entry;
  • legalRef is obtained from legal, never guessed;
  • a case-insensitive duplicate check before appending;
  • validate the JSON after editing;
  • never commit to main;
  • do not paste the CLA document or personal contact details into the PR beyond what the schema needs.

All of that reached only maintainers driving the repository through Claude Code. signatures/README.md said little more than "edit cla.json by hand".

What

The procedure moves into signatures/README.md as numbered steps, next to the schema it refers to, and the command is removed. Its pointer goes with it — that sentence already named .claude/skills/, a path that does not exist, since the file lived under .claude/commands/.

Nothing else referenced the command (git grep cla-add-signer is now empty), and nothing about enforcement changes:

  • the CODEOWNERS gate on signatures/ still requires maintainer approval and leaves the audit trail;
  • .github/workflows/cla.yml reads the registry, not the command, so legal/cla is unaffected;
  • the corporate-CLA guidance was already in the README and is untouched.

Also: ignoring agent worktrees

Sessions place throwaway checkouts under .claude/worktrees/. Nothing ignored them, so a git add -A from the repository root picks one up as an embedded git repository and commits a gitlink — a 160000 entry pointing at a path that exists on one machine and nowhere else. It happened on #196 and had to be backed out.

Scoped to that directory rather than .claude/ wholesale. Nothing under .claude/ is tracked after this PR, so the broader rule would work today, but it would also mean a command committed there later is silently ignored. .claude/settings.local.json needs nothing here; a global ignore already covers it.

Verification

git grep cla-add-signer returns nothing. git status no longer reports ?? .claude/worktrees/ with a worktree present, and git check-ignore -v .claude/worktrees/ resolves to the new rule. No build or test surface is touched.

Contributor declaration

  • I signed off my commits per the DCO (git commit -s).
  • I am contributing on behalf of my employer, or in the course of employment / using employer resources.

@cosmin-staicu
cosmin-staicu force-pushed the chore/remove-cla-add-signer branch from f4e8bb7 to 8ec775f Compare September 22, 2026 05:54
@cosmin-staicu cosmin-staicu changed the title chore: remove the cla-add-signer command chore: remove the cla-add-signer command and ignore agent worktrees Sep 22, 2026
The /cla-add-signer command carried steps written down nowhere else: the
legal-confirmation stop condition, legalRef being obtained rather than
guessed, the case-insensitive duplicate check, JSON validation, never
committing to main, and the instruction not to paste the CLA document or
personal contact details into the PR. Those reach only maintainers who
drive the repository through Claude Code.

They are now numbered steps in signatures/README.md, next to the schema
they refer to, and the command is removed. Its pointer went with it --
that pointer already named .claude/skills/, a path that does not exist.
Nothing else referenced the command, and neither the CODEOWNERS gate on
signatures/ nor cla.yml reading the registry depended on it.

Also ignores .claude/worktrees/: sessions place throwaway checkouts
there, and `git add -A` from the repository root otherwise commits a
gitlink to one. Scoped to that directory rather than .claude/, so a
command committed there later is not silently ignored.

Signed-off-by: Cosmin Staicu <cosmin.staicu@uipath.com>
@cosmin-staicu
cosmin-staicu force-pushed the chore/remove-cla-add-signer branch from 8ec775f to 40b72e0 Compare September 22, 2026 06:02
@cosmin-staicu cosmin-staicu changed the title chore: remove the cla-add-signer command and ignore agent worktrees chore: move the CLA signer procedure into signatures/README.md Sep 22, 2026
@sonarqubecloud

Copy link
Copy Markdown

@cosmin-staicu
cosmin-staicu merged commit da815c8 into main Sep 22, 2026
10 checks passed
@cosmin-staicu
cosmin-staicu deleted the chore/remove-cla-add-signer branch September 22, 2026 06:35
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