@integrity-labs/agt-cli 0.28.721 → 0.28.723

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 (24) hide show
  1. package/dist/bin/agt.js +15 -7
  2. package/dist/bin/agt.js.map +1 -1
  3. package/dist/{chunk-KCWKZIQT.js → chunk-ABM45AFN.js} +8 -4
  4. package/dist/{chunk-KCWKZIQT.js.map → chunk-ABM45AFN.js.map} +1 -1
  5. package/dist/{chunk-E3WGN4GX.js → chunk-ATJU3SDV.js} +2 -2
  6. package/dist/{chunk-32WU3HBU.js → chunk-IXGIGDJG.js} +22 -1
  7. package/dist/chunk-IXGIGDJG.js.map +1 -0
  8. package/dist/{claude-pair-runtime-EKP2KR6N.js → claude-pair-runtime-XWPOUQMP.js} +2 -2
  9. package/dist/lib/manager-worker.js +13 -13
  10. package/dist/mcp/direct-chat-channel.js +21 -0
  11. package/dist/mcp/index.js +21 -0
  12. package/dist/mcp/origami.js +21 -0
  13. package/dist/mcp/slack-channel.js +21 -0
  14. package/dist/mcp/telegram-channel.js +86 -0
  15. package/dist/{persistent-session-7NXQBNZB.js → persistent-session-CEC5KESY.js} +3 -3
  16. package/dist/{responsiveness-probe-UDFTVXOW.js → responsiveness-probe-J3VB4U4W.js} +3 -3
  17. package/dist/{session-auth-dead-DQW6NXDX.js → session-auth-dead-YQHE3WKV.js} +2 -2
  18. package/package.json +1 -1
  19. package/dist/chunk-32WU3HBU.js.map +0 -1
  20. /package/dist/{chunk-E3WGN4GX.js.map → chunk-ATJU3SDV.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-EKP2KR6N.js.map → claude-pair-runtime-XWPOUQMP.js.map} +0 -0
  22. /package/dist/{persistent-session-7NXQBNZB.js.map → persistent-session-CEC5KESY.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-UDFTVXOW.js.map → responsiveness-probe-J3VB4U4W.js.map} +0 -0
  24. /package/dist/{session-auth-dead-DQW6NXDX.js.map → session-auth-dead-YQHE3WKV.js.map} +0 -0
@@ -17,7 +17,7 @@ import {
17
17
  rotateDailySession,
18
18
  sessionFileExists,
19
19
  todayLocalIso
20
- } from "./chunk-32WU3HBU.js";
20
+ } from "./chunk-IXGIGDJG.js";
21
21
  import {
22
22
  reapOrphanChannelMcps
23
23
  } from "./chunk-XWVM4KPK.js";
@@ -4694,4 +4694,4 @@ export {
4694
4694
  stopAllSessionsAndWait,
4695
4695
  getProjectDir
4696
4696
  };
4697
- //# sourceMappingURL=chunk-E3WGN4GX.js.map
4697
+ //# sourceMappingURL=chunk-ATJU3SDV.js.map
@@ -5476,6 +5476,27 @@ var FLAG_REGISTRY = [
5476
5476
  // carrying an inert enforce-level email.require_approval row are NOT armed on deploy.
5477
5477
  newOrgOverride: true
5478
5478
  },
5479
+ {
5480
+ key: "mail-rule-control-enforcement",
5481
+ description: "Enforcement gate for the `email.mail_rules` guardrail (ENG-9640). A mail RULE is not a send: the agent installs a standing server-side instruction and the PROVIDER acts on it from then on \u2014 on mail that has not arrived yet, after the session ends, after the agent is paused or revoked, and after the integration is disconnected. So no fix to the send registry can reach it (ENG-9607 / ENG-9633 both closed the send surface), and before this guardrail NOTHING read the five rule-mutation tools at all. When ON for an org, a rule mutation whose classified disposition is held (egress / suppression / opaque) routes to Human Approval; a label-only filter passes untouched, which is what keeps the control from becoming a click-through. Deliberately separate from the guardrail row, for the ENG-9611 reason one step earlier: `email.mail_rules` is `default_for_new_orgs`, and org seeding writes those rows at `enforcement: 'enforce'`, so reading the row alone would arm a brand-new blocking control on deploy for every org created after it lands. Evaluated per-org. Ships dark.",
5482
+ flagType: "boolean",
5483
+ // Declared safe value is `false` (no hold). A flag-DB read error degrades here, matching
5484
+ // `email-require-approval-enforcement`: a control that cannot verify itself must not start
5485
+ // holding real customer traffic. Note this is the opposite of the CLASSIFIER's posture
5486
+ // inside mail-rule-tools.ts, which fails CLOSED on an unreadable rule — the two are
5487
+ // consistent, not contradictory. The classifier answers "is this rule dangerous?" and
5488
+ // resolves doubt towards held; the flag answers "is this org opted in at all?" and an
5489
+ // infrastructure blip is not an opt-in.
5490
+ defaultValue: false,
5491
+ // Turning it on holds real customer mail-rule changes pending a human tap, so it is a
5492
+ // deliberate, audited per-org flip (ADR-0022 §4).
5493
+ sensitive: true
5494
+ // NO newOrgOverride, unlike email-require-approval-enforcement. That flag armed new orgs
5495
+ // because its guardrail row had already sat inert for ~4 months, so the behaviour was
5496
+ // known. This control is net-new with no soak: arming it for every new org on deploy would
5497
+ // put a first-of-its-kind classifier in front of real customer traffic with nothing
5498
+ // observed. Arm per-org, then revisit once there is evidence.
5499
+ },
5479
5500
  {
5480
5501
  key: "email-guard-require-approval-enabled",
5481
5502
  description: "Platform enable-gate for the email-domain guardrail REQUIRE_APPROVAL stage (ENG-7939). When ON for an org, a scope at email_guard_stage=require_approval routes a send to a non-allowed domain into Human Approval (an Approve/Deny card) instead of a hard block: the rollout UI unlocks the option and the write routes accept require_approval. When OFF (default) the write routes reject require_approval and the UI shows it as not yet available, so no scope can select it. Structurally also depends on hitl-approval-routing being on (the approval broker fails closed to a hard block when routing is off). Evaluated per-org. Ships dark.",
@@ -12966,4 +12987,4 @@ export {
12966
12987
  peekCurrentSession,
12967
12988
  readDailySessionPin
12968
12989
  };
12969
- //# sourceMappingURL=chunk-32WU3HBU.js.map
12990
+ //# sourceMappingURL=chunk-IXGIGDJG.js.map