@integrity-labs/agt-cli 0.28.967 → 0.28.969
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.
- package/dist/bin/agt.js +5 -5
- package/dist/{chunk-XWU4BFBQ.js → chunk-BWWQMMCR.js} +24 -12
- package/dist/chunk-BWWQMMCR.js.map +1 -0
- package/dist/{chunk-V73S7OXI.js → chunk-NOY2C63C.js} +35 -6
- package/dist/{chunk-V73S7OXI.js.map → chunk-NOY2C63C.js.map} +1 -1
- package/dist/{chunk-K2VDNAD2.js → chunk-O2Q4HY6I.js} +2 -2
- package/dist/{claude-pair-runtime-ICRPR6QQ.js → claude-pair-runtime-YBFVBB6G.js} +2 -2
- package/dist/lib/manager-worker.js +16 -18
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +16 -1
- package/dist/mcp/index.js +16 -1
- package/dist/mcp/origami.js +16 -1
- package/dist/mcp/slack-channel.js +18 -5
- package/dist/mcp/teams-channel.js +2 -4
- package/dist/mcp/telegram-channel.js +16 -1
- package/dist/{persistent-session-6C3XIT5F.js → persistent-session-4J6SFXBI.js} +3 -3
- package/dist/{responsiveness-probe-22RREUHV.js → responsiveness-probe-GX6HLUES.js} +3 -3
- package/dist/{session-auth-dead-IOBL2YXT.js → session-auth-dead-EPI2A6RF.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-XWU4BFBQ.js.map +0 -1
- /package/dist/{chunk-K2VDNAD2.js.map → chunk-O2Q4HY6I.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ICRPR6QQ.js.map → claude-pair-runtime-YBFVBB6G.js.map} +0 -0
- /package/dist/{persistent-session-6C3XIT5F.js.map → persistent-session-4J6SFXBI.js.map} +0 -0
- /package/dist/{responsiveness-probe-22RREUHV.js.map → responsiveness-probe-GX6HLUES.js.map} +0 -0
- /package/dist/{session-auth-dead-IOBL2YXT.js.map → session-auth-dead-EPI2A6RF.js.map} +0 -0
|
@@ -30159,7 +30159,7 @@ var charter_frontmatter_v1_default = {
|
|
|
30159
30159
|
sender_policy: {
|
|
30160
30160
|
type: "string",
|
|
30161
30161
|
enum: ["all", "agents_only", "team_only", "team_agents_only", "manager_only"],
|
|
30162
|
-
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):
|
|
30162
|
+
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."
|
|
30163
30163
|
}
|
|
30164
30164
|
},
|
|
30165
30165
|
additionalProperties: false
|
|
@@ -37354,6 +37354,21 @@ var FLAG_REGISTRY = [
|
|
|
37354
37354
|
// safety control — mutations require explicit confirmation.
|
|
37355
37355
|
sensitive: true
|
|
37356
37356
|
},
|
|
37357
|
+
{
|
|
37358
|
+
key: "hitl-batch-approval",
|
|
37359
|
+
description: "ADR-0104: may an agent in this org ask for approval of a BATCH \u2014 one exact list of up to 1,000 destructive calls on a single card \u2014 instead of one card per call? The incident behind it needed ~700 calendar deletes and produced ~700 cards, which is a queue nobody reads and therefore a gate nobody applies. This flag is only half the gate, and the other half is deliberate: a tool must ALSO declare a `batch` block in the catalog (its reconciliation rule and pacing), so arming an org can never batch a tool whose semantics nobody reviewed. With the flag on and no tool opted in, every batch request is refused \u2014 which is the state this ships in. It does not lower any tier: a batched `write_destructive` call still routes to a human, and above 20 items that human must open the full list before approving. What the flag changes is how many actions ONE decision can cover. Evaluated per-org. Ships dark.",
|
|
37360
|
+
flagType: "boolean",
|
|
37361
|
+
// Off is the safe value in both directions. An org that never opted in cannot have an agent
|
|
37362
|
+
// request a batch, and a flag-read failure degrades to "not opted in" rather than to a
|
|
37363
|
+
// capability nobody asked for — an infrastructure blip is not an opt-in.
|
|
37364
|
+
defaultValue: false,
|
|
37365
|
+
// Turning it on lets one human tap authorise up to 1,000 irreversible calls, so it is a
|
|
37366
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
37367
|
+
sensitive: true
|
|
37368
|
+
// NO newOrgOverride. Nothing has run in production yet; arming every new org on deploy
|
|
37369
|
+
// would put a first-of-its-kind approval shape in front of real customers with nothing
|
|
37370
|
+
// observed. Arm one org, watch a batch drain, then revisit.
|
|
37371
|
+
},
|
|
37357
37372
|
{
|
|
37358
37373
|
key: "hitl-approval-routing",
|
|
37359
37374
|
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
package/dist/mcp/index.js
CHANGED
|
@@ -22735,7 +22735,7 @@ var charter_frontmatter_v1_default = {
|
|
|
22735
22735
|
sender_policy: {
|
|
22736
22736
|
type: "string",
|
|
22737
22737
|
enum: ["all", "agents_only", "team_only", "team_agents_only", "manager_only"],
|
|
22738
|
-
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):
|
|
22738
|
+
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."
|
|
22739
22739
|
}
|
|
22740
22740
|
},
|
|
22741
22741
|
additionalProperties: false
|
|
@@ -29657,6 +29657,21 @@ var FLAG_REGISTRY = [
|
|
|
29657
29657
|
// safety control — mutations require explicit confirmation.
|
|
29658
29658
|
sensitive: true
|
|
29659
29659
|
},
|
|
29660
|
+
{
|
|
29661
|
+
key: "hitl-batch-approval",
|
|
29662
|
+
description: "ADR-0104: may an agent in this org ask for approval of a BATCH \u2014 one exact list of up to 1,000 destructive calls on a single card \u2014 instead of one card per call? The incident behind it needed ~700 calendar deletes and produced ~700 cards, which is a queue nobody reads and therefore a gate nobody applies. This flag is only half the gate, and the other half is deliberate: a tool must ALSO declare a `batch` block in the catalog (its reconciliation rule and pacing), so arming an org can never batch a tool whose semantics nobody reviewed. With the flag on and no tool opted in, every batch request is refused \u2014 which is the state this ships in. It does not lower any tier: a batched `write_destructive` call still routes to a human, and above 20 items that human must open the full list before approving. What the flag changes is how many actions ONE decision can cover. Evaluated per-org. Ships dark.",
|
|
29663
|
+
flagType: "boolean",
|
|
29664
|
+
// Off is the safe value in both directions. An org that never opted in cannot have an agent
|
|
29665
|
+
// request a batch, and a flag-read failure degrades to "not opted in" rather than to a
|
|
29666
|
+
// capability nobody asked for — an infrastructure blip is not an opt-in.
|
|
29667
|
+
defaultValue: false,
|
|
29668
|
+
// Turning it on lets one human tap authorise up to 1,000 irreversible calls, so it is a
|
|
29669
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
29670
|
+
sensitive: true
|
|
29671
|
+
// NO newOrgOverride. Nothing has run in production yet; arming every new org on deploy
|
|
29672
|
+
// would put a first-of-its-kind approval shape in front of real customers with nothing
|
|
29673
|
+
// observed. Arm one org, watch a batch drain, then revisit.
|
|
29674
|
+
},
|
|
29660
29675
|
{
|
|
29661
29676
|
key: "hitl-approval-routing",
|
|
29662
29677
|
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -36681,7 +36681,7 @@ var charter_frontmatter_v1_default = {
|
|
|
36681
36681
|
sender_policy: {
|
|
36682
36682
|
type: "string",
|
|
36683
36683
|
enum: ["all", "agents_only", "team_only", "team_agents_only", "manager_only"],
|
|
36684
|
-
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):
|
|
36684
|
+
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."
|
|
36685
36685
|
}
|
|
36686
36686
|
},
|
|
36687
36687
|
additionalProperties: false
|
|
@@ -43605,6 +43605,21 @@ var FLAG_REGISTRY = [
|
|
|
43605
43605
|
// safety control — mutations require explicit confirmation.
|
|
43606
43606
|
sensitive: true
|
|
43607
43607
|
},
|
|
43608
|
+
{
|
|
43609
|
+
key: "hitl-batch-approval",
|
|
43610
|
+
description: "ADR-0104: may an agent in this org ask for approval of a BATCH \u2014 one exact list of up to 1,000 destructive calls on a single card \u2014 instead of one card per call? The incident behind it needed ~700 calendar deletes and produced ~700 cards, which is a queue nobody reads and therefore a gate nobody applies. This flag is only half the gate, and the other half is deliberate: a tool must ALSO declare a `batch` block in the catalog (its reconciliation rule and pacing), so arming an org can never batch a tool whose semantics nobody reviewed. With the flag on and no tool opted in, every batch request is refused \u2014 which is the state this ships in. It does not lower any tier: a batched `write_destructive` call still routes to a human, and above 20 items that human must open the full list before approving. What the flag changes is how many actions ONE decision can cover. Evaluated per-org. Ships dark.",
|
|
43611
|
+
flagType: "boolean",
|
|
43612
|
+
// Off is the safe value in both directions. An org that never opted in cannot have an agent
|
|
43613
|
+
// request a batch, and a flag-read failure degrades to "not opted in" rather than to a
|
|
43614
|
+
// capability nobody asked for — an infrastructure blip is not an opt-in.
|
|
43615
|
+
defaultValue: false,
|
|
43616
|
+
// Turning it on lets one human tap authorise up to 1,000 irreversible calls, so it is a
|
|
43617
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
43618
|
+
sensitive: true
|
|
43619
|
+
// NO newOrgOverride. Nothing has run in production yet; arming every new org on deploy
|
|
43620
|
+
// would put a first-of-its-kind approval shape in front of real customers with nothing
|
|
43621
|
+
// observed. Arm one org, watch a batch drain, then revisit.
|
|
43622
|
+
},
|
|
43608
43623
|
{
|
|
43609
43624
|
key: "hitl-approval-routing",
|
|
43610
43625
|
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
|
@@ -30514,9 +30514,7 @@ function decideModeForward(evt, policy) {
|
|
|
30514
30514
|
if (policy.mode === "all")
|
|
30515
30515
|
return { forward: true };
|
|
30516
30516
|
if (policy.mode === "manager_only") {
|
|
30517
|
-
|
|
30518
|
-
return { forward: true };
|
|
30519
|
-
}
|
|
30517
|
+
return policy.principalSlackUserId && evt.user === policy.principalSlackUserId ? { forward: true } : { forward: false, reason: "sender_policy" };
|
|
30520
30518
|
}
|
|
30521
30519
|
if (policy.mode === "team_only") {
|
|
30522
30520
|
if (policy.teamPrincipalSlackUserIds && policy.teamPrincipalSlackUserIds.length > 0 && typeof evt.user === "string" && policy.teamPrincipalSlackUserIds.includes(evt.user)) {
|
|
@@ -30531,7 +30529,7 @@ function decideModeForward(evt, policy) {
|
|
|
30531
30529
|
return { forward: false, reason: "sender_policy" };
|
|
30532
30530
|
}
|
|
30533
30531
|
}
|
|
30534
|
-
if (policy.mode === "team_agents_only" || policy.mode === "
|
|
30532
|
+
if (policy.mode === "team_agents_only" || policy.mode === "team_only") {
|
|
30535
30533
|
if (!policy.teamId || label.teamId !== policy.teamId) {
|
|
30536
30534
|
return { forward: false, reason: "sender_policy" };
|
|
30537
30535
|
}
|
|
@@ -31131,7 +31129,7 @@ var charter_frontmatter_v1_default = {
|
|
|
31131
31129
|
sender_policy: {
|
|
31132
31130
|
type: "string",
|
|
31133
31131
|
enum: ["all", "agents_only", "team_only", "team_agents_only", "manager_only"],
|
|
31134
|
-
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):
|
|
31132
|
+
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."
|
|
31135
31133
|
}
|
|
31136
31134
|
},
|
|
31137
31135
|
additionalProperties: false
|
|
@@ -38246,6 +38244,21 @@ var FLAG_REGISTRY = [
|
|
|
38246
38244
|
// safety control — mutations require explicit confirmation.
|
|
38247
38245
|
sensitive: true
|
|
38248
38246
|
},
|
|
38247
|
+
{
|
|
38248
|
+
key: "hitl-batch-approval",
|
|
38249
|
+
description: "ADR-0104: may an agent in this org ask for approval of a BATCH \u2014 one exact list of up to 1,000 destructive calls on a single card \u2014 instead of one card per call? The incident behind it needed ~700 calendar deletes and produced ~700 cards, which is a queue nobody reads and therefore a gate nobody applies. This flag is only half the gate, and the other half is deliberate: a tool must ALSO declare a `batch` block in the catalog (its reconciliation rule and pacing), so arming an org can never batch a tool whose semantics nobody reviewed. With the flag on and no tool opted in, every batch request is refused \u2014 which is the state this ships in. It does not lower any tier: a batched `write_destructive` call still routes to a human, and above 20 items that human must open the full list before approving. What the flag changes is how many actions ONE decision can cover. Evaluated per-org. Ships dark.",
|
|
38250
|
+
flagType: "boolean",
|
|
38251
|
+
// Off is the safe value in both directions. An org that never opted in cannot have an agent
|
|
38252
|
+
// request a batch, and a flag-read failure degrades to "not opted in" rather than to a
|
|
38253
|
+
// capability nobody asked for — an infrastructure blip is not an opt-in.
|
|
38254
|
+
defaultValue: false,
|
|
38255
|
+
// Turning it on lets one human tap authorise up to 1,000 irreversible calls, so it is a
|
|
38256
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
38257
|
+
sensitive: true
|
|
38258
|
+
// NO newOrgOverride. Nothing has run in production yet; arming every new org on deploy
|
|
38259
|
+
// would put a first-of-its-kind approval shape in front of real customers with nothing
|
|
38260
|
+
// observed. Arm one org, watch a batch drain, then revisit.
|
|
38261
|
+
},
|
|
38249
38262
|
{
|
|
38250
38263
|
key: "hitl-approval-routing",
|
|
38251
38264
|
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
|
@@ -14863,9 +14863,7 @@ function decideModeForwardTeams(activity, policy) {
|
|
|
14863
14863
|
if (policy.mode === "all")
|
|
14864
14864
|
return { forward: true };
|
|
14865
14865
|
if (policy.mode === "manager_only") {
|
|
14866
|
-
|
|
14867
|
-
return { forward: true };
|
|
14868
|
-
}
|
|
14866
|
+
return policy.principalAadObjectId && activity.from?.aadObjectId === policy.principalAadObjectId ? { forward: true } : { forward: false, reason: "sender_policy" };
|
|
14869
14867
|
}
|
|
14870
14868
|
if (policy.mode === "team_only") {
|
|
14871
14869
|
const fromAad = activity.from?.aadObjectId;
|
|
@@ -14876,7 +14874,7 @@ function decideModeForwardTeams(activity, policy) {
|
|
|
14876
14874
|
const label = extractAugmentedTeamsLabel(activity);
|
|
14877
14875
|
if (!label)
|
|
14878
14876
|
return { forward: false, reason: "sender_policy" };
|
|
14879
|
-
if (policy.mode === "team_agents_only" || policy.mode === "
|
|
14877
|
+
if (policy.mode === "team_agents_only" || policy.mode === "team_only") {
|
|
14880
14878
|
if (!policy.teamId || label.teamId !== policy.teamId) {
|
|
14881
14879
|
return { forward: false, reason: "sender_policy" };
|
|
14882
14880
|
}
|
|
@@ -31149,7 +31149,7 @@ var charter_frontmatter_v1_default = {
|
|
|
31149
31149
|
sender_policy: {
|
|
31150
31150
|
type: "string",
|
|
31151
31151
|
enum: ["all", "agents_only", "team_only", "team_agents_only", "manager_only"],
|
|
31152
|
-
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):
|
|
31152
|
+
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."
|
|
31153
31153
|
}
|
|
31154
31154
|
},
|
|
31155
31155
|
additionalProperties: false
|
|
@@ -38258,6 +38258,21 @@ var FLAG_REGISTRY = [
|
|
|
38258
38258
|
// safety control — mutations require explicit confirmation.
|
|
38259
38259
|
sensitive: true
|
|
38260
38260
|
},
|
|
38261
|
+
{
|
|
38262
|
+
key: "hitl-batch-approval",
|
|
38263
|
+
description: "ADR-0104: may an agent in this org ask for approval of a BATCH \u2014 one exact list of up to 1,000 destructive calls on a single card \u2014 instead of one card per call? The incident behind it needed ~700 calendar deletes and produced ~700 cards, which is a queue nobody reads and therefore a gate nobody applies. This flag is only half the gate, and the other half is deliberate: a tool must ALSO declare a `batch` block in the catalog (its reconciliation rule and pacing), so arming an org can never batch a tool whose semantics nobody reviewed. With the flag on and no tool opted in, every batch request is refused \u2014 which is the state this ships in. It does not lower any tier: a batched `write_destructive` call still routes to a human, and above 20 items that human must open the full list before approving. What the flag changes is how many actions ONE decision can cover. Evaluated per-org. Ships dark.",
|
|
38264
|
+
flagType: "boolean",
|
|
38265
|
+
// Off is the safe value in both directions. An org that never opted in cannot have an agent
|
|
38266
|
+
// request a batch, and a flag-read failure degrades to "not opted in" rather than to a
|
|
38267
|
+
// capability nobody asked for — an infrastructure blip is not an opt-in.
|
|
38268
|
+
defaultValue: false,
|
|
38269
|
+
// Turning it on lets one human tap authorise up to 1,000 irreversible calls, so it is a
|
|
38270
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
38271
|
+
sensitive: true
|
|
38272
|
+
// NO newOrgOverride. Nothing has run in production yet; arming every new org on deploy
|
|
38273
|
+
// would put a first-of-its-kind approval shape in front of real customers with nothing
|
|
38274
|
+
// observed. Arm one org, watch a batch drain, then revisit.
|
|
38275
|
+
},
|
|
38261
38276
|
{
|
|
38262
38277
|
key: "hitl-approval-routing",
|
|
38263
38278
|
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
writeDirectChatSessionState,
|
|
63
63
|
writeEgressAllowlist,
|
|
64
64
|
writePersistentClaudeWrapper
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-O2Q4HY6I.js";
|
|
66
|
+
import "./chunk-NOY2C63C.js";
|
|
67
67
|
import "./chunk-DHWNVVX4.js";
|
|
68
68
|
import "./chunk-XWVM4KPK.js";
|
|
69
69
|
export {
|
|
@@ -131,4 +131,4 @@ export {
|
|
|
131
131
|
writeEgressAllowlist,
|
|
132
132
|
writePersistentClaudeWrapper
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=persistent-session-
|
|
134
|
+
//# sourceMappingURL=persistent-session-4J6SFXBI.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-O2Q4HY6I.js";
|
|
4
|
+
import "./chunk-NOY2C63C.js";
|
|
5
5
|
import "./chunk-DHWNVVX4.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
7
7
|
|
|
@@ -800,4 +800,4 @@ export {
|
|
|
800
800
|
readAndResetSlackReplyBindingClassifications,
|
|
801
801
|
readAndResetSlackReplyTargetClassifications
|
|
802
802
|
};
|
|
803
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
803
|
+
//# sourceMappingURL=responsiveness-probe-GX6HLUES.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NOY2C63C.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-EPI2A6RF.js.map
|