Menu

Comparing 1515972388...969a25d25a · r/Harbor
📰
0

Comparing 1515972388...969a25d25a · r/Harbor

GitHub·Raffi Krikorian·26 days ago
#Kz4HUrmt
Reading 0:00
15s threshold

Capability tokens are the runtime unit of authority. A session holds a token; the engine validates the token on every gated action; subagents get *attenuated* child tokens that are guaranteed to be a strict subset of the parent on every dimension. Adds: - extension/src/policy/tokens.ts: in-memory TokenRegistry. Tokens carry sessionId, origin, mode, allowedActions, acceptedLabels, budgets (toolCalls / remotePromptUsd / navigations / wallClockMs), issuedAt/expiresAt, attenuationDepth, and a parentId for delegation chains. mint() produces root tokens. attenuate() refuses to widen mode, allowedActions, acceptedLabels, budgets, or TTL — every dimension is intersected with the parent. validate() checks origin and action match. revokeWithDescendants() takes out a delegation chain in one call. cleanup() drops expired and revoked tokens.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More