@integrity-labs/agt-cli 0.28.691 → 0.28.693

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.
Files changed (26) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-XF2B7JHC.js → chunk-4ARKV2GJ.js} +2 -2
  3. package/dist/chunk-4ARKV2GJ.js.map +1 -0
  4. package/dist/{chunk-2GNXBVWJ.js → chunk-BV2ZQRFB.js} +28 -31
  5. package/dist/chunk-BV2ZQRFB.js.map +1 -0
  6. package/dist/{chunk-ZY57BJYH.js → chunk-HAOMTMPE.js} +430 -628
  7. package/dist/chunk-HAOMTMPE.js.map +1 -0
  8. package/dist/{claude-pair-runtime-PDOGREOQ.js → claude-pair-runtime-Q5OIAZWC.js} +2 -2
  9. package/dist/lib/manager-worker.js +16 -18
  10. package/dist/lib/manager-worker.js.map +1 -1
  11. package/dist/mcp/direct-chat-channel.js +17 -24
  12. package/dist/mcp/index.js +17 -24
  13. package/dist/mcp/origami.js +17 -24
  14. package/dist/mcp/slack-channel.js +17 -24
  15. package/dist/mcp/telegram-channel.js +17 -24
  16. package/dist/{persistent-session-LVBNKFMF.js → persistent-session-PPBLGH2J.js} +3 -3
  17. package/dist/{responsiveness-probe-T52RFYK3.js → responsiveness-probe-H3UBUTW7.js} +3 -3
  18. package/dist/{session-auth-dead-MV6C7TBH.js → session-auth-dead-K3XQNN5A.js} +2 -2
  19. package/package.json +1 -1
  20. package/dist/chunk-2GNXBVWJ.js.map +0 -1
  21. package/dist/chunk-XF2B7JHC.js.map +0 -1
  22. package/dist/chunk-ZY57BJYH.js.map +0 -1
  23. /package/dist/{claude-pair-runtime-PDOGREOQ.js.map → claude-pair-runtime-Q5OIAZWC.js.map} +0 -0
  24. /package/dist/{persistent-session-LVBNKFMF.js.map → persistent-session-PPBLGH2J.js.map} +0 -0
  25. /package/dist/{responsiveness-probe-T52RFYK3.js.map → responsiveness-probe-H3UBUTW7.js.map} +0 -0
  26. /package/dist/{session-auth-dead-MV6C7TBH.js.map → session-auth-dead-K3XQNN5A.js.map} +0 -0
@@ -31920,6 +31920,12 @@ var HOURLY_BY_REGION = {
31920
31920
  };
31921
31921
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
31922
31922
 
31923
+ // ../core/dist/provisioning/frameworks/claudecode/identity.js
31924
+ var CLAUDE_MD_CHARS_PER_TOKEN = 3.57;
31925
+ var CLAUDE_MD_CONTEXT_WINDOW_TOKENS = 2e5;
31926
+ var CLAUDE_MD_ALARM_SHARE = 0.1;
31927
+ var CLAUDE_MD_CONTEXT_ALARM_CHARS = Math.round(CLAUDE_MD_CONTEXT_WINDOW_TOKENS * CLAUDE_MD_ALARM_SHARE * CLAUDE_MD_CHARS_PER_TOKEN);
31928
+
31923
31929
  // ../core/dist/integrations/context-validator.js
31924
31930
  var import__2 = __toESM(require__(), 1);
31925
31931
  var import_ajv_formats3 = __toESM(require_dist(), 1);
@@ -35962,30 +35968,17 @@ var FLAG_REGISTRY = [
35962
35968
  // first the real cut is higher than this and the pin under-reports.
35963
35969
  since: "0.28.570"
35964
35970
  },
35965
- {
35966
- key: "secret-files-tmpfs",
35967
- description: "Host-side RAM-backing of the per-agent .env.integrations secret files (ENG-9348, epic ENG-9347). When on, the manager turns both copies (the agent-dir file and the project/ mirror) into symlinks pointing at a 0700 per-agent directory under tmpfs (/dev/shm, else /run), so plaintext channel/integration tokens live only in RAM: the persistent EBS volume holds a symlink (no token bytes), an EBS snapshot captures nothing, and a host shutdown is a genuine wipe. Every consumer path is unchanged (same file paths). Boolean gate; ships dark. Fail-safe in every direction \u2014 off is byte-for-byte today; a host with no genuine tmpfs root (e.g. macOS dev) silently keeps the persistent files; a symlink-setup error logs and falls back to the persistent path. Reboot clears tmpfs, and the manager re-backs on its next refresh (surviving reboot is not required \u2014 secrets are re-fetched on refresh).",
35968
- flagType: "boolean",
35969
- // Declared safe value is `false` (persistent files, today's behaviour).
35970
- // Fail-safe direction: a flag-DB read error must never, on its own, start
35971
- // relocating where prod secret files physically live. Flip on per-host for a
35972
- // canary, verify no plaintext lands on the persistent volume, then fleet-wide
35973
- // from the admin Feature Flags page.
35974
- defaultValue: false,
35975
- // ADR-0022 operator override, read by the host flag store's env layer (not a
35976
- // hand-written process.env gate) — same posture as memory-extraction /
35977
- // tool-call-audit above. Gives a per-host canary before the DB flag exists.
35978
- envVar: "AGT_SECRET_FILES_TMPFS_ENABLED",
35979
- // The real published build that carries the manager reader + core writer,
35980
- // replacing the deliberately-unreachable `99.0.0` this flag shipped with.
35981
- // Verified against the tarball (`npm pack @integrity-labs/agt-cli@0.28.678`):
35982
- // `setSecretFileTmpfsBacking` is present in package/dist/lib/manager-worker.js
35983
- // and the `secret-files-tmpfs` key ships in the bundle. Auto-publish patch-
35984
- // bumps from main, so if a CLI-touching PR landed between the ENG-9348 merge
35985
- // and this one the real cut is higher than 0.28.678 and reach under-reports;
35986
- // re-verify before flipping the flag on for a canary (ENG-8575/ENG-9350).
35987
- since: "0.28.678"
35988
- },
35971
+ // ENG-9348 RETIRED (2026-08-24): the `secret-files-tmpfs` flag and its whole
35972
+ // tmpfs-backing implementation are removed after TWO prod outages. Symlinking
35973
+ // `.env.integrations` into /dev/shm raced the agent wrapper's `set -e; source
35974
+ // .env.integrations` (a symlink observed before its target existed → crashloop);
35975
+ // the seed-before-symlink fix (PR #4960) proved insufficient (a flag-read flap
35976
+ // let the destructive disable-revert re-open the window). Approach abandoned in
35977
+ // favour of the spawn-env path (ENG-9350, which never writes the file at all)
35978
+ // plus disk shred (ENG-9349). Removing the flag makes a third outage impossible.
35979
+ // Any lingering feature_flag_overrides rows for this key are inert (no reader);
35980
+ // clear them out-of-band if desired.
35981
+ // flag-archive-allow: secret-files-tmpfs retired after two prod outages feature removed, no manager reader remains
35989
35982
  {
35990
35983
  key: "memory-file-tombstones",
35991
35984
  description: "Host-side removal of RETIRED agent memory files (ENG-9257). The control plane sends an explicit tombstone list on /host/memories and the manager moves the matching .md out of the agent's memory directory \u2014 but only when its write-time manifest says the manager itself wrote that exact file and the sha256 still matches, so an agent-edited or hand-authored file is retained and reported instead. Boolean gate; ships dark. Scope is retirement only, never expiry: /host/memories has always withheld expired rows, so an expiry-driven list would make months of accumulated backlog deletable on the first armed tick. This is the ONLY thing that makes retirement visible to the agent, which reads its memory directory straight off disk \u2014 every server-side reader already excludes retired rows, so with this off a retired memory is gone everywhere except the one surface that changes the agent's behaviour.",
package/dist/mcp/index.js CHANGED
@@ -39320,6 +39320,12 @@ var HOURLY_BY_REGION = {
39320
39320
  };
39321
39321
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
39322
39322
 
39323
+ // ../core/dist/provisioning/frameworks/claudecode/identity.js
39324
+ var CLAUDE_MD_CHARS_PER_TOKEN = 3.57;
39325
+ var CLAUDE_MD_CONTEXT_WINDOW_TOKENS = 2e5;
39326
+ var CLAUDE_MD_ALARM_SHARE = 0.1;
39327
+ var CLAUDE_MD_CONTEXT_ALARM_CHARS = Math.round(CLAUDE_MD_CONTEXT_WINDOW_TOKENS * CLAUDE_MD_ALARM_SHARE * CLAUDE_MD_CHARS_PER_TOKEN);
39328
+
39323
39329
  // ../core/dist/integrations/context-validator.js
39324
39330
  var import__2 = __toESM(require__(), 1);
39325
39331
  var import_ajv_formats3 = __toESM(require_dist(), 1);
@@ -42913,30 +42919,17 @@ var FLAG_REGISTRY = [
42913
42919
  // first the real cut is higher than this and the pin under-reports.
42914
42920
  since: "0.28.570"
42915
42921
  },
42916
- {
42917
- key: "secret-files-tmpfs",
42918
- description: "Host-side RAM-backing of the per-agent .env.integrations secret files (ENG-9348, epic ENG-9347). When on, the manager turns both copies (the agent-dir file and the project/ mirror) into symlinks pointing at a 0700 per-agent directory under tmpfs (/dev/shm, else /run), so plaintext channel/integration tokens live only in RAM: the persistent EBS volume holds a symlink (no token bytes), an EBS snapshot captures nothing, and a host shutdown is a genuine wipe. Every consumer path is unchanged (same file paths). Boolean gate; ships dark. Fail-safe in every direction \u2014 off is byte-for-byte today; a host with no genuine tmpfs root (e.g. macOS dev) silently keeps the persistent files; a symlink-setup error logs and falls back to the persistent path. Reboot clears tmpfs, and the manager re-backs on its next refresh (surviving reboot is not required \u2014 secrets are re-fetched on refresh).",
42919
- flagType: "boolean",
42920
- // Declared safe value is `false` (persistent files, today's behaviour).
42921
- // Fail-safe direction: a flag-DB read error must never, on its own, start
42922
- // relocating where prod secret files physically live. Flip on per-host for a
42923
- // canary, verify no plaintext lands on the persistent volume, then fleet-wide
42924
- // from the admin Feature Flags page.
42925
- defaultValue: false,
42926
- // ADR-0022 operator override, read by the host flag store's env layer (not a
42927
- // hand-written process.env gate) — same posture as memory-extraction /
42928
- // tool-call-audit above. Gives a per-host canary before the DB flag exists.
42929
- envVar: "AGT_SECRET_FILES_TMPFS_ENABLED",
42930
- // The real published build that carries the manager reader + core writer,
42931
- // replacing the deliberately-unreachable `99.0.0` this flag shipped with.
42932
- // Verified against the tarball (`npm pack @integrity-labs/agt-cli@0.28.678`):
42933
- // `setSecretFileTmpfsBacking` is present in package/dist/lib/manager-worker.js
42934
- // and the `secret-files-tmpfs` key ships in the bundle. Auto-publish patch-
42935
- // bumps from main, so if a CLI-touching PR landed between the ENG-9348 merge
42936
- // and this one the real cut is higher than 0.28.678 and reach under-reports;
42937
- // re-verify before flipping the flag on for a canary (ENG-8575/ENG-9350).
42938
- since: "0.28.678"
42939
- },
42922
+ // ENG-9348 RETIRED (2026-08-24): the `secret-files-tmpfs` flag and its whole
42923
+ // tmpfs-backing implementation are removed after TWO prod outages. Symlinking
42924
+ // `.env.integrations` into /dev/shm raced the agent wrapper's `set -e; source
42925
+ // .env.integrations` (a symlink observed before its target existed → crashloop);
42926
+ // the seed-before-symlink fix (PR #4960) proved insufficient (a flag-read flap
42927
+ // let the destructive disable-revert re-open the window). Approach abandoned in
42928
+ // favour of the spawn-env path (ENG-9350, which never writes the file at all)
42929
+ // plus disk shred (ENG-9349). Removing the flag makes a third outage impossible.
42930
+ // Any lingering feature_flag_overrides rows for this key are inert (no reader);
42931
+ // clear them out-of-band if desired.
42932
+ // flag-archive-allow: secret-files-tmpfs retired after two prod outages feature removed, no manager reader remains
42940
42933
  {
42941
42934
  key: "memory-file-tombstones",
42942
42935
  description: "Host-side removal of RETIRED agent memory files (ENG-9257). The control plane sends an explicit tombstone list on /host/memories and the manager moves the matching .md out of the agent's memory directory \u2014 but only when its write-time manifest says the manager itself wrote that exact file and the sha256 still matches, so an agent-edited or hand-authored file is retained and reported instead. Boolean gate; ships dark. Scope is retirement only, never expiry: /host/memories has always withheld expired rows, so an expiry-driven list would make months of accumulated backlog deletable on the first armed tick. This is the ONLY thing that makes retirement visible to the agent, which reads its memory directory straight off disk \u2014 every server-side reader already excludes retired rows, so with this off a retired memory is gone everywhere except the one surface that changes the agent's behaviour.",
@@ -38128,6 +38128,12 @@ var HOURLY_BY_REGION = {
38128
38128
  };
38129
38129
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
38130
38130
 
38131
+ // ../core/dist/provisioning/frameworks/claudecode/identity.js
38132
+ var CLAUDE_MD_CHARS_PER_TOKEN = 3.57;
38133
+ var CLAUDE_MD_CONTEXT_WINDOW_TOKENS = 2e5;
38134
+ var CLAUDE_MD_ALARM_SHARE = 0.1;
38135
+ var CLAUDE_MD_CONTEXT_ALARM_CHARS = Math.round(CLAUDE_MD_CONTEXT_WINDOW_TOKENS * CLAUDE_MD_ALARM_SHARE * CLAUDE_MD_CHARS_PER_TOKEN);
38136
+
38131
38137
  // ../core/dist/integrations/context-validator.js
38132
38138
  var import__2 = __toESM(require__(), 1);
38133
38139
  var import_ajv_formats3 = __toESM(require_dist(), 1);
@@ -41700,30 +41706,17 @@ var FLAG_REGISTRY = [
41700
41706
  // first the real cut is higher than this and the pin under-reports.
41701
41707
  since: "0.28.570"
41702
41708
  },
41703
- {
41704
- key: "secret-files-tmpfs",
41705
- description: "Host-side RAM-backing of the per-agent .env.integrations secret files (ENG-9348, epic ENG-9347). When on, the manager turns both copies (the agent-dir file and the project/ mirror) into symlinks pointing at a 0700 per-agent directory under tmpfs (/dev/shm, else /run), so plaintext channel/integration tokens live only in RAM: the persistent EBS volume holds a symlink (no token bytes), an EBS snapshot captures nothing, and a host shutdown is a genuine wipe. Every consumer path is unchanged (same file paths). Boolean gate; ships dark. Fail-safe in every direction \u2014 off is byte-for-byte today; a host with no genuine tmpfs root (e.g. macOS dev) silently keeps the persistent files; a symlink-setup error logs and falls back to the persistent path. Reboot clears tmpfs, and the manager re-backs on its next refresh (surviving reboot is not required \u2014 secrets are re-fetched on refresh).",
41706
- flagType: "boolean",
41707
- // Declared safe value is `false` (persistent files, today's behaviour).
41708
- // Fail-safe direction: a flag-DB read error must never, on its own, start
41709
- // relocating where prod secret files physically live. Flip on per-host for a
41710
- // canary, verify no plaintext lands on the persistent volume, then fleet-wide
41711
- // from the admin Feature Flags page.
41712
- defaultValue: false,
41713
- // ADR-0022 operator override, read by the host flag store's env layer (not a
41714
- // hand-written process.env gate) — same posture as memory-extraction /
41715
- // tool-call-audit above. Gives a per-host canary before the DB flag exists.
41716
- envVar: "AGT_SECRET_FILES_TMPFS_ENABLED",
41717
- // The real published build that carries the manager reader + core writer,
41718
- // replacing the deliberately-unreachable `99.0.0` this flag shipped with.
41719
- // Verified against the tarball (`npm pack @integrity-labs/agt-cli@0.28.678`):
41720
- // `setSecretFileTmpfsBacking` is present in package/dist/lib/manager-worker.js
41721
- // and the `secret-files-tmpfs` key ships in the bundle. Auto-publish patch-
41722
- // bumps from main, so if a CLI-touching PR landed between the ENG-9348 merge
41723
- // and this one the real cut is higher than 0.28.678 and reach under-reports;
41724
- // re-verify before flipping the flag on for a canary (ENG-8575/ENG-9350).
41725
- since: "0.28.678"
41726
- },
41709
+ // ENG-9348 RETIRED (2026-08-24): the `secret-files-tmpfs` flag and its whole
41710
+ // tmpfs-backing implementation are removed after TWO prod outages. Symlinking
41711
+ // `.env.integrations` into /dev/shm raced the agent wrapper's `set -e; source
41712
+ // .env.integrations` (a symlink observed before its target existed → crashloop);
41713
+ // the seed-before-symlink fix (PR #4960) proved insufficient (a flag-read flap
41714
+ // let the destructive disable-revert re-open the window). Approach abandoned in
41715
+ // favour of the spawn-env path (ENG-9350, which never writes the file at all)
41716
+ // plus disk shred (ENG-9349). Removing the flag makes a third outage impossible.
41717
+ // Any lingering feature_flag_overrides rows for this key are inert (no reader);
41718
+ // clear them out-of-band if desired.
41719
+ // flag-archive-allow: secret-files-tmpfs retired after two prod outages feature removed, no manager reader remains
41727
41720
  {
41728
41721
  key: "memory-file-tombstones",
41729
41722
  description: "Host-side removal of RETIRED agent memory files (ENG-9257). The control plane sends an explicit tombstone list on /host/memories and the manager moves the matching .md out of the agent's memory directory \u2014 but only when its write-time manifest says the manager itself wrote that exact file and the sha256 still matches, so an agent-edited or hand-authored file is retained and reported instead. Boolean gate; ships dark. Scope is retirement only, never expiry: /host/memories has always withheld expired rows, so an expiry-driven list would make months of accumulated backlog deletable on the first armed tick. This is the ONLY thing that makes retirement visible to the agent, which reads its memory directory straight off disk \u2014 every server-side reader already excludes retired rows, so with this off a retired memory is gone everywhere except the one surface that changes the agent's behaviour.",
@@ -32176,6 +32176,12 @@ var HOURLY_BY_REGION = {
32176
32176
  };
32177
32177
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
32178
32178
 
32179
+ // ../core/dist/provisioning/frameworks/claudecode/identity.js
32180
+ var CLAUDE_MD_CHARS_PER_TOKEN = 3.57;
32181
+ var CLAUDE_MD_CONTEXT_WINDOW_TOKENS = 2e5;
32182
+ var CLAUDE_MD_ALARM_SHARE = 0.1;
32183
+ var CLAUDE_MD_CONTEXT_ALARM_CHARS = Math.round(CLAUDE_MD_CONTEXT_WINDOW_TOKENS * CLAUDE_MD_ALARM_SHARE * CLAUDE_MD_CHARS_PER_TOKEN);
32184
+
32179
32185
  // ../core/dist/integrations/context-validator.js
32180
32186
  var import__2 = __toESM(require__(), 1);
32181
32187
  var import_ajv_formats3 = __toESM(require_dist(), 1);
@@ -36171,30 +36177,17 @@ var FLAG_REGISTRY = [
36171
36177
  // first the real cut is higher than this and the pin under-reports.
36172
36178
  since: "0.28.570"
36173
36179
  },
36174
- {
36175
- key: "secret-files-tmpfs",
36176
- description: "Host-side RAM-backing of the per-agent .env.integrations secret files (ENG-9348, epic ENG-9347). When on, the manager turns both copies (the agent-dir file and the project/ mirror) into symlinks pointing at a 0700 per-agent directory under tmpfs (/dev/shm, else /run), so plaintext channel/integration tokens live only in RAM: the persistent EBS volume holds a symlink (no token bytes), an EBS snapshot captures nothing, and a host shutdown is a genuine wipe. Every consumer path is unchanged (same file paths). Boolean gate; ships dark. Fail-safe in every direction \u2014 off is byte-for-byte today; a host with no genuine tmpfs root (e.g. macOS dev) silently keeps the persistent files; a symlink-setup error logs and falls back to the persistent path. Reboot clears tmpfs, and the manager re-backs on its next refresh (surviving reboot is not required \u2014 secrets are re-fetched on refresh).",
36177
- flagType: "boolean",
36178
- // Declared safe value is `false` (persistent files, today's behaviour).
36179
- // Fail-safe direction: a flag-DB read error must never, on its own, start
36180
- // relocating where prod secret files physically live. Flip on per-host for a
36181
- // canary, verify no plaintext lands on the persistent volume, then fleet-wide
36182
- // from the admin Feature Flags page.
36183
- defaultValue: false,
36184
- // ADR-0022 operator override, read by the host flag store's env layer (not a
36185
- // hand-written process.env gate) — same posture as memory-extraction /
36186
- // tool-call-audit above. Gives a per-host canary before the DB flag exists.
36187
- envVar: "AGT_SECRET_FILES_TMPFS_ENABLED",
36188
- // The real published build that carries the manager reader + core writer,
36189
- // replacing the deliberately-unreachable `99.0.0` this flag shipped with.
36190
- // Verified against the tarball (`npm pack @integrity-labs/agt-cli@0.28.678`):
36191
- // `setSecretFileTmpfsBacking` is present in package/dist/lib/manager-worker.js
36192
- // and the `secret-files-tmpfs` key ships in the bundle. Auto-publish patch-
36193
- // bumps from main, so if a CLI-touching PR landed between the ENG-9348 merge
36194
- // and this one the real cut is higher than 0.28.678 and reach under-reports;
36195
- // re-verify before flipping the flag on for a canary (ENG-8575/ENG-9350).
36196
- since: "0.28.678"
36197
- },
36180
+ // ENG-9348 RETIRED (2026-08-24): the `secret-files-tmpfs` flag and its whole
36181
+ // tmpfs-backing implementation are removed after TWO prod outages. Symlinking
36182
+ // `.env.integrations` into /dev/shm raced the agent wrapper's `set -e; source
36183
+ // .env.integrations` (a symlink observed before its target existed → crashloop);
36184
+ // the seed-before-symlink fix (PR #4960) proved insufficient (a flag-read flap
36185
+ // let the destructive disable-revert re-open the window). Approach abandoned in
36186
+ // favour of the spawn-env path (ENG-9350, which never writes the file at all)
36187
+ // plus disk shred (ENG-9349). Removing the flag makes a third outage impossible.
36188
+ // Any lingering feature_flag_overrides rows for this key are inert (no reader);
36189
+ // clear them out-of-band if desired.
36190
+ // flag-archive-allow: secret-files-tmpfs retired after two prod outages feature removed, no manager reader remains
36198
36191
  {
36199
36192
  key: "memory-file-tombstones",
36200
36193
  description: "Host-side removal of RETIRED agent memory files (ENG-9257). The control plane sends an explicit tombstone list on /host/memories and the manager moves the matching .md out of the agent's memory directory \u2014 but only when its write-time manifest says the manager itself wrote that exact file and the sha256 still matches, so an agent-edited or hand-authored file is retained and reported instead. Boolean gate; ships dark. Scope is retirement only, never expiry: /host/memories has always withheld expired rows, so an expiry-driven list would make months of accumulated backlog deletable on the first armed tick. This is the ONLY thing that makes retirement visible to the agent, which reads its memory directory straight off disk \u2014 every server-side reader already excludes retired rows, so with this off a retired memory is gone everywhere except the one surface that changes the agent's behaviour.",
@@ -32338,6 +32338,12 @@ var HOURLY_BY_REGION = {
32338
32338
  };
32339
32339
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
32340
32340
 
32341
+ // ../core/dist/provisioning/frameworks/claudecode/identity.js
32342
+ var CLAUDE_MD_CHARS_PER_TOKEN = 3.57;
32343
+ var CLAUDE_MD_CONTEXT_WINDOW_TOKENS = 2e5;
32344
+ var CLAUDE_MD_ALARM_SHARE = 0.1;
32345
+ var CLAUDE_MD_CONTEXT_ALARM_CHARS = Math.round(CLAUDE_MD_CONTEXT_WINDOW_TOKENS * CLAUDE_MD_ALARM_SHARE * CLAUDE_MD_CHARS_PER_TOKEN);
32346
+
32341
32347
  // ../core/dist/integrations/context-validator.js
32342
32348
  var import__2 = __toESM(require__(), 1);
32343
32349
  var import_ajv_formats3 = __toESM(require_dist(), 1);
@@ -36327,30 +36333,17 @@ var FLAG_REGISTRY = [
36327
36333
  // first the real cut is higher than this and the pin under-reports.
36328
36334
  since: "0.28.570"
36329
36335
  },
36330
- {
36331
- key: "secret-files-tmpfs",
36332
- description: "Host-side RAM-backing of the per-agent .env.integrations secret files (ENG-9348, epic ENG-9347). When on, the manager turns both copies (the agent-dir file and the project/ mirror) into symlinks pointing at a 0700 per-agent directory under tmpfs (/dev/shm, else /run), so plaintext channel/integration tokens live only in RAM: the persistent EBS volume holds a symlink (no token bytes), an EBS snapshot captures nothing, and a host shutdown is a genuine wipe. Every consumer path is unchanged (same file paths). Boolean gate; ships dark. Fail-safe in every direction \u2014 off is byte-for-byte today; a host with no genuine tmpfs root (e.g. macOS dev) silently keeps the persistent files; a symlink-setup error logs and falls back to the persistent path. Reboot clears tmpfs, and the manager re-backs on its next refresh (surviving reboot is not required \u2014 secrets are re-fetched on refresh).",
36333
- flagType: "boolean",
36334
- // Declared safe value is `false` (persistent files, today's behaviour).
36335
- // Fail-safe direction: a flag-DB read error must never, on its own, start
36336
- // relocating where prod secret files physically live. Flip on per-host for a
36337
- // canary, verify no plaintext lands on the persistent volume, then fleet-wide
36338
- // from the admin Feature Flags page.
36339
- defaultValue: false,
36340
- // ADR-0022 operator override, read by the host flag store's env layer (not a
36341
- // hand-written process.env gate) — same posture as memory-extraction /
36342
- // tool-call-audit above. Gives a per-host canary before the DB flag exists.
36343
- envVar: "AGT_SECRET_FILES_TMPFS_ENABLED",
36344
- // The real published build that carries the manager reader + core writer,
36345
- // replacing the deliberately-unreachable `99.0.0` this flag shipped with.
36346
- // Verified against the tarball (`npm pack @integrity-labs/agt-cli@0.28.678`):
36347
- // `setSecretFileTmpfsBacking` is present in package/dist/lib/manager-worker.js
36348
- // and the `secret-files-tmpfs` key ships in the bundle. Auto-publish patch-
36349
- // bumps from main, so if a CLI-touching PR landed between the ENG-9348 merge
36350
- // and this one the real cut is higher than 0.28.678 and reach under-reports;
36351
- // re-verify before flipping the flag on for a canary (ENG-8575/ENG-9350).
36352
- since: "0.28.678"
36353
- },
36336
+ // ENG-9348 RETIRED (2026-08-24): the `secret-files-tmpfs` flag and its whole
36337
+ // tmpfs-backing implementation are removed after TWO prod outages. Symlinking
36338
+ // `.env.integrations` into /dev/shm raced the agent wrapper's `set -e; source
36339
+ // .env.integrations` (a symlink observed before its target existed → crashloop);
36340
+ // the seed-before-symlink fix (PR #4960) proved insufficient (a flag-read flap
36341
+ // let the destructive disable-revert re-open the window). Approach abandoned in
36342
+ // favour of the spawn-env path (ENG-9350, which never writes the file at all)
36343
+ // plus disk shred (ENG-9349). Removing the flag makes a third outage impossible.
36344
+ // Any lingering feature_flag_overrides rows for this key are inert (no reader);
36345
+ // clear them out-of-band if desired.
36346
+ // flag-archive-allow: secret-files-tmpfs retired after two prod outages feature removed, no manager reader remains
36354
36347
  {
36355
36348
  key: "memory-file-tombstones",
36356
36349
  description: "Host-side removal of RETIRED agent memory files (ENG-9257). The control plane sends an explicit tombstone list on /host/memories and the manager moves the matching .md out of the agent's memory directory \u2014 but only when its write-time manifest says the manager itself wrote that exact file and the sha256 still matches, so an agent-edited or hand-authored file is retained and reported instead. Boolean gate; ships dark. Scope is retirement only, never expiry: /host/memories has always withheld expired rows, so an expiry-driven list would make months of accumulated backlog deletable on the first armed tick. This is the ONLY thing that makes retirement visible to the agent, which reads its memory directory straight off disk \u2014 every server-side reader already excludes retired rows, so with this off a retired memory is gone everywhere except the one surface that changes the agent's behaviour.",
@@ -43,8 +43,8 @@ import {
43
43
  writeDirectChatSessionState,
44
44
  writeEgressAllowlist,
45
45
  writePersistentClaudeWrapper
46
- } from "./chunk-XF2B7JHC.js";
47
- import "./chunk-2GNXBVWJ.js";
46
+ } from "./chunk-4ARKV2GJ.js";
47
+ import "./chunk-BV2ZQRFB.js";
48
48
  import "./chunk-XWVM4KPK.js";
49
49
  export {
50
50
  EGRESS_BASELINE_DOMAINS,
@@ -92,4 +92,4 @@ export {
92
92
  writeEgressAllowlist,
93
93
  writePersistentClaudeWrapper
94
94
  };
95
- //# sourceMappingURL=persistent-session-LVBNKFMF.js.map
95
+ //# sourceMappingURL=persistent-session-PPBLGH2J.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-XF2B7JHC.js";
4
- import "./chunk-2GNXBVWJ.js";
3
+ } from "./chunk-4ARKV2GJ.js";
4
+ import "./chunk-BV2ZQRFB.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-T52RFYK3.js.map
748
+ //# sourceMappingURL=responsiveness-probe-H3UBUTW7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-2GNXBVWJ.js";
3
+ } from "./chunk-BV2ZQRFB.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-MV6C7TBH.js.map
206
+ //# sourceMappingURL=session-auth-dead-K3XQNN5A.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.691",
3
+ "version": "0.28.693",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {