instar 1.3.540 → 1.3.541

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,98 @@
1
+ /**
2
+ * CredentialEnvTokenGate — the §0.b applicability precondition, enforced structurally
3
+ * (Step 8 of live credential re-pointing).
4
+ *
5
+ * Spec: docs/specs/live-credential-repointing-rebalancer.md §2.10 (the env-token gate — verbatim
6
+ * contract), §0.b (applicability gate), §2.4 (the status route the named reason surfaces on).
7
+ *
8
+ * ── What this is ──
9
+ * The live credential re-pointing mechanism only works for sessions whose credential comes from
10
+ * the per-`CLAUDE_CONFIG_DIR` STORE (a swap re-points the store; claude-code re-reads it on the
11
+ * next 401). A session launched with an env token (`CLAUDE_CODE_OAUTH_TOKEN` / `ANTHROPIC_API_KEY`
12
+ * set from a non-empty `config.anthropicApiKey`) NEVER reads the store, ignores any swap, and is
13
+ * INVISIBLE to the mechanism. If such a launch were the norm the entire feature would be inert
14
+ * (§0.b). This gate REFUSES to run the feature — with a NAMED reason on the status route — whenever
15
+ * an env-token condition is present, so the mechanism can never silently mis-steer a fleet it does
16
+ * not actually control.
17
+ *
18
+ * ── The load-bearing safety contract (spec §2.10; build-prompt invariants 1, 2) ──
19
+ * 1. EVALUATES BOTH the config field AND the live running fleet. A config-only check would miss
20
+ * the mid-life flip: an operator setting `config.anthropicApiKey` to an OAuth token mid-run
21
+ * leaves already-running STORE sessions steerable while new ENV spawns are silently un-steered
22
+ * — a genuinely mixed fleet a config-only check freezes incoherently. The fleet scan reads the
23
+ * durable per-session `credentialSource` flag (recorded at spawn from the IDENTICAL expression
24
+ * that selected the env block — single source of truth) so it can detect that mixed state.
25
+ * 2. THE CONFIG PREDICATE IS "ANY NON-EMPTY anthropicApiKey" (round-3) — NOT only an
26
+ * `sk-ant-oat` OAuth token. The code's launch predicate is binary: `sk-ant-oat…` sets
27
+ * `CLAUDE_CODE_OAUTH_TOKEN`, ANY OTHER non-empty value sets `ANTHROPIC_API_KEY`, and BOTH make
28
+ * claude-code ignore the store. So the gate predicate is `(anthropicApiKey ?? '') !== ''`,
29
+ * matching the SessionManager `?? ''`-then-non-empty branch exactly.
30
+ * 3. NAMED, CATEGORICAL REASON. The refusal reason is a category string (never a credential), but
31
+ * the host still routes it through `CredentialAuditEmit.scrub` (Step 7) before any surface,
32
+ * consistent with the §2.9 chokepoint.
33
+ *
34
+ * This module performs NO IO and NO credential reads. It is a pure evaluator over an injected
35
+ * config-key getter + an injected session lister, so it is fully unit-testable.
36
+ */
37
+ import type { Session } from './types.js';
38
+ /** A session lister snapshot input — the gate only reads `framework`, `status`, `credentialSource`. */
39
+ export type EnvTokenFleetSession = Pick<Session, 'framework' | 'status' | 'credentialSource'>;
40
+ export interface CredentialEnvTokenGateDeps {
41
+ /**
42
+ * Reads the live `config.anthropicApiKey` value EACH call (not cached) so a restartless config
43
+ * flip is honored on the next evaluation — the same restartless posture the rest of the feature
44
+ * uses. May return undefined/empty when no key is configured (the §0.b alive case).
45
+ */
46
+ getAnthropicApiKey: () => string | undefined;
47
+ /**
48
+ * Lists the CURRENT sessions (the live fleet). The gate filters to running claude-code sessions
49
+ * and reads their durable `credentialSource` flag. Injected so the gate stays IO-free.
50
+ */
51
+ listSessions: () => EnvTokenFleetSession[];
52
+ }
53
+ /** The named refusal reason categories (a category, never a credential). */
54
+ export type EnvTokenRefusalReason = 'config-anthropic-api-key-set' | 'env-token-session-in-fleet';
55
+ export interface EnvTokenGateVerdict {
56
+ /** True when the feature MUST refuse to run (an env-token condition is present). */
57
+ refused: boolean;
58
+ /** The named, scrub-safe reason category when refused; undefined when permitted. */
59
+ reason?: EnvTokenRefusalReason;
60
+ /** A human-readable one-line explanation (category-level, no credential material). */
61
+ detail?: string;
62
+ /**
63
+ * The names/ids absent here on purpose: the verdict carries NO session identifiers and NO key
64
+ * material, so it is safe to surface as-is (and is scrubbed regardless by the host).
65
+ */
66
+ /** How many running claude-code sessions in the fleet are env-token (0 when none / config-only refusal). */
67
+ envSessionCount: number;
68
+ }
69
+ /**
70
+ * Evaluates the §2.10 env-token precondition over BOTH the config field AND the live fleet.
71
+ *
72
+ * Construct ONE per process and call `evaluate()` at enable-time AND per-pass. The CONFIG check is
73
+ * evaluated FIRST (cheapest + the dominant case); the FLEET scan closes the mid-life-flip hole.
74
+ */
75
+ export declare class CredentialEnvTokenGate {
76
+ private readonly getAnthropicApiKey;
77
+ private readonly listSessions;
78
+ constructor(deps: CredentialEnvTokenGateDeps);
79
+ /**
80
+ * The §2.10 verdict. Refuses when:
81
+ * (a) `config.anthropicApiKey` is non-empty (ANY value — OAuth or API key); OR
82
+ * (b) any RUNNING claude-code session's `credentialSource` is `'env'` (the live-fleet path that
83
+ * closes the mid-life flip). `credentialSource` undefined on a legacy/non-claude record is
84
+ * treated as `'store'` (the safe, non-refusing direction — only an explicit `'env'` refuses).
85
+ * Permits (refused:false) only when the config field is empty AND every running claude-code
86
+ * session reads the store.
87
+ */
88
+ evaluate(): EnvTokenGateVerdict;
89
+ /**
90
+ * True iff a given session should still feed `tenantOf(slot)` slot-attribution into usage records.
91
+ * On a §2.10 refusal the balancer STOPS feeding attribution for env-token sessions so an env
92
+ * session's usage is never mis-attributed to a slot tenant (spec §2.10 requirement 3). A session
93
+ * with `credentialSource: 'env'` never reads the store, so its usage does not belong to any slot
94
+ * tenant — it is attributed to its own account directly (enrollment-home behavior).
95
+ */
96
+ static shouldAttributeSlotTenant(session: Pick<Session, 'credentialSource'>): boolean;
97
+ }
98
+ //# sourceMappingURL=CredentialEnvTokenGate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CredentialEnvTokenGate.d.ts","sourceRoot":"","sources":["../../src/core/CredentialEnvTokenGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,uGAAuG;AACvG,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,OAAO,EAAE,WAAW,GAAG,QAAQ,GAAG,kBAAkB,CAAC,CAAC;AAE9F,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,MAAM,GAAG,SAAS,CAAC;IAC7C;;;OAGG;IACH,YAAY,EAAE,MAAM,oBAAoB,EAAE,CAAC;CAC5C;AAED,4EAA4E;AAC5E,MAAM,MAAM,qBAAqB,GAC7B,8BAA8B,GAC9B,4BAA4B,CAAC;AAEjC,MAAM,WAAW,mBAAmB;IAClC,oFAAoF;IACpF,OAAO,EAAE,OAAO,CAAC;IACjB,oFAAoF;IACpF,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,sFAAsF;IACtF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,4GAA4G;IAC5G,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;;;;GAKG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA+B;gBAEhD,IAAI,EAAE,0BAA0B;IAK5C;;;;;;;;OAQG;IACH,QAAQ,IAAI,mBAAmB;IAyC/B;;;;;;OAMG;IACH,MAAM,CAAC,yBAAyB,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,kBAAkB,CAAC,GAAG,OAAO;CAGtF"}
@@ -0,0 +1,103 @@
1
+ /**
2
+ * CredentialEnvTokenGate — the §0.b applicability precondition, enforced structurally
3
+ * (Step 8 of live credential re-pointing).
4
+ *
5
+ * Spec: docs/specs/live-credential-repointing-rebalancer.md §2.10 (the env-token gate — verbatim
6
+ * contract), §0.b (applicability gate), §2.4 (the status route the named reason surfaces on).
7
+ *
8
+ * ── What this is ──
9
+ * The live credential re-pointing mechanism only works for sessions whose credential comes from
10
+ * the per-`CLAUDE_CONFIG_DIR` STORE (a swap re-points the store; claude-code re-reads it on the
11
+ * next 401). A session launched with an env token (`CLAUDE_CODE_OAUTH_TOKEN` / `ANTHROPIC_API_KEY`
12
+ * set from a non-empty `config.anthropicApiKey`) NEVER reads the store, ignores any swap, and is
13
+ * INVISIBLE to the mechanism. If such a launch were the norm the entire feature would be inert
14
+ * (§0.b). This gate REFUSES to run the feature — with a NAMED reason on the status route — whenever
15
+ * an env-token condition is present, so the mechanism can never silently mis-steer a fleet it does
16
+ * not actually control.
17
+ *
18
+ * ── The load-bearing safety contract (spec §2.10; build-prompt invariants 1, 2) ──
19
+ * 1. EVALUATES BOTH the config field AND the live running fleet. A config-only check would miss
20
+ * the mid-life flip: an operator setting `config.anthropicApiKey` to an OAuth token mid-run
21
+ * leaves already-running STORE sessions steerable while new ENV spawns are silently un-steered
22
+ * — a genuinely mixed fleet a config-only check freezes incoherently. The fleet scan reads the
23
+ * durable per-session `credentialSource` flag (recorded at spawn from the IDENTICAL expression
24
+ * that selected the env block — single source of truth) so it can detect that mixed state.
25
+ * 2. THE CONFIG PREDICATE IS "ANY NON-EMPTY anthropicApiKey" (round-3) — NOT only an
26
+ * `sk-ant-oat` OAuth token. The code's launch predicate is binary: `sk-ant-oat…` sets
27
+ * `CLAUDE_CODE_OAUTH_TOKEN`, ANY OTHER non-empty value sets `ANTHROPIC_API_KEY`, and BOTH make
28
+ * claude-code ignore the store. So the gate predicate is `(anthropicApiKey ?? '') !== ''`,
29
+ * matching the SessionManager `?? ''`-then-non-empty branch exactly.
30
+ * 3. NAMED, CATEGORICAL REASON. The refusal reason is a category string (never a credential), but
31
+ * the host still routes it through `CredentialAuditEmit.scrub` (Step 7) before any surface,
32
+ * consistent with the §2.9 chokepoint.
33
+ *
34
+ * This module performs NO IO and NO credential reads. It is a pure evaluator over an injected
35
+ * config-key getter + an injected session lister, so it is fully unit-testable.
36
+ */
37
+ /**
38
+ * Evaluates the §2.10 env-token precondition over BOTH the config field AND the live fleet.
39
+ *
40
+ * Construct ONE per process and call `evaluate()` at enable-time AND per-pass. The CONFIG check is
41
+ * evaluated FIRST (cheapest + the dominant case); the FLEET scan closes the mid-life-flip hole.
42
+ */
43
+ export class CredentialEnvTokenGate {
44
+ getAnthropicApiKey;
45
+ listSessions;
46
+ constructor(deps) {
47
+ this.getAnthropicApiKey = deps.getAnthropicApiKey;
48
+ this.listSessions = deps.listSessions;
49
+ }
50
+ /**
51
+ * The §2.10 verdict. Refuses when:
52
+ * (a) `config.anthropicApiKey` is non-empty (ANY value — OAuth or API key); OR
53
+ * (b) any RUNNING claude-code session's `credentialSource` is `'env'` (the live-fleet path that
54
+ * closes the mid-life flip). `credentialSource` undefined on a legacy/non-claude record is
55
+ * treated as `'store'` (the safe, non-refusing direction — only an explicit `'env'` refuses).
56
+ * Permits (refused:false) only when the config field is empty AND every running claude-code
57
+ * session reads the store.
58
+ */
59
+ evaluate() {
60
+ // (a) Config field — the dominant case, checked first. `?? ''`-then-non-empty mirrors the
61
+ // SessionManager launch predicate exactly: any non-empty value (OAuth OR API key) bypasses
62
+ // the store.
63
+ const key = this.getAnthropicApiKey() ?? '';
64
+ if (key !== '') {
65
+ return {
66
+ refused: true,
67
+ reason: 'config-anthropic-api-key-set',
68
+ detail: 'credential re-pointing refused: config.anthropicApiKey is set, so sessions launch with ' +
69
+ 'an env token and bypass the per-CLAUDE_CONFIG_DIR store the mechanism steers (§0.b).',
70
+ envSessionCount: 0,
71
+ };
72
+ }
73
+ // (b) Live fleet — closes the mid-life flip. Count RUNNING claude-code sessions whose durable
74
+ // provenance flag is explicitly 'env'. Undefined ⇒ 'store' (safe direction).
75
+ const envSessions = this.listSessions().filter((s) => s.status === 'running' &&
76
+ s.framework === 'claude-code' &&
77
+ s.credentialSource === 'env');
78
+ if (envSessions.length > 0) {
79
+ return {
80
+ refused: true,
81
+ reason: 'env-token-session-in-fleet',
82
+ detail: `credential re-pointing refused: ${envSessions.length} running claude-code session(s) ` +
83
+ 'launched with an env token (store-bypassing) per the durable per-session provenance ' +
84
+ 'flag — a config field flipped mid-run would otherwise leave a mixed fleet steered ' +
85
+ 'incoherently (§2.10).',
86
+ envSessionCount: envSessions.length,
87
+ };
88
+ }
89
+ // Permitted: config empty + all-store fleet (the §0.b "alive" case for THIS deployment).
90
+ return { refused: false, envSessionCount: 0 };
91
+ }
92
+ /**
93
+ * True iff a given session should still feed `tenantOf(slot)` slot-attribution into usage records.
94
+ * On a §2.10 refusal the balancer STOPS feeding attribution for env-token sessions so an env
95
+ * session's usage is never mis-attributed to a slot tenant (spec §2.10 requirement 3). A session
96
+ * with `credentialSource: 'env'` never reads the store, so its usage does not belong to any slot
97
+ * tenant — it is attributed to its own account directly (enrollment-home behavior).
98
+ */
99
+ static shouldAttributeSlotTenant(session) {
100
+ return session.credentialSource !== 'env';
101
+ }
102
+ }
103
+ //# sourceMappingURL=CredentialEnvTokenGate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CredentialEnvTokenGate.js","sourceRoot":"","sources":["../../src/core/CredentialEnvTokenGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAyCH;;;;;GAKG;AACH,MAAM,OAAO,sBAAsB;IAChB,kBAAkB,CAA2B;IAC7C,YAAY,CAA+B;IAE5D,YAAY,IAAgC;QAC1C,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC;QAClD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;IACxC,CAAC;IAED;;;;;;;;OAQG;IACH,QAAQ;QACN,0FAA0F;QAC1F,2FAA2F;QAC3F,aAAa;QACb,MAAM,GAAG,GAAG,IAAI,CAAC,kBAAkB,EAAE,IAAI,EAAE,CAAC;QAC5C,IAAI,GAAG,KAAK,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,MAAM,EAAE,8BAA8B;gBACtC,MAAM,EACJ,yFAAyF;oBACzF,sFAAsF;gBACxF,eAAe,EAAE,CAAC;aACnB,CAAC;QACJ,CAAC;QAED,8FAA8F;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D;IACvD,2BAA2B,IAAI,MAAM,EAAE;IAIvC;;;;;;OAMG;IACH,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IAoBlE;;;OAGG;IACG,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,GAAE,MAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAqB1F;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;IAmD1B;;;;;;;;;OASG;YACW,2BAA2B;IA6BzC,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAcxC,OAAO,CAAC,UAAU;CAGnB"}
@@ -1598,6 +1598,13 @@ rm() { "${shimRunner}" rm "$@"; }
1598
1598
  '-e', `ANTHROPIC_BASE_URL=${this.config.anthropicBaseUrl ?? ''}`,
1599
1599
  ]
1600
1600
  : [];
1601
+ // §2.10 provenance — SINGLE SOURCE OF TRUTH: the SAME `(anthropicApiKey ?? '') !== ''`
1602
+ // predicate that selects the Anthropic env block above. Non-empty ⇒ this session launches
1603
+ // with an env token (store-bypassing) ⇒ 'env'; empty ⇒ it reads the per-CLAUDE_CONFIG_DIR
1604
+ // store ⇒ 'store'. Only meaningful for the claude-code env-block lane (undefined otherwise).
1605
+ const headlessCredentialSource = headlessFramework === 'claude-code'
1606
+ ? ((this.config.anthropicApiKey ?? '') !== '' ? 'env' : 'store')
1607
+ : undefined;
1601
1608
  try {
1602
1609
  execFileSync(this.config.tmuxPath, [
1603
1610
  'new-session', '-d',
@@ -1673,6 +1680,8 @@ rm() { "${shimRunner}" rm "$@"; }
1673
1680
  // Subscription-pool pinning: tag the session with the account it launched
1674
1681
  // under, so auto-swap can move it when that account hits a quota wall.
1675
1682
  ...(pinnedAccount ? { subscriptionAccountId: pinnedAccount.accountId } : {}),
1683
+ // §2.10 credential provenance — derived from the SAME predicate as the env block.
1684
+ ...(headlessCredentialSource ? { credentialSource: headlessCredentialSource } : {}),
1676
1685
  // Positive-lane observability (june15-headless-spawn-reroute O4): always
1677
1686
  // populated now, so the soak's "zero headless under force" criterion is
1678
1687
  // machine-checkable from GET /sessions. completionMode stays 'exit' (the
@@ -1850,6 +1859,9 @@ rm() { "${shimRunner}" rm "$@"; }
1850
1859
  ? ['-e', `CLAUDE_CODE_OAUTH_TOKEN=${this.config.anthropicApiKey}`, '-e', 'ANTHROPIC_API_KEY=']
1851
1860
  : ['-e', `ANTHROPIC_API_KEY=${this.config.anthropicApiKey ?? ''}`, '-e', 'CLAUDE_CODE_OAUTH_TOKEN='];
1852
1861
  anthropicEnvFlags.push('-e', `ANTHROPIC_BASE_URL=${this.config.anthropicBaseUrl ?? ''}`);
1862
+ // §2.10 provenance — SINGLE SOURCE OF TRUTH: the SAME `(anthropicApiKey ?? '') !== ''`
1863
+ // predicate as the env block above (this lane is always claude-code → always set).
1864
+ const reroutedCredentialSource = (this.config.anthropicApiKey ?? '') !== '' ? 'env' : 'store';
1853
1865
  try {
1854
1866
  execFileSync(this.config.tmuxPath, [
1855
1867
  'new-session', '-d',
@@ -1919,6 +1931,8 @@ rm() { "${shimRunner}" rm "$@"; }
1919
1931
  // Subscription-pool pinning: tag with the account this launched under, so
1920
1932
  // auto-swap can move it when that account hits a quota wall.
1921
1933
  ...(pinnedAccount ? { subscriptionAccountId: pinnedAccount.accountId } : {}),
1934
+ // §2.10 credential provenance — derived from the SAME predicate as the env block.
1935
+ credentialSource: reroutedCredentialSource,
1922
1936
  // The reroute's completion contract (spec O1 + O4):
1923
1937
  launchLane: 'rerouted-interactive',
1924
1938
  completionMode: 'pattern',
@@ -2837,6 +2851,12 @@ rm() { "${shimRunner}" rm "$@"; }
2837
2851
  // deliberate pin and always wins, unchanged).
2838
2852
  const effectiveConfigHome = explicitConfigHome ?? (pinnedAccount ? this.resolvePinnedSpawnHome(pinnedAccount) : undefined);
2839
2853
  const effectiveAccountId = options?.subscriptionAccountId ?? pinnedAccount?.accountId;
2854
+ // §2.10 provenance — SINGLE SOURCE OF TRUTH: the SAME `(anthropicApiKey ?? '') !== ''`
2855
+ // predicate that selects the Anthropic env block in the execFileSync below. Only meaningful
2856
+ // for the claude-code lane (the only one whose env block claude-code actually reads).
2857
+ const interactiveCredentialSource = framework === 'claude-code'
2858
+ ? ((this.config.anthropicApiKey ?? '') !== '' ? 'env' : 'store')
2859
+ : undefined;
2840
2860
  // This interactive session is about to launch under a pool account's config
2841
2861
  // home — seed the onboarding flags first or a headless-enrolled home wedges
2842
2862
  // it on the first-launch onboarding wizard (2026-06-09 incident). Applies to
@@ -2965,6 +2985,8 @@ rm() { "${shimRunner}" rm "$@"; }
2965
2985
  // user-facing interactive lane is now tagged just like the headless lane).
2966
2986
  // Undefined for single-account agents (resolver unwired → no pin).
2967
2987
  ...(effectiveAccountId ? { subscriptionAccountId: effectiveAccountId } : {}),
2988
+ // §2.10 credential provenance — derived from the SAME predicate as the env block.
2989
+ ...(interactiveCredentialSource ? { credentialSource: interactiveCredentialSource } : {}),
2968
2990
  prompt: effectiveInitialMessage,
2969
2991
  maxDurationMinutes: this.effectiveMaxDurationMinutes,
2970
2992
  // R2.8/L13: record the spawn cwd so a resume-queue entry can revive
@@ -3224,6 +3246,11 @@ rm() { "${shimRunner}" rm "$@"; }
3224
3246
  tmuxSession,
3225
3247
  startedAt: new Date().toISOString(),
3226
3248
  maxDurationMinutes: 10,
3249
+ // §2.10 provenance — the triage lane hardcodes an EMPTY `ANTHROPIC_API_KEY=` above
3250
+ // (it always reads the per-CLAUDE_CONFIG_DIR store, never an env token), so 'store' is
3251
+ // the deterministic provenance here. Set explicitly so no claude-code spawn record is
3252
+ // provenance-blind (an env-token lane that forgot the flag would be a lint-caught bug).
3253
+ credentialSource: 'store',
3227
3254
  };
3228
3255
  this.state.saveSession(session);
3229
3256
  // Wait for Claude to be ready