@integrity-labs/agt-cli 0.28.670 → 0.28.671
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-5GDKWIB3.js → chunk-57XP5OG6.js} +24 -12
- package/dist/chunk-57XP5OG6.js.map +1 -0
- package/dist/{chunk-HGVJVYKW.js → chunk-DWFN5PMF.js} +22 -1
- package/dist/chunk-DWFN5PMF.js.map +1 -0
- package/dist/{chunk-Z4O42VGJ.js → chunk-ZU2BHLUS.js} +4 -4
- package/dist/{claude-pair-runtime-W6KBVHK4.js → claude-pair-runtime-ANNQRKO4.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/direct-chat-channel.js +21 -0
- package/dist/mcp/index.js +21 -0
- package/dist/mcp/origami.js +21 -0
- package/dist/mcp/slack-channel.js +21 -0
- package/dist/mcp/telegram-channel.js +21 -0
- package/dist/{persistent-session-RZH67PNC.js → persistent-session-LTFB4M53.js} +3 -3
- package/dist/{responsiveness-probe-NPNMNOFF.js → responsiveness-probe-P2S3UMRE.js} +3 -3
- package/dist/{session-auth-dead-CFAYSZ43.js → session-auth-dead-YHSQBOB4.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-5GDKWIB3.js.map +0 -1
- package/dist/chunk-HGVJVYKW.js.map +0 -1
- /package/dist/{chunk-Z4O42VGJ.js.map → chunk-ZU2BHLUS.js.map} +0 -0
- /package/dist/{claude-pair-runtime-W6KBVHK4.js.map → claude-pair-runtime-ANNQRKO4.js.map} +0 -0
- /package/dist/{persistent-session-RZH67PNC.js.map → persistent-session-LTFB4M53.js.map} +0 -0
- /package/dist/{responsiveness-probe-NPNMNOFF.js.map → responsiveness-probe-P2S3UMRE.js.map} +0 -0
- /package/dist/{session-auth-dead-CFAYSZ43.js.map → session-auth-dead-YHSQBOB4.js.map} +0 -0
|
@@ -5669,6 +5669,27 @@ var FLAG_REGISTRY = [
|
|
|
5669
5669
|
// never auto-attach an integration nobody asked for, and both ENG-8332
|
|
5670
5670
|
// prerequisites above are still open.
|
|
5671
5671
|
defaultValue: false
|
|
5672
|
+
},
|
|
5673
|
+
{
|
|
5674
|
+
key: "host-right-sizing",
|
|
5675
|
+
description: 'ADR-0072. Gates the HostRightSizer cron, which evaluates every managed EC2 host against 7 days of memory and CPU and (at enforce) resizes it one rung inside the host\'s own maintenance window. off = the cron returns immediately: nothing is read, nothing is written. shadow = evaluate, persist a verdict row per host, and post the weekly summary \u2014 NO resize, and no actor code runs. enforce = as shadow, plus enqueue resizes. AS OF PHASE 1 (ENG-9324) THERE IS NO ACTOR, SO `enforce` BEHAVES EXACTLY LIKE `shadow`: selecting it records the mode on each verdict row and changes nothing else, and no host is resized. This note comes out when the Phase 3 actor lands; until then treat enforce as shadow-with-a-label, not as an armed fleet. Ships dark: this mechanism ends in a stop/start of a customer production host, so an unreachable flag store must resolve to NOT acting. TWO BOUNDS WORTH KNOWING BEFORE FLIPPING. (1) off is not a stop button for in-flight work \u2014 HostResizeDispatcher reads only ec2_pending_instance_type and knows nothing about this flag, so flipping to off stops new enqueues and lets every already-enqueued host complete its stop/modify/start; combined with the ~5-minute eval cache the true blast unit is one tick of open windows. A real kill switch has to live inside the dispatcher. (2) BYO hosts (ADR-0028) are EXCLUDED in Phase 1, not merely clamped to shadow: their instances live in the customer AWS account while the cron authenticates only with the platform provisioner role, so their metrics read as empty and every evaluation would land as unknown. ADR-0072 \xA79 intends them to be shadow-only ("we recommend; they resize") and making that real needs the per-host cross_account_role_arn resolved - its own slice. Pool hosts (ADR-0042) are excluded too, while host_kind is unset in prod. Both are eligibility predicates applied by the cron, documented here so the admin page showing enforce for such an org is not read as behaviour.',
|
|
5676
|
+
flagType: "enum",
|
|
5677
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
5678
|
+
// Ships dark at `off`, NOT `shadow`. Diverging deliberately from
|
|
5679
|
+
// slack-scheduled-channel-guard, whose shadow is a free local log line:
|
|
5680
|
+
// THIS shadow spends a fleet-wide CloudWatch GetMetricData sweep per tick
|
|
5681
|
+
// and writes a row per host, so defaulting to shadow would newly bill and
|
|
5682
|
+
// newly write for every org that never opted in. shadow is the per-canary
|
|
5683
|
+
// opt-in; enforce is the audited flip after the Phase 2 review.
|
|
5684
|
+
defaultValue: "off",
|
|
5685
|
+
// Evaluated centrally, in the API cron — there is no host-side reader, so
|
|
5686
|
+
// no `since` and no dependence on fleet agt-cli convergence.
|
|
5687
|
+
// NOTE: deliberately NO envVar. ADR-0072 §9 wants this gate scoped per
|
|
5688
|
+
// org/host, and an envVar would be highest-precedence (ADR-0022) — a
|
|
5689
|
+
// literal in sst.config.ts would pin every stage and make the admin page a
|
|
5690
|
+
// control that does nothing, which is the ENG-8303 class exactly.
|
|
5691
|
+
// enforce arms automated downtime on a customer's production host.
|
|
5692
|
+
sensitive: true
|
|
5672
5693
|
}
|
|
5673
5694
|
];
|
|
5674
5695
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -12432,4 +12453,4 @@ export {
|
|
|
12432
12453
|
minutesSinceLocalMidnight,
|
|
12433
12454
|
peekCurrentSession
|
|
12434
12455
|
};
|
|
12435
|
-
//# sourceMappingURL=chunk-
|
|
12456
|
+
//# sourceMappingURL=chunk-DWFN5PMF.js.map
|