Skip to content

Commit 40fca04

Browse files
d-csclaude
andcommitted
docs(run-ops): note the residency-classifier transition/deploy-ordering constraint
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 83c42f8 commit 40fca04

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/core/src/v3/isomorphic/runOpsResidency.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ function internalForm(id: string): string {
4545
* Returns the id lineage by the version-char rule: a well-formed run-ops v1
4646
* body (26 chars, version "1" at index 25, base32hex alphabet) is "ksuid"
4747
* (NEW store); everything else — including malformed v1 shapes — is "cuid"
48-
* (legacy). Total: never throws.
48+
* (legacy). Total: never throws. Transition: pre-cutover 27-char base62 KSUIDs (the old
49+
* NEW-mint format) now classify LEGACY, so ship this with the base32hex generator only once
50+
* any 27-char NEW-resident runs are drained/disposable — no live run is misrouted mid-cutover.
4951
*/
5052
export function classifyKind(id: string): ResidencyKind {
5153
return isRunOpsIdBody(internalForm(id)) ? "ksuid" : "cuid";

0 commit comments

Comments
 (0)