@integrity-labs/agt-cli 0.28.669 → 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-U5EI5SXJ.js → chunk-57XP5OG6.js} +24 -12
- package/dist/chunk-57XP5OG6.js.map +1 -0
- package/dist/{chunk-4GA4K2BF.js → chunk-DWFN5PMF.js} +54 -22
- package/dist/chunk-DWFN5PMF.js.map +1 -0
- package/dist/{chunk-TUQQYFGV.js → chunk-ZU2BHLUS.js} +4 -4
- package/dist/chunk-ZU2BHLUS.js.map +1 -0
- package/dist/{claude-pair-runtime-ZBI2RWAO.js → claude-pair-runtime-ANNQRKO4.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +52 -20
- package/dist/mcp/index.js +52 -20
- package/dist/mcp/origami.js +52 -20
- package/dist/mcp/slack-channel.js +52 -20
- package/dist/mcp/telegram-channel.js +52 -20
- package/dist/{persistent-session-4LP3DQ5U.js → persistent-session-LTFB4M53.js} +3 -3
- package/dist/{responsiveness-probe-P3GHBH2Y.js → responsiveness-probe-P2S3UMRE.js} +3 -3
- package/dist/{session-auth-dead-3QN24ELV.js → session-auth-dead-YHSQBOB4.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4GA4K2BF.js.map +0 -1
- package/dist/chunk-TUQQYFGV.js.map +0 -1
- package/dist/chunk-U5EI5SXJ.js.map +0 -1
- /package/dist/{claude-pair-runtime-ZBI2RWAO.js.map → claude-pair-runtime-ANNQRKO4.js.map} +0 -0
- /package/dist/{persistent-session-4LP3DQ5U.js.map → persistent-session-LTFB4M53.js.map} +0 -0
- /package/dist/{responsiveness-probe-P3GHBH2Y.js.map → responsiveness-probe-P2S3UMRE.js.map} +0 -0
- /package/dist/{session-auth-dead-3QN24ELV.js.map → session-auth-dead-YHSQBOB4.js.map} +0 -0
|
@@ -35912,29 +35912,40 @@ var FLAG_REGISTRY = [
|
|
|
35912
35912
|
// write path, not a host's local environment file. One more reason not to
|
|
35913
35913
|
// canary with it.
|
|
35914
35914
|
envVar: "AGT_MEMORY_TOMBSTONES_ENABLED",
|
|
35915
|
-
//
|
|
35915
|
+
// Pinned to the first PUBLISHED agt-cli whose manager carries a WORKING
|
|
35916
|
+
// reader, verified against the tarball rather than inferred from the merge.
|
|
35917
|
+
// ENG-9229 + ENG-9257 merged as 91a67cb08, but auto-publish patch-bumps
|
|
35918
|
+
// from whatever is on main, so the merge does not name a version: a second
|
|
35919
|
+
// CLI-touching merge landed eight minutes later, and `latest` was already
|
|
35920
|
+
// past our cut by the time anyone looked. What settles it is
|
|
35921
|
+
// `npm pack @integrity-labs/agt-cli@<v>` + grep of
|
|
35922
|
+
// package/dist/lib/manager-worker.js (the manager is the actual reader; the
|
|
35923
|
+
// dist/mcp/* occurrences are bundling artifacts). 0.28.666 carries NONE of
|
|
35924
|
+
// `_memory-retirement`, `memory-file-tombstones`, `applyMemoryTombstones`,
|
|
35925
|
+
// `memory-retirement-report`; 0.28.667 carries all four.
|
|
35916
35926
|
//
|
|
35917
|
-
//
|
|
35918
|
-
//
|
|
35919
|
-
//
|
|
35920
|
-
//
|
|
35921
|
-
//
|
|
35922
|
-
//
|
|
35923
|
-
//
|
|
35927
|
+
// ALL FOUR, because this has to name the first build where flipping the
|
|
35928
|
+
// flag does what the flag SAYS, not merely the first build with a reader:
|
|
35929
|
+
// the write-time manifest gate, the tombstone pass sitting above the
|
|
35930
|
+
// download short-circuit, the response hash covering the tombstone list,
|
|
35931
|
+
// and the report-back. Ship a build missing any of those and reach reports
|
|
35932
|
+
// `honors` for hosts that silently never act. Here they shipped in one
|
|
35933
|
+
// merge so they could not be split across versions - that is a property of
|
|
35934
|
+
// this cut, not a guarantee about the next one.
|
|
35924
35935
|
//
|
|
35925
|
-
//
|
|
35926
|
-
//
|
|
35927
|
-
//
|
|
35936
|
+
// MOVE THIS PIN whenever a change alters what arming the flag DOES on a
|
|
35937
|
+
// host, to the first version carrying the CHANGED behaviour, and verify
|
|
35938
|
+
// that one against the tarball too (apps/cli/package.json is not the
|
|
35939
|
+
// published number). See `tool-call-audit` above, where the pin was NOT
|
|
35940
|
+
// moved at such a merge and went stale for a day.
|
|
35928
35941
|
//
|
|
35929
|
-
//
|
|
35930
|
-
//
|
|
35931
|
-
//
|
|
35932
|
-
//
|
|
35933
|
-
//
|
|
35934
|
-
//
|
|
35935
|
-
|
|
35936
|
-
// of those and reach reports `honors` for hosts that silently never act.
|
|
35937
|
-
since: "99.99.99"
|
|
35942
|
+
// WHY THIS FIELD IS NEVER OMITTED, whatever it is set to. classifyHostReach
|
|
35943
|
+
// (packages/core/src/feature-flags/reach.ts) maps an empty `since` to
|
|
35944
|
+
// `honors` for EVERY host including ones with no reader at all, and maps an
|
|
35945
|
+
// unparseable one to `unknown` - which collides with the "host reports no
|
|
35946
|
+
// agt_version" class, so an operator cannot tell "not shipped yet" from
|
|
35947
|
+
// "these hosts are unreadable". Both outlive this particular version.
|
|
35948
|
+
since: "0.28.667"
|
|
35938
35949
|
},
|
|
35939
35950
|
{
|
|
35940
35951
|
key: "conversation-eval-backend",
|
|
@@ -36588,6 +36599,27 @@ var FLAG_REGISTRY = [
|
|
|
36588
36599
|
// never auto-attach an integration nobody asked for, and both ENG-8332
|
|
36589
36600
|
// prerequisites above are still open.
|
|
36590
36601
|
defaultValue: false
|
|
36602
|
+
},
|
|
36603
|
+
{
|
|
36604
|
+
key: "host-right-sizing",
|
|
36605
|
+
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.',
|
|
36606
|
+
flagType: "enum",
|
|
36607
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
36608
|
+
// Ships dark at `off`, NOT `shadow`. Diverging deliberately from
|
|
36609
|
+
// slack-scheduled-channel-guard, whose shadow is a free local log line:
|
|
36610
|
+
// THIS shadow spends a fleet-wide CloudWatch GetMetricData sweep per tick
|
|
36611
|
+
// and writes a row per host, so defaulting to shadow would newly bill and
|
|
36612
|
+
// newly write for every org that never opted in. shadow is the per-canary
|
|
36613
|
+
// opt-in; enforce is the audited flip after the Phase 2 review.
|
|
36614
|
+
defaultValue: "off",
|
|
36615
|
+
// Evaluated centrally, in the API cron — there is no host-side reader, so
|
|
36616
|
+
// no `since` and no dependence on fleet agt-cli convergence.
|
|
36617
|
+
// NOTE: deliberately NO envVar. ADR-0072 §9 wants this gate scoped per
|
|
36618
|
+
// org/host, and an envVar would be highest-precedence (ADR-0022) — a
|
|
36619
|
+
// literal in sst.config.ts would pin every stage and make the admin page a
|
|
36620
|
+
// control that does nothing, which is the ENG-8303 class exactly.
|
|
36621
|
+
// enforce arms automated downtime on a customer's production host.
|
|
36622
|
+
sensitive: true
|
|
36591
36623
|
}
|
|
36592
36624
|
];
|
|
36593
36625
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
package/dist/mcp/index.js
CHANGED
|
@@ -42851,29 +42851,40 @@ var FLAG_REGISTRY = [
|
|
|
42851
42851
|
// write path, not a host's local environment file. One more reason not to
|
|
42852
42852
|
// canary with it.
|
|
42853
42853
|
envVar: "AGT_MEMORY_TOMBSTONES_ENABLED",
|
|
42854
|
-
//
|
|
42854
|
+
// Pinned to the first PUBLISHED agt-cli whose manager carries a WORKING
|
|
42855
|
+
// reader, verified against the tarball rather than inferred from the merge.
|
|
42856
|
+
// ENG-9229 + ENG-9257 merged as 91a67cb08, but auto-publish patch-bumps
|
|
42857
|
+
// from whatever is on main, so the merge does not name a version: a second
|
|
42858
|
+
// CLI-touching merge landed eight minutes later, and `latest` was already
|
|
42859
|
+
// past our cut by the time anyone looked. What settles it is
|
|
42860
|
+
// `npm pack @integrity-labs/agt-cli@<v>` + grep of
|
|
42861
|
+
// package/dist/lib/manager-worker.js (the manager is the actual reader; the
|
|
42862
|
+
// dist/mcp/* occurrences are bundling artifacts). 0.28.666 carries NONE of
|
|
42863
|
+
// `_memory-retirement`, `memory-file-tombstones`, `applyMemoryTombstones`,
|
|
42864
|
+
// `memory-retirement-report`; 0.28.667 carries all four.
|
|
42855
42865
|
//
|
|
42856
|
-
//
|
|
42857
|
-
//
|
|
42858
|
-
//
|
|
42859
|
-
//
|
|
42860
|
-
//
|
|
42861
|
-
//
|
|
42862
|
-
//
|
|
42866
|
+
// ALL FOUR, because this has to name the first build where flipping the
|
|
42867
|
+
// flag does what the flag SAYS, not merely the first build with a reader:
|
|
42868
|
+
// the write-time manifest gate, the tombstone pass sitting above the
|
|
42869
|
+
// download short-circuit, the response hash covering the tombstone list,
|
|
42870
|
+
// and the report-back. Ship a build missing any of those and reach reports
|
|
42871
|
+
// `honors` for hosts that silently never act. Here they shipped in one
|
|
42872
|
+
// merge so they could not be split across versions - that is a property of
|
|
42873
|
+
// this cut, not a guarantee about the next one.
|
|
42863
42874
|
//
|
|
42864
|
-
//
|
|
42865
|
-
//
|
|
42866
|
-
//
|
|
42875
|
+
// MOVE THIS PIN whenever a change alters what arming the flag DOES on a
|
|
42876
|
+
// host, to the first version carrying the CHANGED behaviour, and verify
|
|
42877
|
+
// that one against the tarball too (apps/cli/package.json is not the
|
|
42878
|
+
// published number). See `tool-call-audit` above, where the pin was NOT
|
|
42879
|
+
// moved at such a merge and went stale for a day.
|
|
42867
42880
|
//
|
|
42868
|
-
//
|
|
42869
|
-
//
|
|
42870
|
-
//
|
|
42871
|
-
//
|
|
42872
|
-
//
|
|
42873
|
-
//
|
|
42874
|
-
|
|
42875
|
-
// of those and reach reports `honors` for hosts that silently never act.
|
|
42876
|
-
since: "99.99.99"
|
|
42881
|
+
// WHY THIS FIELD IS NEVER OMITTED, whatever it is set to. classifyHostReach
|
|
42882
|
+
// (packages/core/src/feature-flags/reach.ts) maps an empty `since` to
|
|
42883
|
+
// `honors` for EVERY host including ones with no reader at all, and maps an
|
|
42884
|
+
// unparseable one to `unknown` - which collides with the "host reports no
|
|
42885
|
+
// agt_version" class, so an operator cannot tell "not shipped yet" from
|
|
42886
|
+
// "these hosts are unreadable". Both outlive this particular version.
|
|
42887
|
+
since: "0.28.667"
|
|
42877
42888
|
},
|
|
42878
42889
|
{
|
|
42879
42890
|
key: "conversation-eval-backend",
|
|
@@ -43527,6 +43538,27 @@ var FLAG_REGISTRY = [
|
|
|
43527
43538
|
// never auto-attach an integration nobody asked for, and both ENG-8332
|
|
43528
43539
|
// prerequisites above are still open.
|
|
43529
43540
|
defaultValue: false
|
|
43541
|
+
},
|
|
43542
|
+
{
|
|
43543
|
+
key: "host-right-sizing",
|
|
43544
|
+
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.',
|
|
43545
|
+
flagType: "enum",
|
|
43546
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
43547
|
+
// Ships dark at `off`, NOT `shadow`. Diverging deliberately from
|
|
43548
|
+
// slack-scheduled-channel-guard, whose shadow is a free local log line:
|
|
43549
|
+
// THIS shadow spends a fleet-wide CloudWatch GetMetricData sweep per tick
|
|
43550
|
+
// and writes a row per host, so defaulting to shadow would newly bill and
|
|
43551
|
+
// newly write for every org that never opted in. shadow is the per-canary
|
|
43552
|
+
// opt-in; enforce is the audited flip after the Phase 2 review.
|
|
43553
|
+
defaultValue: "off",
|
|
43554
|
+
// Evaluated centrally, in the API cron — there is no host-side reader, so
|
|
43555
|
+
// no `since` and no dependence on fleet agt-cli convergence.
|
|
43556
|
+
// NOTE: deliberately NO envVar. ADR-0072 §9 wants this gate scoped per
|
|
43557
|
+
// org/host, and an envVar would be highest-precedence (ADR-0022) — a
|
|
43558
|
+
// literal in sst.config.ts would pin every stage and make the admin page a
|
|
43559
|
+
// control that does nothing, which is the ENG-8303 class exactly.
|
|
43560
|
+
// enforce arms automated downtime on a customer's production host.
|
|
43561
|
+
sensitive: true
|
|
43530
43562
|
}
|
|
43531
43563
|
];
|
|
43532
43564
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
package/dist/mcp/origami.js
CHANGED
|
@@ -41662,29 +41662,40 @@ var FLAG_REGISTRY = [
|
|
|
41662
41662
|
// write path, not a host's local environment file. One more reason not to
|
|
41663
41663
|
// canary with it.
|
|
41664
41664
|
envVar: "AGT_MEMORY_TOMBSTONES_ENABLED",
|
|
41665
|
-
//
|
|
41665
|
+
// Pinned to the first PUBLISHED agt-cli whose manager carries a WORKING
|
|
41666
|
+
// reader, verified against the tarball rather than inferred from the merge.
|
|
41667
|
+
// ENG-9229 + ENG-9257 merged as 91a67cb08, but auto-publish patch-bumps
|
|
41668
|
+
// from whatever is on main, so the merge does not name a version: a second
|
|
41669
|
+
// CLI-touching merge landed eight minutes later, and `latest` was already
|
|
41670
|
+
// past our cut by the time anyone looked. What settles it is
|
|
41671
|
+
// `npm pack @integrity-labs/agt-cli@<v>` + grep of
|
|
41672
|
+
// package/dist/lib/manager-worker.js (the manager is the actual reader; the
|
|
41673
|
+
// dist/mcp/* occurrences are bundling artifacts). 0.28.666 carries NONE of
|
|
41674
|
+
// `_memory-retirement`, `memory-file-tombstones`, `applyMemoryTombstones`,
|
|
41675
|
+
// `memory-retirement-report`; 0.28.667 carries all four.
|
|
41666
41676
|
//
|
|
41667
|
-
//
|
|
41668
|
-
//
|
|
41669
|
-
//
|
|
41670
|
-
//
|
|
41671
|
-
//
|
|
41672
|
-
//
|
|
41673
|
-
//
|
|
41677
|
+
// ALL FOUR, because this has to name the first build where flipping the
|
|
41678
|
+
// flag does what the flag SAYS, not merely the first build with a reader:
|
|
41679
|
+
// the write-time manifest gate, the tombstone pass sitting above the
|
|
41680
|
+
// download short-circuit, the response hash covering the tombstone list,
|
|
41681
|
+
// and the report-back. Ship a build missing any of those and reach reports
|
|
41682
|
+
// `honors` for hosts that silently never act. Here they shipped in one
|
|
41683
|
+
// merge so they could not be split across versions - that is a property of
|
|
41684
|
+
// this cut, not a guarantee about the next one.
|
|
41674
41685
|
//
|
|
41675
|
-
//
|
|
41676
|
-
//
|
|
41677
|
-
//
|
|
41686
|
+
// MOVE THIS PIN whenever a change alters what arming the flag DOES on a
|
|
41687
|
+
// host, to the first version carrying the CHANGED behaviour, and verify
|
|
41688
|
+
// that one against the tarball too (apps/cli/package.json is not the
|
|
41689
|
+
// published number). See `tool-call-audit` above, where the pin was NOT
|
|
41690
|
+
// moved at such a merge and went stale for a day.
|
|
41678
41691
|
//
|
|
41679
|
-
//
|
|
41680
|
-
//
|
|
41681
|
-
//
|
|
41682
|
-
//
|
|
41683
|
-
//
|
|
41684
|
-
//
|
|
41685
|
-
|
|
41686
|
-
// of those and reach reports `honors` for hosts that silently never act.
|
|
41687
|
-
since: "99.99.99"
|
|
41692
|
+
// WHY THIS FIELD IS NEVER OMITTED, whatever it is set to. classifyHostReach
|
|
41693
|
+
// (packages/core/src/feature-flags/reach.ts) maps an empty `since` to
|
|
41694
|
+
// `honors` for EVERY host including ones with no reader at all, and maps an
|
|
41695
|
+
// unparseable one to `unknown` - which collides with the "host reports no
|
|
41696
|
+
// agt_version" class, so an operator cannot tell "not shipped yet" from
|
|
41697
|
+
// "these hosts are unreadable". Both outlive this particular version.
|
|
41698
|
+
since: "0.28.667"
|
|
41688
41699
|
},
|
|
41689
41700
|
{
|
|
41690
41701
|
key: "conversation-eval-backend",
|
|
@@ -42338,6 +42349,27 @@ var FLAG_REGISTRY = [
|
|
|
42338
42349
|
// never auto-attach an integration nobody asked for, and both ENG-8332
|
|
42339
42350
|
// prerequisites above are still open.
|
|
42340
42351
|
defaultValue: false
|
|
42352
|
+
},
|
|
42353
|
+
{
|
|
42354
|
+
key: "host-right-sizing",
|
|
42355
|
+
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.',
|
|
42356
|
+
flagType: "enum",
|
|
42357
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
42358
|
+
// Ships dark at `off`, NOT `shadow`. Diverging deliberately from
|
|
42359
|
+
// slack-scheduled-channel-guard, whose shadow is a free local log line:
|
|
42360
|
+
// THIS shadow spends a fleet-wide CloudWatch GetMetricData sweep per tick
|
|
42361
|
+
// and writes a row per host, so defaulting to shadow would newly bill and
|
|
42362
|
+
// newly write for every org that never opted in. shadow is the per-canary
|
|
42363
|
+
// opt-in; enforce is the audited flip after the Phase 2 review.
|
|
42364
|
+
defaultValue: "off",
|
|
42365
|
+
// Evaluated centrally, in the API cron — there is no host-side reader, so
|
|
42366
|
+
// no `since` and no dependence on fleet agt-cli convergence.
|
|
42367
|
+
// NOTE: deliberately NO envVar. ADR-0072 §9 wants this gate scoped per
|
|
42368
|
+
// org/host, and an envVar would be highest-precedence (ADR-0022) — a
|
|
42369
|
+
// literal in sst.config.ts would pin every stage and make the admin page a
|
|
42370
|
+
// control that does nothing, which is the ENG-8303 class exactly.
|
|
42371
|
+
// enforce arms automated downtime on a customer's production host.
|
|
42372
|
+
sensitive: true
|
|
42341
42373
|
}
|
|
42342
42374
|
];
|
|
42343
42375
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -36145,29 +36145,40 @@ var FLAG_REGISTRY = [
|
|
|
36145
36145
|
// write path, not a host's local environment file. One more reason not to
|
|
36146
36146
|
// canary with it.
|
|
36147
36147
|
envVar: "AGT_MEMORY_TOMBSTONES_ENABLED",
|
|
36148
|
-
//
|
|
36148
|
+
// Pinned to the first PUBLISHED agt-cli whose manager carries a WORKING
|
|
36149
|
+
// reader, verified against the tarball rather than inferred from the merge.
|
|
36150
|
+
// ENG-9229 + ENG-9257 merged as 91a67cb08, but auto-publish patch-bumps
|
|
36151
|
+
// from whatever is on main, so the merge does not name a version: a second
|
|
36152
|
+
// CLI-touching merge landed eight minutes later, and `latest` was already
|
|
36153
|
+
// past our cut by the time anyone looked. What settles it is
|
|
36154
|
+
// `npm pack @integrity-labs/agt-cli@<v>` + grep of
|
|
36155
|
+
// package/dist/lib/manager-worker.js (the manager is the actual reader; the
|
|
36156
|
+
// dist/mcp/* occurrences are bundling artifacts). 0.28.666 carries NONE of
|
|
36157
|
+
// `_memory-retirement`, `memory-file-tombstones`, `applyMemoryTombstones`,
|
|
36158
|
+
// `memory-retirement-report`; 0.28.667 carries all four.
|
|
36149
36159
|
//
|
|
36150
|
-
//
|
|
36151
|
-
//
|
|
36152
|
-
//
|
|
36153
|
-
//
|
|
36154
|
-
//
|
|
36155
|
-
//
|
|
36156
|
-
//
|
|
36160
|
+
// ALL FOUR, because this has to name the first build where flipping the
|
|
36161
|
+
// flag does what the flag SAYS, not merely the first build with a reader:
|
|
36162
|
+
// the write-time manifest gate, the tombstone pass sitting above the
|
|
36163
|
+
// download short-circuit, the response hash covering the tombstone list,
|
|
36164
|
+
// and the report-back. Ship a build missing any of those and reach reports
|
|
36165
|
+
// `honors` for hosts that silently never act. Here they shipped in one
|
|
36166
|
+
// merge so they could not be split across versions - that is a property of
|
|
36167
|
+
// this cut, not a guarantee about the next one.
|
|
36157
36168
|
//
|
|
36158
|
-
//
|
|
36159
|
-
//
|
|
36160
|
-
//
|
|
36169
|
+
// MOVE THIS PIN whenever a change alters what arming the flag DOES on a
|
|
36170
|
+
// host, to the first version carrying the CHANGED behaviour, and verify
|
|
36171
|
+
// that one against the tarball too (apps/cli/package.json is not the
|
|
36172
|
+
// published number). See `tool-call-audit` above, where the pin was NOT
|
|
36173
|
+
// moved at such a merge and went stale for a day.
|
|
36161
36174
|
//
|
|
36162
|
-
//
|
|
36163
|
-
//
|
|
36164
|
-
//
|
|
36165
|
-
//
|
|
36166
|
-
//
|
|
36167
|
-
//
|
|
36168
|
-
|
|
36169
|
-
// of those and reach reports `honors` for hosts that silently never act.
|
|
36170
|
-
since: "99.99.99"
|
|
36175
|
+
// WHY THIS FIELD IS NEVER OMITTED, whatever it is set to. classifyHostReach
|
|
36176
|
+
// (packages/core/src/feature-flags/reach.ts) maps an empty `since` to
|
|
36177
|
+
// `honors` for EVERY host including ones with no reader at all, and maps an
|
|
36178
|
+
// unparseable one to `unknown` - which collides with the "host reports no
|
|
36179
|
+
// agt_version" class, so an operator cannot tell "not shipped yet" from
|
|
36180
|
+
// "these hosts are unreadable". Both outlive this particular version.
|
|
36181
|
+
since: "0.28.667"
|
|
36171
36182
|
},
|
|
36172
36183
|
{
|
|
36173
36184
|
key: "conversation-eval-backend",
|
|
@@ -36821,6 +36832,27 @@ var FLAG_REGISTRY = [
|
|
|
36821
36832
|
// never auto-attach an integration nobody asked for, and both ENG-8332
|
|
36822
36833
|
// prerequisites above are still open.
|
|
36823
36834
|
defaultValue: false
|
|
36835
|
+
},
|
|
36836
|
+
{
|
|
36837
|
+
key: "host-right-sizing",
|
|
36838
|
+
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.',
|
|
36839
|
+
flagType: "enum",
|
|
36840
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
36841
|
+
// Ships dark at `off`, NOT `shadow`. Diverging deliberately from
|
|
36842
|
+
// slack-scheduled-channel-guard, whose shadow is a free local log line:
|
|
36843
|
+
// THIS shadow spends a fleet-wide CloudWatch GetMetricData sweep per tick
|
|
36844
|
+
// and writes a row per host, so defaulting to shadow would newly bill and
|
|
36845
|
+
// newly write for every org that never opted in. shadow is the per-canary
|
|
36846
|
+
// opt-in; enforce is the audited flip after the Phase 2 review.
|
|
36847
|
+
defaultValue: "off",
|
|
36848
|
+
// Evaluated centrally, in the API cron — there is no host-side reader, so
|
|
36849
|
+
// no `since` and no dependence on fleet agt-cli convergence.
|
|
36850
|
+
// NOTE: deliberately NO envVar. ADR-0072 §9 wants this gate scoped per
|
|
36851
|
+
// org/host, and an envVar would be highest-precedence (ADR-0022) — a
|
|
36852
|
+
// literal in sst.config.ts would pin every stage and make the admin page a
|
|
36853
|
+
// control that does nothing, which is the ENG-8303 class exactly.
|
|
36854
|
+
// enforce arms automated downtime on a customer's production host.
|
|
36855
|
+
sensitive: true
|
|
36824
36856
|
}
|
|
36825
36857
|
];
|
|
36826
36858
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -36289,29 +36289,40 @@ var FLAG_REGISTRY = [
|
|
|
36289
36289
|
// write path, not a host's local environment file. One more reason not to
|
|
36290
36290
|
// canary with it.
|
|
36291
36291
|
envVar: "AGT_MEMORY_TOMBSTONES_ENABLED",
|
|
36292
|
-
//
|
|
36292
|
+
// Pinned to the first PUBLISHED agt-cli whose manager carries a WORKING
|
|
36293
|
+
// reader, verified against the tarball rather than inferred from the merge.
|
|
36294
|
+
// ENG-9229 + ENG-9257 merged as 91a67cb08, but auto-publish patch-bumps
|
|
36295
|
+
// from whatever is on main, so the merge does not name a version: a second
|
|
36296
|
+
// CLI-touching merge landed eight minutes later, and `latest` was already
|
|
36297
|
+
// past our cut by the time anyone looked. What settles it is
|
|
36298
|
+
// `npm pack @integrity-labs/agt-cli@<v>` + grep of
|
|
36299
|
+
// package/dist/lib/manager-worker.js (the manager is the actual reader; the
|
|
36300
|
+
// dist/mcp/* occurrences are bundling artifacts). 0.28.666 carries NONE of
|
|
36301
|
+
// `_memory-retirement`, `memory-file-tombstones`, `applyMemoryTombstones`,
|
|
36302
|
+
// `memory-retirement-report`; 0.28.667 carries all four.
|
|
36293
36303
|
//
|
|
36294
|
-
//
|
|
36295
|
-
//
|
|
36296
|
-
//
|
|
36297
|
-
//
|
|
36298
|
-
//
|
|
36299
|
-
//
|
|
36300
|
-
//
|
|
36304
|
+
// ALL FOUR, because this has to name the first build where flipping the
|
|
36305
|
+
// flag does what the flag SAYS, not merely the first build with a reader:
|
|
36306
|
+
// the write-time manifest gate, the tombstone pass sitting above the
|
|
36307
|
+
// download short-circuit, the response hash covering the tombstone list,
|
|
36308
|
+
// and the report-back. Ship a build missing any of those and reach reports
|
|
36309
|
+
// `honors` for hosts that silently never act. Here they shipped in one
|
|
36310
|
+
// merge so they could not be split across versions - that is a property of
|
|
36311
|
+
// this cut, not a guarantee about the next one.
|
|
36301
36312
|
//
|
|
36302
|
-
//
|
|
36303
|
-
//
|
|
36304
|
-
//
|
|
36313
|
+
// MOVE THIS PIN whenever a change alters what arming the flag DOES on a
|
|
36314
|
+
// host, to the first version carrying the CHANGED behaviour, and verify
|
|
36315
|
+
// that one against the tarball too (apps/cli/package.json is not the
|
|
36316
|
+
// published number). See `tool-call-audit` above, where the pin was NOT
|
|
36317
|
+
// moved at such a merge and went stale for a day.
|
|
36305
36318
|
//
|
|
36306
|
-
//
|
|
36307
|
-
//
|
|
36308
|
-
//
|
|
36309
|
-
//
|
|
36310
|
-
//
|
|
36311
|
-
//
|
|
36312
|
-
|
|
36313
|
-
// of those and reach reports `honors` for hosts that silently never act.
|
|
36314
|
-
since: "99.99.99"
|
|
36319
|
+
// WHY THIS FIELD IS NEVER OMITTED, whatever it is set to. classifyHostReach
|
|
36320
|
+
// (packages/core/src/feature-flags/reach.ts) maps an empty `since` to
|
|
36321
|
+
// `honors` for EVERY host including ones with no reader at all, and maps an
|
|
36322
|
+
// unparseable one to `unknown` - which collides with the "host reports no
|
|
36323
|
+
// agt_version" class, so an operator cannot tell "not shipped yet" from
|
|
36324
|
+
// "these hosts are unreadable". Both outlive this particular version.
|
|
36325
|
+
since: "0.28.667"
|
|
36315
36326
|
},
|
|
36316
36327
|
{
|
|
36317
36328
|
key: "conversation-eval-backend",
|
|
@@ -36965,6 +36976,27 @@ var FLAG_REGISTRY = [
|
|
|
36965
36976
|
// never auto-attach an integration nobody asked for, and both ENG-8332
|
|
36966
36977
|
// prerequisites above are still open.
|
|
36967
36978
|
defaultValue: false
|
|
36979
|
+
},
|
|
36980
|
+
{
|
|
36981
|
+
key: "host-right-sizing",
|
|
36982
|
+
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.',
|
|
36983
|
+
flagType: "enum",
|
|
36984
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
36985
|
+
// Ships dark at `off`, NOT `shadow`. Diverging deliberately from
|
|
36986
|
+
// slack-scheduled-channel-guard, whose shadow is a free local log line:
|
|
36987
|
+
// THIS shadow spends a fleet-wide CloudWatch GetMetricData sweep per tick
|
|
36988
|
+
// and writes a row per host, so defaulting to shadow would newly bill and
|
|
36989
|
+
// newly write for every org that never opted in. shadow is the per-canary
|
|
36990
|
+
// opt-in; enforce is the audited flip after the Phase 2 review.
|
|
36991
|
+
defaultValue: "off",
|
|
36992
|
+
// Evaluated centrally, in the API cron — there is no host-side reader, so
|
|
36993
|
+
// no `since` and no dependence on fleet agt-cli convergence.
|
|
36994
|
+
// NOTE: deliberately NO envVar. ADR-0072 §9 wants this gate scoped per
|
|
36995
|
+
// org/host, and an envVar would be highest-precedence (ADR-0022) — a
|
|
36996
|
+
// literal in sst.config.ts would pin every stage and make the admin page a
|
|
36997
|
+
// control that does nothing, which is the ENG-8303 class exactly.
|
|
36998
|
+
// enforce arms automated downtime on a customer's production host.
|
|
36999
|
+
sensitive: true
|
|
36968
37000
|
}
|
|
36969
37001
|
];
|
|
36970
37002
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -43,8 +43,8 @@ import {
|
|
|
43
43
|
writeDirectChatSessionState,
|
|
44
44
|
writeEgressAllowlist,
|
|
45
45
|
writePersistentClaudeWrapper
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-57XP5OG6.js";
|
|
47
|
+
import "./chunk-DWFN5PMF.js";
|
|
48
48
|
import "./chunk-XWVM4KPK.js";
|
|
49
49
|
export {
|
|
50
50
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -92,4 +92,4 @@ export {
|
|
|
92
92
|
writeEgressAllowlist,
|
|
93
93
|
writePersistentClaudeWrapper
|
|
94
94
|
};
|
|
95
|
-
//# sourceMappingURL=persistent-session-
|
|
95
|
+
//# sourceMappingURL=persistent-session-LTFB4M53.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-57XP5OG6.js";
|
|
4
|
+
import "./chunk-DWFN5PMF.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -727,4 +727,4 @@ export {
|
|
|
727
727
|
readAndResetSlackReplyBindingClassifications,
|
|
728
728
|
readAndResetSlackReplyTargetClassifications
|
|
729
729
|
};
|
|
730
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
730
|
+
//# sourceMappingURL=responsiveness-probe-P2S3UMRE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DWFN5PMF.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-YHSQBOB4.js.map
|