@integrity-labs/agt-cli 0.28.505 → 0.28.507

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 CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-3SKLJE7C.js";
43
+ } from "../chunk-75NQ7UBH.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -71,7 +71,7 @@ import {
71
71
  requiredMcpWildcard,
72
72
  resolveChannels,
73
73
  serializeManifestForSlackCli
74
- } from "../chunk-3BRI7LJZ.js";
74
+ } from "../chunk-4PRR22KH.js";
75
75
  import "../chunk-XWVM4KPK.js";
76
76
 
77
77
  // src/bin/agt.ts
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
4830
4830
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4831
4831
  import chalk18 from "chalk";
4832
4832
  import ora16 from "ora";
4833
- var cliVersion = true ? "0.28.505" : "dev";
4833
+ var cliVersion = true ? "0.28.507" : "dev";
4834
4834
  async function fetchLatestVersion() {
4835
4835
  const host2 = getHost();
4836
4836
  if (!host2) return null;
@@ -6002,7 +6002,7 @@ function handleError(err) {
6002
6002
  }
6003
6003
 
6004
6004
  // src/bin/agt.ts
6005
- var cliVersion2 = true ? "0.28.505" : "dev";
6005
+ var cliVersion2 = true ? "0.28.507" : "dev";
6006
6006
  var program = new Command();
6007
6007
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
6008
6008
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -9819,6 +9819,36 @@ var FLAG_REGISTRY = [
9819
9819
  // AGT_RESUME_RECONCILER_ENABLED set keeps that value until the env is retired.
9820
9820
  envVar: "AGT_RESUME_RECONCILER_ENABLED"
9821
9821
  },
9822
+ {
9823
+ key: "auto-resume-enabled",
9824
+ description: "DO NOT ARM YET (ENG-8395): this flag has no `since` set until a follow-up bisects it from the published agt-cli dist, and an unset `since` makes the flip-reach estimate report FULL reach for a reader that is host-side \u2014 it will tell you a flip reached hosts that have no code to honour it. Arm only once that follow-up has landed. Bounded BLIND auto-resume for circuit-breaker pauses (ENG-6088): at most one unattended resume per trip cycle, fired once the trip driver has been quiet for the configured window and only for provisioning-reload trips (the ENG-7577 class gate \u2014 a crash-class trip still needs an operator). Superseded wherever `resume-reconciler` is on: that path proves the dependency recovered instead of assuming it, and the blind timer is its flag-off fallback. Boolean gate; ships dark. ENG-8395 promoted this from a raw host env var because AGT_AUTO_RESUME_ENABLED lives in the host env file, so its grain is per-HOST \u2014 one flip arms every agent that host runs (agt-aws-1 carries 14), which made the canary-then-fleet rollout its own documentation prescribes impossible. As a registry flag it resolves per org/team/host/AGENT, so one agent can genuinely be cut over first. Read host-side by the manager (agt-cli), not centrally.",
9825
+ flagType: "boolean",
9826
+ // Declared safe value is `false` — identical to today's behaviour on a host
9827
+ // that has never set the env var. Fail-safe direction on a flag-DB read
9828
+ // error is "no unattended resume of a paused agent".
9829
+ defaultValue: false,
9830
+ // Migration override (ADR-0022) — KEPT, not swapped (ENG-8395 is an addition).
9831
+ // The pre-flags env gate stays the highest-precedence operator override so a
9832
+ // host already running with AGT_AUTO_RESUME_ENABLED set keeps that value, and
9833
+ // so an operator retains a host-local escape hatch that needs no control-plane
9834
+ // round-trip. Note the host reader accepts a slightly WIDER truthy vocabulary
9835
+ // than coerceEnvValue (it also honours the legacy yes/on/no/off spellings);
9836
+ // both agree on true/1/false/0, and the reader is the authority for this gate.
9837
+ envVar: "AGT_AUTO_RESUME_ENABLED",
9838
+ // An unattended resume is a real availability change — the agent starts
9839
+ // spawning sessions again with no human in the loop — so arming it is a
9840
+ // deliberate, confirmed write (ADR-0022 sensitive-flag confirm).
9841
+ sensitive: true
9842
+ // ENG-8395 AC5: `since` is deliberately UNSET at merge. It must be bisected
9843
+ // from the PUBLISHED agt-cli dist once the artifact carrying the host-side
9844
+ // reader exists, never guessed — auto-resume.ts is host-side, so an
9845
+ // under-`since` host has no consumer for this flag and a guessed value makes
9846
+ // the flip-reach modal promise reach it does not have (the defect caught on
9847
+ // ENG-8344 / PR #4014). Precedent for the bisect method: slack-hot-thread-guard
9848
+ // = 0.28.339, slack-scheduled-channel-guard = 0.28.421. Setting it later is
9849
+ // safe: `since` is excluded from projectDefinition, so it does not roll
9850
+ // FLAGS_SCHEMA_VERSION.
9851
+ },
9822
9852
  {
9823
9853
  key: "memory-extraction",
9824
9854
  description: "Host-side durable-memory extraction (ENG-6200): the manager extracts candidate memories from completed conversations and POSTs them to /host/memories/candidates, which writes dream_log via promoteCandidates. Post persistent-session cutover this is the ONLY live consolidation path. Boolean gate; ships dark \u2014 when off the manager runs no extraction, so 0 dream_log rows fleet-wide is the expected steady state until it is armed.",
@@ -10403,6 +10433,7 @@ var FLAGS_SCHEMA_VERSION = computeFlagsSchemaVersion();
10403
10433
  // ../../packages/core/dist/restart/breaker-thresholds.js
10404
10434
  var RESTART_BREAKER_PROVISIONING_MAX = 5;
10405
10435
  var RESTART_BREAKER_PROVISIONING_WINDOW_MS = 18e5;
10436
+ var RESTART_BREAKER_OPERATOR_MAX = 12;
10406
10437
  var BIND_FAILURE_QUARANTINE_THRESHOLD = deriveBindFailureQuarantineThreshold(RESTART_BREAKER_PROVISIONING_MAX);
10407
10438
  function deriveBindFailureQuarantineThreshold(provisioningMax) {
10408
10439
  return Math.max(2, provisioningMax - 2);
@@ -14755,6 +14786,7 @@ export {
14755
14786
  FLAGS_SCHEMA_VERSION,
14756
14787
  RESTART_BREAKER_PROVISIONING_MAX,
14757
14788
  RESTART_BREAKER_PROVISIONING_WINDOW_MS,
14789
+ RESTART_BREAKER_OPERATOR_MAX,
14758
14790
  BIND_FAILURE_QUARANTINE_THRESHOLD,
14759
14791
  MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING,
14760
14792
  LATE_BOUND_VARS,
@@ -14824,4 +14856,4 @@ export {
14824
14856
  stopAllSessionsAndWait,
14825
14857
  getProjectDir
14826
14858
  };
14827
- //# sourceMappingURL=chunk-3BRI7LJZ.js.map
14859
+ //# sourceMappingURL=chunk-4PRR22KH.js.map