@integrity-labs/agt-cli 0.28.568 → 0.28.570

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.
@@ -10437,6 +10437,21 @@ var FLAG_REGISTRY = [
10437
10437
  defaultValue: false,
10438
10438
  public: true
10439
10439
  },
10440
+ {
10441
+ key: "direct-chat-per-user",
10442
+ description: "Scope a STANDARD agent's Direct Chat to the user who had the conversation (ENG-8712). Today two teammates who open the same agent land in the same thread and read each other's messages: the /recent and per-session reads carry no user predicate unless the agent is the per-org system_support concierge. When on, both reads return only sessions the requester authored in PLUS sessions no user has authored in \u2014 the second arm is load-bearing, since every server-originated row (kanban and scheduled-task nudges, integration failures, HITL approvals, degradation alerts) is written as role=user with no user_id and would otherwise vanish from every console (ENG-8431). Does NOT make the thread private in the live direction: assistant replies still fan out on the per-TEAM realtime topic direct-chat-agent:{agentId}, so a teammate holding the drawer open still receives them. Narrowing that topic is follow-up work.",
10443
+ flagType: "boolean",
10444
+ // Declared safe value is `false` — today's team-wide thread. Server-side only
10445
+ // (the two reads in routes/agents.ts); the browser needs no knowledge of it,
10446
+ // so NOT public. No envVar either: this is an org/team-scoped rollout gate
10447
+ // with no host-side consumer, and a declared envVar pinned in sst.config.ts
10448
+ // would make every admin-UI override unreachable (ENG-8303).
10449
+ //
10450
+ // A rollout device, not an undo. Flipping it back off restores the wider read,
10451
+ // but any message written while it was on was still written — and the legacy
10452
+ // backfill in migration 20260812000006 is not reversed by the flag.
10453
+ defaultValue: false
10454
+ },
10440
10455
  {
10441
10456
  key: "onboarding-auto-deploy",
10442
10457
  description: `Auto-deploy the first agent during onboarding (ENG-7378): the agent edit page's Deploy & Test tab fires the existing deploy (draft -> active) automatically once the agent's host is fully deployed (active + manager heartbeating, not provisioning) AND Claude-authenticated (claude_auth_status=valid), replacing the manual "Deploy Agent" click in the recruit funnel. Only draft, non-system_support agents; a failed or timed-out attempt falls back to the manual button (no auto-retry loop).`,
@@ -10597,21 +10612,37 @@ var FLAG_REGISTRY = [
10597
10612
  // by a hand-written process.env gate — so check-new-env-gates.sh stays quiet
10598
10613
  // and the escape hatch still exists for a per-host canary.
10599
10614
  envVar: "AGT_TOOL_CALL_AUDIT_ENABLED",
10600
- // PLACEHOLDER, deliberately unreachable see the identical treatment on
10601
- // `github-broker-credentials` below for the full reasoning. `since` is
10602
- // advisory: it is read only by computeFlagReach behind GET /admin/reach, so
10603
- // it changes what an operator is TOLD and does not itself stop a flip.
10615
+ // The real published version, replacing the deliberately-unreachable
10616
+ // placeholder this flag shipped with. `since` is advisory: it is read only
10617
+ // by computeFlagReach behind GET /flags/admin/reach?key=…, so it changes what an
10618
+ // operator is TOLD and does not itself stop a flip. Omitting it is NOT the
10619
+ // safe default — it resolves to `honors`, reporting every host as honouring
10620
+ // the flip, including hosts whose agt-cli has no reader at all.
10604
10621
  //
10605
- // The host-side reader ships in whichever agt-cli patch the auto-publish
10606
- // cuts after this merges, and that number cannot be known while writing
10607
- // this line. Omitting `since` is NOT the safe default here: it resolves to
10608
- // `honors`, reporting every host as honouring the flip — including hosts
10609
- // whose agt-cli has no reader at all. An unreachable value reports `stale`
10610
- // instead: conservative, and visibly wrong rather than invisibly wrong.
10622
+ // WHAT THIS VERSION HAS TO MEAN. Not "the first build with a reader" — the
10623
+ // first build where flipping the flag does what the flag is documented to
10624
+ // do. Those diverged twice already, in the same direction:
10611
10625
  //
10612
- // BEFORE THIS FLAG IS FLIPPED ANYWHERE: replace this with the first
10613
- // published agt-cli version containing `maybeScanToolCalls`.
10614
- since: "0.29.0"
10626
+ // 0.28.566 (ENG-8575) the first build with a reader. Pinned here and
10627
+ // correct on the day. It has the unbounded scan window and the coverage
10628
+ // rows that overstate (both ENG-8740), and no `logging_mode` enforcement
10629
+ // at all (ENG-8726) — so a hash-only agent on it emits plaintext
10630
+ // `argv0` / `url_host` / `mcp_tool`, which is precisely the governance
10631
+ // breach this epic exists to prevent.
10632
+ // 0.28.569 (ENG-8740) — bounded window, honest coverage intervals. Still
10633
+ // no hash-only enforcement. The pin was NOT moved at that merge and went
10634
+ // stale for a day; reach reported those hosts `honors`.
10635
+ // 0.28.570 (ENG-8726) — hash-only honoured at runtime. Current pin.
10636
+ //
10637
+ // MOVE THIS PIN whenever a change alters what arming the flag DOES on a
10638
+ // host, and verify it against the published tarball rather than inferring it
10639
+ // from the merge — `npm pack @integrity-labs/agt-cli@<v>` and grep
10640
+ // package/dist/lib/manager-worker.js (the manager is the actual reader; the
10641
+ // dist/mcp/* occurrences are bundling artifacts). For 0.28.570 the markers
10642
+ // are `readAgentLoggingMode` and `loggingModeWithholdsTargets`. Auto-publish
10643
+ // patch-bumps from whatever is on main, so if another CLI-touching PR lands
10644
+ // first the real cut is higher than this and the pin under-reports.
10645
+ since: "0.28.570"
10615
10646
  },
10616
10647
  {
10617
10648
  key: "conversation-eval-backend",
@@ -11207,7 +11238,7 @@ var FLAG_REGISTRY = [
11207
11238
  // has no basis for. That is the intended pre-bisect state.
11208
11239
  //
11209
11240
  // BUT `since` IS ADVISORY, NOT A GUARD. It is read in exactly one place -
11210
- // `computeFlagReach` behind GET /admin/reach, which renders the flip-reach
11241
+ // `computeFlagReach` behind GET /flags/admin/reach?key=…, which renders the flip-reach
11211
11242
  // modal. `evaluate.ts` never reads it and neither does the override write
11212
11243
  // path. The placeholder therefore changes what an operator is TOLD; it does
11213
11244
  // not stop a flip on an under-`since` host. What actually holds the line
@@ -15801,4 +15832,4 @@ export {
15801
15832
  stopAllSessionsAndWait,
15802
15833
  getProjectDir
15803
15834
  };
15804
- //# sourceMappingURL=chunk-FSWAPB5J.js.map
15835
+ //# sourceMappingURL=chunk-6XCGZUSS.js.map