@integrity-labs/agt-cli 0.28.814 → 0.28.816
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 +5 -5
- package/dist/{chunk-Y33QUAGQ.js → chunk-5RZBTMBD.js} +2 -2
- package/dist/{chunk-Y33QUAGQ.js.map → chunk-5RZBTMBD.js.map} +1 -1
- package/dist/{chunk-ZBKYMWD4.js → chunk-PNHF5TJN.js} +4 -4
- package/dist/{chunk-IABI5AX5.js → chunk-SZ47B4KO.js} +40 -9
- package/dist/chunk-SZ47B4KO.js.map +1 -0
- package/dist/{claude-pair-runtime-HFNDYS4V.js → claude-pair-runtime-ZG6I4NMN.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/direct-chat-channel.js +33 -1
- package/dist/mcp/index.js +33 -1
- package/dist/mcp/origami.js +33 -1
- package/dist/mcp/slack-channel.js +33 -1
- package/dist/mcp/telegram-channel.js +33 -1
- package/dist/{persistent-session-5XVEPXBT.js → persistent-session-YX4JTHMC.js} +3 -3
- package/dist/{responsiveness-probe-7LZMXEWA.js → responsiveness-probe-63R3PUAU.js} +3 -3
- package/dist/{session-auth-dead-CDFUCZPH.js → session-auth-dead-2NFR7OFR.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-IABI5AX5.js.map +0 -1
- /package/dist/{chunk-ZBKYMWD4.js.map → chunk-PNHF5TJN.js.map} +0 -0
- /package/dist/{claude-pair-runtime-HFNDYS4V.js.map → claude-pair-runtime-ZG6I4NMN.js.map} +0 -0
- /package/dist/{persistent-session-5XVEPXBT.js.map → persistent-session-YX4JTHMC.js.map} +0 -0
- /package/dist/{responsiveness-probe-7LZMXEWA.js.map → responsiveness-probe-63R3PUAU.js.map} +0 -0
- /package/dist/{session-auth-dead-CDFUCZPH.js.map → session-auth-dead-2NFR7OFR.js.map} +0 -0
|
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
|
|
|
100
100
|
return { ok: true };
|
|
101
101
|
} catch {
|
|
102
102
|
}
|
|
103
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
103
|
+
const { resolveClaudeBinary } = await import("./persistent-session-YX4JTHMC.js");
|
|
104
104
|
const claudeBin = resolveClaudeBinary();
|
|
105
105
|
const pairEnv = {
|
|
106
106
|
...process.env,
|
|
@@ -373,4 +373,4 @@ export {
|
|
|
373
373
|
startClaudePair,
|
|
374
374
|
submitClaudePairCode
|
|
375
375
|
};
|
|
376
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
376
|
+
//# sourceMappingURL=claude-pair-runtime-ZG6I4NMN.js.map
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
safeWriteJsonAtomic,
|
|
59
59
|
setConfigHash,
|
|
60
60
|
tripClass
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-PNHF5TJN.js";
|
|
62
62
|
import {
|
|
63
63
|
getProjectDir as getProjectDir2,
|
|
64
64
|
getReadyTasks,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
takeZombieDetection,
|
|
124
124
|
toOpencodeModel,
|
|
125
125
|
writeEgressAllowlist
|
|
126
|
-
} from "../chunk-
|
|
126
|
+
} from "../chunk-5RZBTMBD.js";
|
|
127
127
|
import {
|
|
128
128
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
129
129
|
AnchorSessionClient,
|
|
@@ -215,7 +215,7 @@ import {
|
|
|
215
215
|
subagentActivityAgeSeconds,
|
|
216
216
|
sumTranscriptUsageInWindow,
|
|
217
217
|
transcriptActivityAgeSeconds
|
|
218
|
-
} from "../chunk-
|
|
218
|
+
} from "../chunk-SZ47B4KO.js";
|
|
219
219
|
import {
|
|
220
220
|
reapOrphanChannelMcps
|
|
221
221
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -12918,7 +12918,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12918
12918
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12919
12919
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12920
12920
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12921
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12921
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-63R3PUAU.js");
|
|
12922
12922
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12923
12923
|
if (newest === null) return null;
|
|
12924
12924
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13580,7 +13580,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13580
13580
|
var lastVersionCheckAt = 0;
|
|
13581
13581
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13582
13582
|
var lastResponsivenessProbeAt = 0;
|
|
13583
|
-
var agtCliVersion = true ? "0.28.
|
|
13583
|
+
var agtCliVersion = true ? "0.28.816" : "dev";
|
|
13584
13584
|
function resolveBrewPath(execFileSync2) {
|
|
13585
13585
|
try {
|
|
13586
13586
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15131,7 +15131,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15131
15131
|
if (codeNames.length === 0) return;
|
|
15132
15132
|
void (async () => {
|
|
15133
15133
|
try {
|
|
15134
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15134
|
+
const { collectDiagnostics } = await import("../persistent-session-YX4JTHMC.js");
|
|
15135
15135
|
await api.post("/host/heartbeat", {
|
|
15136
15136
|
host_id: hostId,
|
|
15137
15137
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15272,7 +15272,7 @@ async function pollCycleInner() {
|
|
|
15272
15272
|
}
|
|
15273
15273
|
try {
|
|
15274
15274
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15275
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15275
|
+
const { collectDiagnostics } = await import("../persistent-session-YX4JTHMC.js");
|
|
15276
15276
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15277
15277
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15278
15278
|
let tailscaleHostname;
|
|
@@ -15441,7 +15441,7 @@ async function pollCycleInner() {
|
|
|
15441
15441
|
collectPanelessActivityProbes,
|
|
15442
15442
|
getResponsivenessIntervalMs,
|
|
15443
15443
|
occupancyQualificationClassifications
|
|
15444
|
-
} = await import("../responsiveness-probe-
|
|
15444
|
+
} = await import("../responsiveness-probe-63R3PUAU.js");
|
|
15445
15445
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15446
15446
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15447
15447
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15558,7 +15558,7 @@ async function pollCycleInner() {
|
|
|
15558
15558
|
collectResponsivenessProbes,
|
|
15559
15559
|
livePendingInboundOldestAgeSeconds,
|
|
15560
15560
|
parkPendingInbound
|
|
15561
|
-
} = await import("../responsiveness-probe-
|
|
15561
|
+
} = await import("../responsiveness-probe-63R3PUAU.js");
|
|
15562
15562
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15563
15563
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15564
15564
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15714,7 +15714,7 @@ async function pollCycleInner() {
|
|
|
15714
15714
|
}
|
|
15715
15715
|
try {
|
|
15716
15716
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
15717
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
15717
|
+
const { probeSessionAuth } = await import("../session-auth-dead-2NFR7OFR.js");
|
|
15718
15718
|
const observations = [];
|
|
15719
15719
|
const pendingCacheCommits = [];
|
|
15720
15720
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -19882,7 +19882,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
19882
19882
|
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}`));
|
|
19883
19883
|
void (async () => {
|
|
19884
19884
|
try {
|
|
19885
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19885
|
+
const { collectDiagnostics } = await import("../persistent-session-YX4JTHMC.js");
|
|
19886
19886
|
await api.post("/host/heartbeat", {
|
|
19887
19887
|
host_id: hostId,
|
|
19888
19888
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19928,7 +19928,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
19928
19928
|
}
|
|
19929
19929
|
try {
|
|
19930
19930
|
const hostId = await getHostId();
|
|
19931
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19931
|
+
const { collectDiagnostics } = await import("../persistent-session-YX4JTHMC.js");
|
|
19932
19932
|
await api.post("/host/heartbeat", {
|
|
19933
19933
|
host_id: hostId,
|
|
19934
19934
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20564,7 +20564,7 @@ async function processClaudePairSessions(agents) {
|
|
|
20564
20564
|
killPairSession,
|
|
20565
20565
|
pairTmuxSession,
|
|
20566
20566
|
finalizeClaudePairOnboarding
|
|
20567
|
-
} = await import("../claude-pair-runtime-
|
|
20567
|
+
} = await import("../claude-pair-runtime-ZG6I4NMN.js");
|
|
20568
20568
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
20569
20569
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
20570
20570
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -30377,13 +30377,16 @@ import { join as join9 } from "path";
|
|
|
30377
30377
|
|
|
30378
30378
|
// ../core/dist/types/agent.js
|
|
30379
30379
|
var FRAMEWORK_MODEL_SLOTS = {
|
|
30380
|
-
"claude-code": ["primary", "small_fast"],
|
|
30380
|
+
"claude-code": ["primary", "small_fast", "advisor"],
|
|
30381
30381
|
"opencode": ["primary"]
|
|
30382
30382
|
};
|
|
30383
30383
|
var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
30384
30384
|
|
|
30385
30385
|
// ../core/dist/types/model-policy.js
|
|
30386
30386
|
var KNOWN_MODEL_POLICY_SLOTS = [...KNOWN_MODEL_SLOTS].sort();
|
|
30387
|
+
var MODEL_POLICY_SLOTS_IN_ORDER = [...KNOWN_MODEL_SLOTS];
|
|
30388
|
+
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set(["advisor"]);
|
|
30389
|
+
var OFFERABLE_MODEL_POLICY_SLOTS = MODEL_POLICY_SLOTS_IN_ORDER.filter((slot) => !MODEL_POLICY_SLOTS_PENDING_ACTUATOR.has(slot));
|
|
30387
30390
|
|
|
30388
30391
|
// ../core/dist/types/integration.js
|
|
30389
30392
|
var HITL_TIER_ORDER = [
|
|
@@ -36673,6 +36676,29 @@ var FLAG_REGISTRY = [
|
|
|
36673
36676
|
// which is the ADR-0022 sensitive-flag shape.
|
|
36674
36677
|
sensitive: true
|
|
36675
36678
|
},
|
|
36679
|
+
{
|
|
36680
|
+
key: "host-alarm-reconciler-repair",
|
|
36681
|
+
description: "Arms the CREATE and DRIFT-REPAIR halves of the ENG-8325 host-alarm reconciler. The cron computes and LOGS the full diff for every host on every run regardless of this flag, on the host-poll-rate-alarm precedent, so the fleet diff is measurable before anything mutates. Off = measure and log, create nothing and re-put nothing. Evaluated PER ORGANIZATION from the host row, so arming can be staged one org at a time and watched. It does NOT gate the reap - see host-alarm-reconciler-reap, which is deliberately fleet-wide because an orphan alarm whose host row is gone has no organization to scope by. AGT_HOST_ALARM_RECONCILER_APPLY outranks this flag and forces BOTH gates on fleet-wide; it is deliberately not declared as this flag's envVar, because it is a master override of two flags rather than the operator override of this one. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
36682
|
+
flagType: "boolean",
|
|
36683
|
+
// Safe value is `false` for a specific reason, not a habitual one: the
|
|
36684
|
+
// first applying run creates one alarm per host that lacks one, and a
|
|
36685
|
+
// PutMetricAlarm on a fleet whose expected set is wrong is not a no-op you
|
|
36686
|
+
// can shrug off - it is monitoring that now exists and will page.
|
|
36687
|
+
defaultValue: false,
|
|
36688
|
+
// It mutates CloudWatch for every host in the armed org, which is the
|
|
36689
|
+
// ADR-0022 sensitive-flag shape.
|
|
36690
|
+
sensitive: true
|
|
36691
|
+
},
|
|
36692
|
+
{
|
|
36693
|
+
key: "host-alarm-reconciler-reap",
|
|
36694
|
+
description: "Arms the REAP half of the ENG-8325 host-alarm reconciler: deleting alarms under augmented/{env}/host/ whose parsed host id is not in the live set. Off = count and name the orphan candidates, delete nothing. DELIBERATELY EVALUATED GLOBALLY, with no organization scope, and that is not an oversight to be tidied up later. An orphan is defined as an alarm whose host id resolves to no live host; where the host row is gone entirely there is no organization to scope by, so the property that makes an alarm an orphan is the same one that makes it unattributable. A per-org gate here would silently reap other orgs' orphans the moment any one org was armed, which is staged creates with an unstaged reap - the more dangerous half. AGT_HOST_ALARM_RECONCILER_APPLY outranks this flag and forces both gates on. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
36695
|
+
flagType: "boolean",
|
|
36696
|
+
// The destructive half. Measured on prod 2026-09-03: a first applying run
|
|
36697
|
+
// deletes 84 alarms across 33 dead instance ids. Nothing about that is
|
|
36698
|
+
// recoverable by re-running, so the safe value is not a formality.
|
|
36699
|
+
defaultValue: false,
|
|
36700
|
+
sensitive: true
|
|
36701
|
+
},
|
|
36676
36702
|
{
|
|
36677
36703
|
key: "agt-version-drift-alarm",
|
|
36678
36704
|
description: "Arms the ENG-8341 agt CLI version-drift alert. When a host has fallen behind its EFFECTIVE target (env pin > DB pin > release channel) across two or more of its OWN maintenance windows, the monitor opens a host_agt_version_drift alert. OBSERVE-FIRST rollout gate: the cron computes and LOGS the drift for every host on every run regardless of this flag, so the real fleet spread is measurable before anyone is paged - the ticket asks for the threshold to be set from observed data rather than a guess. Off = compute and log, open nothing. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
@@ -36704,6 +36730,12 @@ var FLAG_REGISTRY = [
|
|
|
36704
36730
|
// flip wants a deliberate confirm rather than a casual toggle. Before flipping,
|
|
36705
36731
|
// check which orgs sit at the `enforce` / `require_approval` email-guard stage:
|
|
36706
36732
|
// those are the ones where a newly-effective policy can reach a real block.
|
|
36733
|
+
//
|
|
36734
|
+
// Run that pre-flight per `docs/runbooks/org-email-domain-derivation-rollout.md`,
|
|
36735
|
+
// and read it before acting on the result: the dry run reports `would-derive`
|
|
36736
|
+
// for orgs where arming is provably inert (an unverified row for the candidate
|
|
36737
|
+
// domain makes the insert collide and write nothing), so the report reads as
|
|
36738
|
+
// riskier than it is and invites per-org overrides that are not needed.
|
|
36707
36739
|
sensitive: true
|
|
36708
36740
|
},
|
|
36709
36741
|
{
|
package/dist/mcp/index.js
CHANGED
|
@@ -22405,13 +22405,16 @@ ${data.duplicate_hint}` : confirmation;
|
|
|
22405
22405
|
|
|
22406
22406
|
// ../core/dist/types/agent.js
|
|
22407
22407
|
var FRAMEWORK_MODEL_SLOTS = {
|
|
22408
|
-
"claude-code": ["primary", "small_fast"],
|
|
22408
|
+
"claude-code": ["primary", "small_fast", "advisor"],
|
|
22409
22409
|
"opencode": ["primary"]
|
|
22410
22410
|
};
|
|
22411
22411
|
var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
22412
22412
|
|
|
22413
22413
|
// ../core/dist/types/model-policy.js
|
|
22414
22414
|
var KNOWN_MODEL_POLICY_SLOTS = [...KNOWN_MODEL_SLOTS].sort();
|
|
22415
|
+
var MODEL_POLICY_SLOTS_IN_ORDER = [...KNOWN_MODEL_SLOTS];
|
|
22416
|
+
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set(["advisor"]);
|
|
22417
|
+
var OFFERABLE_MODEL_POLICY_SLOTS = MODEL_POLICY_SLOTS_IN_ORDER.filter((slot) => !MODEL_POLICY_SLOTS_PENDING_ACTUATOR.has(slot));
|
|
22415
22418
|
|
|
22416
22419
|
// ../core/dist/types/integration.js
|
|
22417
22420
|
var HITL_TIER_ORDER = [
|
|
@@ -28444,6 +28447,29 @@ var FLAG_REGISTRY = [
|
|
|
28444
28447
|
// which is the ADR-0022 sensitive-flag shape.
|
|
28445
28448
|
sensitive: true
|
|
28446
28449
|
},
|
|
28450
|
+
{
|
|
28451
|
+
key: "host-alarm-reconciler-repair",
|
|
28452
|
+
description: "Arms the CREATE and DRIFT-REPAIR halves of the ENG-8325 host-alarm reconciler. The cron computes and LOGS the full diff for every host on every run regardless of this flag, on the host-poll-rate-alarm precedent, so the fleet diff is measurable before anything mutates. Off = measure and log, create nothing and re-put nothing. Evaluated PER ORGANIZATION from the host row, so arming can be staged one org at a time and watched. It does NOT gate the reap - see host-alarm-reconciler-reap, which is deliberately fleet-wide because an orphan alarm whose host row is gone has no organization to scope by. AGT_HOST_ALARM_RECONCILER_APPLY outranks this flag and forces BOTH gates on fleet-wide; it is deliberately not declared as this flag's envVar, because it is a master override of two flags rather than the operator override of this one. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
28453
|
+
flagType: "boolean",
|
|
28454
|
+
// Safe value is `false` for a specific reason, not a habitual one: the
|
|
28455
|
+
// first applying run creates one alarm per host that lacks one, and a
|
|
28456
|
+
// PutMetricAlarm on a fleet whose expected set is wrong is not a no-op you
|
|
28457
|
+
// can shrug off - it is monitoring that now exists and will page.
|
|
28458
|
+
defaultValue: false,
|
|
28459
|
+
// It mutates CloudWatch for every host in the armed org, which is the
|
|
28460
|
+
// ADR-0022 sensitive-flag shape.
|
|
28461
|
+
sensitive: true
|
|
28462
|
+
},
|
|
28463
|
+
{
|
|
28464
|
+
key: "host-alarm-reconciler-reap",
|
|
28465
|
+
description: "Arms the REAP half of the ENG-8325 host-alarm reconciler: deleting alarms under augmented/{env}/host/ whose parsed host id is not in the live set. Off = count and name the orphan candidates, delete nothing. DELIBERATELY EVALUATED GLOBALLY, with no organization scope, and that is not an oversight to be tidied up later. An orphan is defined as an alarm whose host id resolves to no live host; where the host row is gone entirely there is no organization to scope by, so the property that makes an alarm an orphan is the same one that makes it unattributable. A per-org gate here would silently reap other orgs' orphans the moment any one org was armed, which is staged creates with an unstaged reap - the more dangerous half. AGT_HOST_ALARM_RECONCILER_APPLY outranks this flag and forces both gates on. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
28466
|
+
flagType: "boolean",
|
|
28467
|
+
// The destructive half. Measured on prod 2026-09-03: a first applying run
|
|
28468
|
+
// deletes 84 alarms across 33 dead instance ids. Nothing about that is
|
|
28469
|
+
// recoverable by re-running, so the safe value is not a formality.
|
|
28470
|
+
defaultValue: false,
|
|
28471
|
+
sensitive: true
|
|
28472
|
+
},
|
|
28447
28473
|
{
|
|
28448
28474
|
key: "agt-version-drift-alarm",
|
|
28449
28475
|
description: "Arms the ENG-8341 agt CLI version-drift alert. When a host has fallen behind its EFFECTIVE target (env pin > DB pin > release channel) across two or more of its OWN maintenance windows, the monitor opens a host_agt_version_drift alert. OBSERVE-FIRST rollout gate: the cron computes and LOGS the drift for every host on every run regardless of this flag, so the real fleet spread is measurable before anyone is paged - the ticket asks for the threshold to be set from observed data rather than a guess. Off = compute and log, open nothing. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
@@ -28475,6 +28501,12 @@ var FLAG_REGISTRY = [
|
|
|
28475
28501
|
// flip wants a deliberate confirm rather than a casual toggle. Before flipping,
|
|
28476
28502
|
// check which orgs sit at the `enforce` / `require_approval` email-guard stage:
|
|
28477
28503
|
// those are the ones where a newly-effective policy can reach a real block.
|
|
28504
|
+
//
|
|
28505
|
+
// Run that pre-flight per `docs/runbooks/org-email-domain-derivation-rollout.md`,
|
|
28506
|
+
// and read it before acting on the result: the dry run reports `would-derive`
|
|
28507
|
+
// for orgs where arming is provably inert (an unverified row for the candidate
|
|
28508
|
+
// domain makes the insert collide and write nothing), so the report reads as
|
|
28509
|
+
// riskier than it is and invites per-org overrides that are not needed.
|
|
28478
28510
|
sensitive: true
|
|
28479
28511
|
},
|
|
28480
28512
|
{
|
package/dist/mcp/origami.js
CHANGED
|
@@ -36378,13 +36378,16 @@ var Server = class extends Protocol {
|
|
|
36378
36378
|
|
|
36379
36379
|
// ../core/dist/types/agent.js
|
|
36380
36380
|
var FRAMEWORK_MODEL_SLOTS = {
|
|
36381
|
-
"claude-code": ["primary", "small_fast"],
|
|
36381
|
+
"claude-code": ["primary", "small_fast", "advisor"],
|
|
36382
36382
|
"opencode": ["primary"]
|
|
36383
36383
|
};
|
|
36384
36384
|
var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
36385
36385
|
|
|
36386
36386
|
// ../core/dist/types/model-policy.js
|
|
36387
36387
|
var KNOWN_MODEL_POLICY_SLOTS = [...KNOWN_MODEL_SLOTS].sort();
|
|
36388
|
+
var MODEL_POLICY_SLOTS_IN_ORDER = [...KNOWN_MODEL_SLOTS];
|
|
36389
|
+
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set(["advisor"]);
|
|
36390
|
+
var OFFERABLE_MODEL_POLICY_SLOTS = MODEL_POLICY_SLOTS_IN_ORDER.filter((slot) => !MODEL_POLICY_SLOTS_PENDING_ACTUATOR.has(slot));
|
|
36388
36391
|
|
|
36389
36392
|
// ../core/dist/types/integration.js
|
|
36390
36393
|
var HITL_TIER_ORDER = [
|
|
@@ -42397,6 +42400,29 @@ var FLAG_REGISTRY = [
|
|
|
42397
42400
|
// which is the ADR-0022 sensitive-flag shape.
|
|
42398
42401
|
sensitive: true
|
|
42399
42402
|
},
|
|
42403
|
+
{
|
|
42404
|
+
key: "host-alarm-reconciler-repair",
|
|
42405
|
+
description: "Arms the CREATE and DRIFT-REPAIR halves of the ENG-8325 host-alarm reconciler. The cron computes and LOGS the full diff for every host on every run regardless of this flag, on the host-poll-rate-alarm precedent, so the fleet diff is measurable before anything mutates. Off = measure and log, create nothing and re-put nothing. Evaluated PER ORGANIZATION from the host row, so arming can be staged one org at a time and watched. It does NOT gate the reap - see host-alarm-reconciler-reap, which is deliberately fleet-wide because an orphan alarm whose host row is gone has no organization to scope by. AGT_HOST_ALARM_RECONCILER_APPLY outranks this flag and forces BOTH gates on fleet-wide; it is deliberately not declared as this flag's envVar, because it is a master override of two flags rather than the operator override of this one. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
42406
|
+
flagType: "boolean",
|
|
42407
|
+
// Safe value is `false` for a specific reason, not a habitual one: the
|
|
42408
|
+
// first applying run creates one alarm per host that lacks one, and a
|
|
42409
|
+
// PutMetricAlarm on a fleet whose expected set is wrong is not a no-op you
|
|
42410
|
+
// can shrug off - it is monitoring that now exists and will page.
|
|
42411
|
+
defaultValue: false,
|
|
42412
|
+
// It mutates CloudWatch for every host in the armed org, which is the
|
|
42413
|
+
// ADR-0022 sensitive-flag shape.
|
|
42414
|
+
sensitive: true
|
|
42415
|
+
},
|
|
42416
|
+
{
|
|
42417
|
+
key: "host-alarm-reconciler-reap",
|
|
42418
|
+
description: "Arms the REAP half of the ENG-8325 host-alarm reconciler: deleting alarms under augmented/{env}/host/ whose parsed host id is not in the live set. Off = count and name the orphan candidates, delete nothing. DELIBERATELY EVALUATED GLOBALLY, with no organization scope, and that is not an oversight to be tidied up later. An orphan is defined as an alarm whose host id resolves to no live host; where the host row is gone entirely there is no organization to scope by, so the property that makes an alarm an orphan is the same one that makes it unattributable. A per-org gate here would silently reap other orgs' orphans the moment any one org was armed, which is staged creates with an unstaged reap - the more dangerous half. AGT_HOST_ALARM_RECONCILER_APPLY outranks this flag and forces both gates on. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
42419
|
+
flagType: "boolean",
|
|
42420
|
+
// The destructive half. Measured on prod 2026-09-03: a first applying run
|
|
42421
|
+
// deletes 84 alarms across 33 dead instance ids. Nothing about that is
|
|
42422
|
+
// recoverable by re-running, so the safe value is not a formality.
|
|
42423
|
+
defaultValue: false,
|
|
42424
|
+
sensitive: true
|
|
42425
|
+
},
|
|
42400
42426
|
{
|
|
42401
42427
|
key: "agt-version-drift-alarm",
|
|
42402
42428
|
description: "Arms the ENG-8341 agt CLI version-drift alert. When a host has fallen behind its EFFECTIVE target (env pin > DB pin > release channel) across two or more of its OWN maintenance windows, the monitor opens a host_agt_version_drift alert. OBSERVE-FIRST rollout gate: the cron computes and LOGS the drift for every host on every run regardless of this flag, so the real fleet spread is measurable before anyone is paged - the ticket asks for the threshold to be set from observed data rather than a guess. Off = compute and log, open nothing. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
@@ -42428,6 +42454,12 @@ var FLAG_REGISTRY = [
|
|
|
42428
42454
|
// flip wants a deliberate confirm rather than a casual toggle. Before flipping,
|
|
42429
42455
|
// check which orgs sit at the `enforce` / `require_approval` email-guard stage:
|
|
42430
42456
|
// those are the ones where a newly-effective policy can reach a real block.
|
|
42457
|
+
//
|
|
42458
|
+
// Run that pre-flight per `docs/runbooks/org-email-domain-derivation-rollout.md`,
|
|
42459
|
+
// and read it before acting on the result: the dry run reports `would-derive`
|
|
42460
|
+
// for orgs where arming is provably inert (an unverified row for the candidate
|
|
42461
|
+
// domain makes the insert collide and write nothing), so the report reads as
|
|
42462
|
+
// riskier than it is and invites per-org overrides that are not needed.
|
|
42431
42463
|
sensitive: true
|
|
42432
42464
|
},
|
|
42433
42465
|
{
|
|
@@ -30704,13 +30704,16 @@ function isMaintenanceModeActive(opts) {
|
|
|
30704
30704
|
|
|
30705
30705
|
// ../core/dist/types/agent.js
|
|
30706
30706
|
var FRAMEWORK_MODEL_SLOTS = {
|
|
30707
|
-
"claude-code": ["primary", "small_fast"],
|
|
30707
|
+
"claude-code": ["primary", "small_fast", "advisor"],
|
|
30708
30708
|
"opencode": ["primary"]
|
|
30709
30709
|
};
|
|
30710
30710
|
var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
30711
30711
|
|
|
30712
30712
|
// ../core/dist/types/model-policy.js
|
|
30713
30713
|
var KNOWN_MODEL_POLICY_SLOTS = [...KNOWN_MODEL_SLOTS].sort();
|
|
30714
|
+
var MODEL_POLICY_SLOTS_IN_ORDER = [...KNOWN_MODEL_SLOTS];
|
|
30715
|
+
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set(["advisor"]);
|
|
30716
|
+
var OFFERABLE_MODEL_POLICY_SLOTS = MODEL_POLICY_SLOTS_IN_ORDER.filter((slot) => !MODEL_POLICY_SLOTS_PENDING_ACTUATOR.has(slot));
|
|
30714
30717
|
|
|
30715
30718
|
// ../core/dist/types/integration.js
|
|
30716
30719
|
var HITL_TIER_ORDER = [
|
|
@@ -36952,6 +36955,29 @@ var FLAG_REGISTRY = [
|
|
|
36952
36955
|
// which is the ADR-0022 sensitive-flag shape.
|
|
36953
36956
|
sensitive: true
|
|
36954
36957
|
},
|
|
36958
|
+
{
|
|
36959
|
+
key: "host-alarm-reconciler-repair",
|
|
36960
|
+
description: "Arms the CREATE and DRIFT-REPAIR halves of the ENG-8325 host-alarm reconciler. The cron computes and LOGS the full diff for every host on every run regardless of this flag, on the host-poll-rate-alarm precedent, so the fleet diff is measurable before anything mutates. Off = measure and log, create nothing and re-put nothing. Evaluated PER ORGANIZATION from the host row, so arming can be staged one org at a time and watched. It does NOT gate the reap - see host-alarm-reconciler-reap, which is deliberately fleet-wide because an orphan alarm whose host row is gone has no organization to scope by. AGT_HOST_ALARM_RECONCILER_APPLY outranks this flag and forces BOTH gates on fleet-wide; it is deliberately not declared as this flag's envVar, because it is a master override of two flags rather than the operator override of this one. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
36961
|
+
flagType: "boolean",
|
|
36962
|
+
// Safe value is `false` for a specific reason, not a habitual one: the
|
|
36963
|
+
// first applying run creates one alarm per host that lacks one, and a
|
|
36964
|
+
// PutMetricAlarm on a fleet whose expected set is wrong is not a no-op you
|
|
36965
|
+
// can shrug off - it is monitoring that now exists and will page.
|
|
36966
|
+
defaultValue: false,
|
|
36967
|
+
// It mutates CloudWatch for every host in the armed org, which is the
|
|
36968
|
+
// ADR-0022 sensitive-flag shape.
|
|
36969
|
+
sensitive: true
|
|
36970
|
+
},
|
|
36971
|
+
{
|
|
36972
|
+
key: "host-alarm-reconciler-reap",
|
|
36973
|
+
description: "Arms the REAP half of the ENG-8325 host-alarm reconciler: deleting alarms under augmented/{env}/host/ whose parsed host id is not in the live set. Off = count and name the orphan candidates, delete nothing. DELIBERATELY EVALUATED GLOBALLY, with no organization scope, and that is not an oversight to be tidied up later. An orphan is defined as an alarm whose host id resolves to no live host; where the host row is gone entirely there is no organization to scope by, so the property that makes an alarm an orphan is the same one that makes it unattributable. A per-org gate here would silently reap other orgs' orphans the moment any one org was armed, which is staged creates with an unstaged reap - the more dangerous half. AGT_HOST_ALARM_RECONCILER_APPLY outranks this flag and forces both gates on. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
36974
|
+
flagType: "boolean",
|
|
36975
|
+
// The destructive half. Measured on prod 2026-09-03: a first applying run
|
|
36976
|
+
// deletes 84 alarms across 33 dead instance ids. Nothing about that is
|
|
36977
|
+
// recoverable by re-running, so the safe value is not a formality.
|
|
36978
|
+
defaultValue: false,
|
|
36979
|
+
sensitive: true
|
|
36980
|
+
},
|
|
36955
36981
|
{
|
|
36956
36982
|
key: "agt-version-drift-alarm",
|
|
36957
36983
|
description: "Arms the ENG-8341 agt CLI version-drift alert. When a host has fallen behind its EFFECTIVE target (env pin > DB pin > release channel) across two or more of its OWN maintenance windows, the monitor opens a host_agt_version_drift alert. OBSERVE-FIRST rollout gate: the cron computes and LOGS the drift for every host on every run regardless of this flag, so the real fleet spread is measurable before anyone is paged - the ticket asks for the threshold to be set from observed data rather than a guess. Off = compute and log, open nothing. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
@@ -36983,6 +37009,12 @@ var FLAG_REGISTRY = [
|
|
|
36983
37009
|
// flip wants a deliberate confirm rather than a casual toggle. Before flipping,
|
|
36984
37010
|
// check which orgs sit at the `enforce` / `require_approval` email-guard stage:
|
|
36985
37011
|
// those are the ones where a newly-effective policy can reach a real block.
|
|
37012
|
+
//
|
|
37013
|
+
// Run that pre-flight per `docs/runbooks/org-email-domain-derivation-rollout.md`,
|
|
37014
|
+
// and read it before acting on the result: the dry run reports `would-derive`
|
|
37015
|
+
// for orgs where arming is provably inert (an unverified row for the candidate
|
|
37016
|
+
// domain makes the insert collide and write nothing), so the report reads as
|
|
37017
|
+
// riskier than it is and invites per-org overrides that are not needed.
|
|
36986
37018
|
sensitive: true
|
|
36987
37019
|
},
|
|
36988
37020
|
{
|
|
@@ -30842,13 +30842,16 @@ function isMaintenanceModeActive(opts) {
|
|
|
30842
30842
|
|
|
30843
30843
|
// ../core/dist/types/agent.js
|
|
30844
30844
|
var FRAMEWORK_MODEL_SLOTS = {
|
|
30845
|
-
"claude-code": ["primary", "small_fast"],
|
|
30845
|
+
"claude-code": ["primary", "small_fast", "advisor"],
|
|
30846
30846
|
"opencode": ["primary"]
|
|
30847
30847
|
};
|
|
30848
30848
|
var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
|
|
30849
30849
|
|
|
30850
30850
|
// ../core/dist/types/model-policy.js
|
|
30851
30851
|
var KNOWN_MODEL_POLICY_SLOTS = [...KNOWN_MODEL_SLOTS].sort();
|
|
30852
|
+
var MODEL_POLICY_SLOTS_IN_ORDER = [...KNOWN_MODEL_SLOTS];
|
|
30853
|
+
var MODEL_POLICY_SLOTS_PENDING_ACTUATOR = /* @__PURE__ */ new Set(["advisor"]);
|
|
30854
|
+
var OFFERABLE_MODEL_POLICY_SLOTS = MODEL_POLICY_SLOTS_IN_ORDER.filter((slot) => !MODEL_POLICY_SLOTS_PENDING_ACTUATOR.has(slot));
|
|
30852
30855
|
|
|
30853
30856
|
// ../core/dist/types/integration.js
|
|
30854
30857
|
var HITL_TIER_ORDER = [
|
|
@@ -37084,6 +37087,29 @@ var FLAG_REGISTRY = [
|
|
|
37084
37087
|
// which is the ADR-0022 sensitive-flag shape.
|
|
37085
37088
|
sensitive: true
|
|
37086
37089
|
},
|
|
37090
|
+
{
|
|
37091
|
+
key: "host-alarm-reconciler-repair",
|
|
37092
|
+
description: "Arms the CREATE and DRIFT-REPAIR halves of the ENG-8325 host-alarm reconciler. The cron computes and LOGS the full diff for every host on every run regardless of this flag, on the host-poll-rate-alarm precedent, so the fleet diff is measurable before anything mutates. Off = measure and log, create nothing and re-put nothing. Evaluated PER ORGANIZATION from the host row, so arming can be staged one org at a time and watched. It does NOT gate the reap - see host-alarm-reconciler-reap, which is deliberately fleet-wide because an orphan alarm whose host row is gone has no organization to scope by. AGT_HOST_ALARM_RECONCILER_APPLY outranks this flag and forces BOTH gates on fleet-wide; it is deliberately not declared as this flag's envVar, because it is a master override of two flags rather than the operator override of this one. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
37093
|
+
flagType: "boolean",
|
|
37094
|
+
// Safe value is `false` for a specific reason, not a habitual one: the
|
|
37095
|
+
// first applying run creates one alarm per host that lacks one, and a
|
|
37096
|
+
// PutMetricAlarm on a fleet whose expected set is wrong is not a no-op you
|
|
37097
|
+
// can shrug off - it is monitoring that now exists and will page.
|
|
37098
|
+
defaultValue: false,
|
|
37099
|
+
// It mutates CloudWatch for every host in the armed org, which is the
|
|
37100
|
+
// ADR-0022 sensitive-flag shape.
|
|
37101
|
+
sensitive: true
|
|
37102
|
+
},
|
|
37103
|
+
{
|
|
37104
|
+
key: "host-alarm-reconciler-reap",
|
|
37105
|
+
description: "Arms the REAP half of the ENG-8325 host-alarm reconciler: deleting alarms under augmented/{env}/host/ whose parsed host id is not in the live set. Off = count and name the orphan candidates, delete nothing. DELIBERATELY EVALUATED GLOBALLY, with no organization scope, and that is not an oversight to be tidied up later. An orphan is defined as an alarm whose host id resolves to no live host; where the host row is gone entirely there is no organization to scope by, so the property that makes an alarm an orphan is the same one that makes it unattributable. A per-org gate here would silently reap other orgs' orphans the moment any one org was armed, which is staged creates with an unstaged reap - the more dangerous half. AGT_HOST_ALARM_RECONCILER_APPLY outranks this flag and forces both gates on. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
37106
|
+
flagType: "boolean",
|
|
37107
|
+
// The destructive half. Measured on prod 2026-09-03: a first applying run
|
|
37108
|
+
// deletes 84 alarms across 33 dead instance ids. Nothing about that is
|
|
37109
|
+
// recoverable by re-running, so the safe value is not a formality.
|
|
37110
|
+
defaultValue: false,
|
|
37111
|
+
sensitive: true
|
|
37112
|
+
},
|
|
37087
37113
|
{
|
|
37088
37114
|
key: "agt-version-drift-alarm",
|
|
37089
37115
|
description: "Arms the ENG-8341 agt CLI version-drift alert. When a host has fallen behind its EFFECTIVE target (env pin > DB pin > release channel) across two or more of its OWN maintenance windows, the monitor opens a host_agt_version_drift alert. OBSERVE-FIRST rollout gate: the cron computes and LOGS the drift for every host on every run regardless of this flag, so the real fleet spread is measurable before anyone is paged - the ticket asks for the threshold to be set from observed data rather than a guess. Off = compute and log, open nothing. Boolean gate; ships dark. Evaluated API-side, in the cron.",
|
|
@@ -37115,6 +37141,12 @@ var FLAG_REGISTRY = [
|
|
|
37115
37141
|
// flip wants a deliberate confirm rather than a casual toggle. Before flipping,
|
|
37116
37142
|
// check which orgs sit at the `enforce` / `require_approval` email-guard stage:
|
|
37117
37143
|
// those are the ones where a newly-effective policy can reach a real block.
|
|
37144
|
+
//
|
|
37145
|
+
// Run that pre-flight per `docs/runbooks/org-email-domain-derivation-rollout.md`,
|
|
37146
|
+
// and read it before acting on the result: the dry run reports `would-derive`
|
|
37147
|
+
// for orgs where arming is provably inert (an unverified row for the candidate
|
|
37148
|
+
// domain makes the insert collide and write nothing), so the report reads as
|
|
37149
|
+
// riskier than it is and invites per-org overrides that are not needed.
|
|
37118
37150
|
sensitive: true
|
|
37119
37151
|
},
|
|
37120
37152
|
{
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
writeDirectChatSessionState,
|
|
50
50
|
writeEgressAllowlist,
|
|
51
51
|
writePersistentClaudeWrapper
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-5RZBTMBD.js";
|
|
53
|
+
import "./chunk-SZ47B4KO.js";
|
|
54
54
|
import "./chunk-XWVM4KPK.js";
|
|
55
55
|
export {
|
|
56
56
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -104,4 +104,4 @@ export {
|
|
|
104
104
|
writeEgressAllowlist,
|
|
105
105
|
writePersistentClaudeWrapper
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=persistent-session-
|
|
107
|
+
//# sourceMappingURL=persistent-session-YX4JTHMC.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-5RZBTMBD.js";
|
|
4
|
+
import "./chunk-SZ47B4KO.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -745,4 +745,4 @@ export {
|
|
|
745
745
|
readAndResetSlackReplyBindingClassifications,
|
|
746
746
|
readAndResetSlackReplyTargetClassifications
|
|
747
747
|
};
|
|
748
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
748
|
+
//# sourceMappingURL=responsiveness-probe-63R3PUAU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SZ47B4KO.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-2NFR7OFR.js.map
|