@@ -104,6 +104,12 @@ export interface Analysis {
104104 * Lifecycle status of a background analysis.
105105 */
106106 status : 'running' | 'completed' | 'failed' | 'canceled' | 'expired' ;
107+
108+ /**
109+ * The workload description supplied for this analysis. Null when the analysis only
110+ * tested connectivity.
111+ */
112+ intent ?: string | null ;
107113}
108114
109115export interface AnalysisSummary {
@@ -208,11 +214,11 @@ export interface Evidence {
208214 success_rate : number ;
209215
210216 /**
211- * Most recent contributing run where this config met the success threshold.
212- * Omitted for knowledge assembled from runs that did not independently meet the
213- * threshold.
217+ * Most recent contributing run whose evidence supported recommending this
218+ * configuration. Omitted when no individual run independently met the
219+ * recommendation threshold.
214220 */
215- last_verified_at ?: string | null ;
221+ last_supported_at ?: string | null ;
216222}
217223
218224export interface LookupRequest {
@@ -453,7 +459,9 @@ export interface Recommendation {
453459 evidence : Evidence ;
454460
455461 /**
456- * Specificity of knowledge matched for this recommendation.
462+ * Specificity of knowledge matched for this recommendation. Exact matches use
463+ * knowledge for the requested target; host and domain matches use broader fallback
464+ * knowledge.
457465 */
458466 match_scope : 'exact' | 'host' | 'domain' ;
459467
@@ -468,13 +476,6 @@ export interface Recommendation {
468476 proxy : Proxy ;
469477
470478 type : 'recommendation' ;
471-
472- /**
473- * Exact matches meet the evidence threshold; host and domain fallbacks are
474- * inferred. Check evidence.last_verified_at for successful verification age and
475- * last_observed_at for the latest evidence.
476- */
477- verification : 'verified' | 'inferred' ;
478479}
479480
480481/**
@@ -542,8 +543,9 @@ export interface ResolveRequest {
542543 * any non-HTTPS destination as off-site and will not drive an http one. Kernel
543544 * uses it to drive the browser further into the site, where it can observe
544545 * protections that only appear once a session interacts. When this target already
545- * has a verified configuration, the run confirms that one instead of re-deriving
546- * the whole matrix, so supplying an intent narrows what can be recommended.
546+ * has a recommended configuration, the run confirms that one instead of
547+ * re-deriving the whole matrix, so supplying an intent narrows what can be
548+ * recommended.
547549 */
548550 intent ?: string ;
549551}
@@ -609,8 +611,9 @@ export interface ConfigRegistryResolveParams {
609611 * any non-HTTPS destination as off-site and will not drive an http one. Kernel
610612 * uses it to drive the browser further into the site, where it can observe
611613 * protections that only appear once a session interacts. When this target already
612- * has a verified configuration, the run confirms that one instead of re-deriving
613- * the whole matrix, so supplying an intent narrows what can be recommended.
614+ * has a recommended configuration, the run confirms that one instead of
615+ * re-deriving the whole matrix, so supplying an intent narrows what can be
616+ * recommended.
614617 */
615618 intent ?: string ;
616619}
0 commit comments