Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .changeset/org-identity-forward-compat.md

This file was deleted.

2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "taskless",
"description": "Taskless skills for code quality rules, authentication, and project management",
"version": "0.10.1",
"version": "0.10.2",
"author": {
"name": "Taskless"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@taskless/skills",
"version": "0.10.1",
"version": "0.10.2",
"license": "MIT",
"repository": "taskless/skills.git",
"scripts": {
Expand Down
32 changes: 32 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# @taskless/cli

## 0.10.2

### Patch Changes

- 1cd0f89: Treat the Taskless organization UUID as the one canonical identity, and become
forward-compatible with the server's coming identity cleanup.
- **Stop consuming `installationId`.** It is dropped from the `WhoamiOrg` type
and from the `taskless rule meta --json` output (it was already optional and
absent for public repos). The CLI never used it and it should not round-trip
through us.
- **Namespace the GitHub org id.** `WhoamiOrg.orgId` is now optional and a new
`githubOrgId?: number` is added, so a consumer reads `githubOrgId ?? orgId`
and keeps working across the server's rename. It is a convenience id, never an
identity.
- **Identify on the canonical id.** `decodeOrgId` validates the token's `id`
claim (a UUID string) and the legacy `orgId` claim (numeric, or a numeric
string) independently: a valid `id` wins, an invalid `id` still lets a valid
`orgId` through, and a non-numeric `orgId` is rejected rather than smuggled in
as an identity. PostHog then groups organizations on that canonical id. Tokens
that don't yet carry an `id` claim fall back to the numeric claim, so grouping
is unchanged until the server starts sending it.
- **Always have a known org id.** When neither a matched org nor a token claim
resolves, the canonical id falls back to the nil UUID
(`00000000-0000-0000-0000-000000000000`) instead of being absent — so the org
subject and telemetry group are always a stable, known value and unattributed
usage lands in one bucket. As a result, a write from a token missing org info
now sends the nil-UUID subject rather than failing with a re-authenticate
error.
- **Tolerate `number | string` on the legacy path.** The canonical `id` stays a
UUID `string`, but `decodeOrgId` accepts either type since we can't promise
what a legacy claim carries.

## 0.10.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taskless/cli",
"version": "0.10.1",
"version": "0.10.2",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion skills/taskless/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ description: |
`taskless help route`; it does NOT suppress the skill.
metadata:
author: taskless
version: 0.10.1
version: 0.10.2
commandName: tskl
compatibility: Designed for Agents implementing the Agent Skills specification.
---
Expand Down
Loading