@integrity-labs/agt-cli 0.28.928 → 0.28.929
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 +51 -6
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-Y7ERASS6.js → chunk-IIIMUCGD.js} +18 -1
- package/dist/{chunk-Y7ERASS6.js.map → chunk-IIIMUCGD.js.map} +1 -1
- package/dist/{chunk-OXWLTPU2.js → chunk-VZVCPJC7.js} +23 -8
- package/dist/{chunk-OXWLTPU2.js.map → chunk-VZVCPJC7.js.map} +1 -1
- package/dist/{chunk-NIUBYSLW.js → chunk-ZNVYUZSM.js} +2 -2
- package/dist/{claude-pair-runtime-RFY57WC3.js → claude-pair-runtime-MA4CLC6B.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/mcp/direct-chat-channel.js +17 -0
- package/dist/mcp/index.js +17 -0
- package/dist/mcp/origami.js +17 -0
- package/dist/mcp/slack-channel.js +17 -0
- package/dist/mcp/telegram-channel.js +17 -0
- package/dist/{persistent-session-O3AKW6IW.js → persistent-session-PYQ5U6FU.js} +3 -3
- package/dist/{responsiveness-probe-MIPUX3BG.js → responsiveness-probe-T4LKSNFO.js} +3 -3
- package/dist/{session-auth-dead-ZGZZLE4X.js → session-auth-dead-M5SFWTQH.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-NIUBYSLW.js.map → chunk-ZNVYUZSM.js.map} +0 -0
- /package/dist/{claude-pair-runtime-RFY57WC3.js.map → claude-pair-runtime-MA4CLC6B.js.map} +0 -0
- /package/dist/{persistent-session-O3AKW6IW.js.map → persistent-session-PYQ5U6FU.js.map} +0 -0
- /package/dist/{responsiveness-probe-MIPUX3BG.js.map → responsiveness-probe-T4LKSNFO.js.map} +0 -0
- /package/dist/{session-auth-dead-ZGZZLE4X.js.map → session-auth-dead-M5SFWTQH.js.map} +0 -0
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
rotateDailySession,
|
|
20
20
|
sessionFileExists,
|
|
21
21
|
todayLocalIso
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IIIMUCGD.js";
|
|
23
23
|
import {
|
|
24
24
|
reapOrphanChannelMcps
|
|
25
25
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5730,4 +5730,4 @@ export {
|
|
|
5730
5730
|
stopAllSessionsAndWait,
|
|
5731
5731
|
getProjectDir
|
|
5732
5732
|
};
|
|
5733
|
-
//# sourceMappingURL=chunk-
|
|
5733
|
+
//# sourceMappingURL=chunk-ZNVYUZSM.js.map
|
|
@@ -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-PYQ5U6FU.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-MA4CLC6B.js.map
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
safeWriteJsonAtomic,
|
|
64
64
|
setConfigHash,
|
|
65
65
|
tripClass
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-VZVCPJC7.js";
|
|
67
67
|
import {
|
|
68
68
|
getProjectDir as getProjectDir2,
|
|
69
69
|
getReadyTasks,
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
takeZombieDetection,
|
|
137
137
|
toOpencodeModel,
|
|
138
138
|
writeEgressAllowlist
|
|
139
|
-
} from "../chunk-
|
|
139
|
+
} from "../chunk-ZNVYUZSM.js";
|
|
140
140
|
import {
|
|
141
141
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
142
142
|
AnchorSessionClient,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
subagentActivityAgeSeconds,
|
|
232
232
|
sumTranscriptUsageInWindow,
|
|
233
233
|
transcriptActivityAgeSeconds
|
|
234
|
-
} from "../chunk-
|
|
234
|
+
} from "../chunk-IIIMUCGD.js";
|
|
235
235
|
import {
|
|
236
236
|
reapOrphanChannelMcps
|
|
237
237
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -13221,7 +13221,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
13221
13221
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
13222
13222
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
13223
13223
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
13224
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
13224
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-T4LKSNFO.js");
|
|
13225
13225
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
13226
13226
|
if (newest === null) return null;
|
|
13227
13227
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13906,7 +13906,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13906
13906
|
var lastVersionCheckAt = 0;
|
|
13907
13907
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13908
13908
|
var lastResponsivenessProbeAt = 0;
|
|
13909
|
-
var agtCliVersion = true ? "0.28.
|
|
13909
|
+
var agtCliVersion = true ? "0.28.929" : "dev";
|
|
13910
13910
|
function resolveBrewPath(execFileSync2) {
|
|
13911
13911
|
try {
|
|
13912
13912
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15496,7 +15496,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15496
15496
|
if (codeNames.length === 0) return;
|
|
15497
15497
|
void (async () => {
|
|
15498
15498
|
try {
|
|
15499
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15499
|
+
const { collectDiagnostics } = await import("../persistent-session-PYQ5U6FU.js");
|
|
15500
15500
|
await api.post("/host/heartbeat", {
|
|
15501
15501
|
host_id: hostId,
|
|
15502
15502
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15638,7 +15638,7 @@ async function pollCycleInner() {
|
|
|
15638
15638
|
}
|
|
15639
15639
|
try {
|
|
15640
15640
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15641
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15641
|
+
const { collectDiagnostics } = await import("../persistent-session-PYQ5U6FU.js");
|
|
15642
15642
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15643
15643
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15644
15644
|
let tailscaleHostname;
|
|
@@ -15813,7 +15813,7 @@ async function pollCycleInner() {
|
|
|
15813
15813
|
collectPanelessActivityProbes,
|
|
15814
15814
|
getResponsivenessIntervalMs,
|
|
15815
15815
|
occupancyQualificationClassifications
|
|
15816
|
-
} = await import("../responsiveness-probe-
|
|
15816
|
+
} = await import("../responsiveness-probe-T4LKSNFO.js");
|
|
15817
15817
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15818
15818
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15819
15819
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15930,7 +15930,7 @@ async function pollCycleInner() {
|
|
|
15930
15930
|
collectResponsivenessProbes,
|
|
15931
15931
|
livePendingInboundOldestAgeSeconds,
|
|
15932
15932
|
parkPendingInbound
|
|
15933
|
-
} = await import("../responsiveness-probe-
|
|
15933
|
+
} = await import("../responsiveness-probe-T4LKSNFO.js");
|
|
15934
15934
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15935
15935
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15936
15936
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -16086,7 +16086,7 @@ async function pollCycleInner() {
|
|
|
16086
16086
|
}
|
|
16087
16087
|
try {
|
|
16088
16088
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
16089
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
16089
|
+
const { probeSessionAuth } = await import("../session-auth-dead-M5SFWTQH.js");
|
|
16090
16090
|
const observations = [];
|
|
16091
16091
|
const pendingCacheCommits = [];
|
|
16092
16092
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -20350,7 +20350,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20350
20350
|
try {
|
|
20351
20351
|
const freshId = rotateSessionForWedge(codeName);
|
|
20352
20352
|
consecutiveWedgeCycles.delete(codeName);
|
|
20353
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
20353
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-T4LKSNFO.js");
|
|
20354
20354
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
20355
20355
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
20356
20356
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -20393,7 +20393,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20393
20393
|
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}`));
|
|
20394
20394
|
void (async () => {
|
|
20395
20395
|
try {
|
|
20396
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20396
|
+
const { collectDiagnostics } = await import("../persistent-session-PYQ5U6FU.js");
|
|
20397
20397
|
await api.post("/host/heartbeat", {
|
|
20398
20398
|
host_id: hostId,
|
|
20399
20399
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20444,7 +20444,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
20444
20444
|
}
|
|
20445
20445
|
try {
|
|
20446
20446
|
const hostId = await getHostId();
|
|
20447
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20447
|
+
const { collectDiagnostics } = await import("../persistent-session-PYQ5U6FU.js");
|
|
20448
20448
|
await api.post("/host/heartbeat", {
|
|
20449
20449
|
host_id: hostId,
|
|
20450
20450
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -21086,7 +21086,7 @@ async function processClaudePairSessions(agents) {
|
|
|
21086
21086
|
killPairSession,
|
|
21087
21087
|
pairTmuxSession,
|
|
21088
21088
|
finalizeClaudePairOnboarding
|
|
21089
|
-
} = await import("../claude-pair-runtime-
|
|
21089
|
+
} = await import("../claude-pair-runtime-MA4CLC6B.js");
|
|
21090
21090
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
21091
21091
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
21092
21092
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -37410,6 +37410,23 @@ var FLAG_REGISTRY = [
|
|
|
37410
37410
|
// env var is retired.
|
|
37411
37411
|
envVar: "AUGMENTED_CONNECTIVITY_ESCALATION_ENABLED"
|
|
37412
37412
|
},
|
|
37413
|
+
{
|
|
37414
|
+
key: "integration-connectivity-reconcile",
|
|
37415
|
+
description: "Arm integration-connectivity STATUS reconciliation (ENG-6139, armable per-org by ENG-10473). When on, a hard-down connectivity observation (a `down` reading with consecutive_connectivity_failures at/over the hysteresis threshold) on an otherwise-healthy row downgrades it to status=error, status_message=connectivity_down, so the record stops asserting a live connection the probe has disproved; recovery restores status=active, but ONLY for rows this path downgraded. When off it stays shadow - logs what it WOULD downgrade and touches only the connectivity columns. \u26A0\uFE0F A downgraded row drops out of host-runtime's `.in('status',['active','configured'])` provisioning filter, so the agent LOSES that MCP server: correct for a dead credential, and a provisioning change either way, which is why arming is a deliberate operator act. Sibling of integration-connectivity-escalation: that flag arms the alert, this one arms the record.",
|
|
37416
|
+
flagType: "boolean",
|
|
37417
|
+
// Declared safe value is `false` (shadow / record untouched). It matches the
|
|
37418
|
+
// route's compiled default since ENG-6139, so migrating the reader onto this
|
|
37419
|
+
// flag (ADR-0022) preserves fleet behaviour exactly. `false` is also the
|
|
37420
|
+
// fail-safe direction: a flag-DB read error must never de-provision an
|
|
37421
|
+
// integration on its own.
|
|
37422
|
+
defaultValue: false,
|
|
37423
|
+
// Migration override (ADR-0022): the pre-flags env gate stays the
|
|
37424
|
+
// highest-precedence operator override. ENG-10473 deliberately does NOT wire
|
|
37425
|
+
// this var in sst.config.ts - ENG-8303 records what happens when a declared
|
|
37426
|
+
// envVar is pinned there: it outranks the DB value and makes the flag inert
|
|
37427
|
+
// everywhere it matters.
|
|
37428
|
+
envVar: "AUGMENTED_CONNECTIVITY_RECONCILE_STATUS"
|
|
37429
|
+
},
|
|
37413
37430
|
{
|
|
37414
37431
|
key: "slack-manifest-remediate",
|
|
37415
37432
|
description: "Let the Slack manifest drift monitor PUSH, not just alert (ENG-9963). updateSlackManifest had exactly one caller \u2014 a console button \u2014 so nothing but a human click ever pushed a manifest; ENG-7762 changed the generator with no rollout mechanism and 26 agents went 53 days with no working per-agent slash commands. When on, the daily drift cron pushes the generated manifest for a drifted agent. When off it alerts exactly as before. NOTE what arming this authorises: a push REPLACES a customer-owned Slack app's entire manifest, so the cron only ever pushes drift whose diffs are purely additive (isSafelyRemediable) \u2014 an app with live-only entries a push would destroy is declined and left for a human. Boolean gate; ships dark.",
|
package/dist/mcp/index.js
CHANGED
|
@@ -29726,6 +29726,23 @@ var FLAG_REGISTRY = [
|
|
|
29726
29726
|
// env var is retired.
|
|
29727
29727
|
envVar: "AUGMENTED_CONNECTIVITY_ESCALATION_ENABLED"
|
|
29728
29728
|
},
|
|
29729
|
+
{
|
|
29730
|
+
key: "integration-connectivity-reconcile",
|
|
29731
|
+
description: "Arm integration-connectivity STATUS reconciliation (ENG-6139, armable per-org by ENG-10473). When on, a hard-down connectivity observation (a `down` reading with consecutive_connectivity_failures at/over the hysteresis threshold) on an otherwise-healthy row downgrades it to status=error, status_message=connectivity_down, so the record stops asserting a live connection the probe has disproved; recovery restores status=active, but ONLY for rows this path downgraded. When off it stays shadow - logs what it WOULD downgrade and touches only the connectivity columns. \u26A0\uFE0F A downgraded row drops out of host-runtime's `.in('status',['active','configured'])` provisioning filter, so the agent LOSES that MCP server: correct for a dead credential, and a provisioning change either way, which is why arming is a deliberate operator act. Sibling of integration-connectivity-escalation: that flag arms the alert, this one arms the record.",
|
|
29732
|
+
flagType: "boolean",
|
|
29733
|
+
// Declared safe value is `false` (shadow / record untouched). It matches the
|
|
29734
|
+
// route's compiled default since ENG-6139, so migrating the reader onto this
|
|
29735
|
+
// flag (ADR-0022) preserves fleet behaviour exactly. `false` is also the
|
|
29736
|
+
// fail-safe direction: a flag-DB read error must never de-provision an
|
|
29737
|
+
// integration on its own.
|
|
29738
|
+
defaultValue: false,
|
|
29739
|
+
// Migration override (ADR-0022): the pre-flags env gate stays the
|
|
29740
|
+
// highest-precedence operator override. ENG-10473 deliberately does NOT wire
|
|
29741
|
+
// this var in sst.config.ts - ENG-8303 records what happens when a declared
|
|
29742
|
+
// envVar is pinned there: it outranks the DB value and makes the flag inert
|
|
29743
|
+
// everywhere it matters.
|
|
29744
|
+
envVar: "AUGMENTED_CONNECTIVITY_RECONCILE_STATUS"
|
|
29745
|
+
},
|
|
29729
29746
|
{
|
|
29730
29747
|
key: "slack-manifest-remediate",
|
|
29731
29748
|
description: "Let the Slack manifest drift monitor PUSH, not just alert (ENG-9963). updateSlackManifest had exactly one caller \u2014 a console button \u2014 so nothing but a human click ever pushed a manifest; ENG-7762 changed the generator with no rollout mechanism and 26 agents went 53 days with no working per-agent slash commands. When on, the daily drift cron pushes the generated manifest for a drifted agent. When off it alerts exactly as before. NOTE what arming this authorises: a push REPLACES a customer-owned Slack app's entire manifest, so the cron only ever pushes drift whose diffs are purely additive (isSafelyRemediable) \u2014 an app with live-only entries a push would destroy is declined and left for a human. Boolean gate; ships dark.",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -43627,6 +43627,23 @@ var FLAG_REGISTRY = [
|
|
|
43627
43627
|
// env var is retired.
|
|
43628
43628
|
envVar: "AUGMENTED_CONNECTIVITY_ESCALATION_ENABLED"
|
|
43629
43629
|
},
|
|
43630
|
+
{
|
|
43631
|
+
key: "integration-connectivity-reconcile",
|
|
43632
|
+
description: "Arm integration-connectivity STATUS reconciliation (ENG-6139, armable per-org by ENG-10473). When on, a hard-down connectivity observation (a `down` reading with consecutive_connectivity_failures at/over the hysteresis threshold) on an otherwise-healthy row downgrades it to status=error, status_message=connectivity_down, so the record stops asserting a live connection the probe has disproved; recovery restores status=active, but ONLY for rows this path downgraded. When off it stays shadow - logs what it WOULD downgrade and touches only the connectivity columns. \u26A0\uFE0F A downgraded row drops out of host-runtime's `.in('status',['active','configured'])` provisioning filter, so the agent LOSES that MCP server: correct for a dead credential, and a provisioning change either way, which is why arming is a deliberate operator act. Sibling of integration-connectivity-escalation: that flag arms the alert, this one arms the record.",
|
|
43633
|
+
flagType: "boolean",
|
|
43634
|
+
// Declared safe value is `false` (shadow / record untouched). It matches the
|
|
43635
|
+
// route's compiled default since ENG-6139, so migrating the reader onto this
|
|
43636
|
+
// flag (ADR-0022) preserves fleet behaviour exactly. `false` is also the
|
|
43637
|
+
// fail-safe direction: a flag-DB read error must never de-provision an
|
|
43638
|
+
// integration on its own.
|
|
43639
|
+
defaultValue: false,
|
|
43640
|
+
// Migration override (ADR-0022): the pre-flags env gate stays the
|
|
43641
|
+
// highest-precedence operator override. ENG-10473 deliberately does NOT wire
|
|
43642
|
+
// this var in sst.config.ts - ENG-8303 records what happens when a declared
|
|
43643
|
+
// envVar is pinned there: it outranks the DB value and makes the flag inert
|
|
43644
|
+
// everywhere it matters.
|
|
43645
|
+
envVar: "AUGMENTED_CONNECTIVITY_RECONCILE_STATUS"
|
|
43646
|
+
},
|
|
43630
43647
|
{
|
|
43631
43648
|
key: "slack-manifest-remediate",
|
|
43632
43649
|
description: "Let the Slack manifest drift monitor PUSH, not just alert (ENG-9963). updateSlackManifest had exactly one caller \u2014 a console button \u2014 so nothing but a human click ever pushed a manifest; ENG-7762 changed the generator with no rollout mechanism and 26 agents went 53 days with no working per-agent slash commands. When on, the daily drift cron pushes the generated manifest for a drifted agent. When off it alerts exactly as before. NOTE what arming this authorises: a push REPLACES a customer-owned Slack app's entire manifest, so the cron only ever pushes drift whose diffs are purely additive (isSafelyRemediable) \u2014 an app with live-only entries a push would destroy is declined and left for a human. Boolean gate; ships dark.",
|
|
@@ -38286,6 +38286,23 @@ var FLAG_REGISTRY = [
|
|
|
38286
38286
|
// env var is retired.
|
|
38287
38287
|
envVar: "AUGMENTED_CONNECTIVITY_ESCALATION_ENABLED"
|
|
38288
38288
|
},
|
|
38289
|
+
{
|
|
38290
|
+
key: "integration-connectivity-reconcile",
|
|
38291
|
+
description: "Arm integration-connectivity STATUS reconciliation (ENG-6139, armable per-org by ENG-10473). When on, a hard-down connectivity observation (a `down` reading with consecutive_connectivity_failures at/over the hysteresis threshold) on an otherwise-healthy row downgrades it to status=error, status_message=connectivity_down, so the record stops asserting a live connection the probe has disproved; recovery restores status=active, but ONLY for rows this path downgraded. When off it stays shadow - logs what it WOULD downgrade and touches only the connectivity columns. \u26A0\uFE0F A downgraded row drops out of host-runtime's `.in('status',['active','configured'])` provisioning filter, so the agent LOSES that MCP server: correct for a dead credential, and a provisioning change either way, which is why arming is a deliberate operator act. Sibling of integration-connectivity-escalation: that flag arms the alert, this one arms the record.",
|
|
38292
|
+
flagType: "boolean",
|
|
38293
|
+
// Declared safe value is `false` (shadow / record untouched). It matches the
|
|
38294
|
+
// route's compiled default since ENG-6139, so migrating the reader onto this
|
|
38295
|
+
// flag (ADR-0022) preserves fleet behaviour exactly. `false` is also the
|
|
38296
|
+
// fail-safe direction: a flag-DB read error must never de-provision an
|
|
38297
|
+
// integration on its own.
|
|
38298
|
+
defaultValue: false,
|
|
38299
|
+
// Migration override (ADR-0022): the pre-flags env gate stays the
|
|
38300
|
+
// highest-precedence operator override. ENG-10473 deliberately does NOT wire
|
|
38301
|
+
// this var in sst.config.ts - ENG-8303 records what happens when a declared
|
|
38302
|
+
// envVar is pinned there: it outranks the DB value and makes the flag inert
|
|
38303
|
+
// everywhere it matters.
|
|
38304
|
+
envVar: "AUGMENTED_CONNECTIVITY_RECONCILE_STATUS"
|
|
38305
|
+
},
|
|
38289
38306
|
{
|
|
38290
38307
|
key: "slack-manifest-remediate",
|
|
38291
38308
|
description: "Let the Slack manifest drift monitor PUSH, not just alert (ENG-9963). updateSlackManifest had exactly one caller \u2014 a console button \u2014 so nothing but a human click ever pushed a manifest; ENG-7762 changed the generator with no rollout mechanism and 26 agents went 53 days with no working per-agent slash commands. When on, the daily drift cron pushes the generated manifest for a drifted agent. When off it alerts exactly as before. NOTE what arming this authorises: a push REPLACES a customer-owned Slack app's entire manifest, so the cron only ever pushes drift whose diffs are purely additive (isSafelyRemediable) \u2014 an app with live-only entries a push would destroy is declined and left for a human. Boolean gate; ships dark.",
|
|
@@ -38322,6 +38322,23 @@ var FLAG_REGISTRY = [
|
|
|
38322
38322
|
// env var is retired.
|
|
38323
38323
|
envVar: "AUGMENTED_CONNECTIVITY_ESCALATION_ENABLED"
|
|
38324
38324
|
},
|
|
38325
|
+
{
|
|
38326
|
+
key: "integration-connectivity-reconcile",
|
|
38327
|
+
description: "Arm integration-connectivity STATUS reconciliation (ENG-6139, armable per-org by ENG-10473). When on, a hard-down connectivity observation (a `down` reading with consecutive_connectivity_failures at/over the hysteresis threshold) on an otherwise-healthy row downgrades it to status=error, status_message=connectivity_down, so the record stops asserting a live connection the probe has disproved; recovery restores status=active, but ONLY for rows this path downgraded. When off it stays shadow - logs what it WOULD downgrade and touches only the connectivity columns. \u26A0\uFE0F A downgraded row drops out of host-runtime's `.in('status',['active','configured'])` provisioning filter, so the agent LOSES that MCP server: correct for a dead credential, and a provisioning change either way, which is why arming is a deliberate operator act. Sibling of integration-connectivity-escalation: that flag arms the alert, this one arms the record.",
|
|
38328
|
+
flagType: "boolean",
|
|
38329
|
+
// Declared safe value is `false` (shadow / record untouched). It matches the
|
|
38330
|
+
// route's compiled default since ENG-6139, so migrating the reader onto this
|
|
38331
|
+
// flag (ADR-0022) preserves fleet behaviour exactly. `false` is also the
|
|
38332
|
+
// fail-safe direction: a flag-DB read error must never de-provision an
|
|
38333
|
+
// integration on its own.
|
|
38334
|
+
defaultValue: false,
|
|
38335
|
+
// Migration override (ADR-0022): the pre-flags env gate stays the
|
|
38336
|
+
// highest-precedence operator override. ENG-10473 deliberately does NOT wire
|
|
38337
|
+
// this var in sst.config.ts - ENG-8303 records what happens when a declared
|
|
38338
|
+
// envVar is pinned there: it outranks the DB value and makes the flag inert
|
|
38339
|
+
// everywhere it matters.
|
|
38340
|
+
envVar: "AUGMENTED_CONNECTIVITY_RECONCILE_STATUS"
|
|
38341
|
+
},
|
|
38325
38342
|
{
|
|
38326
38343
|
key: "slack-manifest-remediate",
|
|
38327
38344
|
description: "Let the Slack manifest drift monitor PUSH, not just alert (ENG-9963). updateSlackManifest had exactly one caller \u2014 a console button \u2014 so nothing but a human click ever pushed a manifest; ENG-7762 changed the generator with no rollout mechanism and 26 agents went 53 days with no working per-agent slash commands. When on, the daily drift cron pushes the generated manifest for a drifted agent. When off it alerts exactly as before. NOTE what arming this authorises: a push REPLACES a customer-owned Slack app's entire manifest, so the cron only ever pushes drift whose diffs are purely additive (isSafelyRemediable) \u2014 an app with live-only entries a push would destroy is declined and left for a human. Boolean gate; ships dark.",
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
writeDirectChatSessionState,
|
|
63
63
|
writeEgressAllowlist,
|
|
64
64
|
writePersistentClaudeWrapper
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-ZNVYUZSM.js";
|
|
66
|
+
import "./chunk-IIIMUCGD.js";
|
|
67
67
|
import "./chunk-XWVM4KPK.js";
|
|
68
68
|
export {
|
|
69
69
|
CLAUDE_HOST_WIDE,
|
|
@@ -130,4 +130,4 @@ export {
|
|
|
130
130
|
writeEgressAllowlist,
|
|
131
131
|
writePersistentClaudeWrapper
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=persistent-session-
|
|
133
|
+
//# sourceMappingURL=persistent-session-PYQ5U6FU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ZNVYUZSM.js";
|
|
4
|
+
import "./chunk-IIIMUCGD.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -799,4 +799,4 @@ export {
|
|
|
799
799
|
readAndResetSlackReplyBindingClassifications,
|
|
800
800
|
readAndResetSlackReplyTargetClassifications
|
|
801
801
|
};
|
|
802
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
802
|
+
//# sourceMappingURL=responsiveness-probe-T4LKSNFO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IIIMUCGD.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-M5SFWTQH.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|