@stigmer/protos 3.9.0 → 3.11.0

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.
Files changed (53) hide show
  1. package/ai/stigmer/activity/v1/io_pb.d.ts +11 -7
  2. package/ai/stigmer/activity/v1/io_pb.js.map +1 -1
  3. package/ai/stigmer/activity/v1/query_connect.d.ts +8 -3
  4. package/ai/stigmer/activity/v1/query_connect.js +8 -3
  5. package/ai/stigmer/activity/v1/query_connect.js.map +1 -1
  6. package/ai/stigmer/activity/v1/query_pb.d.ts +8 -3
  7. package/ai/stigmer/activity/v1/query_pb.js.map +1 -1
  8. package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +3 -0
  9. package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +7 -0
  11. package/ai/stigmer/agentic/agent/v1/query_connect.js +7 -0
  12. package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -1
  13. package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +7 -0
  14. package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
  15. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +16 -1
  16. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  17. package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +17 -7
  18. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +17 -7
  19. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
  20. package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +17 -7
  21. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/executioncontext/v1/command_connect.d.ts +30 -13
  23. package/ai/stigmer/agentic/executioncontext/v1/command_connect.js +30 -13
  24. package/ai/stigmer/agentic/executioncontext/v1/command_connect.js.map +1 -1
  25. package/ai/stigmer/agentic/executioncontext/v1/command_pb.d.ts +30 -13
  26. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +16 -7
  27. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -1
  28. package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +8 -6
  29. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +8 -6
  30. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -1
  31. package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +8 -6
  32. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
  33. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +6 -1
  34. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
  35. package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +3 -2
  36. package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
  37. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +3 -2
  38. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  39. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +36 -0
  40. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js.map +1 -1
  41. package/ai/stigmer/commons/apiresource/enum_pb.d.ts +15 -4
  42. package/ai/stigmer/commons/apiresource/enum_pb.js +15 -4
  43. package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
  44. package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +48 -0
  45. package/ai/stigmer/iam/iampolicy/v1/command_connect.js +48 -0
  46. package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -1
  47. package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +47 -0
  48. package/ai/stigmer/iam/iampolicy/v1/command_pb.js +1 -1
  49. package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -1
  50. package/ai/stigmer/platform/v1/server_info_pb.d.ts +8 -5
  51. package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
  52. package/ai/stigmer/search/v1/io_pb.d.ts +3 -3
  53. package/package.json +1 -1
@@ -9,13 +9,22 @@ export declare const file_ai_stigmer_agentic_executioncontext_v1_command: GenFil
9
9
  * ExecutionContextCommandController handles write operations for ExecutionContext resources.
10
10
  *
11
11
  * @internal
12
- * Authorization: All RPCs use is_skip_authorization with custom handler-level derived auth.
13
- * ExecutionContext is ephemeral (1:1 with its parent execution) and has no dedicated
14
- * FGA model. Authorization is derived from the parent execution:
15
- * - create: Caller must have can_edit on parent agent_execution or workflow_execution
16
- * - delete: Caller must have can_edit on parent agent_execution or workflow_execution
17
- *
18
- * This avoids FGA tuple churn for short-lived resources while maintaining proper access control.
12
+ * Every write RPC uses is_skip_authorization with a real handler-level check
13
+ * (the framework's declarative FGA options cannot express any of these):
14
+ * - create: the caller-class differs by transport. Internal in-process
15
+ * pipeline calls (agent execution, workflow execution, workflow recovery,
16
+ * MCP connect) are trusted the parent operation already authorized the
17
+ * run against its session-or-org, and the EC is created before that parent
18
+ * is persisted, so it carries no resource to re-check. External callers
19
+ * must hold can_create_execution_in on metadata.org (the same bar that
20
+ * gates creating an execution in the org; held by members and guests).
21
+ * A declarative org option cannot encode the internal/external split.
22
+ * - apply: intentionally unannotated router — it delegates to create
23
+ * (create-or-fail; ExecutionContext has no update RPC) and the delegated
24
+ * pipeline runs under create's handler, authorization included.
25
+ * - delete: caller must have can_edit on execution_context:<id> (owner-only,
26
+ * per the execution_context FGA model). The FGA target is the loaded
27
+ * resource, so it cannot be a declarative method option.
19
28
  *
20
29
  * @generated from service ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController
21
30
  */
@@ -24,8 +33,9 @@ export declare const ExecutionContextCommandController: GenService<{
24
33
  * Create or update an ExecutionContext.
25
34
  *
26
35
  * @internal
27
- * The authorization and state-operation are determined depending on whether the execution context
28
- * is going to be created or updated which is determined as part of the request execution.
36
+ * Router only: delegates to create when the resource does not exist and
37
+ * fails with ALREADY_EXISTS when it does (no update RPC). Authorization is
38
+ * inherited from the delegated create pipeline.
29
39
  *
30
40
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.apply
31
41
  */
@@ -38,8 +48,13 @@ export declare const ExecutionContextCommandController: GenService<{
38
48
  * Create a new ExecutionContext for an execution.
39
49
  *
40
50
  * @internal
41
- * Called by execution pipeline on behalf of the user.
42
- * Handler-level derived auth: checks can_edit on parent agent_execution or workflow_execution.
51
+ * Called by the execution pipelines (agent execution, workflow execution,
52
+ * workflow recovery, MCP connect) as sub-steps, and reachable directly by
53
+ * API clients. is_skip_authorization because the caller-class split cannot
54
+ * be a declarative option: the create handler trusts internal in-process
55
+ * calls (already authorized upstream) and requires external callers to hold
56
+ * can_create_execution_in on metadata.org. The pipeline additionally grants
57
+ * the caller the owner tuple, which gates all subsequent reads and delete.
43
58
  *
44
59
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.create
45
60
  */
@@ -52,8 +67,10 @@ export declare const ExecutionContextCommandController: GenService<{
52
67
  * Delete an ExecutionContext.
53
68
  *
54
69
  * @internal
55
- * Called when execution completes. Handler-level derived auth: checks can_edit
56
- * on parent agent_execution or workflow_execution.
70
+ * Called when execution completes. Handler-level auth (the FGA target is the
71
+ * loaded resource, so it cannot be a declarative option): caller must have
72
+ * can_edit on execution_context:<id>, which the FGA model resolves to the
73
+ * owner written at create time.
57
74
  *
58
75
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.delete
59
76
  */
@@ -14,13 +14,22 @@ export const file_ai_stigmer_agentic_executioncontext_v1_command = /*@__PURE__*/
14
14
  * ExecutionContextCommandController handles write operations for ExecutionContext resources.
15
15
  *
16
16
  * @internal
17
- * Authorization: All RPCs use is_skip_authorization with custom handler-level derived auth.
18
- * ExecutionContext is ephemeral (1:1 with its parent execution) and has no dedicated
19
- * FGA model. Authorization is derived from the parent execution:
20
- * - create: Caller must have can_edit on parent agent_execution or workflow_execution
21
- * - delete: Caller must have can_edit on parent agent_execution or workflow_execution
22
- *
23
- * This avoids FGA tuple churn for short-lived resources while maintaining proper access control.
17
+ * Every write RPC uses is_skip_authorization with a real handler-level check
18
+ * (the framework's declarative FGA options cannot express any of these):
19
+ * - create: the caller-class differs by transport. Internal in-process
20
+ * pipeline calls (agent execution, workflow execution, workflow recovery,
21
+ * MCP connect) are trusted the parent operation already authorized the
22
+ * run against its session-or-org, and the EC is created before that parent
23
+ * is persisted, so it carries no resource to re-check. External callers
24
+ * must hold can_create_execution_in on metadata.org (the same bar that
25
+ * gates creating an execution in the org; held by members and guests).
26
+ * A declarative org option cannot encode the internal/external split.
27
+ * - apply: intentionally unannotated router — it delegates to create
28
+ * (create-or-fail; ExecutionContext has no update RPC) and the delegated
29
+ * pipeline runs under create's handler, authorization included.
30
+ * - delete: caller must have can_edit on execution_context:<id> (owner-only,
31
+ * per the execution_context FGA model). The FGA target is the loaded
32
+ * resource, so it cannot be a declarative method option.
24
33
  *
25
34
  * @generated from service ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController
26
35
  */
@@ -1 +1 @@
1
- {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4IAA4I;AAC5I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAY,aAAa,CACvF,QAAQ,CAAC,4sBAA4sB,EAAE,CAAC,+CAA+C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEz5B;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,iCAAiC,GA2CzC,aAAa,CAChB,WAAW,CAAC,mDAAmD,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4IAA4I;AAC5I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAY,aAAa,CACvF,QAAQ,CAAC,4sBAA4sB,EAAE,CAAC,+CAA+C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEz5B;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAmDzC,aAAa,CAChB,WAAW,CAAC,mDAAmD,EAAE,CAAC,CAAC,CAAC"}
@@ -56,12 +56,14 @@ export declare const ExecutionContextQueryController: {
56
56
  * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
57
57
  *
58
58
  * Secret handling (cloud): the decrypt path is gated by caller credential
59
- * class, not by FGA — runners authenticate as the user who owns the
60
- * execution, so permissions cannot tell them apart. Callers presenting a
61
- * platform-minted runner token (token_type of sandbox, workflow_sandbox,
62
- * connect_sandbox, or embedded_runner) receive decrypted secret values;
63
- * every other caller (user JWT, SDK, console) receives the same redaction
64
- * as get/getByReference.
59
+ * class AND scope, not by FGA — runners authenticate as the user who owns
60
+ * the execution, so permissions cannot tell them apart. Callers presenting
61
+ * a platform-minted runner token (token_type of sandbox, workflow_sandbox,
62
+ * or connect_sandbox) whose scope claim binds it to this very execution
63
+ * receive decrypted secret values. The unscoped embedded_runner bootstrap
64
+ * credential is refused; desktop runners exchange it for a scoped token
65
+ * via getRunnerScopedToken before reading. Every other caller (user JWT,
66
+ * SDK, console) receives the same redaction as get/getByReference.
65
67
  *
66
68
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByExecutionId
67
69
  */
@@ -64,12 +64,14 @@ export const ExecutionContextQueryController = {
64
64
  * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
65
65
  *
66
66
  * Secret handling (cloud): the decrypt path is gated by caller credential
67
- * class, not by FGA — runners authenticate as the user who owns the
68
- * execution, so permissions cannot tell them apart. Callers presenting a
69
- * platform-minted runner token (token_type of sandbox, workflow_sandbox,
70
- * connect_sandbox, or embedded_runner) receive decrypted secret values;
71
- * every other caller (user JWT, SDK, console) receives the same redaction
72
- * as get/getByReference.
67
+ * class AND scope, not by FGA — runners authenticate as the user who owns
68
+ * the execution, so permissions cannot tell them apart. Callers presenting
69
+ * a platform-minted runner token (token_type of sandbox, workflow_sandbox,
70
+ * or connect_sandbox) whose scope claim binds it to this very execution
71
+ * receive decrypted secret values. The unscoped embedded_runner bootstrap
72
+ * credential is refused; desktop runners exchange it for a scoped token
73
+ * via getRunnerScopedToken before reading. Every other caller (user JWT,
74
+ * SDK, console) receives the same redaction as get/getByReference.
73
75
  *
74
76
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByExecutionId
75
77
  */
@@ -1 +1 @@
1
- {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0IAA0I;AAC1I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gCAAgC,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,wEAAwE;IAClF,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;WAiBG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,gCAAgC;YACnC,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0IAA0I;AAC1I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gCAAgC,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,wEAAwE;IAClF,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;WAmBG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,gCAAgC;YACnC,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -60,12 +60,14 @@ export declare const ExecutionContextQueryController: GenService<{
60
60
  * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
61
61
  *
62
62
  * Secret handling (cloud): the decrypt path is gated by caller credential
63
- * class, not by FGA — runners authenticate as the user who owns the
64
- * execution, so permissions cannot tell them apart. Callers presenting a
65
- * platform-minted runner token (token_type of sandbox, workflow_sandbox,
66
- * connect_sandbox, or embedded_runner) receive decrypted secret values;
67
- * every other caller (user JWT, SDK, console) receives the same redaction
68
- * as get/getByReference.
63
+ * class AND scope, not by FGA — runners authenticate as the user who owns
64
+ * the execution, so permissions cannot tell them apart. Callers presenting
65
+ * a platform-minted runner token (token_type of sandbox, workflow_sandbox,
66
+ * or connect_sandbox) whose scope claim binds it to this very execution
67
+ * receive decrypted secret values. The unscoped embedded_runner bootstrap
68
+ * credential is refused; desktop runners exchange it for a scoped token
69
+ * via getRunnerScopedToken before reading. Every other caller (user JWT,
70
+ * SDK, console) receives the same redaction as get/getByReference.
69
71
  *
70
72
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByExecutionId
71
73
  */
@@ -1 +1 @@
1
- {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0IAA0I;AAC1I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EAAE,8CAA8C,EAAE,MAAM,YAAY,CAAC;AAE5E,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,0vBAA0vB,EAAE,CAAC,+CAA+C,EAAE,8CAA8C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEv/B;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAoDvC,aAAa,CAChB,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0IAA0I;AAC1I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EAAE,8CAA8C,EAAE,MAAM,YAAY,CAAC;AAE5E,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,0vBAA0vB,EAAE,CAAC,+CAA+C,EAAE,8CAA8C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEv/B;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAsDvC,aAAa,CAChB,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
@@ -71,13 +71,18 @@ export type McpServerSpec = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerSp
71
71
  /**
72
72
  * Default tools to enable from this MCP server.
73
73
  * Empty list means all tools are enabled by default.
74
+ * Applies whenever an agent's McpServerUsage.enabled_tools is empty.
74
75
  *
75
76
  * @internal
76
77
  * Tool names must match exactly what the MCP server reports via tools/list.
77
78
  * Only names from discovered_capabilities.tools are valid here.
78
79
  * Do NOT include names from discovered_capabilities.resource_templates —
79
80
  * resource templates are read-only data endpoints, not callable tools.
80
- * Including a resource template name here causes a fatal runtime error.
81
+ * A name the server does not expose (including a resource template name)
82
+ * is warned and ignored at execution: the runner enforces the INTERSECTION
83
+ * with the server's live toolset, so a stale or mistyped entry narrows the
84
+ * toolset but never widens it or fails the run. Enforcement is per harness
85
+ * — see McpServerUsage.enabled_tools in agent/v1/spec.proto.
81
86
  *
82
87
  * @generated from field: repeated string default_enabled_tools = 7;
83
88
  */
@@ -1 +1 @@
1
- {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2HAA2H;AAC3H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,iCAAiC,CAAC;A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AAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,0mEAA0mE,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAwK7xE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA+D5D;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA4E5D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AAqE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA6H5D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
@@ -102,8 +102,9 @@ export declare const McpServerStatusSchema: GenMessage<McpServerStatus>;
102
102
  * - tools: Callable actions the agent can invoke (e.g., search_code, create_pr).
103
103
  * Only tool names are valid in Agent enabled_tools and McpServer default_enabled_tools.
104
104
  * - resource_templates: Read-only data endpoints accessed by URI template.
105
- * Resource template names must NEVER appear in enabled_tools — doing so causes
106
- * a fatal runtime error.
105
+ * Resource template names must NEVER appear in enabled_tools — such a name
106
+ * never matches a discovered tool, so the runner warns and ignores it
107
+ * (enforcing the intersection with the live toolset).
107
108
  *
108
109
  * Populated by:
109
110
  * - Seedpack bootstrap (built-in servers with known, stable tool sets)
@@ -1 +1 @@
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EG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA4B,aAAa,CACxE,QAAQ,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
@@ -857,8 +857,9 @@ export type SendSignalInput = Message<"ai.stigmer.agentic.workflowexecution.v1.S
857
857
  * Optional idempotency key for deduplication of signal delivery.
858
858
  *
859
859
  * @internal
860
- * When provided, duplicate signals with the same key (within the 24-hour TTL window)
861
- * return the cached response instead of re-delivering the signal.
860
+ * When provided, a duplicate signal with the same key (within the 24-hour
861
+ * TTL window) is rejected with ALREADY_EXISTS instead of being re-delivered;
862
+ * nothing is cached or replayed. Both editions enforce this identically.
862
863
  * Keys are scoped to the organization to prevent cross-org collisions.
863
864
  *
864
865
  * @since Gap B2 (Event Dedupe)
@@ -1 +1 @@
1
- {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,8CAA8C,EAAE,MAAM,oCAAoC,CAAC;AAEpG,OAAO,EAAE,gDAAgD,EAAE,MAAM,aAAa,CAAC;AAE/E,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,6BAA6B,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGpI;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAY,aAAa,CACnF,QAAQ,CAAC,8qOAA8qO,EAAE,CAAC,8CAA8C,EAAE,gDAAgD,EAAE,iDAAiD,EAAE,kDAAkD,EAAE,0BAA0B,EAAE,6BAA6B,EA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AM,CAAC,MAAM,uBAAuB,GAA+B,aAAa,CAC9E,QAAQ,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
@@ -141,26 +141,62 @@ export declare const SummarizationConfigSchema: GenMessage<SummarizationConfig>;
141
141
  /**
142
142
  * ModelCapabilities flags what a model supports. Catalog metadata.
143
143
  *
144
+ * Presence is tri-state at the block level: an absent block means the
145
+ * model's capabilities were never assessed, and consumers must treat that
146
+ * as "unknown" — never as all-false. A present block is populated
147
+ * all-or-nothing (every flag assessed together), because proto3 bools
148
+ * carry no per-field presence: a partially filled block would silently
149
+ * encode its unassessed flags as false.
150
+ *
144
151
  * @generated from message ai.stigmer.billing.v1.ModelCapabilities
145
152
  */
146
153
  export type ModelCapabilities = Message<"ai.stigmer.billing.v1.ModelCapabilities"> & {
147
154
  /**
155
+ * Whether the model accepts tool / function-calling requests.
156
+ *
148
157
  * @generated from field: bool tool_use = 1;
149
158
  */
150
159
  toolUse: boolean;
151
160
  /**
161
+ * Whether image input delivered to this model produces genuine visual
162
+ * understanding.
163
+ *
164
+ * The meaning is harness-scoped. For native-harness entries this is the
165
+ * provider-documented capability of the model itself. For cursor-harness
166
+ * entries it encodes "images work through this model on the Cursor
167
+ * path": Cursor's serving stack hands vision off to a multimodal model
168
+ * server-side, so a model that is text-only by its own documentation
169
+ * (composer-2.5) still sees images when dispatched via Cursor.
170
+ *
171
+ * @internal
172
+ * Cursor-path values are established empirically — a nonce-bearing image
173
+ * probe per model (production executions, 2026-08-10; evidence table on
174
+ * stigmer-cloud#281, methodology from the whatsapp-media project's T06
175
+ * probe) — because Cursor's own docs under-report: the server-side
176
+ * vision hand-off is undocumented behavior. If Cursor changes that
177
+ * behavior, re-probe; do not re-read the docs. The OSS runner's vision
178
+ * gate (attachment-vision.ts, stigmer#370) fails open — it degrades
179
+ * image delivery only on an explicit false.
180
+ *
152
181
  * @generated from field: bool vision = 2;
153
182
  */
154
183
  vision: boolean;
155
184
  /**
185
+ * Whether the model streams incremental output tokens.
186
+ *
156
187
  * @generated from field: bool streaming = 3;
157
188
  */
158
189
  streaming: boolean;
159
190
  /**
191
+ * Whether the model supports extended thinking / reasoning traces.
192
+ *
160
193
  * @generated from field: bool thinking = 4;
161
194
  */
162
195
  thinking: boolean;
163
196
  /**
197
+ * Whether thinking depth adapts to the request instead of a fixed
198
+ * budget (e.g. Anthropic adaptive thinking).
199
+ *
164
200
  * @generated from field: bool adaptive_thinking = 5;
165
201
  */
166
202
  adaptiveThinking: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"model_pricing_baseline_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/billing/v1/model_pricing_baseline_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,owFAAowF,EAAE,CAAC,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA+E/0F;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AA0BpE;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAgCpE;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAkCpE;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AA6KpE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,MAAM,CAAN,IAAY,0BA4BX;AA5BD,WAAY,0BAA0B;IACpC;;OAEG;IACH,qJAA6C,CAAA;IAE7C;;;;;OAKG;IACH,iHAA2B,CAAA;IAE3B;;;;OAIG;IACH,yHAA+B,CAAA;IAE/B;;;;;OAKG;IACH,mHAA4B,CAAA;AAC9B,CAAC,EA5BW,0BAA0B,KAA1B,0BAA0B,QA4BrC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAwC,aAAa,CAChG,QAAQ,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"model_pricing_baseline_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/billing/v1/model_pricing_baseline_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,owFAAowF,EAAE,CAAC,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA+E/0F;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AA0BpE;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAgCpE;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAsEpE;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AA6KpE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,MAAM,CAAN,IAAY,0BA4BX;AA5BD,WAAY,0BAA0B;IACpC;;OAEG;IACH,qJAA6C,CAAA;IAE7C;;;;;OAKG;IACH,iHAA2B,CAAA;IAE3B;;;;OAIG;IACH,yHAA+B,CAAA;IAE/B;;;;;OAKG;IACH,mHAA4B,CAAA;AAC9B,CAAC,EA5BW,0BAA0B,KAA1B,0BAA0B,QA4BrC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAwC,aAAa,CAChG,QAAQ,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
@@ -119,7 +119,9 @@ export declare const ApiResourceStateOperationTypeSchema: GenEnum<ApiResourceSta
119
119
  *
120
120
  * The visibility levels map to FGA tuples:
121
121
  * - PRIVATE: no additional viewer tuples (owner-only access)
122
- * - ORG: resource#viewer@organization:<org>#member tuple (all org members)
122
+ * - ORG: resource#viewer@organization:<org>#viewer tuple (everyone in the
123
+ * org — the org role hierarchy flows downward, so owners, admins, members
124
+ * AND read-only viewers all satisfy the organization#viewer userset)
123
125
  * - PUBLIC: resource#viewer@identity_account:* with allow_public (all users)
124
126
  * - PLATFORM: resource#platform_viewer@identity_provider:<idp>#platform_user
125
127
  * (all members of all organizations managed by the owning org's
@@ -165,14 +167,23 @@ export declare enum ApiResourceVisibility {
165
167
  */
166
168
  visibility_public = 2,
167
169
  /**
168
- * All members of the owning organization can access (read) this resource.
170
+ * Everyone in the owning organization can access (read) this resource
171
+ * all org roles including read-only viewers (the role SSO auto-provisioning
172
+ * grants by default). Running or otherwise spending against the resource
173
+ * still requires the org-level member-or-guest permissions
174
+ * (can_create_session / can_create_execution_in); org visibility widens
175
+ * read, never spend.
169
176
  * Used for instances where a team wants shared observability of executions
170
177
  * without granting access to all authenticated users.
171
178
  *
172
- * FGA tuple: resource#viewer@organization:<org>#member
179
+ * FGA tuple: resource#viewer@organization:<org>#viewer
180
+ * (Before cloud#257 the tuple targeted organization#member, which
181
+ * excluded viewer-role users; legacy tuples keep resolving until the
182
+ * cloud's boot-time backfill converges them.)
173
183
  *
174
184
  * For workflow instances, this enables zero-tuple-per-execution shared
175
- * observability: all org members see all executions via inheritance.
185
+ * observability: everyone in the org sees all executions via inheritance
186
+ * once the instance opts in.
176
187
  *
177
188
  * @generated from enum value: visibility_org = 3;
178
189
  */
@@ -124,7 +124,9 @@ export const ApiResourceStateOperationTypeSchema = /*@__PURE__*/ enumDesc(file_a
124
124
  *
125
125
  * The visibility levels map to FGA tuples:
126
126
  * - PRIVATE: no additional viewer tuples (owner-only access)
127
- * - ORG: resource#viewer@organization:<org>#member tuple (all org members)
127
+ * - ORG: resource#viewer@organization:<org>#viewer tuple (everyone in the
128
+ * org — the org role hierarchy flows downward, so owners, admins, members
129
+ * AND read-only viewers all satisfy the organization#viewer userset)
128
130
  * - PUBLIC: resource#viewer@identity_account:* with allow_public (all users)
129
131
  * - PLATFORM: resource#platform_viewer@identity_provider:<idp>#platform_user
130
132
  * (all members of all organizations managed by the owning org's
@@ -171,14 +173,23 @@ export var ApiResourceVisibility;
171
173
  */
172
174
  ApiResourceVisibility[ApiResourceVisibility["visibility_public"] = 2] = "visibility_public";
173
175
  /**
174
- * All members of the owning organization can access (read) this resource.
176
+ * Everyone in the owning organization can access (read) this resource
177
+ * all org roles including read-only viewers (the role SSO auto-provisioning
178
+ * grants by default). Running or otherwise spending against the resource
179
+ * still requires the org-level member-or-guest permissions
180
+ * (can_create_session / can_create_execution_in); org visibility widens
181
+ * read, never spend.
175
182
  * Used for instances where a team wants shared observability of executions
176
183
  * without granting access to all authenticated users.
177
184
  *
178
- * FGA tuple: resource#viewer@organization:<org>#member
185
+ * FGA tuple: resource#viewer@organization:<org>#viewer
186
+ * (Before cloud#257 the tuple targeted organization#member, which
187
+ * excluded viewer-role users; legacy tuples keep resolving until the
188
+ * cloud's boot-time backfill converges them.)
179
189
  *
180
190
  * For workflow instances, this enables zero-tuple-per-execution shared
181
- * observability: all org members see all executions via inheritance.
191
+ * observability: everyone in the org sees all executions via inheritance
192
+ * once the instance opts in.
182
193
  *
183
194
  * @generated from enum value: visibility_org = 3;
184
195
  */
@@ -1 +1 @@
1
- {"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/commons/apiresource/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,oqBAAoqB,CAAC,CAAC;AAEjrB;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,oBA0CX;AA1CD,WAAY,oBAAoB;IAC9B;;;;OAIG;IACH,6EAAe,CAAA;IAEf;;;;OAIG;IACH,qEAAW,CAAA;IAEX;;;;OAIG;IACH,qEAAW,CAAA;IAEX;;;;OAIG;IACH,qEAAW,CAAA;IAEX;;;;OAIG;IACH,qEAAW,CAAA;IAEX;;;;OAIG;IACH,iGAAyB,CAAA;AAC3B,CAAC,EA1CW,oBAAoB,KAApB,oBAAoB,QA0C/B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAkC,aAAa,CACpF,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAExD;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,6BA0CX;AA1CD,WAAY,6BAA6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GAAmC,aAAa,CACtF,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
@@ -203,6 +203,9 @@ export declare const IamPolicyCommandController: {
203
203
  *
204
204
  * Authorization:
205
205
  * - Caller must have 'can_grant_access' permission on the organization
206
+ * - System flows running as the platform machine account cannot satisfy this
207
+ * check (the machine account holds no org-scoped grants by design) and must
208
+ * use bootstrapRevokeOrgAccess instead
206
209
  *
207
210
  * Use Cases:
208
211
  * - Removing a member from an organization
@@ -219,5 +222,50 @@ export declare const IamPolicyCommandController: {
219
222
  readonly O: any;
220
223
  readonly kind: any;
221
224
  };
225
+ /**
226
+ * Revoke all of a user's access to an organization via the system (bootstrap) path.
227
+ *
228
+ * The system-flow twin of revokeOrgAccess: identical revocation behavior, but
229
+ * authorized by can_bootstrap_iam on platform:stigmer instead of
230
+ * can_grant_access on the organization.
231
+ *
232
+ * @internal
233
+ * Exists because system flows execute the revoke as the platform machine
234
+ * account, which by design holds no org-scoped grants. The system channel does
235
+ * NOT bypass authorization — it authenticates as the machine account, which
236
+ * can only satisfy platform-scoped permissions. revokeOrgAccess therefore
237
+ * always fails with PERMISSION_DENIED on the system channel; this RPC is the
238
+ * sanctioned path, mirroring how bootstrapPolicy is the system-path twin of
239
+ * create (see https://github.com/stigmer/stigmer/issues/332).
240
+ *
241
+ * The operation (identical to revokeOrgAccess after authorization):
242
+ * 1. Validates can_bootstrap_iam permission on platform:stigmer
243
+ * 2. Loads all policies where the identity account is principal within the org
244
+ * scope, plus policies directly on the organization itself
245
+ * 3. Deletes all matching policies from MongoDB
246
+ * 4. Removes all corresponding tuples from OpenFGA (idempotent if none exist)
247
+ *
248
+ * Authorization:
249
+ * - Caller must have 'can_bootstrap_iam' permission on platform:stigmer
250
+ * - This is typically only granted to platform services (machine accounts)
251
+ *
252
+ * Use Cases:
253
+ * - Federated account deprovisioning (deprovisionFederatedAccount's revoke step)
254
+ * - Any platform-driven offboarding that runs under system credentials
255
+ *
256
+ * End-user member removal must use revokeOrgAccess, which checks
257
+ * can_grant_access on the organization.
258
+ *
259
+ * Input: RevokeOrgAccessInput with identity_account_id and organization_id
260
+ * Output: Empty (google.protobuf.Empty)
261
+ *
262
+ * @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyCommandController.bootstrapRevokeOrgAccess
263
+ */
264
+ readonly bootstrapRevokeOrgAccess: {
265
+ readonly name: "bootstrapRevokeOrgAccess";
266
+ readonly I: any;
267
+ readonly O: any;
268
+ readonly kind: any;
269
+ };
222
270
  };
223
271
  };
@@ -211,6 +211,9 @@ export const IamPolicyCommandController = {
211
211
  *
212
212
  * Authorization:
213
213
  * - Caller must have 'can_grant_access' permission on the organization
214
+ * - System flows running as the platform machine account cannot satisfy this
215
+ * check (the machine account holds no org-scoped grants by design) and must
216
+ * use bootstrapRevokeOrgAccess instead
214
217
  *
215
218
  * Use Cases:
216
219
  * - Removing a member from an organization
@@ -227,6 +230,51 @@ export const IamPolicyCommandController = {
227
230
  O: Empty,
228
231
  kind: MethodKind.Unary,
229
232
  },
233
+ /**
234
+ * Revoke all of a user's access to an organization via the system (bootstrap) path.
235
+ *
236
+ * The system-flow twin of revokeOrgAccess: identical revocation behavior, but
237
+ * authorized by can_bootstrap_iam on platform:stigmer instead of
238
+ * can_grant_access on the organization.
239
+ *
240
+ * @internal
241
+ * Exists because system flows execute the revoke as the platform machine
242
+ * account, which by design holds no org-scoped grants. The system channel does
243
+ * NOT bypass authorization — it authenticates as the machine account, which
244
+ * can only satisfy platform-scoped permissions. revokeOrgAccess therefore
245
+ * always fails with PERMISSION_DENIED on the system channel; this RPC is the
246
+ * sanctioned path, mirroring how bootstrapPolicy is the system-path twin of
247
+ * create (see https://github.com/stigmer/stigmer/issues/332).
248
+ *
249
+ * The operation (identical to revokeOrgAccess after authorization):
250
+ * 1. Validates can_bootstrap_iam permission on platform:stigmer
251
+ * 2. Loads all policies where the identity account is principal within the org
252
+ * scope, plus policies directly on the organization itself
253
+ * 3. Deletes all matching policies from MongoDB
254
+ * 4. Removes all corresponding tuples from OpenFGA (idempotent if none exist)
255
+ *
256
+ * Authorization:
257
+ * - Caller must have 'can_bootstrap_iam' permission on platform:stigmer
258
+ * - This is typically only granted to platform services (machine accounts)
259
+ *
260
+ * Use Cases:
261
+ * - Federated account deprovisioning (deprovisionFederatedAccount's revoke step)
262
+ * - Any platform-driven offboarding that runs under system credentials
263
+ *
264
+ * End-user member removal must use revokeOrgAccess, which checks
265
+ * can_grant_access on the organization.
266
+ *
267
+ * Input: RevokeOrgAccessInput with identity_account_id and organization_id
268
+ * Output: Empty (google.protobuf.Empty)
269
+ *
270
+ * @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyCommandController.bootstrapRevokeOrgAccess
271
+ */
272
+ bootstrapRevokeOrgAccess: {
273
+ name: "bootstrapRevokeOrgAccess",
274
+ I: RevokeOrgAccessInput,
275
+ O: Empty,
276
+ kind: MethodKind.Unary,
277
+ },
230
278
  }
231
279
  };
232
280
  //# sourceMappingURL=command_connect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA8BG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgCG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA0CG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAkCG;QACH,uBAAuB,EAAE;YACvB,IAAI,EAAE,yBAAyB;YAC/B,CAAC,EAAE,cAAc;YACjB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD;;;;;;;;;;;;;;;;;;GAk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