From 1e4b53c25bd30b5c7b27132d0c6a6776876641fc Mon Sep 17 00:00:00 2001 From: Scott Lovegrove Date: Wed, 11 Nov 2026 11:22:56 +0000 Subject: [PATCH] fix(ci): use the todoist GitHub org after the rename The Doist GitHub organisation is now todoist. Actions doesn't follow the old owner, so the release job fails to resolve the Comms announcement action, and npm provenance rejects a repository URL that doesn't match the publishing repo. Point the release and issue-automation workflows, the Renovate preset, package.json's repository, homepage and bugs, the changelog footer link, the sign-in page's GitHub link and the links in docs at todoist. Prose that meant the company now says Todoist. The OAuth client ID metadata document and its URLs stay on the old owner: tokens are bound to the client_id URL, which still resolves. --- .agents/checks/privacy.md | 2 +- .agents/skills/review-changes/references/reviewer-brief.md | 2 +- .github/workflows/issue-automation.yml | 2 +- .github/workflows/release.yml | 2 +- CODEBASE.md | 2 +- CONTRIBUTING.md | 4 ++-- README.md | 2 +- docs/agents.md | 2 +- docs/icon.md | 4 ++-- package.json | 6 +++--- renovate.json | 2 +- src/commands/changelog.test.ts | 2 +- src/commands/changelog.ts | 2 +- src/lib/auth-pages.ts | 2 +- 14 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.agents/checks/privacy.md b/.agents/checks/privacy.md index f199d94..24509ff 100644 --- a/.agents/checks/privacy.md +++ b/.agents/checks/privacy.md @@ -7,7 +7,7 @@ This repository is public, and the npm package ships `dist/`, `scripts/` and `CH - A secret, API key, token or password, even an expired one. - Real user data in fixtures, tests or docs: real names, emails, user or workspace IDs, message content or URLs copied from an account. - Personal identifiers in docs and examples: real emails, usernames, home-directory paths, local repository names. Use placeholders (`alice@example.com`, `~/code`). -- Internal details: private hostnames, internal URLs, Doist-internal tools or documents. The staging host already used in tests as a stand-in base URL is fine. +- Internal details: private hostnames, internal URLs, Todoist-internal tools or documents. The staging host already used in tests as a stand-in base URL is fine. - A new file under `scripts/` or in package.json `files` that should not be published. - Untracked files the change doesn't need (`.env`, logs, `.tmp/`). diff --git a/.agents/skills/review-changes/references/reviewer-brief.md b/.agents/skills/review-changes/references/reviewer-brief.md index 5c195c5..8339425 100644 --- a/.agents/skills/review-changes/references/reviewer-brief.md +++ b/.agents/skills/review-changes/references/reviewer-brief.md @@ -3,7 +3,7 @@ Fill in the brackets. Give every reviewer the same brief, plus its role. Leave out your opinion of the change and how you reached it: a reviewer handed a conclusion tends to confirm it. ``` -Repository: Doist/comms-cli, the Comms CLI `tdc` (TypeScript, Commander, Vitest). +Repository: todoist/comms-cli, the Comms CLI `tdc` (TypeScript, Commander, Vitest). The change: `git diff ` in , plus the untracked files `git ls-files --others --exclude-standard` lists there. diff --git a/.github/workflows/issue-automation.yml b/.github/workflows/issue-automation.yml index 54f43b7..b638909 100644 --- a/.github/workflows/issue-automation.yml +++ b/.github/workflows/issue-automation.yml @@ -18,5 +18,5 @@ jobs: - name: Add issue to project uses: actions/add-to-project@27022a19346d0433f2b9859dd2b69d38f4277808 with: - project-url: https://github.com/orgs/Doist/projects/83 + project-url: https://github.com/orgs/todoist/projects/83 github-token: ${{ secrets.HERO_BOARD_PAT }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b49c4e9..5bc847a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -132,7 +132,7 @@ jobs: - name: Announce release in Comms if: github.ref_name == 'main' && steps.announcement.outputs.should_announce == 'true' - uses: Doist/comms-actions/post-comment-action@aeeefe3270ad30d0c4cdd7dbf94b2fac1dcb8ceb + uses: todoist/comms-actions/post-comment-action@aeeefe3270ad30d0c4cdd7dbf94b2fac1dcb8ceb with: comms-client-id: ${{ secrets.COMMS_DOISTBOT_CLIENT_ID }} comms-client-secret: ${{ secrets.COMMS_DOISTBOT_CLIENT_SECRET }} diff --git a/CODEBASE.md b/CODEBASE.md index 2099976..d2d886c 100644 --- a/CODEBASE.md +++ b/CODEBASE.md @@ -248,7 +248,7 @@ commander has no root `--user` option, `index.ts` strips it from argv see a per-command `--user`). > Follow-up: once cli-core ships `getRequestedUserRef` on the auth attachers -> (Doist/cli-core#30), `store-wrap.ts`/`withUserRefAware` can be deleted. +> (todoist/cli-core#30), `store-wrap.ts`/`withUserRefAware` can be deleted. ## Testing diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 381cf2d..2115275 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ The following is a set of guidelines for contributing to Comms CLI. Please read ## Open Development -All work on Comms CLI happens directly on [GitHub](https://github.com/Doist/comms-cli). Both core team members and external contributors send pull requests that go through the same review process. +All work on Comms CLI happens directly on [GitHub](https://github.com/todoist/comms-cli). Both core team members and external contributors send pull requests that go through the same review process. ## Semantic Versioning @@ -14,7 +14,7 @@ Every significant change is documented in the [CHANGELOG.md](CHANGELOG.md) file. ## Branch Organization -Submit all changes to the [main](https://github.com/Doist/comms-cli/tree/main) branch (via PR) by default. For pre-release work, target the `next` branch instead — see [Release Process](#release-process-core-team-only) for details. +Submit all changes to the [main](https://github.com/todoist/comms-cli/tree/main) branch (via PR) by default. For pre-release work, target the `next` branch instead — see [Release Process](#release-process-core-team-only) for details. We do our best to keep `main` in good shape, with all tests passing. diff --git a/README.md b/README.md index 91da5ca..63da21a 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ npm uninstall -g @doist/comms-cli ## Local Setup ```bash -git clone https://github.com/Doist/comms-cli.git +git clone https://github.com/todoist/comms-cli.git cd comms-cli npm install npm run build diff --git a/docs/agents.md b/docs/agents.md index c1e4b62..8092eb1 100644 --- a/docs/agents.md +++ b/docs/agents.md @@ -113,7 +113,7 @@ When you say a change is ready, the agent runs `review-changes`: Findings are fixed, dismissed with evidence (a line or a test run, never an argument), or left open for you. Reviewers that need to run code get their own worktree from `npm run review:worktree -- `; the shared one stays read-only. -The checks cover tests, architecture, security, privacy, the command surface and evidence. The security check includes private channels: nothing from one is shown without `--include-private-channels`. Two kinds Doist uses elsewhere don't apply here: there are no translations and no database migrations. +The checks cover tests, architecture, security, privacy, the command surface and evidence. The security check includes private channels: nothing from one is shown without `--include-private-channels`. Two kinds Todoist uses elsewhere don't apply here: there are no translations and no database migrations. A review costs several agent runs, so it runs when you ask, not on every change. A Doistbot run with a failed provider (`providerFailures`) is partial; the agent should say so. diff --git a/docs/icon.md b/docs/icon.md index 68efb07..fa91d8d 100644 --- a/docs/icon.md +++ b/docs/icon.md @@ -7,7 +7,7 @@ The icon shows in four places. | OAuth consent screen (`tdc auth login`) | `logo_uri` in `oauth/client-metadata.json`, or an older URL (see below) | | Sign-in result pages in the browser | The URL in `LOGO_URI` | | README (GitHub and npm) | `icons/comms-cli.png` | -| Comms web, Settings → Integrations | Its own copies in `Doist/comms-web` | +| Comms web, Settings → Integrations | Its own copies in `todoist/comms-web` | ## 1. Export the artwork @@ -26,7 +26,7 @@ The consent screen picks up a replaced file as soon as it's on `main` (allow abo ## 3. Update Comms web -`Doist/comms-web` keeps its own copies for the CLI card in Settings → Integrations: +`todoist/comms-web` keeps its own copies for the CLI card in Settings → Integrations: - `src/settings/integrations/comms-cli-icon.png` (32×32) - `src/settings/integrations/comms-cli-icon@2x.png` (64×64) diff --git a/package.json b/package.json index c53b27e..7948819 100644 --- a/package.json +++ b/package.json @@ -38,15 +38,15 @@ }, "repository": { "type": "git", - "url": "https://github.com/Doist/comms-cli.git" + "url": "https://github.com/todoist/comms-cli.git" }, "publishConfig": { "access": "public", "provenance": true }, - "homepage": "https://github.com/Doist/comms-cli#readme", + "homepage": "https://github.com/todoist/comms-cli#readme", "bugs": { - "url": "https://github.com/Doist/comms-cli/issues" + "url": "https://github.com/todoist/comms-cli/issues" }, "files": [ "dist", diff --git a/renovate.json b/renovate.json index 09cae3d..7aab23f 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["github>doist/renovate-config:frontend-base"], + "extends": ["github>todoist/renovate-config:frontend-base"], "packageRules": [ { "matchPackageNames": ["oxlint", "oxfmt"], diff --git a/src/commands/changelog.test.ts b/src/commands/changelog.test.ts index 76bd8f4..8673401 100644 --- a/src/commands/changelog.test.ts +++ b/src/commands/changelog.test.ts @@ -63,7 +63,7 @@ describe('changelog wrapper', () => { const all = logSpy.mock.calls.map((c: unknown[]) => c[0]).join('\n') expect(all).toContain( - `View full changelog: https://github.com/Doist/comms-cli/blob/v${packageJson.version}/CHANGELOG.md`, + `View full changelog: https://github.com/todoist/comms-cli/blob/v${packageJson.version}/CHANGELOG.md`, ) }) diff --git a/src/commands/changelog.ts b/src/commands/changelog.ts index a9e3a89..8d7aa65 100644 --- a/src/commands/changelog.ts +++ b/src/commands/changelog.ts @@ -9,7 +9,7 @@ const CHANGELOG_PATH = join(dirname(fileURLToPath(import.meta.url)), '..', '..', export function registerChangelogCommand(program: Command): void { registerCoreChangelogCommand(program, { path: CHANGELOG_PATH, - repoUrl: 'https://github.com/Doist/comms-cli', + repoUrl: 'https://github.com/todoist/comms-cli', version: packageJson.version, headingLevel: 'flexible', continuationIndent: true, diff --git a/src/lib/auth-pages.ts b/src/lib/auth-pages.ts index e24e46e..c5565ea 100644 --- a/src/lib/auth-pages.ts +++ b/src/lib/auth-pages.ts @@ -296,7 +296,7 @@ export function renderSuccess(): string {