@deftai/directive-types 0.93.0 → 0.95.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.
- package/dist/policy.d.ts +12 -1
- package/dist/policy.js +1 -0
- package/package.json +1 -1
package/dist/policy.d.ts
CHANGED
|
@@ -35,6 +35,17 @@ export interface PlanPolicy {
|
|
|
35
35
|
readonly triageRankingLabels?: readonly string[];
|
|
36
36
|
readonly triageAutoClassify?: readonly unknown[];
|
|
37
37
|
readonly triageHoldMarkers?: readonly string[];
|
|
38
|
+
/**
|
|
39
|
+
* Tier-1 SCM label mirror from classify outcomes (#1423 Wave 1).
|
|
40
|
+
* Maps classify actions to labels; always applies the idempotency marker
|
|
41
|
+
* (`triaged` by default). Dry-run default on `task triage:classify -- --mirror`.
|
|
42
|
+
*/
|
|
43
|
+
readonly triageLabelMirror?: {
|
|
44
|
+
readonly enabled?: boolean;
|
|
45
|
+
readonly idempotencyLabel?: string;
|
|
46
|
+
readonly alwaysLabels?: readonly string[];
|
|
47
|
+
readonly actionLabels?: Readonly<Partial<Record<"defer" | "archive" | "escalate" | "accept", readonly string[]>>>;
|
|
48
|
+
};
|
|
38
49
|
readonly swarmSubagentBackend?: string | null;
|
|
39
50
|
readonly projectionProviders?: Record<string, ProjectionProviderPolicy>;
|
|
40
51
|
/** Per-host Directive hook deposit toggles (#2752). Default: all true. */
|
|
@@ -77,5 +88,5 @@ export interface ProjectionProviderPolicy {
|
|
|
77
88
|
readonly [key: `x-${string}`]: unknown;
|
|
78
89
|
}
|
|
79
90
|
/** Canonical dotted policy field names registered by the directive engine. */
|
|
80
|
-
export declare const REGISTERED_POLICY_FIELD_NAMES: readonly ["plan.policy.allowDirectCommitsToMaster", "plan.policy.wipCap", "plan.policy.sessionRitualStalenessHours", "plan.policy.triageScope", "plan.policy.triageScopeIgnores", "plan.policy.triageRankingLabels", "plan.policy.triageAutoClassify", "plan.policy.triageHoldMarkers", "plan.policy.swarmSubagentBackend", "plan.policy.engineSkewWindow", "plan.policy.requireHumanMerge", "plan.policy.hotfixCriteria", "plan.policy.autoDeployOnMerge"];
|
|
91
|
+
export declare const REGISTERED_POLICY_FIELD_NAMES: readonly ["plan.policy.allowDirectCommitsToMaster", "plan.policy.wipCap", "plan.policy.sessionRitualStalenessHours", "plan.policy.triageScope", "plan.policy.triageScopeIgnores", "plan.policy.triageRankingLabels", "plan.policy.triageAutoClassify", "plan.policy.triageHoldMarkers", "plan.policy.triageLabelMirror", "plan.policy.swarmSubagentBackend", "plan.policy.engineSkewWindow", "plan.policy.requireHumanMerge", "plan.policy.hotfixCriteria", "plan.policy.autoDeployOnMerge"];
|
|
81
92
|
//# sourceMappingURL=policy.d.ts.map
|
package/dist/policy.js
CHANGED
|
@@ -8,6 +8,7 @@ export const REGISTERED_POLICY_FIELD_NAMES = [
|
|
|
8
8
|
"plan.policy.triageRankingLabels",
|
|
9
9
|
"plan.policy.triageAutoClassify",
|
|
10
10
|
"plan.policy.triageHoldMarkers",
|
|
11
|
+
"plan.policy.triageLabelMirror",
|
|
11
12
|
"plan.policy.swarmSubagentBackend",
|
|
12
13
|
"plan.policy.engineSkewWindow",
|
|
13
14
|
"plan.policy.requireHumanMerge",
|