@integrity-labs/agt-cli 0.28.966 → 0.28.968

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 (25) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-STTM33M5.js → chunk-EOBOL6AF.js} +4 -4
  3. package/dist/chunk-EOBOL6AF.js.map +1 -0
  4. package/dist/{chunk-K2VDNAD2.js → chunk-NNLFFHCB.js} +2 -2
  5. package/dist/{chunk-V73S7OXI.js → chunk-R5G7EUJS.js} +20 -6
  6. package/dist/{chunk-V73S7OXI.js.map → chunk-R5G7EUJS.js.map} +1 -1
  7. package/dist/{claude-pair-runtime-ICRPR6QQ.js → claude-pair-runtime-MF7I4FNM.js} +2 -2
  8. package/dist/lib/manager-worker.js +16 -18
  9. package/dist/lib/manager-worker.js.map +1 -1
  10. package/dist/mcp/direct-chat-channel.js +1 -1
  11. package/dist/mcp/index.js +1 -1
  12. package/dist/mcp/origami.js +1 -1
  13. package/dist/mcp/slack-channel.js +3 -5
  14. package/dist/mcp/teams-channel.js +2 -4
  15. package/dist/mcp/telegram-channel.js +1 -1
  16. package/dist/{persistent-session-6C3XIT5F.js → persistent-session-G3YBVYJI.js} +3 -3
  17. package/dist/{responsiveness-probe-22RREUHV.js → responsiveness-probe-CUMOVJG2.js} +3 -3
  18. package/dist/{session-auth-dead-IOBL2YXT.js → session-auth-dead-XU6S3ZAU.js} +2 -2
  19. package/package.json +1 -1
  20. package/dist/chunk-STTM33M5.js.map +0 -1
  21. /package/dist/{chunk-K2VDNAD2.js.map → chunk-NNLFFHCB.js.map} +0 -0
  22. /package/dist/{claude-pair-runtime-ICRPR6QQ.js.map → claude-pair-runtime-MF7I4FNM.js.map} +0 -0
  23. /package/dist/{persistent-session-6C3XIT5F.js.map → persistent-session-G3YBVYJI.js.map} +0 -0
  24. /package/dist/{responsiveness-probe-22RREUHV.js.map → responsiveness-probe-CUMOVJG2.js.map} +0 -0
  25. /package/dist/{session-auth-dead-IOBL2YXT.js.map → session-auth-dead-XU6S3ZAU.js.map} +0 -0
@@ -20,7 +20,7 @@ import {
20
20
  rotateDailySession,
21
21
  sessionFileExists,
22
22
  todayLocalIso
23
- } from "./chunk-V73S7OXI.js";
23
+ } from "./chunk-R5G7EUJS.js";
24
24
  import {
25
25
  classifyUnanswerablePane,
26
26
  findUsageLimitResetHint,
@@ -5575,4 +5575,4 @@ export {
5575
5575
  stopAllSessionsAndWait,
5576
5576
  getProjectDir
5577
5577
  };
5578
- //# sourceMappingURL=chunk-K2VDNAD2.js.map
5578
+ //# sourceMappingURL=chunk-NNLFFHCB.js.map
@@ -7751,7 +7751,7 @@ var charter_frontmatter_v1_default = {
7751
7751
  sender_policy: {
7752
7752
  type: "string",
7753
7753
  enum: ["all", "agents_only", "team_only", "team_agents_only", "manager_only"],
7754
- description: "Restricts which senders this agent processes. 'all' (default): anyone. 'agents_only': only Augmented-labelled agents. 'team_only' (ENG-5871): humans on the same team (resolved via team_members \u22C8 organization_people on user_id, NOT NULL) OR same-team Augmented agents. 'team_agents_only': only same-team Augmented agents (humans dropped). 'manager_only' (ENG-5842): only the agent's reports_to_person OR same-team Augmented agents \u2014 narrows the human axis to one principal while keeping cross-agent coordination working. Enforced via message metadata labels (Slack/Teams) and principal-id env vars resolved at provision time."
7754
+ description: "Restricts which senders this agent processes. 'all' (default): anyone. 'agents_only': only Augmented-labelled agents. 'team_only' (ENG-5871): humans on the same team (resolved via team_members \u22C8 organization_people on user_id, NOT NULL) OR same-team Augmented agents. 'team_agents_only': only same-team Augmented agents (humans dropped). 'manager_only' (ENG-5842, narrowed by ENG-10685): ONLY the agent's reports_to_person \u2014 one permitted counterparty, with no agent carve-out. Other humans AND other Augmented agents are dropped; use 'team_agents_only' if peer coordination is wanted. Enforced via message metadata labels (Slack/Teams) and principal-id env vars resolved at provision time."
7755
7755
  }
7756
7756
  },
7757
7757
  additionalProperties: false
@@ -8751,9 +8751,9 @@ function senderPolicyRanks() {
8751
8751
  // team_only on humans — admits zero vs N).
8752
8752
  agents_only: { humanRank: 2, agentRank: 0 },
8753
8753
  team_agents_only: { humanRank: 2, agentRank: 1 },
8754
- // ENG-5842 + ENG-5871 renumber: was rank 2, now rank 3. The single-rank
8755
- // projection treats "named-one-principal" as semantically narrower
8756
- // than "zero humans" — the existing convention from ENG-5842, kept
8754
+ // ENG-5842 + ENG-5871 renumber: was rank 2, now rank 3 on humans. The
8755
+ // single-rank projection treats "named-one-principal" as semantically
8756
+ // narrower than "zero humans" — the existing convention from ENG-5842, kept
8757
8757
  // for cross-axis lint composition continuity. Known scalar-projection
8758
8758
  // limitation: org=manager_only + agent=agents_only fires a false
8759
8759
  // less-restrictive warning even though agents_only is stricter on the
@@ -8761,7 +8761,21 @@ function senderPolicyRanks() {
8761
8761
  // ENG-5872 (PR B of the team_only work) — dropping the webapp's
8762
8762
  // single-rank SENDER_POLICY_RANK helper in favour of consuming this
8763
8763
  // per-axis table directly.
8764
- manager_only: { humanRank: 3, agentRank: 1 }
8764
+ //
8765
+ // ENG-10685: agentRank 1 → 2. It was 1 because the mode admitted same-team
8766
+ // agents through the label, which is exactly `team_agents_only`'s agent
8767
+ // axis; that carve-out is gone and the mode now admits ZERO agents, which
8768
+ // is strictly narrower than rank 1 and has no peer at rank 2 on this axis.
8769
+ //
8770
+ // THE RANK IS NOT BOOKKEEPING — it decides lint. `manager_only` is now the
8771
+ // unique maximum on BOTH axes, so it can no longer be less restrictive than
8772
+ // any org default, and `CHARTER.CHANNELS.SENDER_POLICY_CONFLICT` can never
8773
+ // fire for an agent that overrides to it. That is the correct reading of a
8774
+ // mode that admits one counterparty and nothing else, and it also retires
8775
+ // one arm of the false-warning limitation above: org=manager_only +
8776
+ // agent=agents_only still mis-warns on the human axis, but the agent axis
8777
+ // no longer contributes a spurious comparison.
8778
+ manager_only: { humanRank: 3, agentRank: 2 }
8765
8779
  };
8766
8780
  }
8767
8781
 
@@ -15058,4 +15072,4 @@ export {
15058
15072
  peekCurrentSession,
15059
15073
  readDailySessionPin
15060
15074
  };
15061
- //# sourceMappingURL=chunk-V73S7OXI.js.map
15075
+ //# sourceMappingURL=chunk-R5G7EUJS.js.map