@@ -919,8 +919,8 @@ pub enum PredicateSpec {
919919/// Generate the JSON Schema for the gate spec.
920920///
921921/// This schema is the formal contract between the Rust compiler and the
922- /// Python evaluator. It should be shipped in `scripts/gate-spec.schema.json`
923- /// alongside the evaluator .
922+ /// TypeScript gate evaluator. It is used to generate `types.gen.ts` in
923+ /// the `scripts/ado-script` workspace .
924924pub fn generate_gate_spec_schema ( ) -> String {
925925 let schema = schemars:: schema_for!( GateSpec ) ;
926926 serde_json:: to_string_pretty ( & schema) . expect ( "schema serialization" )
@@ -929,13 +929,13 @@ pub fn generate_gate_spec_schema() -> String {
929929// ─── Codegen ────────────────────────────────────────────────────────────────
930930
931931// The inline heredoc evaluator has been removed in favor of external script delivery.
932- // See TriggerFiltersExtension for the external path and compile_gate_step_inline for Tier 1 .
932+ // See TriggerFiltersExtension for the external path (bundled TypeScript gate.js) .
933933
934934impl Fact {
935935 /// ADO macro exports required by this fact.
936936 ///
937- /// Returns `(env_var_name, ado_macro)` pairs that must be exported in
938- /// the bash shim for the Python evaluator to read.
937+ /// Returns `(env_var_name, ado_macro)` pairs that must be set in the
938+ /// step's `env:` block for the gate evaluator to read.
939939 pub fn ado_exports ( & self ) -> Vec < ( & ' static str , & ' static str ) > {
940940 match self {
941941 Fact :: PrTitle => vec ! [ ( "ADO_PR_TITLE" , "$(System.PullRequest.Title)" ) ] ,
0 commit comments