@integrity-labs/agt-cli 0.28.815 → 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-UQKTHEYS.js → chunk-5RZBTMBD.js} +2 -2
- package/dist/{chunk-47VV63KT.js → chunk-PNHF5TJN.js} +4 -4
- package/dist/{chunk-7DTMJSAF.js → chunk-SZ47B4KO.js} +36 -8
- package/dist/chunk-SZ47B4KO.js.map +1 -0
- package/dist/{claude-pair-runtime-IYVLHG6O.js → claude-pair-runtime-ZG6I4NMN.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/direct-chat-channel.js +29 -0
- package/dist/mcp/index.js +29 -0
- package/dist/mcp/origami.js +29 -0
- package/dist/mcp/slack-channel.js +29 -0
- package/dist/mcp/telegram-channel.js +29 -0
- package/dist/{persistent-session-IZXPZFYT.js → persistent-session-YX4JTHMC.js} +3 -3
- package/dist/{responsiveness-probe-HPPMYMSN.js → responsiveness-probe-63R3PUAU.js} +3 -3
- package/dist/{session-auth-dead-42GBGDNA.js → session-auth-dead-2NFR7OFR.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-7DTMJSAF.js.map +0 -1
- /package/dist/{chunk-UQKTHEYS.js.map → chunk-5RZBTMBD.js.map} +0 -0
- /package/dist/{chunk-47VV63KT.js.map → chunk-PNHF5TJN.js.map} +0 -0
- /package/dist/{claude-pair-runtime-IYVLHG6O.js.map → claude-pair-runtime-ZG6I4NMN.js.map} +0 -0
- /package/dist/{persistent-session-IZXPZFYT.js.map → persistent-session-YX4JTHMC.js.map} +0 -0
- /package/dist/{responsiveness-probe-HPPMYMSN.js.map → responsiveness-probe-63R3PUAU.js.map} +0 -0
- /package/dist/{session-auth-dead-42GBGDNA.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));
|
|
@@ -36676,6 +36676,29 @@ var FLAG_REGISTRY = [
|
|
|
36676
36676
|
// which is the ADR-0022 sensitive-flag shape.
|
|
36677
36677
|
sensitive: true
|
|
36678
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
|
+
},
|
|
36679
36702
|
{
|
|
36680
36703
|
key: "agt-version-drift-alarm",
|
|
36681
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.",
|
|
@@ -36707,6 +36730,12 @@ var FLAG_REGISTRY = [
|
|
|
36707
36730
|
// flip wants a deliberate confirm rather than a casual toggle. Before flipping,
|
|
36708
36731
|
// check which orgs sit at the `enforce` / `require_approval` email-guard stage:
|
|
36709
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.
|
|
36710
36739
|
sensitive: true
|
|
36711
36740
|
},
|
|
36712
36741
|
{
|
package/dist/mcp/index.js
CHANGED
|
@@ -28447,6 +28447,29 @@ var FLAG_REGISTRY = [
|
|
|
28447
28447
|
// which is the ADR-0022 sensitive-flag shape.
|
|
28448
28448
|
sensitive: true
|
|
28449
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
|
+
},
|
|
28450
28473
|
{
|
|
28451
28474
|
key: "agt-version-drift-alarm",
|
|
28452
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.",
|
|
@@ -28478,6 +28501,12 @@ var FLAG_REGISTRY = [
|
|
|
28478
28501
|
// flip wants a deliberate confirm rather than a casual toggle. Before flipping,
|
|
28479
28502
|
// check which orgs sit at the `enforce` / `require_approval` email-guard stage:
|
|
28480
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.
|
|
28481
28510
|
sensitive: true
|
|
28482
28511
|
},
|
|
28483
28512
|
{
|
package/dist/mcp/origami.js
CHANGED
|
@@ -42400,6 +42400,29 @@ var FLAG_REGISTRY = [
|
|
|
42400
42400
|
// which is the ADR-0022 sensitive-flag shape.
|
|
42401
42401
|
sensitive: true
|
|
42402
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
|
+
},
|
|
42403
42426
|
{
|
|
42404
42427
|
key: "agt-version-drift-alarm",
|
|
42405
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.",
|
|
@@ -42431,6 +42454,12 @@ var FLAG_REGISTRY = [
|
|
|
42431
42454
|
// flip wants a deliberate confirm rather than a casual toggle. Before flipping,
|
|
42432
42455
|
// check which orgs sit at the `enforce` / `require_approval` email-guard stage:
|
|
42433
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.
|
|
42434
42463
|
sensitive: true
|
|
42435
42464
|
},
|
|
42436
42465
|
{
|
|
@@ -36955,6 +36955,29 @@ var FLAG_REGISTRY = [
|
|
|
36955
36955
|
// which is the ADR-0022 sensitive-flag shape.
|
|
36956
36956
|
sensitive: true
|
|
36957
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
|
+
},
|
|
36958
36981
|
{
|
|
36959
36982
|
key: "agt-version-drift-alarm",
|
|
36960
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.",
|
|
@@ -36986,6 +37009,12 @@ var FLAG_REGISTRY = [
|
|
|
36986
37009
|
// flip wants a deliberate confirm rather than a casual toggle. Before flipping,
|
|
36987
37010
|
// check which orgs sit at the `enforce` / `require_approval` email-guard stage:
|
|
36988
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.
|
|
36989
37018
|
sensitive: true
|
|
36990
37019
|
},
|
|
36991
37020
|
{
|
|
@@ -37087,6 +37087,29 @@ var FLAG_REGISTRY = [
|
|
|
37087
37087
|
// which is the ADR-0022 sensitive-flag shape.
|
|
37088
37088
|
sensitive: true
|
|
37089
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
|
+
},
|
|
37090
37113
|
{
|
|
37091
37114
|
key: "agt-version-drift-alarm",
|
|
37092
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.",
|
|
@@ -37118,6 +37141,12 @@ var FLAG_REGISTRY = [
|
|
|
37118
37141
|
// flip wants a deliberate confirm rather than a casual toggle. Before flipping,
|
|
37119
37142
|
// check which orgs sit at the `enforce` / `require_approval` email-guard stage:
|
|
37120
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.
|
|
37121
37150
|
sensitive: true
|
|
37122
37151
|
},
|
|
37123
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
|