@integrity-labs/agt-cli 0.28.774 → 0.28.776

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.
@@ -18,7 +18,7 @@ import {
18
18
  rotateDailySession,
19
19
  sessionFileExists,
20
20
  todayLocalIso
21
- } from "./chunk-PMKI7ZTP.js";
21
+ } from "./chunk-N6DU2RYO.js";
22
22
  import {
23
23
  reapOrphanChannelMcps
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -5141,4 +5141,4 @@ export {
5141
5141
  stopAllSessionsAndWait,
5142
5142
  getProjectDir
5143
5143
  };
5144
- //# sourceMappingURL=chunk-SXTHAF3R.js.map
5144
+ //# sourceMappingURL=chunk-NRMBKDER.js.map
@@ -14,7 +14,7 @@ import {
14
14
  parseEnvFileEntries,
15
15
  parseEnvIntegrations,
16
16
  shellQuote
17
- } from "./chunk-SXTHAF3R.js";
17
+ } from "./chunk-NRMBKDER.js";
18
18
  import {
19
19
  BIND_FAILURE_QUARANTINE_THRESHOLD,
20
20
  INTEGRATIONS_SECTION_END,
@@ -66,7 +66,7 @@ import {
66
66
  sessionTranscriptDir,
67
67
  worseConnectivityOutcome,
68
68
  wrapScheduledTaskPrompt
69
- } from "./chunk-PMKI7ZTP.js";
69
+ } from "./chunk-N6DU2RYO.js";
70
70
  import {
71
71
  parsePsRows
72
72
  } from "./chunk-XWVM4KPK.js";
@@ -6388,7 +6388,7 @@ function exchangeFailureKind(err) {
6388
6388
  }
6389
6389
 
6390
6390
  // src/lib/api-client.ts
6391
- var agtCliVersion = true ? "0.28.774" : "dev";
6391
+ var agtCliVersion = true ? "0.28.776" : "dev";
6392
6392
  var lastConfigHash = null;
6393
6393
  function setConfigHash(hash) {
6394
6394
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8566,6 +8566,37 @@ var DID_NOT_RUN_SIGNATURES = [
8566
8566
  re: /AGT_AGENT_ID is not set/i,
8567
8567
  reason: "the probe process was spawned without AGT_AGENT_ID, so the credential shim could not identify the agent and nothing was probed (ENG-9005)"
8568
8568
  },
8569
+ {
8570
+ // ENG-9810: THE SIBLING VARIABLE. The entry above catches a probe spawned
8571
+ // without AGT_AGENT_ID. The shim needs two things to fetch a token, and the
8572
+ // other one had no signature at all.
8573
+ //
8574
+ // REPRODUCED ON agt-aws-1 TODAY, by running this agent's own shim with a
8575
+ // stripped environment — not inferred from a log:
8576
+ //
8577
+ // augmented: GitHub credential fetch failed: AGT_HOST is not set in this
8578
+ // process environment
8579
+ // augmented: the token is fetched per use from <AGT_HOST unset>/host/...
8580
+ // for agent_id=... (ENG-8344). This is NOT a GitHub permissions problem.
8581
+ //
8582
+ // The shim's own second line says it: *this is not a GitHub permissions
8583
+ // problem*. Without this entry that message matched nothing, fell past every
8584
+ // transient signature, and landed on the flat `down` — incrementing
8585
+ // `consecutive_connectivity_failures` and, past the threshold, opening an
8586
+ // `integration_down` alert that reads as a GitHub outage. The identical
8587
+ // defect the AGT_AGENT_ID entry was written to stop, reached through the
8588
+ // other missing variable.
8589
+ //
8590
+ // NARROW, and narrow in exactly the way the entry above is: matched on OUR
8591
+ // OWN VARIABLE NAME, which no provider CLI emits. Deliberately NOT matched
8592
+ // on the broader `credential fetch failed` shape, even though that would
8593
+ // catch both variables in one pattern — a broker HTTP 500 contains that
8594
+ // phrase and must KEEP its transient grading, as the entry above states at
8595
+ // length. Widening to the shape would silently reverse a decision somebody
8596
+ // made on purpose.
8597
+ re: /AGT_HOST is not set/i,
8598
+ reason: "the probe process was spawned without AGT_HOST, so the credential shim had nowhere to fetch a token from and nothing was probed (ENG-8344)"
8599
+ },
8569
8600
  {
8570
8601
  // THE INTERPRETER NEVER STARTED — the wrapper could not even be launched.
8571
8602
  //
@@ -10590,4 +10621,4 @@ export {
10590
10621
  managerInstallSystemUnitCommand,
10591
10622
  managerUninstallSystemUnitCommand
10592
10623
  };
10593
- //# sourceMappingURL=chunk-BUCKLMKD.js.map
10624
+ //# sourceMappingURL=chunk-P5SXR47I.js.map