@integrity-labs/agt-cli 0.28.1227 → 0.28.1228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/agt.js +6 -6
- package/dist/{chunk-ZNLUMFFI.js → chunk-7AVP3CLB.js} +2 -2
- package/dist/{chunk-SBKONJHH.js → chunk-BBAKZGD6.js} +3 -3
- package/dist/{chunk-R7VAE4TW.js → chunk-NRMWHCEU.js} +5 -5
- package/dist/{chunk-W27SQIGZ.js → chunk-OM23HRMM.js} +8 -1
- package/dist/{chunk-W27SQIGZ.js.map → chunk-OM23HRMM.js.map} +1 -1
- package/dist/{chunk-TI2MHSIG.js → chunk-Y73Z2FGC.js} +2 -2
- package/dist/{claude-code-updater-VVX7EHGC.js → claude-code-updater-VMUFBXVY.js} +3 -3
- package/dist/{claude-pair-runtime-HL3KRYFB.js → claude-pair-runtime-FDHPZOJD.js} +3 -3
- package/dist/lib/manager-worker.js +19 -19
- package/dist/mcp/direct-chat-channel.js +7 -0
- package/dist/mcp/index.js +7 -0
- package/dist/mcp/origami.js +7 -0
- package/dist/mcp/slack-channel.js +7 -0
- package/dist/mcp/telegram-channel.js +7 -0
- package/dist/{persistent-session-JBGVQROM.js → persistent-session-6CMF6GBZ.js} +4 -4
- package/dist/{responsiveness-probe-5SQMHYCY.js → responsiveness-probe-PL3EBAYF.js} +4 -4
- package/dist/{session-auth-dead-YHUDYH33.js → session-auth-dead-I36UILMA.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-ZNLUMFFI.js.map → chunk-7AVP3CLB.js.map} +0 -0
- /package/dist/{chunk-SBKONJHH.js.map → chunk-BBAKZGD6.js.map} +0 -0
- /package/dist/{chunk-R7VAE4TW.js.map → chunk-NRMWHCEU.js.map} +0 -0
- /package/dist/{chunk-TI2MHSIG.js.map → chunk-Y73Z2FGC.js.map} +0 -0
- /package/dist/{claude-code-updater-VVX7EHGC.js.map → claude-code-updater-VMUFBXVY.js.map} +0 -0
- /package/dist/{claude-pair-runtime-HL3KRYFB.js.map → claude-pair-runtime-FDHPZOJD.js.map} +0 -0
- /package/dist/{persistent-session-JBGVQROM.js.map → persistent-session-6CMF6GBZ.js.map} +0 -0
- /package/dist/{responsiveness-probe-5SQMHYCY.js.map → responsiveness-probe-PL3EBAYF.js.map} +0 -0
- /package/dist/{session-auth-dead-YHUDYH33.js.map → session-auth-dead-I36UILMA.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-XWVM4KPK.js";
|
|
5
5
|
import {
|
|
6
6
|
FORCED_UPDATE_HARD_DEADLINE_MS
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OM23HRMM.js";
|
|
8
8
|
import {
|
|
9
9
|
effectiveClaudeJsonPath
|
|
10
10
|
} from "./chunk-AIUIMEUS.js";
|
|
@@ -722,4 +722,4 @@ export {
|
|
|
722
722
|
probeClaudeInstalls,
|
|
723
723
|
maybeUpdateClaudeCode
|
|
724
724
|
};
|
|
725
|
-
//# sourceMappingURL=chunk-
|
|
725
|
+
//# sourceMappingURL=chunk-Y73Z2FGC.js.map
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
probeClaudeInstalls,
|
|
14
14
|
readsAsNativeInstall,
|
|
15
15
|
shouldRunClaudeCodeUpdater
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Y73Z2FGC.js";
|
|
17
17
|
import "./chunk-XWVM4KPK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-OM23HRMM.js";
|
|
19
19
|
import "./chunk-AIUIMEUS.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
readsAsNativeInstall,
|
|
35
35
|
shouldRunClaudeCodeUpdater
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=claude-code-updater-
|
|
37
|
+
//# sourceMappingURL=claude-code-updater-VMUFBXVY.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
redactPaneFrame,
|
|
10
10
|
sanitizeTerminalFrame
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OM23HRMM.js";
|
|
12
12
|
import {
|
|
13
13
|
CLAUDE_CONFIG_DIR_ENV,
|
|
14
14
|
claudeConfigDirFor,
|
|
@@ -321,7 +321,7 @@ async function spawnPairSession(session) {
|
|
|
321
321
|
return { ok: true };
|
|
322
322
|
} catch {
|
|
323
323
|
}
|
|
324
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
324
|
+
const { resolveClaudeBinary } = await import("./persistent-session-6CMF6GBZ.js");
|
|
325
325
|
const claudeBin = resolveClaudeBinary();
|
|
326
326
|
const pairEnv = {
|
|
327
327
|
...process.env,
|
|
@@ -836,4 +836,4 @@ export {
|
|
|
836
836
|
startClaudePair,
|
|
837
837
|
submitClaudePairCode
|
|
838
838
|
};
|
|
839
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
839
|
+
//# sourceMappingURL=claude-pair-runtime-FDHPZOJD.js.map
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
tripClass,
|
|
86
86
|
writeEtcEnvironment,
|
|
87
87
|
writeProfileDScript
|
|
88
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-NRMWHCEU.js";
|
|
89
89
|
import {
|
|
90
90
|
CLAUDE_CODE_SECURITY_FLOOR,
|
|
91
91
|
SELF_UPDATE_TIMEOUTS,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
runSafeCleanup,
|
|
100
100
|
tightestDiskStat,
|
|
101
101
|
withPackageCacheLock
|
|
102
|
-
} from "../chunk-
|
|
102
|
+
} from "../chunk-Y73Z2FGC.js";
|
|
103
103
|
import {
|
|
104
104
|
rewriteSupervisorApiKey,
|
|
105
105
|
supervisorChannelsRefusing
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
webFetchBaselineValue,
|
|
193
193
|
webFetchRestartNeeded,
|
|
194
194
|
writeEgressAllowlist
|
|
195
|
-
} from "../chunk-
|
|
195
|
+
} from "../chunk-BBAKZGD6.js";
|
|
196
196
|
import {
|
|
197
197
|
isAgentIdle,
|
|
198
198
|
isStaleForToday,
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
subagentActivityAgeSeconds,
|
|
204
204
|
subagentTranscriptDir,
|
|
205
205
|
transcriptActivityAgeSeconds
|
|
206
|
-
} from "../chunk-
|
|
206
|
+
} from "../chunk-7AVP3CLB.js";
|
|
207
207
|
import {
|
|
208
208
|
classifyUnanswerablePane,
|
|
209
209
|
focusedConfirmDialogBlock,
|
|
@@ -334,7 +334,7 @@ import {
|
|
|
334
334
|
stabiliseResetInstant,
|
|
335
335
|
sumTranscriptUsageInWindow,
|
|
336
336
|
summarizeTranscriptActivity
|
|
337
|
-
} from "../chunk-
|
|
337
|
+
} from "../chunk-OM23HRMM.js";
|
|
338
338
|
import {
|
|
339
339
|
CLAUDE_CONFIG_DIR_ENV,
|
|
340
340
|
claudeConfigDirFor,
|
|
@@ -15843,7 +15843,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
15843
15843
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
15844
15844
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
15845
15845
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
15846
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
15846
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-PL3EBAYF.js");
|
|
15847
15847
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
15848
15848
|
if (newest === null) return null;
|
|
15849
15849
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -16643,7 +16643,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
16643
16643
|
var lastVersionCheckAt = 0;
|
|
16644
16644
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
16645
16645
|
var lastResponsivenessProbeAt = 0;
|
|
16646
|
-
var agtCliVersion = true ? "0.28.
|
|
16646
|
+
var agtCliVersion = true ? "0.28.1228" : "dev";
|
|
16647
16647
|
function resolveBrewPath(execFileSync3) {
|
|
16648
16648
|
try {
|
|
16649
16649
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -18640,7 +18640,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
18640
18640
|
if (codeNames.length === 0) return;
|
|
18641
18641
|
void (async () => {
|
|
18642
18642
|
try {
|
|
18643
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18643
|
+
const { collectDiagnostics } = await import("../persistent-session-6CMF6GBZ.js");
|
|
18644
18644
|
await api.post("/host/heartbeat", {
|
|
18645
18645
|
host_id: hostId,
|
|
18646
18646
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -18783,7 +18783,7 @@ async function pollCycleInner() {
|
|
|
18783
18783
|
}
|
|
18784
18784
|
try {
|
|
18785
18785
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
18786
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18786
|
+
const { collectDiagnostics } = await import("../persistent-session-6CMF6GBZ.js");
|
|
18787
18787
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
18788
18788
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
|
|
18789
18789
|
let tailscaleHostname;
|
|
@@ -19048,7 +19048,7 @@ async function pollCycleInner() {
|
|
|
19048
19048
|
}
|
|
19049
19049
|
try {
|
|
19050
19050
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
19051
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
19051
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-VMUFBXVY.js");
|
|
19052
19052
|
const securityFloor = currentSecurityFloor();
|
|
19053
19053
|
claudeUpdaterInFlight = true;
|
|
19054
19054
|
if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
|
|
@@ -19083,7 +19083,7 @@ async function pollCycleInner() {
|
|
|
19083
19083
|
collectPanelessActivityProbes,
|
|
19084
19084
|
getResponsivenessIntervalMs,
|
|
19085
19085
|
occupancyQualificationClassifications
|
|
19086
|
-
} = await import("../responsiveness-probe-
|
|
19086
|
+
} = await import("../responsiveness-probe-PL3EBAYF.js");
|
|
19087
19087
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
19088
19088
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
19089
19089
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -19200,7 +19200,7 @@ async function pollCycleInner() {
|
|
|
19200
19200
|
collectResponsivenessProbes,
|
|
19201
19201
|
livePendingInboundOldestAgeSeconds,
|
|
19202
19202
|
parkPendingInbound
|
|
19203
|
-
} = await import("../responsiveness-probe-
|
|
19203
|
+
} = await import("../responsiveness-probe-PL3EBAYF.js");
|
|
19204
19204
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
19205
19205
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
19206
19206
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -19486,7 +19486,7 @@ async function pollCycleInner() {
|
|
|
19486
19486
|
}
|
|
19487
19487
|
}
|
|
19488
19488
|
);
|
|
19489
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
19489
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-PL3EBAYF.js");
|
|
19490
19490
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
19491
19491
|
paneFatalStreak.delete(codeName);
|
|
19492
19492
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -19517,7 +19517,7 @@ async function pollCycleInner() {
|
|
|
19517
19517
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
19518
19518
|
bindSourceEscalations
|
|
19519
19519
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
19520
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
19520
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-6CMF6GBZ.js");
|
|
19521
19521
|
const mountConfig = resolveTranscriptMountConfig();
|
|
19522
19522
|
const liveAgents = agentState.persistentSessionAgents;
|
|
19523
19523
|
for (const tracked of [
|
|
@@ -19682,7 +19682,7 @@ async function pollCycleInner() {
|
|
|
19682
19682
|
}
|
|
19683
19683
|
try {
|
|
19684
19684
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
19685
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
19685
|
+
const { probeSessionAuth } = await import("../session-auth-dead-I36UILMA.js");
|
|
19686
19686
|
const observations = [];
|
|
19687
19687
|
const pendingCacheCommits = [];
|
|
19688
19688
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -24428,7 +24428,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
24428
24428
|
try {
|
|
24429
24429
|
const freshId = rotateSessionForWedge(codeName);
|
|
24430
24430
|
consecutiveWedgeCycles.delete(codeName);
|
|
24431
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
24431
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-PL3EBAYF.js");
|
|
24432
24432
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
24433
24433
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
24434
24434
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -24471,7 +24471,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
24471
24471
|
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}`));
|
|
24472
24472
|
void (async () => {
|
|
24473
24473
|
try {
|
|
24474
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
24474
|
+
const { collectDiagnostics } = await import("../persistent-session-6CMF6GBZ.js");
|
|
24475
24475
|
await api.post("/host/heartbeat", {
|
|
24476
24476
|
host_id: hostId,
|
|
24477
24477
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -24522,7 +24522,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
24522
24522
|
}
|
|
24523
24523
|
try {
|
|
24524
24524
|
const hostId = await getHostId();
|
|
24525
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
24525
|
+
const { collectDiagnostics } = await import("../persistent-session-6CMF6GBZ.js");
|
|
24526
24526
|
await api.post("/host/heartbeat", {
|
|
24527
24527
|
host_id: hostId,
|
|
24528
24528
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -25224,7 +25224,7 @@ async function processClaudePairSessions(agents) {
|
|
|
25224
25224
|
snapshotPairConfig,
|
|
25225
25225
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
25226
25226
|
planPairStartReport
|
|
25227
|
-
} = await import("../claude-pair-runtime-
|
|
25227
|
+
} = await import("../claude-pair-runtime-FDHPZOJD.js");
|
|
25228
25228
|
const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
|
|
25229
25229
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
25230
25230
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
@@ -45586,6 +45586,13 @@ var FLAG_REGISTRY = [
|
|
|
45586
45586
|
// to migrate (ADR-0022).
|
|
45587
45587
|
defaultValue: false
|
|
45588
45588
|
},
|
|
45589
|
+
{
|
|
45590
|
+
key: "kanban-reaper-linked-ticket-close",
|
|
45591
|
+
description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
|
|
45592
|
+
flagType: "boolean",
|
|
45593
|
+
// Safe value `false` = shadow, never close. A flag-DB error degrades here too.
|
|
45594
|
+
defaultValue: false
|
|
45595
|
+
},
|
|
45589
45596
|
{
|
|
45590
45597
|
key: "kanban-nudge-before-reap",
|
|
45591
45598
|
description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
|
package/dist/mcp/index.js
CHANGED
|
@@ -31268,6 +31268,13 @@ var FLAG_REGISTRY = [
|
|
|
31268
31268
|
// to migrate (ADR-0022).
|
|
31269
31269
|
defaultValue: false
|
|
31270
31270
|
},
|
|
31271
|
+
{
|
|
31272
|
+
key: "kanban-reaper-linked-ticket-close",
|
|
31273
|
+
description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
|
|
31274
|
+
flagType: "boolean",
|
|
31275
|
+
// Safe value `false` = shadow, never close. A flag-DB error degrades here too.
|
|
31276
|
+
defaultValue: false
|
|
31277
|
+
},
|
|
31271
31278
|
{
|
|
31272
31279
|
key: "kanban-nudge-before-reap",
|
|
31273
31280
|
description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -45070,6 +45070,13 @@ var FLAG_REGISTRY = [
|
|
|
45070
45070
|
// to migrate (ADR-0022).
|
|
45071
45071
|
defaultValue: false
|
|
45072
45072
|
},
|
|
45073
|
+
{
|
|
45074
|
+
key: "kanban-reaper-linked-ticket-close",
|
|
45075
|
+
description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
|
|
45076
|
+
flagType: "boolean",
|
|
45077
|
+
// Safe value `false` = shadow, never close. A flag-DB error degrades here too.
|
|
45078
|
+
defaultValue: false
|
|
45079
|
+
},
|
|
45073
45080
|
{
|
|
45074
45081
|
key: "kanban-nudge-before-reap",
|
|
45075
45082
|
description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
|
|
@@ -39925,6 +39925,13 @@ var FLAG_REGISTRY = [
|
|
|
39925
39925
|
// to migrate (ADR-0022).
|
|
39926
39926
|
defaultValue: false
|
|
39927
39927
|
},
|
|
39928
|
+
{
|
|
39929
|
+
key: "kanban-reaper-linked-ticket-close",
|
|
39930
|
+
description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
|
|
39931
|
+
flagType: "boolean",
|
|
39932
|
+
// Safe value `false` = shadow, never close. A flag-DB error degrades here too.
|
|
39933
|
+
defaultValue: false
|
|
39934
|
+
},
|
|
39928
39935
|
{
|
|
39929
39936
|
key: "kanban-nudge-before-reap",
|
|
39930
39937
|
description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
|
|
@@ -40116,6 +40116,13 @@ var FLAG_REGISTRY = [
|
|
|
40116
40116
|
// to migrate (ADR-0022).
|
|
40117
40117
|
defaultValue: false
|
|
40118
40118
|
},
|
|
40119
|
+
{
|
|
40120
|
+
key: "kanban-reaper-linked-ticket-close",
|
|
40121
|
+
description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
|
|
40122
|
+
flagType: "boolean",
|
|
40123
|
+
// Safe value `false` = shadow, never close. A flag-DB error degrades here too.
|
|
40124
|
+
defaultValue: false
|
|
40125
|
+
},
|
|
40119
40126
|
{
|
|
40120
40127
|
key: "kanban-nudge-before-reap",
|
|
40121
40128
|
description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
|
|
@@ -68,12 +68,12 @@ import {
|
|
|
68
68
|
writeDirectChatSessionState,
|
|
69
69
|
writeEgressAllowlist,
|
|
70
70
|
writePersistentClaudeWrapper
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-BBAKZGD6.js";
|
|
72
|
+
import "./chunk-7AVP3CLB.js";
|
|
73
73
|
import "./chunk-HYQ7VOC3.js";
|
|
74
74
|
import "./chunk-6HBXEJHO.js";
|
|
75
75
|
import "./chunk-XWVM4KPK.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-OM23HRMM.js";
|
|
77
77
|
import "./chunk-AIUIMEUS.js";
|
|
78
78
|
import "./chunk-DGUM43GV.js";
|
|
79
79
|
export {
|
|
@@ -147,4 +147,4 @@ export {
|
|
|
147
147
|
writeEgressAllowlist,
|
|
148
148
|
writePersistentClaudeWrapper
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=persistent-session-
|
|
150
|
+
//# sourceMappingURL=persistent-session-6CMF6GBZ.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-BBAKZGD6.js";
|
|
4
|
+
import "./chunk-7AVP3CLB.js";
|
|
5
5
|
import "./chunk-HYQ7VOC3.js";
|
|
6
6
|
import "./chunk-6HBXEJHO.js";
|
|
7
7
|
import "./chunk-XWVM4KPK.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-OM23HRMM.js";
|
|
9
9
|
import "./chunk-AIUIMEUS.js";
|
|
10
10
|
import "./chunk-DGUM43GV.js";
|
|
11
11
|
|
|
@@ -804,4 +804,4 @@ export {
|
|
|
804
804
|
readAndResetSlackReplyBindingClassifications,
|
|
805
805
|
readAndResetSlackReplyTargetClassifications
|
|
806
806
|
};
|
|
807
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
807
|
+
//# sourceMappingURL=responsiveness-probe-PL3EBAYF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7AVP3CLB.js";
|
|
4
|
+
import "./chunk-OM23HRMM.js";
|
|
5
5
|
import "./chunk-DGUM43GV.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/session-auth-dead.ts
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
decideSessionAuthState,
|
|
206
206
|
probeSessionAuth
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=session-auth-dead-
|
|
208
|
+
//# sourceMappingURL=session-auth-dead-I36UILMA.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|