@@ -1570,6 +1570,21 @@ export const forbiddenContentRules = [
15701570 message :
15711571 'core local ExecCommand adapter must not call the global local process manager; use injected TerminalPort' ,
15721572 } ,
1573+ {
1574+ regex : / \b g e t _ g l o b a l _ r e m o t e _ e x e c _ p r o c e s s _ m a n a g e r \b / ,
1575+ message :
1576+ 'core remote ExecCommand adapter must not call the global remote process manager; use injected RemoteExecPort' ,
1577+ } ,
1578+ {
1579+ regex : / \b S S H C o n n e c t i o n M a n a g e r \b / ,
1580+ message :
1581+ 'core remote ExecCommand adapter must not depend on concrete SSH managers; use injected RemoteExecPort' ,
1582+ } ,
1583+ {
1584+ regex : / \b S S H C o m m a n d O p t i o n s \b / ,
1585+ message :
1586+ 'core remote ExecCommand adapter must not depend on concrete SSH command options; use injected RemoteExecPort' ,
1587+ } ,
15731588 {
15741589 regex : / \b L o c a l E x e c C o m m a n d R e q u e s t \b / ,
15751590 message :
@@ -1620,6 +1635,16 @@ export const forbiddenContentRules = [
16201635 message :
16211636 'core local WriteStdin adapter must not call the global local process manager; use injected TerminalPort' ,
16221637 } ,
1638+ {
1639+ regex : / \b g e t _ g l o b a l _ r e m o t e _ e x e c _ p r o c e s s _ m a n a g e r \b / ,
1640+ message :
1641+ 'core remote WriteStdin adapter must not call the global remote process manager; use injected RemoteExecPort' ,
1642+ } ,
1643+ {
1644+ regex : / \b R e m o t e E x e c E r r o r \b / ,
1645+ message :
1646+ 'core remote WriteStdin adapter must not match concrete remote exec errors; use PortErrorKind' ,
1647+ } ,
16231648 {
16241649 regex : / \b L o c a l W r i t e S t d i n R e q u e s t \b / ,
16251650 message :
@@ -1655,6 +1680,16 @@ export const forbiddenContentRules = [
16551680 message :
16561681 'core local ExecControl adapter must not call the global local process manager; use injected TerminalPort' ,
16571682 } ,
1683+ {
1684+ regex : / \b g e t _ g l o b a l _ r e m o t e _ e x e c _ p r o c e s s _ m a n a g e r \b / ,
1685+ message :
1686+ 'core remote ExecControl adapter must not call the global remote process manager; use injected RemoteExecPort' ,
1687+ } ,
1688+ {
1689+ regex : / \b R e m o t e E x e c E r r o r \b / ,
1690+ message :
1691+ 'core remote ExecControl adapter must not match concrete remote exec errors; use PortErrorKind' ,
1692+ } ,
16581693 {
16591694 regex : / \b L o c a l E x e c C o n t r o l R e q u e s t \b / ,
16601695 message :
@@ -1680,6 +1715,11 @@ export const forbiddenContentRules = [
16801715 message :
16811716 'core local ExecCommand input adapter must not call the global local process manager; use injected TerminalPort' ,
16821717 } ,
1718+ {
1719+ regex : / \b g e t _ g l o b a l _ r e m o t e _ e x e c _ p r o c e s s _ m a n a g e r \b / ,
1720+ message :
1721+ 'core remote ExecCommand input adapter must not call the global remote process manager; use injected RemoteExecPort' ,
1722+ } ,
16831723 {
16841724 regex : / \b L o c a l S e n d S t d i n R e q u e s t \b / ,
16851725 message :
@@ -1745,6 +1785,16 @@ export const forbiddenContentRules = [
17451785 message :
17461786 'core exec_command env snapshot adapter must not own snapshot cache ttl; use tool-runtime exec_command' ,
17471787 } ,
1788+ {
1789+ regex : / \b g e t _ g l o b a l _ r e m o t e _ e x e c _ p r o c e s s _ m a n a g e r \b / ,
1790+ message :
1791+ 'core exec_command env snapshot adapter must not call the global remote process manager; use injected RemoteExecPort' ,
1792+ } ,
1793+ {
1794+ regex : / \b S S H C o n n e c t i o n M a n a g e r \b / ,
1795+ message :
1796+ 'core exec_command env snapshot adapter must not depend on concrete SSH managers; use injected RemoteExecPort' ,
1797+ } ,
17481798 ] ,
17491799 } ,
17501800 {
0 commit comments