Commit 688d905
fix(planning): pin WP0 validation to immutable merge evidence (#417)
* fix(planning): pin WP0 validation to immutable merge evidence
PR #414 was squash-merged after PR #412, so comparing the original SDD baseline with the moving main branch made the WP0 artifact gate absorb unrelated storage and Raft paths.
Record immutable PR and squash-merge evidence, keep WP0 at implemented while exact-main verification is pending, and validate the historical merge-parent diff independently of the current work package. Add regression coverage for concurrent merges, invalid refs, ancestry, and premature lifecycle promotion.
Constraint: Keep WP1 and Issue #415 blocked until WP0 has passed exact-main evidence.
Confidence: high
Scope-risk: narrow
Tested: Windows and Ubuntu WSL SDD self-test, validator, Python compile, and git diff checks.
Not-tested: GitHub Actions on the pushed Head.
Co-authored-by: OmX <omx@oh-my-codex.dev>
Signed-off-by: Xin.Zh <alexstocks@foxmail.com>
* fix(planning): bind WP0 evidence projections
Keep the human-readable WP0 ranges, exact-main status, and current-state table synchronized with the sole machine-readable front matter. Reject duplicate or conflicting projections and stale Issue tracking.
Require a passed exact-main ref to exist after the WP0 merge and within the recorded baseline main history, while avoiding misleading ancestry errors when merge objects are unavailable. Add regressions for unrelated verification refs and conflicting evidence lines.
Constraint: Preserve offline validation without requiring the squash-merged PR Head object.
Confidence: high
Scope-risk: narrow
Tested: Windows and Ubuntu WSL SDD self-test, validator, and git diff checks.
Not-tested: GitHub Actions on this new Head.
Co-authored-by: OmX <omx@oh-my-codex.dev>
Signed-off-by: Xin.Zh <alexstocks@foxmail.com>
* fix(planning): harden WP0 verification evidence
Pin the immutable PR #414 identity even when its Head object is unavailable, and require passed exact-main evidence to reference a successful ci workflow push on main for the exact recorded SHA. Reject the WP0 merge commit itself as verification evidence.
Make lifecycle mutations state-independent and run the immutable-Head and live-run regressions through the public validator entry point so a future wiring regression fails --self-test.
Constraint: Keep WP0 implemented and exact-main verification pending; change only SDD governance and validator behavior under Issue #416.
Confidence: high
Scope-risk: narrow
Tested: Windows and Ubuntu WSL external regressions, validator self-tests, main validator, Python compile, working and staged diff checks.
Not-tested: Fresh GitHub Actions on the pushed Head.
Related: #416
Co-authored-by: OmX <omx@oh-my-codex.dev>
Signed-off-by: Xin.Zh <alexstocks@foxmail.com>
* fix(planning): keep WP0 promotion reachable
Document that exact-main promotion must advance baseline_ref with the accepted verification commit. Exercise both the rejected stale-baseline path and the accepted advanced-baseline path against real Git history.
Refs: #416
Co-authored-by: OmX <omx@oh-my-codex.dev>
Signed-off-by: Xin.Zh <alexstocks@foxmail.com>
---------
Signed-off-by: Xin.Zh <alexstocks@foxmail.com>
Co-authored-by: OmX <omx@oh-my-codex.dev>1 parent 9820162 commit 688d905
2 files changed
Lines changed: 949 additions & 68 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
17 | 25 | | |
18 | | - | |
| 26 | + | |
19 | 27 | | |
20 | 28 | | |
21 | 29 | | |
22 | | - | |
| 30 | + | |
23 | 31 | | |
24 | 32 | | |
25 | 33 | | |
| |||
154 | 162 | | |
155 | 163 | | |
156 | 164 | | |
157 | | - | |
| 165 | + | |
158 | 166 | | |
159 | 167 | | |
160 | 168 | | |
161 | | - | |
162 | | - | |
| 169 | + | |
| 170 | + | |
163 | 171 | | |
164 | 172 | | |
165 | 173 | | |
166 | | - | |
167 | | - | |
168 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
169 | 179 | | |
170 | 180 | | |
171 | 181 | | |
| |||
187 | 197 | | |
188 | 198 | | |
189 | 199 | | |
190 | | - | |
| 200 | + | |
191 | 201 | | |
192 | 202 | | |
193 | 203 | | |
| |||
859 | 869 | | |
860 | 870 | | |
861 | 871 | | |
862 | | - | |
| 872 | + | |
863 | 873 | | |
864 | 874 | | |
865 | 875 | | |
| |||
901 | 911 | | |
902 | 912 | | |
903 | 913 | | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
904 | 925 | | |
905 | 926 | | |
906 | 927 | | |
907 | 928 | | |
908 | 929 | | |
909 | 930 | | |
910 | | - | |
911 | | - | |
| 931 | + | |
| 932 | + | |
912 | 933 | | |
913 | 934 | | |
914 | 935 | | |
915 | 936 | | |
916 | 937 | | |
917 | 938 | | |
918 | 939 | | |
919 | | - | |
| 940 | + | |
920 | 941 | | |
921 | 942 | | |
922 | 943 | | |
| |||
930 | 951 | | |
931 | 952 | | |
932 | 953 | | |
| 954 | + | |
933 | 955 | | |
934 | 956 | | |
935 | 957 | | |
| |||
944 | 966 | | |
945 | 967 | | |
946 | 968 | | |
| 969 | + | |
947 | 970 | | |
948 | 971 | | |
949 | 972 | | |
| |||
1386 | 1409 | | |
1387 | 1410 | | |
1388 | 1411 | | |
1389 | | - | |
| 1412 | + | |
1390 | 1413 | | |
1391 | 1414 | | |
1392 | 1415 | | |
| |||
1578 | 1601 | | |
1579 | 1602 | | |
1580 | 1603 | | |
1581 | | - | |
| 1604 | + | |
1582 | 1605 | | |
1583 | 1606 | | |
1584 | | - | |
| 1607 | + | |
1585 | 1608 | | |
1586 | 1609 | | |
1587 | 1610 | | |
| 1611 | + | |
1588 | 1612 | | |
1589 | 1613 | | |
1590 | | - | |
| 1614 | + | |
1591 | 1615 | | |
1592 | | - | |
| 1616 | + | |
1593 | 1617 | | |
1594 | 1618 | | |
1595 | 1619 | | |
| |||
0 commit comments