@integrity-labs/agt-cli 0.28.1233 → 0.28.1235

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 (33) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-VGEMWYW3.js → chunk-ASJCTFLB.js} +5 -5
  3. package/dist/{chunk-3HLECXMI.js → chunk-FIGZJ6AU.js} +46 -1
  4. package/dist/{chunk-3HLECXMI.js.map → chunk-FIGZJ6AU.js.map} +1 -1
  5. package/dist/{chunk-DQEUE2X2.js → chunk-GAQFCMBK.js} +2 -2
  6. package/dist/{chunk-XXIALNTU.js → chunk-I57M57XZ.js} +89 -3
  7. package/dist/{chunk-XXIALNTU.js.map → chunk-I57M57XZ.js.map} +1 -1
  8. package/dist/{chunk-HI4JD2K2.js → chunk-VGZ2SKEW.js} +3 -3
  9. package/dist/{chunk-4FLMCHQB.js → chunk-WAWLHUCT.js} +2 -2
  10. package/dist/{claude-code-updater-UTFTOX3B.js → claude-code-updater-GXYP3Y6O.js} +3 -3
  11. package/dist/{claude-pair-runtime-DI43DJ4P.js → claude-pair-runtime-GEFCVMJA.js} +3 -3
  12. package/dist/lib/manager-worker.js +42 -24
  13. package/dist/lib/manager-worker.js.map +1 -1
  14. package/dist/mcp/direct-chat-channel.js +42 -2
  15. package/dist/mcp/index.js +47 -5
  16. package/dist/mcp/origami.js +42 -2
  17. package/dist/mcp/slack-channel.js +42 -2
  18. package/dist/mcp/telegram-channel.js +42 -2
  19. package/dist/{persistent-session-S57KHU34.js → persistent-session-VEE36NTM.js} +4 -4
  20. package/dist/{responsiveness-probe-TFPKYDPB.js → responsiveness-probe-ZPBEQOK5.js} +4 -4
  21. package/dist/{scheduler-engine-M6AFZWNU.js → scheduler-engine-5PCBGRNY.js} +8 -2
  22. package/dist/{session-auth-dead-EYJAWW46.js → session-auth-dead-HOVWVHBB.js} +3 -3
  23. package/package.json +1 -1
  24. /package/dist/{chunk-VGEMWYW3.js.map → chunk-ASJCTFLB.js.map} +0 -0
  25. /package/dist/{chunk-DQEUE2X2.js.map → chunk-GAQFCMBK.js.map} +0 -0
  26. /package/dist/{chunk-HI4JD2K2.js.map → chunk-VGZ2SKEW.js.map} +0 -0
  27. /package/dist/{chunk-4FLMCHQB.js.map → chunk-WAWLHUCT.js.map} +0 -0
  28. /package/dist/{claude-code-updater-UTFTOX3B.js.map → claude-code-updater-GXYP3Y6O.js.map} +0 -0
  29. /package/dist/{claude-pair-runtime-DI43DJ4P.js.map → claude-pair-runtime-GEFCVMJA.js.map} +0 -0
  30. /package/dist/{persistent-session-S57KHU34.js.map → persistent-session-VEE36NTM.js.map} +0 -0
  31. /package/dist/{responsiveness-probe-TFPKYDPB.js.map → responsiveness-probe-ZPBEQOK5.js.map} +0 -0
  32. /package/dist/{scheduler-engine-M6AFZWNU.js.map → scheduler-engine-5PCBGRNY.js.map} +0 -0
  33. /package/dist/{session-auth-dead-EYJAWW46.js.map → session-auth-dead-HOVWVHBB.js.map} +0 -0
@@ -37254,6 +37254,16 @@ var integration_metadata_v1_default = {
37254
37254
  enum: ["basic_username", "basic_pair", "raw"],
37255
37255
  description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
37256
37256
  },
37257
+ token_exchange: {
37258
+ type: "object",
37259
+ description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
37260
+ additionalProperties: false,
37261
+ required: ["token_url", "scope"],
37262
+ properties: {
37263
+ token_url: { type: "string", pattern: "^https://[^\\s]+$" },
37264
+ scope: { type: "string", minLength: 1 }
37265
+ }
37266
+ },
37257
37267
  runtime_scopes: {
37258
37268
  type: "object",
37259
37269
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -37314,8 +37324,13 @@ var integration_metadata_v1_default = {
37314
37324
  anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
37315
37325
  },
37316
37326
  not: {
37317
- description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
37318
- required: ["auth_scheme", "auth_encoding"]
37327
+ description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
37328
+ anyOf: [
37329
+ { required: ["auth_scheme", "auth_encoding"] },
37330
+ { required: ["token_exchange", "auth_scheme"] },
37331
+ { required: ["token_exchange", "auth_encoding"] },
37332
+ { required: ["token_exchange", "config_arg_defaults"] }
37333
+ ]
37319
37334
  },
37320
37335
  $defs: {
37321
37336
  scopeConfig: {
@@ -44979,6 +44994,12 @@ var FLAG_REGISTRY = [
44979
44994
  flagType: "boolean",
44980
44995
  defaultValue: true
44981
44996
  },
44997
+ {
44998
+ key: "pending-inbound-tiered-page",
44999
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
45000
+ flagType: "boolean",
45001
+ defaultValue: true
45002
+ },
44982
45003
  {
44983
45004
  key: "promise-outstanding-alarm",
44984
45005
  description: 'Outstanding-interim-promise alarm (ENG-8265): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm on `PromiseOutstandingOldestAgeSeconds` \u2014 an inbound the agent acknowledged with an interim reply ("on it") and never answered substantively. Closes the blind spot where an ack satisfied channel-silent-loss, refreshed pending-inbound, and left agent_stall with no in_progress card to see, so a broken promise looked like a served request. Defaults ON (armed on deploy) because the alert it opens is `info` severity \u2014 dashboard-only, never paged \u2014 so a day-one false positive costs a visible row, not a woken human. Flip OFF from the admin Feature Flags page to disarm stage-wide; the window itself is tuned with the AUGMENTED_PROMISE_OUTSTANDING_THRESHOLD_SECONDS API tunable (default 1800).',
@@ -45416,6 +45437,25 @@ var FLAG_REGISTRY = [
45416
45437
  flagType: "boolean",
45417
45438
  defaultValue: false
45418
45439
  },
45440
+ {
45441
+ key: "kanban-waiting-person-notify",
45442
+ description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
45443
+ flagType: "boolean",
45444
+ // Declared safe value is `false`, matching its assignment sibling: fail-closed
45445
+ // is the right direction for a rail that messages a human.
45446
+ //
45447
+ // This default is NOT the deploy-time behaviour, and reading it as such is the
45448
+ // trap. The accompanying migration MIRRORS human-task-assignment-notify onto
45449
+ // this key - whatever that flag's central value is, plus every one of its
45450
+ // overrides at every grain - so no org's effective behaviour changes when
45451
+ // ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
45452
+ // where the old flag has no row, the old gate resolves to `false` and nobody
45453
+ // is being messaged, so a literal `true` would ARM a rail that DMs and emails
45454
+ // real humans on a fleet that never had one. A registry default
45455
+ // renders identically to a measurement - to learn whether this is on for an
45456
+ // org, read feature_flags.value and feature_flag_overrides, never this line.
45457
+ defaultValue: false
45458
+ },
45419
45459
  {
45420
45460
  key: "resume-reconciler",
45421
45461
  description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
package/dist/mcp/index.js CHANGED
@@ -23312,6 +23312,16 @@ var integration_metadata_v1_default = {
23312
23312
  enum: ["basic_username", "basic_pair", "raw"],
23313
23313
  description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
23314
23314
  },
23315
+ token_exchange: {
23316
+ type: "object",
23317
+ description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
23318
+ additionalProperties: false,
23319
+ required: ["token_url", "scope"],
23320
+ properties: {
23321
+ token_url: { type: "string", pattern: "^https://[^\\s]+$" },
23322
+ scope: { type: "string", minLength: 1 }
23323
+ }
23324
+ },
23315
23325
  runtime_scopes: {
23316
23326
  type: "object",
23317
23327
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -23372,8 +23382,13 @@ var integration_metadata_v1_default = {
23372
23382
  anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
23373
23383
  },
23374
23384
  not: {
23375
- description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
23376
- required: ["auth_scheme", "auth_encoding"]
23385
+ description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
23386
+ anyOf: [
23387
+ { required: ["auth_scheme", "auth_encoding"] },
23388
+ { required: ["token_exchange", "auth_scheme"] },
23389
+ { required: ["token_exchange", "auth_encoding"] },
23390
+ { required: ["token_exchange", "config_arg_defaults"] }
23391
+ ]
23377
23392
  },
23378
23393
  $defs: {
23379
23394
  scopeConfig: {
@@ -30661,6 +30676,12 @@ var FLAG_REGISTRY = [
30661
30676
  flagType: "boolean",
30662
30677
  defaultValue: true
30663
30678
  },
30679
+ {
30680
+ key: "pending-inbound-tiered-page",
30681
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
30682
+ flagType: "boolean",
30683
+ defaultValue: true
30684
+ },
30664
30685
  {
30665
30686
  key: "promise-outstanding-alarm",
30666
30687
  description: 'Outstanding-interim-promise alarm (ENG-8265): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm on `PromiseOutstandingOldestAgeSeconds` \u2014 an inbound the agent acknowledged with an interim reply ("on it") and never answered substantively. Closes the blind spot where an ack satisfied channel-silent-loss, refreshed pending-inbound, and left agent_stall with no in_progress card to see, so a broken promise looked like a served request. Defaults ON (armed on deploy) because the alert it opens is `info` severity \u2014 dashboard-only, never paged \u2014 so a day-one false positive costs a visible row, not a woken human. Flip OFF from the admin Feature Flags page to disarm stage-wide; the window itself is tuned with the AUGMENTED_PROMISE_OUTSTANDING_THRESHOLD_SECONDS API tunable (default 1800).',
@@ -31098,6 +31119,25 @@ var FLAG_REGISTRY = [
31098
31119
  flagType: "boolean",
31099
31120
  defaultValue: false
31100
31121
  },
31122
+ {
31123
+ key: "kanban-waiting-person-notify",
31124
+ description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
31125
+ flagType: "boolean",
31126
+ // Declared safe value is `false`, matching its assignment sibling: fail-closed
31127
+ // is the right direction for a rail that messages a human.
31128
+ //
31129
+ // This default is NOT the deploy-time behaviour, and reading it as such is the
31130
+ // trap. The accompanying migration MIRRORS human-task-assignment-notify onto
31131
+ // this key - whatever that flag's central value is, plus every one of its
31132
+ // overrides at every grain - so no org's effective behaviour changes when
31133
+ // ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
31134
+ // where the old flag has no row, the old gate resolves to `false` and nobody
31135
+ // is being messaged, so a literal `true` would ARM a rail that DMs and emails
31136
+ // real humans on a fleet that never had one. A registry default
31137
+ // renders identically to a measurement - to learn whether this is on for an
31138
+ // org, read feature_flags.value and feature_flag_overrides, never this line.
31139
+ defaultValue: false
31140
+ },
31101
31141
  {
31102
31142
  key: "resume-reconciler",
31103
31143
  description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
@@ -48863,12 +48903,14 @@ function renderKanbanParkedAct(data, token = newFrameToken()) {
48863
48903
  close: "Closed",
48864
48904
  reassign: "Reassigned",
48865
48905
  escalate: "Escalated",
48866
- reopen: "Reopened"
48906
+ reopen: "Reopened",
48907
+ restart: "Requested a restart of the owner of"
48867
48908
  };
48868
48909
  const released = data.action === "close" && data.from_status === "in_progress";
48869
48910
  const lines = [
48870
48911
  `${released ? "Released" : verb[data.action ?? ""] ?? "Changed"} card ${data.id ?? ""}: ${data.from_status ?? "?"} -> ${data.status ?? "?"}.`,
48871
48912
  ...released ? ["A released in-progress card cannot be reopened with this tool."] : [],
48913
+ ...data.action === "restart" ? ["The card itself is unchanged. The host carries out the restart when it next picks up the request, so this is not yet proof it happened: check the owner's session with agent_session_status. This agent cannot be restarted again for an hour."] : [],
48872
48914
  frameCardText(`title: ${oneLine(data.title ?? "")}`, "whoever filed the card", token),
48873
48915
  data.owner_notified ? "The owning agent was told." : "The owning agent could NOT be told: tell it yourself."
48874
48916
  ];
@@ -51277,11 +51319,11 @@ server.tool(
51277
51319
  );
51278
51320
  server.tool(
51279
51321
  "kanban_parked_act",
51280
- 'Act on ONE card belonging to an agent that reports directly to you: a parked card (needs_attention or waiting), or an ORPHANED in_progress card (its owner has been idle or killed for 30+ minutes since its last completed turn, with nothing logged or progressed on the card since), or a todo/backlog card to reassign. close: the card is dead, or (in_progress) released so its owner stops holding it. It becomes failed with your reason, nobody is told it completed, and a linked ticket is not touched. reassign: move it to another agent on your team (new_owner), keeping its column. escalate: park a parked card on a named person (person_id from directory_lookup), who is notified; the owner keeps the card. reopen: undo your last close, reassign or escalate on this card, restoring what it replaced. A released in_progress card cannot be reopened. Check a linked ticket or PR yourself before closing: this tool does not look it up. A reason is required, the owning agent is told, and every call is audited. Refused for done and failed cards, for an in_progress card whose owner may still be working it (mid-turn, blocked on a prompt, background work running or unknown, not reporting, or active in the last 30 minutes), for cards parked on a pending approval, for any agent that does not report directly to you, and for a manager-only agent. Use kanban_parked first to get the card id (column "active" lists in_progress, todo and backlog).',
51322
+ 'Act on ONE card belonging to an agent that reports directly to you: a parked card (needs_attention or waiting), or an ORPHANED in_progress card (its owner has been idle or killed for 30+ minutes since its last completed turn, with nothing logged or progressed on the card since), or a todo/backlog card to reassign. close: the card is dead, or (in_progress) released so its owner stops holding it. It becomes failed with your reason, nobody is told it completed, and a linked ticket is not touched. reassign: move it to another agent on your team (new_owner), keeping its column. escalate: park a parked card on a named person (person_id from directory_lookup), who is notified; the owner keeps the card. restart: restart the owner of an orphaned in_progress card, in an internal organization only: it must be idle at its prompt with nothing running in the background, at most once per agent per hour. The card is left as it is. reopen: undo your last close, reassign or escalate on this card, restoring what it replaced. A released in_progress card cannot be reopened. Check a linked ticket or PR yourself before closing: this tool does not look it up. A reason is required, the owning agent is told, and every call is audited. Refused for done and failed cards, for an in_progress card whose owner may still be working it (mid-turn, blocked on a prompt, background work running or unknown, not reporting, or active in the last 30 minutes), for cards parked on a pending approval, for any agent that does not report directly to you, and for a manager-only agent. Use kanban_parked first to get the card id (column "active" lists in_progress, todo and backlog).',
51281
51323
  {
51282
51324
  target_agent: external_exports.string().describe("The agent that reports to you and holds the card: code_name (kebab-case) or agent UUID."),
51283
51325
  card_id: external_exports.string().uuid().describe("The card id, from kanban_parked."),
51284
- action: external_exports.enum(["close", "reassign", "escalate", "reopen"]).describe("What to do with the card."),
51326
+ action: external_exports.enum(["close", "reassign", "escalate", "reopen", "restart"]).describe("What to do with the card."),
51285
51327
  reason: external_exports.string().trim().min(1, "reason is required").max(2e3, "reason is too long").describe(
51286
51328
  'Why, for whoever reads this card later. On escalate it is what the person is asked to do, so write it as a request ("confirm the refund was issued").'
51287
51329
  ),
@@ -37177,6 +37177,16 @@ var integration_metadata_v1_default = {
37177
37177
  enum: ["basic_username", "basic_pair", "raw"],
37178
37178
  description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
37179
37179
  },
37180
+ token_exchange: {
37181
+ type: "object",
37182
+ description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
37183
+ additionalProperties: false,
37184
+ required: ["token_url", "scope"],
37185
+ properties: {
37186
+ token_url: { type: "string", pattern: "^https://[^\\s]+$" },
37187
+ scope: { type: "string", minLength: 1 }
37188
+ }
37189
+ },
37180
37190
  runtime_scopes: {
37181
37191
  type: "object",
37182
37192
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -37237,8 +37247,13 @@ var integration_metadata_v1_default = {
37237
37247
  anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
37238
37248
  },
37239
37249
  not: {
37240
- description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
37241
- required: ["auth_scheme", "auth_encoding"]
37250
+ description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
37251
+ anyOf: [
37252
+ { required: ["auth_scheme", "auth_encoding"] },
37253
+ { required: ["token_exchange", "auth_scheme"] },
37254
+ { required: ["token_exchange", "auth_encoding"] },
37255
+ { required: ["token_exchange", "config_arg_defaults"] }
37256
+ ]
37242
37257
  },
37243
37258
  $defs: {
37244
37259
  scopeConfig: {
@@ -44463,6 +44478,12 @@ var FLAG_REGISTRY = [
44463
44478
  flagType: "boolean",
44464
44479
  defaultValue: true
44465
44480
  },
44481
+ {
44482
+ key: "pending-inbound-tiered-page",
44483
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
44484
+ flagType: "boolean",
44485
+ defaultValue: true
44486
+ },
44466
44487
  {
44467
44488
  key: "promise-outstanding-alarm",
44468
44489
  description: 'Outstanding-interim-promise alarm (ENG-8265): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm on `PromiseOutstandingOldestAgeSeconds` \u2014 an inbound the agent acknowledged with an interim reply ("on it") and never answered substantively. Closes the blind spot where an ack satisfied channel-silent-loss, refreshed pending-inbound, and left agent_stall with no in_progress card to see, so a broken promise looked like a served request. Defaults ON (armed on deploy) because the alert it opens is `info` severity \u2014 dashboard-only, never paged \u2014 so a day-one false positive costs a visible row, not a woken human. Flip OFF from the admin Feature Flags page to disarm stage-wide; the window itself is tuned with the AUGMENTED_PROMISE_OUTSTANDING_THRESHOLD_SECONDS API tunable (default 1800).',
@@ -44900,6 +44921,25 @@ var FLAG_REGISTRY = [
44900
44921
  flagType: "boolean",
44901
44922
  defaultValue: false
44902
44923
  },
44924
+ {
44925
+ key: "kanban-waiting-person-notify",
44926
+ description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
44927
+ flagType: "boolean",
44928
+ // Declared safe value is `false`, matching its assignment sibling: fail-closed
44929
+ // is the right direction for a rail that messages a human.
44930
+ //
44931
+ // This default is NOT the deploy-time behaviour, and reading it as such is the
44932
+ // trap. The accompanying migration MIRRORS human-task-assignment-notify onto
44933
+ // this key - whatever that flag's central value is, plus every one of its
44934
+ // overrides at every grain - so no org's effective behaviour changes when
44935
+ // ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
44936
+ // where the old flag has no row, the old gate resolves to `false` and nobody
44937
+ // is being messaged, so a literal `true` would ARM a rail that DMs and emails
44938
+ // real humans on a fleet that never had one. A registry default
44939
+ // renders identically to a measurement - to learn whether this is on for an
44940
+ // org, read feature_flags.value and feature_flag_overrides, never this line.
44941
+ defaultValue: false
44942
+ },
44903
44943
  {
44904
44944
  key: "resume-reconciler",
44905
44945
  description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
@@ -31873,6 +31873,16 @@ var integration_metadata_v1_default = {
31873
31873
  enum: ["basic_username", "basic_pair", "raw"],
31874
31874
  description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
31875
31875
  },
31876
+ token_exchange: {
31877
+ type: "object",
31878
+ description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
31879
+ additionalProperties: false,
31880
+ required: ["token_url", "scope"],
31881
+ properties: {
31882
+ token_url: { type: "string", pattern: "^https://[^\\s]+$" },
31883
+ scope: { type: "string", minLength: 1 }
31884
+ }
31885
+ },
31876
31886
  runtime_scopes: {
31877
31887
  type: "object",
31878
31888
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -31933,8 +31943,13 @@ var integration_metadata_v1_default = {
31933
31943
  anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
31934
31944
  },
31935
31945
  not: {
31936
- description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
31937
- required: ["auth_scheme", "auth_encoding"]
31946
+ description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
31947
+ anyOf: [
31948
+ { required: ["auth_scheme", "auth_encoding"] },
31949
+ { required: ["token_exchange", "auth_scheme"] },
31950
+ { required: ["token_exchange", "auth_encoding"] },
31951
+ { required: ["token_exchange", "config_arg_defaults"] }
31952
+ ]
31938
31953
  },
31939
31954
  $defs: {
31940
31955
  scopeConfig: {
@@ -39318,6 +39333,12 @@ var FLAG_REGISTRY = [
39318
39333
  flagType: "boolean",
39319
39334
  defaultValue: true
39320
39335
  },
39336
+ {
39337
+ key: "pending-inbound-tiered-page",
39338
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
39339
+ flagType: "boolean",
39340
+ defaultValue: true
39341
+ },
39321
39342
  {
39322
39343
  key: "promise-outstanding-alarm",
39323
39344
  description: 'Outstanding-interim-promise alarm (ENG-8265): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm on `PromiseOutstandingOldestAgeSeconds` \u2014 an inbound the agent acknowledged with an interim reply ("on it") and never answered substantively. Closes the blind spot where an ack satisfied channel-silent-loss, refreshed pending-inbound, and left agent_stall with no in_progress card to see, so a broken promise looked like a served request. Defaults ON (armed on deploy) because the alert it opens is `info` severity \u2014 dashboard-only, never paged \u2014 so a day-one false positive costs a visible row, not a woken human. Flip OFF from the admin Feature Flags page to disarm stage-wide; the window itself is tuned with the AUGMENTED_PROMISE_OUTSTANDING_THRESHOLD_SECONDS API tunable (default 1800).',
@@ -39755,6 +39776,25 @@ var FLAG_REGISTRY = [
39755
39776
  flagType: "boolean",
39756
39777
  defaultValue: false
39757
39778
  },
39779
+ {
39780
+ key: "kanban-waiting-person-notify",
39781
+ description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
39782
+ flagType: "boolean",
39783
+ // Declared safe value is `false`, matching its assignment sibling: fail-closed
39784
+ // is the right direction for a rail that messages a human.
39785
+ //
39786
+ // This default is NOT the deploy-time behaviour, and reading it as such is the
39787
+ // trap. The accompanying migration MIRRORS human-task-assignment-notify onto
39788
+ // this key - whatever that flag's central value is, plus every one of its
39789
+ // overrides at every grain - so no org's effective behaviour changes when
39790
+ // ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
39791
+ // where the old flag has no row, the old gate resolves to `false` and nobody
39792
+ // is being messaged, so a literal `true` would ARM a rail that DMs and emails
39793
+ // real humans on a fleet that never had one. A registry default
39794
+ // renders identically to a measurement - to learn whether this is on for an
39795
+ // org, read feature_flags.value and feature_flag_overrides, never this line.
39796
+ defaultValue: false
39797
+ },
39758
39798
  {
39759
39799
  key: "resume-reconciler",
39760
39800
  description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
@@ -32070,6 +32070,16 @@ var integration_metadata_v1_default = {
32070
32070
  enum: ["basic_username", "basic_pair", "raw"],
32071
32071
  description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
32072
32072
  },
32073
+ token_exchange: {
32074
+ type: "object",
32075
+ description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
32076
+ additionalProperties: false,
32077
+ required: ["token_url", "scope"],
32078
+ properties: {
32079
+ token_url: { type: "string", pattern: "^https://[^\\s]+$" },
32080
+ scope: { type: "string", minLength: 1 }
32081
+ }
32082
+ },
32073
32083
  runtime_scopes: {
32074
32084
  type: "object",
32075
32085
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -32130,8 +32140,13 @@ var integration_metadata_v1_default = {
32130
32140
  anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
32131
32141
  },
32132
32142
  not: {
32133
- description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
32134
- required: ["auth_scheme", "auth_encoding"]
32143
+ description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
32144
+ anyOf: [
32145
+ { required: ["auth_scheme", "auth_encoding"] },
32146
+ { required: ["token_exchange", "auth_scheme"] },
32147
+ { required: ["token_exchange", "auth_encoding"] },
32148
+ { required: ["token_exchange", "config_arg_defaults"] }
32149
+ ]
32135
32150
  },
32136
32151
  $defs: {
32137
32152
  scopeConfig: {
@@ -39509,6 +39524,12 @@ var FLAG_REGISTRY = [
39509
39524
  flagType: "boolean",
39510
39525
  defaultValue: true
39511
39526
  },
39527
+ {
39528
+ key: "pending-inbound-tiered-page",
39529
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
39530
+ flagType: "boolean",
39531
+ defaultValue: true
39532
+ },
39512
39533
  {
39513
39534
  key: "promise-outstanding-alarm",
39514
39535
  description: 'Outstanding-interim-promise alarm (ENG-8265): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm on `PromiseOutstandingOldestAgeSeconds` \u2014 an inbound the agent acknowledged with an interim reply ("on it") and never answered substantively. Closes the blind spot where an ack satisfied channel-silent-loss, refreshed pending-inbound, and left agent_stall with no in_progress card to see, so a broken promise looked like a served request. Defaults ON (armed on deploy) because the alert it opens is `info` severity \u2014 dashboard-only, never paged \u2014 so a day-one false positive costs a visible row, not a woken human. Flip OFF from the admin Feature Flags page to disarm stage-wide; the window itself is tuned with the AUGMENTED_PROMISE_OUTSTANDING_THRESHOLD_SECONDS API tunable (default 1800).',
@@ -39946,6 +39967,25 @@ var FLAG_REGISTRY = [
39946
39967
  flagType: "boolean",
39947
39968
  defaultValue: false
39948
39969
  },
39970
+ {
39971
+ key: "kanban-waiting-person-notify",
39972
+ description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
39973
+ flagType: "boolean",
39974
+ // Declared safe value is `false`, matching its assignment sibling: fail-closed
39975
+ // is the right direction for a rail that messages a human.
39976
+ //
39977
+ // This default is NOT the deploy-time behaviour, and reading it as such is the
39978
+ // trap. The accompanying migration MIRRORS human-task-assignment-notify onto
39979
+ // this key - whatever that flag's central value is, plus every one of its
39980
+ // overrides at every grain - so no org's effective behaviour changes when
39981
+ // ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
39982
+ // where the old flag has no row, the old gate resolves to `false` and nobody
39983
+ // is being messaged, so a literal `true` would ARM a rail that DMs and emails
39984
+ // real humans on a fleet that never had one. A registry default
39985
+ // renders identically to a measurement - to learn whether this is on for an
39986
+ // org, read feature_flags.value and feature_flag_overrides, never this line.
39987
+ defaultValue: false
39988
+ },
39949
39989
  {
39950
39990
  key: "resume-reconciler",
39951
39991
  description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
@@ -68,12 +68,12 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-HI4JD2K2.js";
72
- import "./chunk-4FLMCHQB.js";
71
+ } from "./chunk-VGZ2SKEW.js";
72
+ import "./chunk-WAWLHUCT.js";
73
73
  import "./chunk-HYQ7VOC3.js";
74
74
  import "./chunk-6HBXEJHO.js";
75
75
  import "./chunk-XWVM4KPK.js";
76
- import "./chunk-XXIALNTU.js";
76
+ import "./chunk-I57M57XZ.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-S57KHU34.js.map
150
+ //# sourceMappingURL=persistent-session-VEE36NTM.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-HI4JD2K2.js";
4
- import "./chunk-4FLMCHQB.js";
3
+ } from "./chunk-VGZ2SKEW.js";
4
+ import "./chunk-WAWLHUCT.js";
5
5
  import "./chunk-HYQ7VOC3.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-XXIALNTU.js";
8
+ import "./chunk-I57M57XZ.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-TFPKYDPB.js.map
807
+ //# sourceMappingURL=responsiveness-probe-ZPBEQOK5.js.map
@@ -1,5 +1,8 @@
1
1
  import {
2
+ CATCH_UP_MIN_LATENESS_MS,
3
+ catchUpNote,
2
4
  computeNextFire,
5
+ describeCatchUp,
3
6
  findTaskByTemplate,
4
7
  getProjectDir,
5
8
  getReadyTasks,
@@ -7,10 +10,13 @@ import {
7
10
  markTaskFired,
8
11
  saveSchedulerState,
9
12
  syncTasksToScheduler
10
- } from "./chunk-3HLECXMI.js";
13
+ } from "./chunk-FIGZJ6AU.js";
11
14
  import "./chunk-DGUM43GV.js";
12
15
  export {
16
+ CATCH_UP_MIN_LATENESS_MS,
17
+ catchUpNote,
13
18
  computeNextFire,
19
+ describeCatchUp,
14
20
  findTaskByTemplate,
15
21
  getProjectDir,
16
22
  getReadyTasks,
@@ -19,4 +25,4 @@ export {
19
25
  saveSchedulerState,
20
26
  syncTasksToScheduler
21
27
  };
22
- //# sourceMappingURL=scheduler-engine-M6AFZWNU.js.map
28
+ //# sourceMappingURL=scheduler-engine-5PCBGRNY.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-4FLMCHQB.js";
4
- import "./chunk-XXIALNTU.js";
3
+ } from "./chunk-WAWLHUCT.js";
4
+ import "./chunk-I57M57XZ.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-EYJAWW46.js.map
208
+ //# sourceMappingURL=session-auth-dead-HOVWVHBB.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1233",
3
+ "version": "0.28.1235",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {