You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5c57e5d
Browse filesBrowse the repository at this point in the historyBrowse files
letexcluded_feature=issue-verdict-record'{"kind":"feature_request","maintenance_fit":"excluded","confidence":"high","decision":"keep_open","priority":"priority:medium","implementation":"create_pr","reason":"Optional output formatting expands the public CLI surface."}'true
512
+
(expect
513
+
'closes a high-confidence excluded feature request'
514
+
$excluded_feature.decision
515
+
close
516
+
)
517
+
(expect
518
+
'assigns excluded feature requests low priority'
519
+
$excluded_feature.priority
520
+
'priority:low'
521
+
)
522
+
(expect
523
+
'never implements an excluded feature request automatically'
524
+
$excluded_feature.implementation
525
+
none
526
+
)
527
+
528
+
letexceptional_feature=issue-verdict-record'{"kind":"feature_request","maintenance_fit":"maintainable","confidence":"high","decision":"keep_open","priority":"priority:high","implementation":"create_pr","reason":"The request may fit the core product."}'true
529
+
(expect
530
+
'sends even maintainable feature requests to a maintainer'
531
+
$exceptional_feature.decision
532
+
needs_human
533
+
)
534
+
(expect
535
+
'does not implement a feature request without maintainer approval'
536
+
$exceptional_feature.implementation
537
+
none
538
+
)
539
+
540
+
letimportant_excluded_feature=issue-verdict-record'{"kind":"feature_request","maintenance_fit":"excluded","confidence":"high","decision":"close","priority":"priority:high","implementation":"none","reason":"The feature has high impact but unclear long-term support cost."}'true
541
+
(expect
542
+
'sends a high-priority excluded feature request to a maintainer'
543
+
$important_excluded_feature.decision
544
+
needs_human
545
+
)
546
+
(expect
547
+
'marks an escalated excluded feature request for review'
548
+
$important_excluded_feature.maintenance_fit
549
+
needs_review
550
+
)
551
+
552
+
letuncertain=issue-verdict-record'{"kind":"bug","maintenance_fit":"excluded","confidence":"medium","decision":"close","priority":"priority:low","implementation":"none","reason":"The report may describe unsupported behavior."}'true
553
+
(expect
554
+
'sends a non-high-confidence verdict to a maintainer'
555
+
$uncertain.decision
556
+
needs_human
557
+
)
558
+
(expect
559
+
'marks a non-high-confidence maintenance verdict for review'
560
+
$uncertain.maintenance_fit
561
+
needs_review
562
+
)
563
+
564
+
letcore_bug=issue-verdict-record'{"kind":"bug","maintenance_fit":"maintainable","confidence":"high","decision":"keep_open","priority":"priority:high","implementation":"create_pr","reason":"Confirmed cost calculation regression with a focused fix."}'true
565
+
expect'keeps a high-confidence core bug open'$core_bug.decisionkeep_open
566
+
(expect
567
+
'allows an important maintainable bug implementation'
568
+
$core_bug.implementation
569
+
create_pr
570
+
)
571
+
572
+
letexcluded_bug=issue-verdict-record'{"kind":"bug","maintenance_fit":"excluded","confidence":"high","decision":"keep_open","priority":"priority:high","implementation":"create_pr","reason":"The behavior belongs in an external wrapper."}'true
573
+
(expect
574
+
'never auto-closes a report classified as a bug'
575
+
$excluded_bug.decision
576
+
needs_human
577
+
)
578
+
(expect
579
+
'marks an excluded bug report for review'
580
+
$excluded_bug.maintenance_fit
581
+
needs_review
582
+
)
583
+
(expect
584
+
'does not implement a disputed bug report'
585
+
$excluded_bug.implementation
586
+
none
587
+
)
588
+
589
+
letrejected_maintenance=issue-verdict-record'{"kind":"maintenance","maintenance_fit":"excluded","confidence":"high","decision":"close","priority":"priority:medium","implementation":"none","reason":"The cleanup adds maintenance surface without user-facing value."}'true
590
+
(expect
591
+
'closes a high-confidence excluded maintenance request'
592
+
$rejected_maintenance.decision
593
+
close
594
+
)
595
+
(expect
596
+
'never implements a maintenance request automatically'
597
+
$rejected_maintenance.implementation
598
+
none
599
+
)
600
+
601
+
letsecurity=issue-verdict-record'{"kind":"security","maintenance_fit":"excluded","confidence":"high","decision":"close","priority":"priority:low","implementation":"none","reason":"The report may affect credential handling."}'true
602
+
expect'never auto-closes a security report'$security.decisionneeds_human
603
+
(expect
604
+
'marks a security report for review'
605
+
$security.maintenance_fit
606
+
needs_review
607
+
)
608
+
(expect
609
+
'floors security reports to high priority'
610
+
$security.priority
611
+
'priority:high'
612
+
)
613
+
614
+
letuncertain_security=issue-verdict-record'{"kind":"security","maintenance_fit":"needs_review","confidence":"medium","decision":"needs_human","priority":"priority:low","implementation":"none","reason":"The security impact is not yet confirmed."}'true
615
+
(expect
616
+
'floors uncertain security reports to high priority'
617
+
$uncertain_security.priority
618
+
'priority:high'
619
+
)
620
+
621
+
letdocumentation=issue-verdict-record'{"kind":"documentation","maintenance_fit":"maintainable","confidence":"high","decision":"keep_open","priority":"priority:medium","implementation":"create_pr","reason":"The documented option no longer matches supported behavior."}'true
622
+
(expect
623
+
'keeps a valid documentation issue open'
624
+
$documentation.decision
625
+
keep_open
626
+
)
627
+
(expect
628
+
'never implements documentation automatically'
629
+
$documentation.implementation
630
+
none
631
+
)
632
+
633
+
letdocumentation_close=issue-verdict-record'{"kind":"documentation","maintenance_fit":"maintainable","confidence":"high","decision":"close","priority":"priority:low","implementation":"none","reason":"The documentation request may be obsolete."}'true
634
+
(expect
635
+
'sends a documentation close recommendation to a maintainer'
636
+
$documentation_close.decision
637
+
needs_human
638
+
)
639
+
(expect
640
+
'marks a documentation close recommendation for review'
641
+
$documentation_close.maintenance_fit
642
+
needs_review
643
+
)
644
+
645
+
letduplicate=issue-verdict-record'{"kind":"duplicate","maintenance_fit":"excluded","confidence":"high","decision":"close","priority":"priority:low","implementation":"none","reason":"A linked open issue tracks the same root cause."}'true
646
+
(expect
647
+
'closes a high-confidence duplicate when the model also chose close'
648
+
$duplicate.decision
649
+
close
650
+
)
651
+
652
+
letdisputed_duplicate=issue-verdict-record'{"kind":"duplicate","maintenance_fit":"excluded","confidence":"high","decision":"keep_open","priority":"priority:low","implementation":"none","reason":"The relationship to the linked issue is not conclusive."}'true
letresult='{"decision":"close","priority":"priority:low","implementation":"none","reason":"The request is low impact."}'
721
+
letresult='{"kind":"feature_request","maintenance_fit":"excluded","confidence":"high","decision":"close","priority":"priority:low","implementation":"none","reason":"The request is low impact."}'
0 commit comments