Commit b5e30e2
committed
Make completed review lanes emit machine-readable verdicts
The next repo-local sweep target was ROADMAP ultraworkers#67: scoped review lanes
could stop with prose-only output, leaving downstream consumers to infer
approval or rejection from later chatter. The fix teaches completed lane
persistence to recognize review-style `APPROVE`/`REJECT`/`BLOCKED`
results, attach structured verdict metadata to `lane.finished`, and keep
ordinary non-review lanes on the existing quality-floor path.
Constraint: Preserve the existing non-review lane summary path while enriching only review-style completions
Rejected: Add a brand-new lane event type just for review results | unnecessary when `lane.finished` already carries structured metadata and downstream consumers can read it there
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: If review verdict parsing changes later, update `extract_review_outcome`, the finished-event payload fields, and the review-lane regression together
Tested: cargo fmt --all --check; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace; architect review APPROVE
Not-tested: External consumers that may still ignore `lane.finished.data.reviewVerdict`1 parent dbc2824 commit b5e30e2
2 files changed
Lines changed: 94 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
| 499 | + | |
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3783 | 3783 | | |
3784 | 3784 | | |
3785 | 3785 | | |
| 3786 | + | |
| 3787 | + | |
| 3788 | + | |
| 3789 | + | |
| 3790 | + | |
3786 | 3791 | | |
3787 | 3792 | | |
3788 | 3793 | | |
| |||
3831 | 3836 | | |
3832 | 3837 | | |
3833 | 3838 | | |
| 3839 | + | |
| 3840 | + | |
| 3841 | + | |
| 3842 | + | |
| 3843 | + | |
| 3844 | + | |
3834 | 3845 | | |
3835 | 3846 | | |
3836 | 3847 | | |
| |||
3844 | 3855 | | |
3845 | 3856 | | |
3846 | 3857 | | |
| 3858 | + | |
| 3859 | + | |
| 3860 | + | |
| 3861 | + | |
| 3862 | + | |
| 3863 | + | |
| 3864 | + | |
3847 | 3865 | | |
3848 | 3866 | | |
3849 | 3867 | | |
| |||
3857 | 3875 | | |
3858 | 3876 | | |
3859 | 3877 | | |
| 3878 | + | |
| 3879 | + | |
| 3880 | + | |
| 3881 | + | |
| 3882 | + | |
| 3883 | + | |
3860 | 3884 | | |
3861 | 3885 | | |
3862 | 3886 | | |
| |||
3865 | 3889 | | |
3866 | 3890 | | |
3867 | 3891 | | |
| 3892 | + | |
| 3893 | + | |
| 3894 | + | |
| 3895 | + | |
| 3896 | + | |
3868 | 3897 | | |
3869 | 3898 | | |
3870 | 3899 | | |
| |||
3882 | 3911 | | |
3883 | 3912 | | |
3884 | 3913 | | |
| 3914 | + | |
| 3915 | + | |
3885 | 3916 | | |
3886 | 3917 | | |
3887 | 3918 | | |
3888 | 3919 | | |
3889 | | - | |
| 3920 | + | |
3890 | 3921 | | |
3891 | 3922 | | |
3892 | 3923 | | |
3893 | 3924 | | |
3894 | 3925 | | |
3895 | 3926 | | |
3896 | 3927 | | |
| 3928 | + | |
3897 | 3929 | | |
3898 | 3930 | | |
3899 | 3931 | | |
| |||
3905 | 3937 | | |
3906 | 3938 | | |
3907 | 3939 | | |
| 3940 | + | |
3908 | 3941 | | |
3909 | 3942 | | |
3910 | 3943 | | |
| |||
3928 | 3961 | | |
3929 | 3962 | | |
3930 | 3963 | | |
| 3964 | + | |
| 3965 | + | |
| 3966 | + | |
| 3967 | + | |
| 3968 | + | |
| 3969 | + | |
| 3970 | + | |
| 3971 | + | |
| 3972 | + | |
| 3973 | + | |
| 3974 | + | |
| 3975 | + | |
| 3976 | + | |
| 3977 | + | |
| 3978 | + | |
| 3979 | + | |
| 3980 | + | |
| 3981 | + | |
3931 | 3982 | | |
3932 | 3983 | | |
3933 | 3984 | | |
| |||
7522 | 7573 | | |
7523 | 7574 | | |
7524 | 7575 | | |
| 7576 | + | |
| 7577 | + | |
| 7578 | + | |
| 7579 | + | |
| 7580 | + | |
| 7581 | + | |
| 7582 | + | |
| 7583 | + | |
| 7584 | + | |
| 7585 | + | |
| 7586 | + | |
| 7587 | + | |
| 7588 | + | |
| 7589 | + | |
| 7590 | + | |
| 7591 | + | |
| 7592 | + | |
| 7593 | + | |
| 7594 | + | |
| 7595 | + | |
| 7596 | + | |
| 7597 | + | |
| 7598 | + | |
| 7599 | + | |
| 7600 | + | |
| 7601 | + | |
| 7602 | + | |
| 7603 | + | |
| 7604 | + | |
| 7605 | + | |
| 7606 | + | |
| 7607 | + | |
| 7608 | + | |
| 7609 | + | |
| 7610 | + | |
| 7611 | + | |
| 7612 | + | |
| 7613 | + | |
| 7614 | + | |
| 7615 | + | |
7525 | 7616 | | |
7526 | 7617 | | |
7527 | 7618 | | |
| |||
0 commit comments