Track Worldtree #196: prepare for end_user_id → subject:{type,id} migration #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Worldtree #196 (LOCKED design, not yet shipped) will replace
end_user_idwith a polymorphicsubject: {type, id}field on the Conversation API. Worldtree-dev confirmed in althing thread01KSBARG2B8M8C82H6AJGJWX1B(2026-05-23):Posture (per worldtree-dev's explicit guidance)
Don't pre-implement. The deprecation-warning mechanism will fire per call as the heads-up; migrate when the substrate change actually ships.
What this issue tracks
Watch for these signals from Worldtree side:
audit_detailon session-create responses (our existing[create_session]log line should be amended to surface them).What we'll need to do (when migration triggers)
ratatoskr.sessions.create_sessionto acceptsubject={type, id}instead of (or in addition to)end_user_id.ParsedArgsand_parse_args: replace--end-user-idwith--subject-type+--subject-idOR keep--end-user-idas a shorthand forsubject={type:"end_user", id:"<value>"}.tenant_namespacefield — what's our value? Likely fixed to a constant for single-operator ratatoskr.[session_api_failed]/[network_error]shape).Out of scope (this issue)
--end-user-idshorthand (decide at implementation time).Why now
Worldtree-dev surfaced this on 2026-05-23. Filing now so we don't lose the heads-up.