@integrity-labs/agt-cli 0.28.1235 → 0.28.1236
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.
- package/dist/bin/agt.js +6 -6
- package/dist/{chunk-VGZ2SKEW.js → chunk-6UWT4OVX.js} +3 -3
- package/dist/{chunk-GAQFCMBK.js → chunk-CWO5BDXI.js} +2 -2
- package/dist/{chunk-WAWLHUCT.js → chunk-IMNBAJ76.js} +2 -2
- package/dist/{chunk-ASJCTFLB.js → chunk-O3ZYQFAT.js} +5 -5
- package/dist/chunk-O3ZYQFAT.js.map +1 -0
- package/dist/{chunk-I57M57XZ.js → chunk-UBEPEAMN.js} +21 -3
- package/dist/{chunk-I57M57XZ.js.map → chunk-UBEPEAMN.js.map} +1 -1
- package/dist/{claude-code-updater-GXYP3Y6O.js → claude-code-updater-DD6TTIGM.js} +3 -3
- package/dist/{claude-pair-runtime-GEFCVMJA.js → claude-pair-runtime-YLHZQYW6.js} +3 -3
- package/dist/lib/manager-worker.js +19 -19
- package/dist/mcp/direct-chat-channel.js +20 -2
- package/dist/mcp/index.js +20 -2
- package/dist/mcp/origami.js +20 -2
- package/dist/mcp/slack-channel.js +20 -2
- package/dist/mcp/telegram-channel.js +20 -2
- package/dist/{persistent-session-VEE36NTM.js → persistent-session-2XBZ3AV3.js} +4 -4
- package/dist/{responsiveness-probe-ZPBEQOK5.js → responsiveness-probe-XEQL4LXY.js} +4 -4
- package/dist/{session-auth-dead-HOVWVHBB.js → session-auth-dead-UKCQ3SSK.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-ASJCTFLB.js.map +0 -1
- /package/dist/{chunk-VGZ2SKEW.js.map → chunk-6UWT4OVX.js.map} +0 -0
- /package/dist/{chunk-GAQFCMBK.js.map → chunk-CWO5BDXI.js.map} +0 -0
- /package/dist/{chunk-WAWLHUCT.js.map → chunk-IMNBAJ76.js.map} +0 -0
- /package/dist/{claude-code-updater-GXYP3Y6O.js.map → claude-code-updater-DD6TTIGM.js.map} +0 -0
- /package/dist/{claude-pair-runtime-GEFCVMJA.js.map → claude-pair-runtime-YLHZQYW6.js.map} +0 -0
- /package/dist/{persistent-session-VEE36NTM.js.map → persistent-session-2XBZ3AV3.js.map} +0 -0
- /package/dist/{responsiveness-probe-ZPBEQOK5.js.map → responsiveness-probe-XEQL4LXY.js.map} +0 -0
- /package/dist/{session-auth-dead-HOVWVHBB.js.map → session-auth-dead-UKCQ3SSK.js.map} +0 -0
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
probeClaudeInstalls,
|
|
14
14
|
readsAsNativeInstall,
|
|
15
15
|
shouldRunClaudeCodeUpdater
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CWO5BDXI.js";
|
|
17
17
|
import "./chunk-XWVM4KPK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-UBEPEAMN.js";
|
|
19
19
|
import "./chunk-AIUIMEUS.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
readsAsNativeInstall,
|
|
35
35
|
shouldRunClaudeCodeUpdater
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=claude-code-updater-
|
|
37
|
+
//# sourceMappingURL=claude-code-updater-DD6TTIGM.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
redactPaneFrame,
|
|
10
10
|
sanitizeTerminalFrame
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UBEPEAMN.js";
|
|
12
12
|
import {
|
|
13
13
|
CLAUDE_CONFIG_DIR_ENV,
|
|
14
14
|
claudeConfigDirFor,
|
|
@@ -321,7 +321,7 @@ async function spawnPairSession(session) {
|
|
|
321
321
|
return { ok: true };
|
|
322
322
|
} catch {
|
|
323
323
|
}
|
|
324
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
324
|
+
const { resolveClaudeBinary } = await import("./persistent-session-2XBZ3AV3.js");
|
|
325
325
|
const claudeBin = resolveClaudeBinary();
|
|
326
326
|
const pairEnv = {
|
|
327
327
|
...process.env,
|
|
@@ -836,4 +836,4 @@ export {
|
|
|
836
836
|
startClaudePair,
|
|
837
837
|
submitClaudePairCode
|
|
838
838
|
};
|
|
839
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
839
|
+
//# sourceMappingURL=claude-pair-runtime-YLHZQYW6.js.map
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
tripClass,
|
|
86
86
|
writeEtcEnvironment,
|
|
87
87
|
writeProfileDScript
|
|
88
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-O3ZYQFAT.js";
|
|
89
89
|
import {
|
|
90
90
|
CLAUDE_CODE_SECURITY_FLOOR,
|
|
91
91
|
SELF_UPDATE_TIMEOUTS,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
runSafeCleanup,
|
|
100
100
|
tightestDiskStat,
|
|
101
101
|
withPackageCacheLock
|
|
102
|
-
} from "../chunk-
|
|
102
|
+
} from "../chunk-CWO5BDXI.js";
|
|
103
103
|
import {
|
|
104
104
|
rewriteSupervisorApiKey,
|
|
105
105
|
supervisorChannelsRefusing
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
webFetchBaselineValue,
|
|
195
195
|
webFetchRestartNeeded,
|
|
196
196
|
writeEgressAllowlist
|
|
197
|
-
} from "../chunk-
|
|
197
|
+
} from "../chunk-6UWT4OVX.js";
|
|
198
198
|
import {
|
|
199
199
|
isAgentIdle,
|
|
200
200
|
isStaleForToday,
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
subagentActivityAgeSeconds,
|
|
206
206
|
subagentTranscriptDir,
|
|
207
207
|
transcriptActivityAgeSeconds
|
|
208
|
-
} from "../chunk-
|
|
208
|
+
} from "../chunk-IMNBAJ76.js";
|
|
209
209
|
import {
|
|
210
210
|
classifyUnanswerablePane,
|
|
211
211
|
focusedConfirmDialogBlock,
|
|
@@ -336,7 +336,7 @@ import {
|
|
|
336
336
|
stabiliseResetInstant,
|
|
337
337
|
sumTranscriptUsageInWindow,
|
|
338
338
|
summarizeTranscriptActivity
|
|
339
|
-
} from "../chunk-
|
|
339
|
+
} from "../chunk-UBEPEAMN.js";
|
|
340
340
|
import {
|
|
341
341
|
CLAUDE_CONFIG_DIR_ENV,
|
|
342
342
|
claudeConfigDirFor,
|
|
@@ -15861,7 +15861,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
15861
15861
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
15862
15862
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
15863
15863
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
15864
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
15864
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-XEQL4LXY.js");
|
|
15865
15865
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
15866
15866
|
if (newest === null) return null;
|
|
15867
15867
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -16667,7 +16667,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
16667
16667
|
var lastVersionCheckAt = 0;
|
|
16668
16668
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
16669
16669
|
var lastResponsivenessProbeAt = 0;
|
|
16670
|
-
var agtCliVersion = true ? "0.28.
|
|
16670
|
+
var agtCliVersion = true ? "0.28.1236" : "dev";
|
|
16671
16671
|
function resolveBrewPath(execFileSync3) {
|
|
16672
16672
|
try {
|
|
16673
16673
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -18664,7 +18664,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
18664
18664
|
if (codeNames.length === 0) return;
|
|
18665
18665
|
void (async () => {
|
|
18666
18666
|
try {
|
|
18667
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18667
|
+
const { collectDiagnostics } = await import("../persistent-session-2XBZ3AV3.js");
|
|
18668
18668
|
await api.post("/host/heartbeat", {
|
|
18669
18669
|
host_id: hostId,
|
|
18670
18670
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -18807,7 +18807,7 @@ async function pollCycleInner() {
|
|
|
18807
18807
|
}
|
|
18808
18808
|
try {
|
|
18809
18809
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
18810
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18810
|
+
const { collectDiagnostics } = await import("../persistent-session-2XBZ3AV3.js");
|
|
18811
18811
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
18812
18812
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
|
|
18813
18813
|
let tailscaleHostname;
|
|
@@ -19072,7 +19072,7 @@ async function pollCycleInner() {
|
|
|
19072
19072
|
}
|
|
19073
19073
|
try {
|
|
19074
19074
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
19075
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
19075
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-DD6TTIGM.js");
|
|
19076
19076
|
const securityFloor = currentSecurityFloor();
|
|
19077
19077
|
claudeUpdaterInFlight = true;
|
|
19078
19078
|
if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
|
|
@@ -19107,7 +19107,7 @@ async function pollCycleInner() {
|
|
|
19107
19107
|
collectPanelessActivityProbes,
|
|
19108
19108
|
getResponsivenessIntervalMs,
|
|
19109
19109
|
occupancyQualificationClassifications
|
|
19110
|
-
} = await import("../responsiveness-probe-
|
|
19110
|
+
} = await import("../responsiveness-probe-XEQL4LXY.js");
|
|
19111
19111
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
19112
19112
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
19113
19113
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -19224,7 +19224,7 @@ async function pollCycleInner() {
|
|
|
19224
19224
|
collectResponsivenessProbes,
|
|
19225
19225
|
livePendingInboundOldestAgeSeconds,
|
|
19226
19226
|
parkPendingInbound
|
|
19227
|
-
} = await import("../responsiveness-probe-
|
|
19227
|
+
} = await import("../responsiveness-probe-XEQL4LXY.js");
|
|
19228
19228
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
|
|
19229
19229
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
19230
19230
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -19510,7 +19510,7 @@ async function pollCycleInner() {
|
|
|
19510
19510
|
}
|
|
19511
19511
|
}
|
|
19512
19512
|
);
|
|
19513
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
19513
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-XEQL4LXY.js");
|
|
19514
19514
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
19515
19515
|
paneFatalStreak.delete(codeName);
|
|
19516
19516
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -19541,7 +19541,7 @@ async function pollCycleInner() {
|
|
|
19541
19541
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
19542
19542
|
bindSourceEscalations
|
|
19543
19543
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
19544
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
19544
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-2XBZ3AV3.js");
|
|
19545
19545
|
const mountConfig = resolveTranscriptMountConfig();
|
|
19546
19546
|
const liveAgents = agentState.persistentSessionAgents;
|
|
19547
19547
|
for (const tracked of [
|
|
@@ -19706,7 +19706,7 @@ async function pollCycleInner() {
|
|
|
19706
19706
|
}
|
|
19707
19707
|
try {
|
|
19708
19708
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
19709
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
19709
|
+
const { probeSessionAuth } = await import("../session-auth-dead-UKCQ3SSK.js");
|
|
19710
19710
|
const observations = [];
|
|
19711
19711
|
const pendingCacheCommits = [];
|
|
19712
19712
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -24456,7 +24456,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
24456
24456
|
try {
|
|
24457
24457
|
const freshId = rotateSessionForWedge(codeName);
|
|
24458
24458
|
consecutiveWedgeCycles.delete(codeName);
|
|
24459
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
24459
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-XEQL4LXY.js");
|
|
24460
24460
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
24461
24461
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
24462
24462
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -24499,7 +24499,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
24499
24499
|
void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
|
|
24500
24500
|
void (async () => {
|
|
24501
24501
|
try {
|
|
24502
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
24502
|
+
const { collectDiagnostics } = await import("../persistent-session-2XBZ3AV3.js");
|
|
24503
24503
|
await api.post("/host/heartbeat", {
|
|
24504
24504
|
host_id: hostId,
|
|
24505
24505
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -24550,7 +24550,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
24550
24550
|
}
|
|
24551
24551
|
try {
|
|
24552
24552
|
const hostId = await getHostId();
|
|
24553
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
24553
|
+
const { collectDiagnostics } = await import("../persistent-session-2XBZ3AV3.js");
|
|
24554
24554
|
await api.post("/host/heartbeat", {
|
|
24555
24555
|
host_id: hostId,
|
|
24556
24556
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -25252,7 +25252,7 @@ async function processClaudePairSessions(agents) {
|
|
|
25252
25252
|
snapshotPairConfig,
|
|
25253
25253
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
25254
25254
|
planPairStartReport
|
|
25255
|
-
} = await import("../claude-pair-runtime-
|
|
25255
|
+
} = await import("../claude-pair-runtime-YLHZQYW6.js");
|
|
25256
25256
|
const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
|
|
25257
25257
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
25258
25258
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
@@ -39510,8 +39510,10 @@ var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
|
|
|
39510
39510
|
var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
39511
39511
|
var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
39512
39512
|
var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
39513
|
-
var
|
|
39514
|
-
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 +
|
|
39513
|
+
var DECK_PHONE_ICON_PILL_W_PX = DOWNLOAD_MOBILE_MIN_HEIGHT_PX;
|
|
39514
|
+
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
39515
|
+
var DECK_PHONE_VIS_LEFT_PX = 16 + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
39516
|
+
var DECK_PHONE_VIS_BESIDE_PRINT_LEFT_PX = DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
39515
39517
|
|
|
39516
39518
|
// ../core/dist/integrations/augmented-live/codec.js
|
|
39517
39519
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
@@ -44692,6 +44694,22 @@ var FLAG_REGISTRY = [
|
|
|
44692
44694
|
// deliberate staged security flip, so mutations require explicit confirmation.
|
|
44693
44695
|
sensitive: true
|
|
44694
44696
|
},
|
|
44697
|
+
{
|
|
44698
|
+
key: "at-rest-scheme-k-writes",
|
|
44699
|
+
description: "ADR-0062 increment C arm (ENG-11944). Gates whether an at-rest sink that has an active dek_epochs row seals under a PER-ORG DEK wrapped by the platform KEK (envelope `s: 'k'`) instead of the app key (`s: 'a'`). OFF (default) = scheme a, i.e. the ADR-0061 behaviour, whatever the sink and whatever epochs exist. Resolved FLEET-WIDE and process-global via setSchemeKWritesArmed at the API bootstrap seam \u2014 per-org overrides do NOT apply (the crypto writer carries no request context), despite the DEK itself being per-org. Ships dark; the corpus is empty. NOT REVERSIBLE THE WAY `at-rest-v2-writes` IS, and the difference is the point: clearing that flag returns the writer to v1 and every blob it wrote stays readable under the same app key, whereas clearing THIS one stops new rows but leaves every row already written readable ONLY through the KMS key its inline wrap names (A5 option 2), permanently. Three preconditions for the flip, none of which this flag can check: (1) ENG-10990 \u2014 the re-seal drain never UNWRAPS the survivor it nominates, so DRAIN COMPLETE can be reported over a row whose only path is a kms: ref that does not work; (2) ADR-0062 A9 \u2014 a wrap ref embeds a region and cannot follow a migration. The BINDING check is at the MINT and compares the region in the ARN KMS returns against PRIMARY_APP_REGION; isSecondaryStack() is only its pre-filter (AWS_REGION unset still lets the SDK take a region from the shared profile) and is separately what stops a non-live stack sealing at all. A seal never writes its own region \u2014 it reuses the epoch ref verbatim; (3) an org must have an active dek_epochs row before ANY of its rows can be scheme k, and this flag does not create one. There is no lazy first-write mint (dek-epochs.ts decision 2) and, as of ENG-11944, no production caller of mintDekEpoch at all \u2014 no route, no CLI verb, no cron. So FLIPPING THIS ON BY ITSELF CHANGES NOTHING: every org still seals scheme a until someone mints deliberately. That is the intended rollout for a control whose first row freezes the envelope for the whole corpus: one pilot org, watched. kms:GenerateDataKey is therefore a MINT precondition, not a flip one \u2014 sst.config.ts grants it only where apiSecretsKmsKeyArn is defined (prod and test), so a mint on any other stage fails loudly with AccessDenied, which is the right place to fail. BUT THE GRANT IS NOT THE ONLY PRECONDITION, AND SCHEME K IS PROD-ONLY (Obi Wan 5eda5230451a). This sentence used to stop at the grant, which read as \"prod and test can mint\". Test cannot: deploy-test.yml pins AUGMENTED_APP_REGION=us-east-2, so the test API runs with AWS_REGION=us-east-2, isSecondaryStack() is true there, and BOTH A9 gates refuse \u2014 the arming seam writes scheme a, and mintDekEpoch throws at its pre-filter (and would fail the ARN-region check anyway, since test's stage CMK is itself in us-east-2). So the first scheme-k row ever written will be on PROD, and the one-pilot-org rehearsal above cannot be done on test first. That is a KNOWN LIMITATION, not an oversight: both gates compare against the single PRIMARY_APP_REGION constant, and making them aware of a stage's own home region needs a stage->region source that does not exist at the mint's call site (AUGMENTED_APP_REGION is read only in sst.config.ts at deploy time, and the first mint runs in an operator shell). Do NOT whitelist us-east-2 to make test mint \u2014 that is the pre-cutover region A9 exists to keep out of rows. VERIFIED 2026-11-10 (ENG-11944), replacing the unverified note that stood here: the live key policy on alias/augmented-prod-secrets is the AWS default single statement (account root, kms:*, NO Condition block), so it constrains no EncryptionContext and cannot refuse the per-org one; and the live API role does hold Decrypt + GenerateDataKey on that key, unconditioned. Note what follows: KMS POLICY IS NOT WHAT ISOLATES ONE ORG DEK FROM ANOTHER. AES-GCM AAD is, cryptographically, inside KMS.",
|
|
44700
|
+
flagType: "boolean",
|
|
44701
|
+
// Declared safe value is `false` = scheme a. A flag-read error must never arm
|
|
44702
|
+
// scheme k on its own: an unintended `a` row is re-sealable, an unintended
|
|
44703
|
+
// `k` row is only readable via the KMS key it names, so the two failure
|
|
44704
|
+
// directions are not symmetric and the safe one is down.
|
|
44705
|
+
defaultValue: false,
|
|
44706
|
+
// Deliberately NOT public (a server/process gate; a browser neither seals nor
|
|
44707
|
+
// holds a KMS grant) and NO envVar — the API bootstrap evaluates the flag
|
|
44708
|
+
// directly, and a bare AGT_*_ENABLED gate would trip check-new-env-gates.sh.
|
|
44709
|
+
// Sensitive: arming changes the durable at-rest format AND the key custody of
|
|
44710
|
+
// every row it produces, so mutations require explicit confirmation.
|
|
44711
|
+
sensitive: true
|
|
44712
|
+
},
|
|
44695
44713
|
{
|
|
44696
44714
|
key: "opencode-host-wizard",
|
|
44697
44715
|
description: "Show a framework selector (Claude Code | opencode) in the new-host wizard, plus the opencode auth mode (xAI/Grok, per-agent minted keys). Off = the wizard only creates Claude Code hosts (opencode host creation stays CLI/programmatic). Additive UI gate; ships dark. The backend mint + claude_auth_mode=xai are enabled separately.",
|
package/dist/mcp/index.js
CHANGED
|
@@ -25606,8 +25606,10 @@ var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
|
|
|
25606
25606
|
var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
25607
25607
|
var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
25608
25608
|
var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
25609
|
-
var
|
|
25610
|
-
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 +
|
|
25609
|
+
var DECK_PHONE_ICON_PILL_W_PX = DOWNLOAD_MOBILE_MIN_HEIGHT_PX;
|
|
25610
|
+
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
25611
|
+
var DECK_PHONE_VIS_LEFT_PX = 16 + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
25612
|
+
var DECK_PHONE_VIS_BESIDE_PRINT_LEFT_PX = DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
25611
25613
|
|
|
25612
25614
|
// ../core/dist/integrations/augmented-live/codec.js
|
|
25613
25615
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
@@ -30374,6 +30376,22 @@ var FLAG_REGISTRY = [
|
|
|
30374
30376
|
// deliberate staged security flip, so mutations require explicit confirmation.
|
|
30375
30377
|
sensitive: true
|
|
30376
30378
|
},
|
|
30379
|
+
{
|
|
30380
|
+
key: "at-rest-scheme-k-writes",
|
|
30381
|
+
description: "ADR-0062 increment C arm (ENG-11944). Gates whether an at-rest sink that has an active dek_epochs row seals under a PER-ORG DEK wrapped by the platform KEK (envelope `s: 'k'`) instead of the app key (`s: 'a'`). OFF (default) = scheme a, i.e. the ADR-0061 behaviour, whatever the sink and whatever epochs exist. Resolved FLEET-WIDE and process-global via setSchemeKWritesArmed at the API bootstrap seam \u2014 per-org overrides do NOT apply (the crypto writer carries no request context), despite the DEK itself being per-org. Ships dark; the corpus is empty. NOT REVERSIBLE THE WAY `at-rest-v2-writes` IS, and the difference is the point: clearing that flag returns the writer to v1 and every blob it wrote stays readable under the same app key, whereas clearing THIS one stops new rows but leaves every row already written readable ONLY through the KMS key its inline wrap names (A5 option 2), permanently. Three preconditions for the flip, none of which this flag can check: (1) ENG-10990 \u2014 the re-seal drain never UNWRAPS the survivor it nominates, so DRAIN COMPLETE can be reported over a row whose only path is a kms: ref that does not work; (2) ADR-0062 A9 \u2014 a wrap ref embeds a region and cannot follow a migration. The BINDING check is at the MINT and compares the region in the ARN KMS returns against PRIMARY_APP_REGION; isSecondaryStack() is only its pre-filter (AWS_REGION unset still lets the SDK take a region from the shared profile) and is separately what stops a non-live stack sealing at all. A seal never writes its own region \u2014 it reuses the epoch ref verbatim; (3) an org must have an active dek_epochs row before ANY of its rows can be scheme k, and this flag does not create one. There is no lazy first-write mint (dek-epochs.ts decision 2) and, as of ENG-11944, no production caller of mintDekEpoch at all \u2014 no route, no CLI verb, no cron. So FLIPPING THIS ON BY ITSELF CHANGES NOTHING: every org still seals scheme a until someone mints deliberately. That is the intended rollout for a control whose first row freezes the envelope for the whole corpus: one pilot org, watched. kms:GenerateDataKey is therefore a MINT precondition, not a flip one \u2014 sst.config.ts grants it only where apiSecretsKmsKeyArn is defined (prod and test), so a mint on any other stage fails loudly with AccessDenied, which is the right place to fail. BUT THE GRANT IS NOT THE ONLY PRECONDITION, AND SCHEME K IS PROD-ONLY (Obi Wan 5eda5230451a). This sentence used to stop at the grant, which read as \"prod and test can mint\". Test cannot: deploy-test.yml pins AUGMENTED_APP_REGION=us-east-2, so the test API runs with AWS_REGION=us-east-2, isSecondaryStack() is true there, and BOTH A9 gates refuse \u2014 the arming seam writes scheme a, and mintDekEpoch throws at its pre-filter (and would fail the ARN-region check anyway, since test's stage CMK is itself in us-east-2). So the first scheme-k row ever written will be on PROD, and the one-pilot-org rehearsal above cannot be done on test first. That is a KNOWN LIMITATION, not an oversight: both gates compare against the single PRIMARY_APP_REGION constant, and making them aware of a stage's own home region needs a stage->region source that does not exist at the mint's call site (AUGMENTED_APP_REGION is read only in sst.config.ts at deploy time, and the first mint runs in an operator shell). Do NOT whitelist us-east-2 to make test mint \u2014 that is the pre-cutover region A9 exists to keep out of rows. VERIFIED 2026-11-10 (ENG-11944), replacing the unverified note that stood here: the live key policy on alias/augmented-prod-secrets is the AWS default single statement (account root, kms:*, NO Condition block), so it constrains no EncryptionContext and cannot refuse the per-org one; and the live API role does hold Decrypt + GenerateDataKey on that key, unconditioned. Note what follows: KMS POLICY IS NOT WHAT ISOLATES ONE ORG DEK FROM ANOTHER. AES-GCM AAD is, cryptographically, inside KMS.",
|
|
30382
|
+
flagType: "boolean",
|
|
30383
|
+
// Declared safe value is `false` = scheme a. A flag-read error must never arm
|
|
30384
|
+
// scheme k on its own: an unintended `a` row is re-sealable, an unintended
|
|
30385
|
+
// `k` row is only readable via the KMS key it names, so the two failure
|
|
30386
|
+
// directions are not symmetric and the safe one is down.
|
|
30387
|
+
defaultValue: false,
|
|
30388
|
+
// Deliberately NOT public (a server/process gate; a browser neither seals nor
|
|
30389
|
+
// holds a KMS grant) and NO envVar — the API bootstrap evaluates the flag
|
|
30390
|
+
// directly, and a bare AGT_*_ENABLED gate would trip check-new-env-gates.sh.
|
|
30391
|
+
// Sensitive: arming changes the durable at-rest format AND the key custody of
|
|
30392
|
+
// every row it produces, so mutations require explicit confirmation.
|
|
30393
|
+
sensitive: true
|
|
30394
|
+
},
|
|
30377
30395
|
{
|
|
30378
30396
|
key: "opencode-host-wizard",
|
|
30379
30397
|
description: "Show a framework selector (Claude Code | opencode) in the new-host wizard, plus the opencode auth mode (xAI/Grok, per-agent minted keys). Off = the wizard only creates Claude Code hosts (opencode host creation stays CLI/programmatic). Additive UI gate; ships dark. The backend mint + claude_auth_mode=xai are enabled separately.",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -39667,8 +39667,10 @@ var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
|
|
|
39667
39667
|
var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
39668
39668
|
var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
39669
39669
|
var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
39670
|
-
var
|
|
39671
|
-
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 +
|
|
39670
|
+
var DECK_PHONE_ICON_PILL_W_PX = DOWNLOAD_MOBILE_MIN_HEIGHT_PX;
|
|
39671
|
+
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
39672
|
+
var DECK_PHONE_VIS_LEFT_PX = 16 + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
39673
|
+
var DECK_PHONE_VIS_BESIDE_PRINT_LEFT_PX = DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
39672
39674
|
|
|
39673
39675
|
// ../core/dist/integrations/augmented-live/codec.js
|
|
39674
39676
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
@@ -44176,6 +44178,22 @@ var FLAG_REGISTRY = [
|
|
|
44176
44178
|
// deliberate staged security flip, so mutations require explicit confirmation.
|
|
44177
44179
|
sensitive: true
|
|
44178
44180
|
},
|
|
44181
|
+
{
|
|
44182
|
+
key: "at-rest-scheme-k-writes",
|
|
44183
|
+
description: "ADR-0062 increment C arm (ENG-11944). Gates whether an at-rest sink that has an active dek_epochs row seals under a PER-ORG DEK wrapped by the platform KEK (envelope `s: 'k'`) instead of the app key (`s: 'a'`). OFF (default) = scheme a, i.e. the ADR-0061 behaviour, whatever the sink and whatever epochs exist. Resolved FLEET-WIDE and process-global via setSchemeKWritesArmed at the API bootstrap seam \u2014 per-org overrides do NOT apply (the crypto writer carries no request context), despite the DEK itself being per-org. Ships dark; the corpus is empty. NOT REVERSIBLE THE WAY `at-rest-v2-writes` IS, and the difference is the point: clearing that flag returns the writer to v1 and every blob it wrote stays readable under the same app key, whereas clearing THIS one stops new rows but leaves every row already written readable ONLY through the KMS key its inline wrap names (A5 option 2), permanently. Three preconditions for the flip, none of which this flag can check: (1) ENG-10990 \u2014 the re-seal drain never UNWRAPS the survivor it nominates, so DRAIN COMPLETE can be reported over a row whose only path is a kms: ref that does not work; (2) ADR-0062 A9 \u2014 a wrap ref embeds a region and cannot follow a migration. The BINDING check is at the MINT and compares the region in the ARN KMS returns against PRIMARY_APP_REGION; isSecondaryStack() is only its pre-filter (AWS_REGION unset still lets the SDK take a region from the shared profile) and is separately what stops a non-live stack sealing at all. A seal never writes its own region \u2014 it reuses the epoch ref verbatim; (3) an org must have an active dek_epochs row before ANY of its rows can be scheme k, and this flag does not create one. There is no lazy first-write mint (dek-epochs.ts decision 2) and, as of ENG-11944, no production caller of mintDekEpoch at all \u2014 no route, no CLI verb, no cron. So FLIPPING THIS ON BY ITSELF CHANGES NOTHING: every org still seals scheme a until someone mints deliberately. That is the intended rollout for a control whose first row freezes the envelope for the whole corpus: one pilot org, watched. kms:GenerateDataKey is therefore a MINT precondition, not a flip one \u2014 sst.config.ts grants it only where apiSecretsKmsKeyArn is defined (prod and test), so a mint on any other stage fails loudly with AccessDenied, which is the right place to fail. BUT THE GRANT IS NOT THE ONLY PRECONDITION, AND SCHEME K IS PROD-ONLY (Obi Wan 5eda5230451a). This sentence used to stop at the grant, which read as \"prod and test can mint\". Test cannot: deploy-test.yml pins AUGMENTED_APP_REGION=us-east-2, so the test API runs with AWS_REGION=us-east-2, isSecondaryStack() is true there, and BOTH A9 gates refuse \u2014 the arming seam writes scheme a, and mintDekEpoch throws at its pre-filter (and would fail the ARN-region check anyway, since test's stage CMK is itself in us-east-2). So the first scheme-k row ever written will be on PROD, and the one-pilot-org rehearsal above cannot be done on test first. That is a KNOWN LIMITATION, not an oversight: both gates compare against the single PRIMARY_APP_REGION constant, and making them aware of a stage's own home region needs a stage->region source that does not exist at the mint's call site (AUGMENTED_APP_REGION is read only in sst.config.ts at deploy time, and the first mint runs in an operator shell). Do NOT whitelist us-east-2 to make test mint \u2014 that is the pre-cutover region A9 exists to keep out of rows. VERIFIED 2026-11-10 (ENG-11944), replacing the unverified note that stood here: the live key policy on alias/augmented-prod-secrets is the AWS default single statement (account root, kms:*, NO Condition block), so it constrains no EncryptionContext and cannot refuse the per-org one; and the live API role does hold Decrypt + GenerateDataKey on that key, unconditioned. Note what follows: KMS POLICY IS NOT WHAT ISOLATES ONE ORG DEK FROM ANOTHER. AES-GCM AAD is, cryptographically, inside KMS.",
|
|
44184
|
+
flagType: "boolean",
|
|
44185
|
+
// Declared safe value is `false` = scheme a. A flag-read error must never arm
|
|
44186
|
+
// scheme k on its own: an unintended `a` row is re-sealable, an unintended
|
|
44187
|
+
// `k` row is only readable via the KMS key it names, so the two failure
|
|
44188
|
+
// directions are not symmetric and the safe one is down.
|
|
44189
|
+
defaultValue: false,
|
|
44190
|
+
// Deliberately NOT public (a server/process gate; a browser neither seals nor
|
|
44191
|
+
// holds a KMS grant) and NO envVar — the API bootstrap evaluates the flag
|
|
44192
|
+
// directly, and a bare AGT_*_ENABLED gate would trip check-new-env-gates.sh.
|
|
44193
|
+
// Sensitive: arming changes the durable at-rest format AND the key custody of
|
|
44194
|
+
// every row it produces, so mutations require explicit confirmation.
|
|
44195
|
+
sensitive: true
|
|
44196
|
+
},
|
|
44179
44197
|
{
|
|
44180
44198
|
key: "opencode-host-wizard",
|
|
44181
44199
|
description: "Show a framework selector (Claude Code | opencode) in the new-host wizard, plus the opencode auth mode (xAI/Grok, per-agent minted keys). Off = the wizard only creates Claude Code hosts (opencode host creation stays CLI/programmatic). Additive UI gate; ships dark. The backend mint + claude_auth_mode=xai are enabled separately.",
|
|
@@ -34100,8 +34100,10 @@ var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
|
|
|
34100
34100
|
var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
34101
34101
|
var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
34102
34102
|
var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
34103
|
-
var
|
|
34104
|
-
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 +
|
|
34103
|
+
var DECK_PHONE_ICON_PILL_W_PX = DOWNLOAD_MOBILE_MIN_HEIGHT_PX;
|
|
34104
|
+
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
34105
|
+
var DECK_PHONE_VIS_LEFT_PX = 16 + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
34106
|
+
var DECK_PHONE_VIS_BESIDE_PRINT_LEFT_PX = DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
34105
34107
|
|
|
34106
34108
|
// ../core/dist/integrations/augmented-live/codec.js
|
|
34107
34109
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
@@ -39031,6 +39033,22 @@ var FLAG_REGISTRY = [
|
|
|
39031
39033
|
// deliberate staged security flip, so mutations require explicit confirmation.
|
|
39032
39034
|
sensitive: true
|
|
39033
39035
|
},
|
|
39036
|
+
{
|
|
39037
|
+
key: "at-rest-scheme-k-writes",
|
|
39038
|
+
description: "ADR-0062 increment C arm (ENG-11944). Gates whether an at-rest sink that has an active dek_epochs row seals under a PER-ORG DEK wrapped by the platform KEK (envelope `s: 'k'`) instead of the app key (`s: 'a'`). OFF (default) = scheme a, i.e. the ADR-0061 behaviour, whatever the sink and whatever epochs exist. Resolved FLEET-WIDE and process-global via setSchemeKWritesArmed at the API bootstrap seam \u2014 per-org overrides do NOT apply (the crypto writer carries no request context), despite the DEK itself being per-org. Ships dark; the corpus is empty. NOT REVERSIBLE THE WAY `at-rest-v2-writes` IS, and the difference is the point: clearing that flag returns the writer to v1 and every blob it wrote stays readable under the same app key, whereas clearing THIS one stops new rows but leaves every row already written readable ONLY through the KMS key its inline wrap names (A5 option 2), permanently. Three preconditions for the flip, none of which this flag can check: (1) ENG-10990 \u2014 the re-seal drain never UNWRAPS the survivor it nominates, so DRAIN COMPLETE can be reported over a row whose only path is a kms: ref that does not work; (2) ADR-0062 A9 \u2014 a wrap ref embeds a region and cannot follow a migration. The BINDING check is at the MINT and compares the region in the ARN KMS returns against PRIMARY_APP_REGION; isSecondaryStack() is only its pre-filter (AWS_REGION unset still lets the SDK take a region from the shared profile) and is separately what stops a non-live stack sealing at all. A seal never writes its own region \u2014 it reuses the epoch ref verbatim; (3) an org must have an active dek_epochs row before ANY of its rows can be scheme k, and this flag does not create one. There is no lazy first-write mint (dek-epochs.ts decision 2) and, as of ENG-11944, no production caller of mintDekEpoch at all \u2014 no route, no CLI verb, no cron. So FLIPPING THIS ON BY ITSELF CHANGES NOTHING: every org still seals scheme a until someone mints deliberately. That is the intended rollout for a control whose first row freezes the envelope for the whole corpus: one pilot org, watched. kms:GenerateDataKey is therefore a MINT precondition, not a flip one \u2014 sst.config.ts grants it only where apiSecretsKmsKeyArn is defined (prod and test), so a mint on any other stage fails loudly with AccessDenied, which is the right place to fail. BUT THE GRANT IS NOT THE ONLY PRECONDITION, AND SCHEME K IS PROD-ONLY (Obi Wan 5eda5230451a). This sentence used to stop at the grant, which read as \"prod and test can mint\". Test cannot: deploy-test.yml pins AUGMENTED_APP_REGION=us-east-2, so the test API runs with AWS_REGION=us-east-2, isSecondaryStack() is true there, and BOTH A9 gates refuse \u2014 the arming seam writes scheme a, and mintDekEpoch throws at its pre-filter (and would fail the ARN-region check anyway, since test's stage CMK is itself in us-east-2). So the first scheme-k row ever written will be on PROD, and the one-pilot-org rehearsal above cannot be done on test first. That is a KNOWN LIMITATION, not an oversight: both gates compare against the single PRIMARY_APP_REGION constant, and making them aware of a stage's own home region needs a stage->region source that does not exist at the mint's call site (AUGMENTED_APP_REGION is read only in sst.config.ts at deploy time, and the first mint runs in an operator shell). Do NOT whitelist us-east-2 to make test mint \u2014 that is the pre-cutover region A9 exists to keep out of rows. VERIFIED 2026-11-10 (ENG-11944), replacing the unverified note that stood here: the live key policy on alias/augmented-prod-secrets is the AWS default single statement (account root, kms:*, NO Condition block), so it constrains no EncryptionContext and cannot refuse the per-org one; and the live API role does hold Decrypt + GenerateDataKey on that key, unconditioned. Note what follows: KMS POLICY IS NOT WHAT ISOLATES ONE ORG DEK FROM ANOTHER. AES-GCM AAD is, cryptographically, inside KMS.",
|
|
39039
|
+
flagType: "boolean",
|
|
39040
|
+
// Declared safe value is `false` = scheme a. A flag-read error must never arm
|
|
39041
|
+
// scheme k on its own: an unintended `a` row is re-sealable, an unintended
|
|
39042
|
+
// `k` row is only readable via the KMS key it names, so the two failure
|
|
39043
|
+
// directions are not symmetric and the safe one is down.
|
|
39044
|
+
defaultValue: false,
|
|
39045
|
+
// Deliberately NOT public (a server/process gate; a browser neither seals nor
|
|
39046
|
+
// holds a KMS grant) and NO envVar — the API bootstrap evaluates the flag
|
|
39047
|
+
// directly, and a bare AGT_*_ENABLED gate would trip check-new-env-gates.sh.
|
|
39048
|
+
// Sensitive: arming changes the durable at-rest format AND the key custody of
|
|
39049
|
+
// every row it produces, so mutations require explicit confirmation.
|
|
39050
|
+
sensitive: true
|
|
39051
|
+
},
|
|
39034
39052
|
{
|
|
39035
39053
|
key: "opencode-host-wizard",
|
|
39036
39054
|
description: "Show a framework selector (Claude Code | opencode) in the new-host wizard, plus the opencode auth mode (xAI/Grok, per-agent minted keys). Off = the wizard only creates Claude Code hosts (opencode host creation stays CLI/programmatic). Additive UI gate; ships dark. The backend mint + claude_auth_mode=xai are enabled separately.",
|
|
@@ -34297,8 +34297,10 @@ var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
|
|
|
34297
34297
|
var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
34298
34298
|
var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
34299
34299
|
var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
34300
|
-
var
|
|
34301
|
-
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 +
|
|
34300
|
+
var DECK_PHONE_ICON_PILL_W_PX = DOWNLOAD_MOBILE_MIN_HEIGHT_PX;
|
|
34301
|
+
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
34302
|
+
var DECK_PHONE_VIS_LEFT_PX = 16 + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
34303
|
+
var DECK_PHONE_VIS_BESIDE_PRINT_LEFT_PX = DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX + DECK_PHONE_ICON_PILL_W_PX + DECK_CHROME_GAP_PX;
|
|
34302
34304
|
|
|
34303
34305
|
// ../core/dist/integrations/augmented-live/codec.js
|
|
34304
34306
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
@@ -39222,6 +39224,22 @@ var FLAG_REGISTRY = [
|
|
|
39222
39224
|
// deliberate staged security flip, so mutations require explicit confirmation.
|
|
39223
39225
|
sensitive: true
|
|
39224
39226
|
},
|
|
39227
|
+
{
|
|
39228
|
+
key: "at-rest-scheme-k-writes",
|
|
39229
|
+
description: "ADR-0062 increment C arm (ENG-11944). Gates whether an at-rest sink that has an active dek_epochs row seals under a PER-ORG DEK wrapped by the platform KEK (envelope `s: 'k'`) instead of the app key (`s: 'a'`). OFF (default) = scheme a, i.e. the ADR-0061 behaviour, whatever the sink and whatever epochs exist. Resolved FLEET-WIDE and process-global via setSchemeKWritesArmed at the API bootstrap seam \u2014 per-org overrides do NOT apply (the crypto writer carries no request context), despite the DEK itself being per-org. Ships dark; the corpus is empty. NOT REVERSIBLE THE WAY `at-rest-v2-writes` IS, and the difference is the point: clearing that flag returns the writer to v1 and every blob it wrote stays readable under the same app key, whereas clearing THIS one stops new rows but leaves every row already written readable ONLY through the KMS key its inline wrap names (A5 option 2), permanently. Three preconditions for the flip, none of which this flag can check: (1) ENG-10990 \u2014 the re-seal drain never UNWRAPS the survivor it nominates, so DRAIN COMPLETE can be reported over a row whose only path is a kms: ref that does not work; (2) ADR-0062 A9 \u2014 a wrap ref embeds a region and cannot follow a migration. The BINDING check is at the MINT and compares the region in the ARN KMS returns against PRIMARY_APP_REGION; isSecondaryStack() is only its pre-filter (AWS_REGION unset still lets the SDK take a region from the shared profile) and is separately what stops a non-live stack sealing at all. A seal never writes its own region \u2014 it reuses the epoch ref verbatim; (3) an org must have an active dek_epochs row before ANY of its rows can be scheme k, and this flag does not create one. There is no lazy first-write mint (dek-epochs.ts decision 2) and, as of ENG-11944, no production caller of mintDekEpoch at all \u2014 no route, no CLI verb, no cron. So FLIPPING THIS ON BY ITSELF CHANGES NOTHING: every org still seals scheme a until someone mints deliberately. That is the intended rollout for a control whose first row freezes the envelope for the whole corpus: one pilot org, watched. kms:GenerateDataKey is therefore a MINT precondition, not a flip one \u2014 sst.config.ts grants it only where apiSecretsKmsKeyArn is defined (prod and test), so a mint on any other stage fails loudly with AccessDenied, which is the right place to fail. BUT THE GRANT IS NOT THE ONLY PRECONDITION, AND SCHEME K IS PROD-ONLY (Obi Wan 5eda5230451a). This sentence used to stop at the grant, which read as \"prod and test can mint\". Test cannot: deploy-test.yml pins AUGMENTED_APP_REGION=us-east-2, so the test API runs with AWS_REGION=us-east-2, isSecondaryStack() is true there, and BOTH A9 gates refuse \u2014 the arming seam writes scheme a, and mintDekEpoch throws at its pre-filter (and would fail the ARN-region check anyway, since test's stage CMK is itself in us-east-2). So the first scheme-k row ever written will be on PROD, and the one-pilot-org rehearsal above cannot be done on test first. That is a KNOWN LIMITATION, not an oversight: both gates compare against the single PRIMARY_APP_REGION constant, and making them aware of a stage's own home region needs a stage->region source that does not exist at the mint's call site (AUGMENTED_APP_REGION is read only in sst.config.ts at deploy time, and the first mint runs in an operator shell). Do NOT whitelist us-east-2 to make test mint \u2014 that is the pre-cutover region A9 exists to keep out of rows. VERIFIED 2026-11-10 (ENG-11944), replacing the unverified note that stood here: the live key policy on alias/augmented-prod-secrets is the AWS default single statement (account root, kms:*, NO Condition block), so it constrains no EncryptionContext and cannot refuse the per-org one; and the live API role does hold Decrypt + GenerateDataKey on that key, unconditioned. Note what follows: KMS POLICY IS NOT WHAT ISOLATES ONE ORG DEK FROM ANOTHER. AES-GCM AAD is, cryptographically, inside KMS.",
|
|
39230
|
+
flagType: "boolean",
|
|
39231
|
+
// Declared safe value is `false` = scheme a. A flag-read error must never arm
|
|
39232
|
+
// scheme k on its own: an unintended `a` row is re-sealable, an unintended
|
|
39233
|
+
// `k` row is only readable via the KMS key it names, so the two failure
|
|
39234
|
+
// directions are not symmetric and the safe one is down.
|
|
39235
|
+
defaultValue: false,
|
|
39236
|
+
// Deliberately NOT public (a server/process gate; a browser neither seals nor
|
|
39237
|
+
// holds a KMS grant) and NO envVar — the API bootstrap evaluates the flag
|
|
39238
|
+
// directly, and a bare AGT_*_ENABLED gate would trip check-new-env-gates.sh.
|
|
39239
|
+
// Sensitive: arming changes the durable at-rest format AND the key custody of
|
|
39240
|
+
// every row it produces, so mutations require explicit confirmation.
|
|
39241
|
+
sensitive: true
|
|
39242
|
+
},
|
|
39225
39243
|
{
|
|
39226
39244
|
key: "opencode-host-wizard",
|
|
39227
39245
|
description: "Show a framework selector (Claude Code | opencode) in the new-host wizard, plus the opencode auth mode (xAI/Grok, per-agent minted keys). Off = the wizard only creates Claude Code hosts (opencode host creation stays CLI/programmatic). Additive UI gate; ships dark. The backend mint + claude_auth_mode=xai are enabled separately.",
|
|
@@ -68,12 +68,12 @@ import {
|
|
|
68
68
|
writeDirectChatSessionState,
|
|
69
69
|
writeEgressAllowlist,
|
|
70
70
|
writePersistentClaudeWrapper
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-6UWT4OVX.js";
|
|
72
|
+
import "./chunk-IMNBAJ76.js";
|
|
73
73
|
import "./chunk-HYQ7VOC3.js";
|
|
74
74
|
import "./chunk-6HBXEJHO.js";
|
|
75
75
|
import "./chunk-XWVM4KPK.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-UBEPEAMN.js";
|
|
77
77
|
import "./chunk-AIUIMEUS.js";
|
|
78
78
|
import "./chunk-DGUM43GV.js";
|
|
79
79
|
export {
|
|
@@ -147,4 +147,4 @@ export {
|
|
|
147
147
|
writeEgressAllowlist,
|
|
148
148
|
writePersistentClaudeWrapper
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=persistent-session-
|
|
150
|
+
//# sourceMappingURL=persistent-session-2XBZ3AV3.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6UWT4OVX.js";
|
|
4
|
+
import "./chunk-IMNBAJ76.js";
|
|
5
5
|
import "./chunk-HYQ7VOC3.js";
|
|
6
6
|
import "./chunk-6HBXEJHO.js";
|
|
7
7
|
import "./chunk-XWVM4KPK.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-UBEPEAMN.js";
|
|
9
9
|
import "./chunk-AIUIMEUS.js";
|
|
10
10
|
import "./chunk-DGUM43GV.js";
|
|
11
11
|
|
|
@@ -804,4 +804,4 @@ export {
|
|
|
804
804
|
readAndResetSlackReplyBindingClassifications,
|
|
805
805
|
readAndResetSlackReplyTargetClassifications
|
|
806
806
|
};
|
|
807
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
807
|
+
//# sourceMappingURL=responsiveness-probe-XEQL4LXY.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-IMNBAJ76.js";
|
|
4
|
+
import "./chunk-UBEPEAMN.js";
|
|
5
5
|
import "./chunk-DGUM43GV.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/session-auth-dead.ts
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
decideSessionAuthState,
|
|
206
206
|
probeSessionAuth
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=session-auth-dead-
|
|
208
|
+
//# sourceMappingURL=session-auth-dead-UKCQ3SSK.js.map
|