@resolveio/server-lib 22.3.179 → 22.3.181
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/package.json +1 -1
- package/util/ai-run-evidence-adapters.js +6 -2
- package/util/ai-run-evidence-adapters.js.map +1 -1
- package/util/ai-run-evidence.js +1 -1
- package/util/ai-run-evidence.js.map +1 -1
- package/util/ai-runner-manager-policy.d.ts +1 -0
- package/util/ai-runner-manager-policy.js +19 -12
- package/util/ai-runner-manager-policy.js.map +1 -1
- package/util/support-runner-v5.d.ts +3 -0
- package/util/support-runner-v5.js +39 -4
- package/util/support-runner-v5.js.map +1 -1
package/package.json
CHANGED
|
@@ -591,8 +591,8 @@ function hotfixCommitProofGate(evidence, now) {
|
|
|
591
591
|
label: 'Hotfix GitHub commit proof',
|
|
592
592
|
status: status,
|
|
593
593
|
reason: guard.passed
|
|
594
|
-
? 'Hotfix has matching sourceCommitSha, GitHub commit URL, and passed gitPushStatus
|
|
595
|
-
: (guard.blockers.join('; ') || 'Manager hotfix is blocked until sourceCommitSha, githubCommitUrl, and passed gitPushStatus prove the hotfix is pushed to GitHub.'),
|
|
594
|
+
? 'Hotfix has matching sourceCommitSha, GitHub commit URL, passed gitCommitStatus, and passed gitPushStatus.'
|
|
595
|
+
: (guard.blockers.join('; ') || 'Manager hotfix is blocked until sourceCommitSha, githubCommitUrl, passed gitCommitStatus, and passed gitPushStatus prove the hotfix is committed and pushed to GitHub.'),
|
|
596
596
|
evidenceRefs: cleanStringList([guard.githubCommitUrl], 1, 500),
|
|
597
597
|
recordedAt: isoNow(now || ((_a = validation.normalized) === null || _a === void 0 ? void 0 : _a.recordedAt)),
|
|
598
598
|
metadata: {
|
|
@@ -1471,6 +1471,7 @@ function supportCustomerReplyPolicyGate(policy, now) {
|
|
|
1471
1471
|
var canDraft = policy.canDraftCustomerReply === true || policy.can_draft_customer_reply === true;
|
|
1472
1472
|
var canSend = policy.canSendCustomerReply === true || policy.can_send_customer_reply === true;
|
|
1473
1473
|
var reviewPacket = plainObject(policy.humanReviewPacket || policy.human_review_packet);
|
|
1474
|
+
var draftBasis = plainObject(policy.draftBasis || policy.draft_basis);
|
|
1474
1475
|
var reviewType = cleanText(reviewPacket.reviewType || reviewPacket.review_type, 160);
|
|
1475
1476
|
var evidenceRefs = cleanStringList(reviewPacket.evidenceRefs || reviewPacket.evidence_refs, 40, 500);
|
|
1476
1477
|
var blockers = cleanStringList(policy.blockers || reviewPacket.blockers, 20, 500);
|
|
@@ -1494,6 +1495,9 @@ function supportCustomerReplyPolicyGate(policy, now) {
|
|
|
1494
1495
|
canDraftCustomerReply: canDraft,
|
|
1495
1496
|
canSendCustomerReply: canSend,
|
|
1496
1497
|
confidenceLevel: cleanText(policy.confidenceLevel || policy.confidence_level, 120),
|
|
1498
|
+
issueClass: cleanText(draftBasis.issueClass || draftBasis.issue_class, 120),
|
|
1499
|
+
issueClassProbePlanId: cleanText(draftBasis.issueClassProbePlanId || draftBasis.issue_class_probe_plan_id, 180),
|
|
1500
|
+
issueClassProbePlanStatus: cleanText(draftBasis.issueClassProbePlanStatus || draftBasis.issue_class_probe_plan_status, 120),
|
|
1497
1501
|
reviewType: reviewType,
|
|
1498
1502
|
primaryAction: cleanText(reviewPacket.primaryAction || reviewPacket.primary_action, 160),
|
|
1499
1503
|
requiresHumanApproval: reviewPacket.requiresHumanApproval !== false && reviewPacket.requires_human_approval !== false,
|