@integrity-labs/agt-cli 0.27.31 → 0.27.32

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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  claudeModelAlias,
3
3
  isClaudeFastMode
4
- } from "./chunk-6HFXSNNY.js";
4
+ } from "./chunk-NZWPRYJO.js";
5
5
  import {
6
6
  reapOrphanChannelMcps
7
7
  } from "./chunk-XWVM4KPK.js";
@@ -1125,4 +1125,4 @@ export {
1125
1125
  stopAllSessionsAndWait,
1126
1126
  getProjectDir
1127
1127
  };
1128
- //# sourceMappingURL=chunk-JIETOJQV.js.map
1128
+ //# sourceMappingURL=chunk-MV4WLCUO.js.map
@@ -1529,8 +1529,8 @@ var charter_frontmatter_v1_default = {
1529
1529
  },
1530
1530
  sender_policy: {
1531
1531
  type: "string",
1532
- enum: ["all", "agents_only", "team_agents_only", "manager_only"],
1533
- description: "Restricts which senders this agent processes. 'all' (default): anyone. 'agents_only': only Augmented-labelled agents. 'team_agents_only': only same-team Augmented agents. '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."
1532
+ enum: ["all", "agents_only", "team_only", "team_agents_only", "manager_only"],
1533
+ 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."
1534
1534
  }
1535
1535
  },
1536
1536
  additionalProperties: false
@@ -2448,11 +2448,30 @@ function runChannelRules(charter, orgPolicy) {
2448
2448
  function senderPolicyRanks() {
2449
2449
  return {
2450
2450
  all: { humanRank: 0, agentRank: 0 },
2451
- agents_only: { humanRank: 1, agentRank: 0 },
2452
- team_agents_only: { humanRank: 1, agentRank: 1 },
2453
- // manager_only: stricter than team_agents_only on humans (only the
2454
- // principal), same as team_agents_only on agents (same-team allowed).
2455
- manager_only: { humanRank: 2, agentRank: 1 }
2451
+ // ENG-5871: team_only sits between `all` and the human-drop modes —
2452
+ // admits a bounded set of N team-member humans (resolved at provision
2453
+ // time, see migration 20260602000003). Strictly less restrictive than
2454
+ // agents_only / team_agents_only / manager_only on humans, but on the
2455
+ // agent axis it matches team_agents_only (admits same-team agents
2456
+ // only, drops cross-team). Renumbering pushes the human-drop modes
2457
+ // from rank 1 to rank 2 and manager_only from rank 2 to rank 3 to
2458
+ // make room — monotonic in restrictiveness.
2459
+ team_only: { humanRank: 1, agentRank: 1 },
2460
+ // ENG-5871 renumber: was rank 1, now rank 2 (more restrictive than
2461
+ // team_only on humans — admits zero vs N).
2462
+ agents_only: { humanRank: 2, agentRank: 0 },
2463
+ team_agents_only: { humanRank: 2, agentRank: 1 },
2464
+ // ENG-5842 + ENG-5871 renumber: was rank 2, now rank 3. The single-rank
2465
+ // projection treats "named-one-principal" as semantically narrower
2466
+ // than "zero humans" — the existing convention from ENG-5842, kept
2467
+ // for cross-axis lint composition continuity. Known scalar-projection
2468
+ // limitation: org=manager_only + agent=agents_only fires a false
2469
+ // less-restrictive warning even though agents_only is stricter on the
2470
+ // human cardinality axis. Tracked for end-to-end per-axis fix in
2471
+ // ENG-5872 (PR B of the team_only work) — dropping the webapp's
2472
+ // single-rank SENDER_POLICY_RANK helper in favour of consuming this
2473
+ // per-axis table directly.
2474
+ manager_only: { humanRank: 3, agentRank: 1 }
2456
2475
  };
2457
2476
  }
2458
2477
 
@@ -3946,4 +3965,4 @@ export {
3946
3965
  attributeTranscriptUsageByRun,
3947
3966
  KANBAN_CHECK_COMMAND
3948
3967
  };
3949
- //# sourceMappingURL=chunk-6HFXSNNY.js.map
3968
+ //# sourceMappingURL=chunk-NZWPRYJO.js.map