@integrity-labs/agt-cli 0.28.763 → 0.28.765
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-L4KDOGHB.js → chunk-23KTLVYX.js} +15 -1
- package/dist/{chunk-L4KDOGHB.js.map → chunk-23KTLVYX.js.map} +1 -1
- package/dist/{chunk-HVOHM3PB.js → chunk-EWH4J63B.js} +86 -28
- package/dist/chunk-EWH4J63B.js.map +1 -0
- package/dist/{chunk-EU6RSU5V.js → chunk-LVBINNTQ.js} +157 -40
- package/dist/chunk-LVBINNTQ.js.map +1 -0
- package/dist/{claude-pair-runtime-5CKIB2IM.js → claude-pair-runtime-U6WDTNK3.js} +2 -2
- package/dist/lib/manager-worker.js +57 -62
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +14 -0
- package/dist/mcp/index.js +14 -0
- package/dist/mcp/origami.js +14 -0
- package/dist/mcp/slack-channel.js +14 -0
- package/dist/mcp/telegram-channel.js +14 -0
- package/dist/{persistent-session-VS44QKVB.js → persistent-session-3OBDKYWF.js} +3 -3
- package/dist/{responsiveness-probe-CNSUJALX.js → responsiveness-probe-ULIAXSCT.js} +3 -3
- package/dist/{session-auth-dead-3AK3MDNT.js → session-auth-dead-67XFJWMA.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-EU6RSU5V.js.map +0 -1
- package/dist/chunk-HVOHM3PB.js.map +0 -1
- /package/dist/{claude-pair-runtime-5CKIB2IM.js.map → claude-pair-runtime-U6WDTNK3.js.map} +0 -0
- /package/dist/{persistent-session-VS44QKVB.js.map → persistent-session-3OBDKYWF.js.map} +0 -0
- /package/dist/{responsiveness-probe-CNSUJALX.js.map → responsiveness-probe-ULIAXSCT.js.map} +0 -0
- /package/dist/{session-auth-dead-3AK3MDNT.js.map → session-auth-dead-67XFJWMA.js.map} +0 -0
|
@@ -37122,6 +37122,20 @@ var FLAG_REGISTRY = [
|
|
|
37122
37122
|
// audited decision ADR-0022 §4 reserves confirmation for — same treatment as
|
|
37123
37123
|
// agent-hours-billing-enabled.
|
|
37124
37124
|
sensitive: true
|
|
37125
|
+
},
|
|
37126
|
+
{
|
|
37127
|
+
key: "first-party-token-refusal",
|
|
37128
|
+
description: "ENG-8972 AC4 / ADR-0076 decision 2 \u2014 whether `resolveUserId` (packages/api/src/middleware/auth.ts) REFUSES a bearer token carrying a first-party marker that is foreign to the host-exchange lane. SUPABASE_JWT_SECRET is symmetric and signs twelve distinct token families; the generic Bearer door has always admitted any of them that mints a uuid-shaped `sub`, so a token minted for one purpose authenticates as a user for every purpose. off = the capture never runs (no log, no refusal). shadow = record the population an enforcement flip would change, on BOTH admitting lanes (lane=gotrue, lane=sub-claim), and refuse nothing \u2014 this is exactly the behaviour compiled into prod today. enforce = return null with reason=foreign-first-party-marker, above the strategy split, so the token reaches neither GoTrue nor the sub-claim lane. DEFAULT IS `shadow`, NOT `off`, and the divergence is deliberate \u2014 the shadow lines have been live in prod since 68863974b, and they are the soak instrument. Defaulting to `off` would silently switch off the measurement this flag exists to act on: the channel-quarantine-mode landmine (ENG-6252) in its exact shape. A flag-read failure degrades to `shadow` for the same reason it fails open elsewhere on this path: this is the platform front door, and a `feature_flags` blip must not start refusing the fleet. Deliberately NO envVar. The consumer is the API Lambda, whose environment block is at the AWS 4KB cap (ENG-7972), and an envVar is highest-precedence per ADR-0022 \u2014 a literal in sst.config.ts would pin every stage and make the admin control do nothing (ENG-8303). The flag value IS the kill switch: a flip back to shadow takes effect within the ~60s evaluation cache, with no deploy.",
|
|
37129
|
+
flagType: "enum",
|
|
37130
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
37131
|
+
// See the description: `shadow` is what prod compiles today, so it is the
|
|
37132
|
+
// only default that ships this flag as a no-op.
|
|
37133
|
+
defaultValue: "shadow",
|
|
37134
|
+
// enforce changes the admission rule on the platform's front door, and the
|
|
37135
|
+
// families it starts refusing include mcp-proxy — one of the fleet's
|
|
37136
|
+
// dominant callers. This is precisely the deliberate, audited flip ADR-0022
|
|
37137
|
+
// §4 reserves confirmation for.
|
|
37138
|
+
sensitive: true
|
|
37125
37139
|
}
|
|
37126
37140
|
];
|
|
37127
37141
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
package/dist/mcp/index.js
CHANGED
|
@@ -44117,6 +44117,20 @@ var FLAG_REGISTRY = [
|
|
|
44117
44117
|
// audited decision ADR-0022 §4 reserves confirmation for — same treatment as
|
|
44118
44118
|
// agent-hours-billing-enabled.
|
|
44119
44119
|
sensitive: true
|
|
44120
|
+
},
|
|
44121
|
+
{
|
|
44122
|
+
key: "first-party-token-refusal",
|
|
44123
|
+
description: "ENG-8972 AC4 / ADR-0076 decision 2 \u2014 whether `resolveUserId` (packages/api/src/middleware/auth.ts) REFUSES a bearer token carrying a first-party marker that is foreign to the host-exchange lane. SUPABASE_JWT_SECRET is symmetric and signs twelve distinct token families; the generic Bearer door has always admitted any of them that mints a uuid-shaped `sub`, so a token minted for one purpose authenticates as a user for every purpose. off = the capture never runs (no log, no refusal). shadow = record the population an enforcement flip would change, on BOTH admitting lanes (lane=gotrue, lane=sub-claim), and refuse nothing \u2014 this is exactly the behaviour compiled into prod today. enforce = return null with reason=foreign-first-party-marker, above the strategy split, so the token reaches neither GoTrue nor the sub-claim lane. DEFAULT IS `shadow`, NOT `off`, and the divergence is deliberate \u2014 the shadow lines have been live in prod since 68863974b, and they are the soak instrument. Defaulting to `off` would silently switch off the measurement this flag exists to act on: the channel-quarantine-mode landmine (ENG-6252) in its exact shape. A flag-read failure degrades to `shadow` for the same reason it fails open elsewhere on this path: this is the platform front door, and a `feature_flags` blip must not start refusing the fleet. Deliberately NO envVar. The consumer is the API Lambda, whose environment block is at the AWS 4KB cap (ENG-7972), and an envVar is highest-precedence per ADR-0022 \u2014 a literal in sst.config.ts would pin every stage and make the admin control do nothing (ENG-8303). The flag value IS the kill switch: a flip back to shadow takes effect within the ~60s evaluation cache, with no deploy.",
|
|
44124
|
+
flagType: "enum",
|
|
44125
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
44126
|
+
// See the description: `shadow` is what prod compiles today, so it is the
|
|
44127
|
+
// only default that ships this flag as a no-op.
|
|
44128
|
+
defaultValue: "shadow",
|
|
44129
|
+
// enforce changes the admission rule on the platform's front door, and the
|
|
44130
|
+
// families it starts refusing include mcp-proxy — one of the fleet's
|
|
44131
|
+
// dominant callers. This is precisely the deliberate, audited flip ADR-0022
|
|
44132
|
+
// §4 reserves confirmation for.
|
|
44133
|
+
sensitive: true
|
|
44120
44134
|
}
|
|
44121
44135
|
];
|
|
44122
44136
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
package/dist/mcp/origami.js
CHANGED
|
@@ -42846,6 +42846,20 @@ var FLAG_REGISTRY = [
|
|
|
42846
42846
|
// audited decision ADR-0022 §4 reserves confirmation for — same treatment as
|
|
42847
42847
|
// agent-hours-billing-enabled.
|
|
42848
42848
|
sensitive: true
|
|
42849
|
+
},
|
|
42850
|
+
{
|
|
42851
|
+
key: "first-party-token-refusal",
|
|
42852
|
+
description: "ENG-8972 AC4 / ADR-0076 decision 2 \u2014 whether `resolveUserId` (packages/api/src/middleware/auth.ts) REFUSES a bearer token carrying a first-party marker that is foreign to the host-exchange lane. SUPABASE_JWT_SECRET is symmetric and signs twelve distinct token families; the generic Bearer door has always admitted any of them that mints a uuid-shaped `sub`, so a token minted for one purpose authenticates as a user for every purpose. off = the capture never runs (no log, no refusal). shadow = record the population an enforcement flip would change, on BOTH admitting lanes (lane=gotrue, lane=sub-claim), and refuse nothing \u2014 this is exactly the behaviour compiled into prod today. enforce = return null with reason=foreign-first-party-marker, above the strategy split, so the token reaches neither GoTrue nor the sub-claim lane. DEFAULT IS `shadow`, NOT `off`, and the divergence is deliberate \u2014 the shadow lines have been live in prod since 68863974b, and they are the soak instrument. Defaulting to `off` would silently switch off the measurement this flag exists to act on: the channel-quarantine-mode landmine (ENG-6252) in its exact shape. A flag-read failure degrades to `shadow` for the same reason it fails open elsewhere on this path: this is the platform front door, and a `feature_flags` blip must not start refusing the fleet. Deliberately NO envVar. The consumer is the API Lambda, whose environment block is at the AWS 4KB cap (ENG-7972), and an envVar is highest-precedence per ADR-0022 \u2014 a literal in sst.config.ts would pin every stage and make the admin control do nothing (ENG-8303). The flag value IS the kill switch: a flip back to shadow takes effect within the ~60s evaluation cache, with no deploy.",
|
|
42853
|
+
flagType: "enum",
|
|
42854
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
42855
|
+
// See the description: `shadow` is what prod compiles today, so it is the
|
|
42856
|
+
// only default that ships this flag as a no-op.
|
|
42857
|
+
defaultValue: "shadow",
|
|
42858
|
+
// enforce changes the admission rule on the platform's front door, and the
|
|
42859
|
+
// families it starts refusing include mcp-proxy — one of the fleet's
|
|
42860
|
+
// dominant callers. This is precisely the deliberate, audited flip ADR-0022
|
|
42861
|
+
// §4 reserves confirmation for.
|
|
42862
|
+
sensitive: true
|
|
42849
42863
|
}
|
|
42850
42864
|
];
|
|
42851
42865
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -37369,6 +37369,20 @@ var FLAG_REGISTRY = [
|
|
|
37369
37369
|
// audited decision ADR-0022 §4 reserves confirmation for — same treatment as
|
|
37370
37370
|
// agent-hours-billing-enabled.
|
|
37371
37371
|
sensitive: true
|
|
37372
|
+
},
|
|
37373
|
+
{
|
|
37374
|
+
key: "first-party-token-refusal",
|
|
37375
|
+
description: "ENG-8972 AC4 / ADR-0076 decision 2 \u2014 whether `resolveUserId` (packages/api/src/middleware/auth.ts) REFUSES a bearer token carrying a first-party marker that is foreign to the host-exchange lane. SUPABASE_JWT_SECRET is symmetric and signs twelve distinct token families; the generic Bearer door has always admitted any of them that mints a uuid-shaped `sub`, so a token minted for one purpose authenticates as a user for every purpose. off = the capture never runs (no log, no refusal). shadow = record the population an enforcement flip would change, on BOTH admitting lanes (lane=gotrue, lane=sub-claim), and refuse nothing \u2014 this is exactly the behaviour compiled into prod today. enforce = return null with reason=foreign-first-party-marker, above the strategy split, so the token reaches neither GoTrue nor the sub-claim lane. DEFAULT IS `shadow`, NOT `off`, and the divergence is deliberate \u2014 the shadow lines have been live in prod since 68863974b, and they are the soak instrument. Defaulting to `off` would silently switch off the measurement this flag exists to act on: the channel-quarantine-mode landmine (ENG-6252) in its exact shape. A flag-read failure degrades to `shadow` for the same reason it fails open elsewhere on this path: this is the platform front door, and a `feature_flags` blip must not start refusing the fleet. Deliberately NO envVar. The consumer is the API Lambda, whose environment block is at the AWS 4KB cap (ENG-7972), and an envVar is highest-precedence per ADR-0022 \u2014 a literal in sst.config.ts would pin every stage and make the admin control do nothing (ENG-8303). The flag value IS the kill switch: a flip back to shadow takes effect within the ~60s evaluation cache, with no deploy.",
|
|
37376
|
+
flagType: "enum",
|
|
37377
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
37378
|
+
// See the description: `shadow` is what prod compiles today, so it is the
|
|
37379
|
+
// only default that ships this flag as a no-op.
|
|
37380
|
+
defaultValue: "shadow",
|
|
37381
|
+
// enforce changes the admission rule on the platform's front door, and the
|
|
37382
|
+
// families it starts refusing include mcp-proxy — one of the fleet's
|
|
37383
|
+
// dominant callers. This is precisely the deliberate, audited flip ADR-0022
|
|
37384
|
+
// §4 reserves confirmation for.
|
|
37385
|
+
sensitive: true
|
|
37372
37386
|
}
|
|
37373
37387
|
];
|
|
37374
37388
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -37527,6 +37527,20 @@ var FLAG_REGISTRY = [
|
|
|
37527
37527
|
// audited decision ADR-0022 §4 reserves confirmation for — same treatment as
|
|
37528
37528
|
// agent-hours-billing-enabled.
|
|
37529
37529
|
sensitive: true
|
|
37530
|
+
},
|
|
37531
|
+
{
|
|
37532
|
+
key: "first-party-token-refusal",
|
|
37533
|
+
description: "ENG-8972 AC4 / ADR-0076 decision 2 \u2014 whether `resolveUserId` (packages/api/src/middleware/auth.ts) REFUSES a bearer token carrying a first-party marker that is foreign to the host-exchange lane. SUPABASE_JWT_SECRET is symmetric and signs twelve distinct token families; the generic Bearer door has always admitted any of them that mints a uuid-shaped `sub`, so a token minted for one purpose authenticates as a user for every purpose. off = the capture never runs (no log, no refusal). shadow = record the population an enforcement flip would change, on BOTH admitting lanes (lane=gotrue, lane=sub-claim), and refuse nothing \u2014 this is exactly the behaviour compiled into prod today. enforce = return null with reason=foreign-first-party-marker, above the strategy split, so the token reaches neither GoTrue nor the sub-claim lane. DEFAULT IS `shadow`, NOT `off`, and the divergence is deliberate \u2014 the shadow lines have been live in prod since 68863974b, and they are the soak instrument. Defaulting to `off` would silently switch off the measurement this flag exists to act on: the channel-quarantine-mode landmine (ENG-6252) in its exact shape. A flag-read failure degrades to `shadow` for the same reason it fails open elsewhere on this path: this is the platform front door, and a `feature_flags` blip must not start refusing the fleet. Deliberately NO envVar. The consumer is the API Lambda, whose environment block is at the AWS 4KB cap (ENG-7972), and an envVar is highest-precedence per ADR-0022 \u2014 a literal in sst.config.ts would pin every stage and make the admin control do nothing (ENG-8303). The flag value IS the kill switch: a flip back to shadow takes effect within the ~60s evaluation cache, with no deploy.",
|
|
37534
|
+
flagType: "enum",
|
|
37535
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
37536
|
+
// See the description: `shadow` is what prod compiles today, so it is the
|
|
37537
|
+
// only default that ships this flag as a no-op.
|
|
37538
|
+
defaultValue: "shadow",
|
|
37539
|
+
// enforce changes the admission rule on the platform's front door, and the
|
|
37540
|
+
// families it starts refusing include mcp-proxy — one of the fleet's
|
|
37541
|
+
// dominant callers. This is precisely the deliberate, audited flip ADR-0022
|
|
37542
|
+
// §4 reserves confirmation for.
|
|
37543
|
+
sensitive: true
|
|
37530
37544
|
}
|
|
37531
37545
|
];
|
|
37532
37546
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
writeDirectChatSessionState,
|
|
50
50
|
writeEgressAllowlist,
|
|
51
51
|
writePersistentClaudeWrapper
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-LVBINNTQ.js";
|
|
53
|
+
import "./chunk-23KTLVYX.js";
|
|
54
54
|
import "./chunk-XWVM4KPK.js";
|
|
55
55
|
export {
|
|
56
56
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -104,4 +104,4 @@ export {
|
|
|
104
104
|
writeEgressAllowlist,
|
|
105
105
|
writePersistentClaudeWrapper
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=persistent-session-
|
|
107
|
+
//# sourceMappingURL=persistent-session-3OBDKYWF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-LVBINNTQ.js";
|
|
4
|
+
import "./chunk-23KTLVYX.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -745,4 +745,4 @@ export {
|
|
|
745
745
|
readAndResetSlackReplyBindingClassifications,
|
|
746
746
|
readAndResetSlackReplyTargetClassifications
|
|
747
747
|
};
|
|
748
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
748
|
+
//# sourceMappingURL=responsiveness-probe-ULIAXSCT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-23KTLVYX.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-67XFJWMA.js.map
|