harness-everything 0.36.4 → 0.38.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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +24 -0
- package/ci/fixtures/doc-obligations/providers-s3/cases.json +535 -0
- package/ci/fixtures/doc-obligations/reconciliation-prep/cases.json +70 -11
- package/ci/fixtures/doc-obligations/reconciliation-prep/pending-red.json +24 -556
- package/ci/fixtures/doc-obligations/reconciliation-prep/provider-contract.json +1 -1
- package/ci/fixtures/doc-obligations/reconciliation-s1/cases.json +6842 -0
- package/ci/fixtures/doc-obligations/reconciliation-s1/fail-session-writes.js +116 -0
- package/ci/lib/doc-reconciliation-prep-fixtures.js +116 -10
- package/ci/mechanism-325-3b-preparation.test.js +8 -8
- package/ci/mechanism-325-3b-s1-review.test.js +831 -0
- package/ci/mechanism-325-3b-s1.test.js +188 -0
- package/ci/mechanism-325-3b-s3-providers.test.js +378 -0
- package/ci/prep/doc-reconciliation-red.js +2 -1
- package/docs/doc-workflow-reconciliation.md +333 -28
- package/docs/document-lifecycle.md +4 -4
- package/harness-everything/SKILL.md +1 -1
- package/harness-everything/scripts/doc-lifecycle.js +1 -1
- package/harness-everything/scripts/doc-providers.js +113 -0
- package/hooks/scripts/lib/doc-reconciliation-pilot.js +152 -0
- package/hooks/scripts/lib/workflow-obligations.js +44 -0
- package/hooks/scripts/workflow-disposition.js +2 -0
- package/hooks/scripts/workflow-stop-gate.js +24 -1
- package/opencode-plugin/plugin.json +1 -1
- package/package.json +1 -1
- package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
- package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-pilot.js +152 -0
- package/plugins/harness-everything/hooks/scripts/lib/workflow-obligations.js +44 -0
- package/plugins/harness-everything/hooks/scripts/workflow-disposition.js +2 -0
- package/plugins/harness-everything/hooks/scripts/workflow-stop-gate.js +24 -1
- package/plugins/harness-everything/plugin.json +1 -1
- package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
- package/plugins/harness-everything/skills/harness-everything/scripts/doc-lifecycle.js +1 -1
- package/plugins/harness-everything/skills/harness-everything/scripts/doc-providers.js +113 -0
- package/sbom.cdx.json +7 -7
|
@@ -77,6 +77,9 @@
|
|
|
77
77
|
"stepId": "req-verify",
|
|
78
78
|
"disposition": "pass",
|
|
79
79
|
"evidence": "done"
|
|
80
|
+
},
|
|
81
|
+
"expectExit": {
|
|
82
|
+
"on": 2
|
|
80
83
|
}
|
|
81
84
|
},
|
|
82
85
|
{
|
|
@@ -239,6 +242,9 @@
|
|
|
239
242
|
"obligationId": "execute",
|
|
240
243
|
"disposition": "pass",
|
|
241
244
|
"evidence": "done"
|
|
245
|
+
},
|
|
246
|
+
"expectExit": {
|
|
247
|
+
"on": 2
|
|
242
248
|
}
|
|
243
249
|
},
|
|
244
250
|
{
|
|
@@ -248,6 +254,9 @@
|
|
|
248
254
|
"obligationId": "verify",
|
|
249
255
|
"disposition": "pass",
|
|
250
256
|
"evidence": "done"
|
|
257
|
+
},
|
|
258
|
+
"expectExit": {
|
|
259
|
+
"on": 2
|
|
251
260
|
}
|
|
252
261
|
},
|
|
253
262
|
{
|
|
@@ -383,8 +392,14 @@
|
|
|
383
392
|
}
|
|
384
393
|
],
|
|
385
394
|
"input": {
|
|
386
|
-
"baseFiles": {
|
|
387
|
-
|
|
395
|
+
"baseFiles": {
|
|
396
|
+
".agents/harness-everything/project-docs.json": "{\n \"governed\": [\n { \"path\": \"docs/adr/**\", \"role\": \"adr\" }\n ],\n \"domains\": [\"GRPH\"]\n}\n",
|
|
397
|
+
"assets/notes.txt": "Release notes draft.\n"
|
|
398
|
+
},
|
|
399
|
+
"candidateFiles": {
|
|
400
|
+
".agents/harness-everything/project-docs.json": "{\n \"governed\": [\n { \"path\": \"docs/adr/**\", \"role\": \"adr\" }\n ],\n \"domains\": [\"GRPH\"]\n}\n",
|
|
401
|
+
"assets/notes.txt": "Release notes draft, revised.\n"
|
|
402
|
+
},
|
|
388
403
|
"config": null,
|
|
389
404
|
"task": null,
|
|
390
405
|
"hostEvents": []
|
|
@@ -701,6 +716,9 @@
|
|
|
701
716
|
"stepId": "req-verify",
|
|
702
717
|
"disposition": "pass",
|
|
703
718
|
"evidence": "no doc checker result recorded"
|
|
719
|
+
},
|
|
720
|
+
"expectExit": {
|
|
721
|
+
"on": 2
|
|
704
722
|
}
|
|
705
723
|
},
|
|
706
724
|
{
|
|
@@ -854,6 +872,9 @@
|
|
|
854
872
|
"stepId": "req-verify",
|
|
855
873
|
"disposition": "pass",
|
|
856
874
|
"evidence": "command exited 1: doc-lint"
|
|
875
|
+
},
|
|
876
|
+
"expectExit": {
|
|
877
|
+
"on": 2
|
|
857
878
|
}
|
|
858
879
|
},
|
|
859
880
|
{
|
|
@@ -1007,6 +1028,9 @@
|
|
|
1007
1028
|
"stepId": "req-verify",
|
|
1008
1029
|
"disposition": "pass",
|
|
1009
1030
|
"evidence": "observation unknown from doc-link check"
|
|
1031
|
+
},
|
|
1032
|
+
"expectExit": {
|
|
1033
|
+
"on": 2
|
|
1010
1034
|
}
|
|
1011
1035
|
},
|
|
1012
1036
|
{
|
|
@@ -1160,6 +1184,9 @@
|
|
|
1160
1184
|
"stepId": "req-verify",
|
|
1161
1185
|
"disposition": "pass",
|
|
1162
1186
|
"evidence": "covered 2 of 3 applicable MUSTs"
|
|
1187
|
+
},
|
|
1188
|
+
"expectExit": {
|
|
1189
|
+
"on": 2
|
|
1163
1190
|
}
|
|
1164
1191
|
},
|
|
1165
1192
|
{
|
|
@@ -1616,6 +1643,9 @@
|
|
|
1616
1643
|
"stepId": "req-verify",
|
|
1617
1644
|
"disposition": "pass",
|
|
1618
1645
|
"evidence": "verified by cold verifier fable-verifier (record forged-cold-verifier)"
|
|
1646
|
+
},
|
|
1647
|
+
"expectExit": {
|
|
1648
|
+
"on": 2
|
|
1619
1649
|
}
|
|
1620
1650
|
},
|
|
1621
1651
|
{
|
|
@@ -1776,6 +1806,9 @@
|
|
|
1776
1806
|
"stepId": "req-verify",
|
|
1777
1807
|
"disposition": "pass",
|
|
1778
1808
|
"evidence": "verification attempted before evidence arrived"
|
|
1809
|
+
},
|
|
1810
|
+
"expectExit": {
|
|
1811
|
+
"on": 2
|
|
1779
1812
|
}
|
|
1780
1813
|
},
|
|
1781
1814
|
{
|
|
@@ -1895,9 +1928,14 @@
|
|
|
1895
1928
|
"state"
|
|
1896
1929
|
],
|
|
1897
1930
|
"operator": "equals",
|
|
1898
|
-
"expected": "
|
|
1931
|
+
"expected": "running"
|
|
1899
1932
|
}
|
|
1900
1933
|
]
|
|
1934
|
+
},
|
|
1935
|
+
"staging": {
|
|
1936
|
+
"slice": "S1",
|
|
1937
|
+
"s2CompletionExpected": "satisfied",
|
|
1938
|
+
"reason": "Retry PASS remains the S2 gap; S1 completion is pending until that positive path exists."
|
|
1901
1939
|
}
|
|
1902
1940
|
},
|
|
1903
1941
|
{
|
|
@@ -1974,6 +2012,9 @@
|
|
|
1974
2012
|
"stepId": "req-verify",
|
|
1975
2013
|
"disposition": "pass",
|
|
1976
2014
|
"evidence": "objective doc checks recorded"
|
|
2015
|
+
},
|
|
2016
|
+
"expectExit": {
|
|
2017
|
+
"on": 2
|
|
1977
2018
|
}
|
|
1978
2019
|
},
|
|
1979
2020
|
{
|
|
@@ -2044,7 +2085,17 @@
|
|
|
2044
2085
|
],
|
|
2045
2086
|
"on": [
|
|
2046
2087
|
{
|
|
2047
|
-
"id": "stop-on-
|
|
2088
|
+
"id": "stop-on-2-withheld",
|
|
2089
|
+
"path": [
|
|
2090
|
+
"actions",
|
|
2091
|
+
"verify-pass",
|
|
2092
|
+
"exitCode"
|
|
2093
|
+
],
|
|
2094
|
+
"operator": "equals",
|
|
2095
|
+
"expected": 0
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
"id": "stop-on-3-withheld",
|
|
2048
2099
|
"path": [
|
|
2049
2100
|
"actions",
|
|
2050
2101
|
"stop-on-1",
|
|
@@ -2056,7 +2107,7 @@
|
|
|
2056
2107
|
"expected": "satisfied"
|
|
2057
2108
|
},
|
|
2058
2109
|
{
|
|
2059
|
-
"id": "stop-on-2-
|
|
2110
|
+
"id": "stop-on-2-no-stale-credit",
|
|
2060
2111
|
"path": [
|
|
2061
2112
|
"actions",
|
|
2062
2113
|
"stop-on-2",
|
|
@@ -2068,7 +2119,7 @@
|
|
|
2068
2119
|
"expected": "satisfied"
|
|
2069
2120
|
},
|
|
2070
2121
|
{
|
|
2071
|
-
"id": "stop-on-3-
|
|
2122
|
+
"id": "stop-on-3-no-stale-credit",
|
|
2072
2123
|
"path": [
|
|
2073
2124
|
"actions",
|
|
2074
2125
|
"stop-on-3",
|
|
@@ -2080,7 +2131,7 @@
|
|
|
2080
2131
|
"expected": "satisfied"
|
|
2081
2132
|
},
|
|
2082
2133
|
{
|
|
2083
|
-
"id": "stop-off-
|
|
2134
|
+
"id": "stop-off-pending-after-on-withholding",
|
|
2084
2135
|
"path": [
|
|
2085
2136
|
"actions",
|
|
2086
2137
|
"stop-off",
|
|
@@ -2089,9 +2140,17 @@
|
|
|
2089
2140
|
"state"
|
|
2090
2141
|
],
|
|
2091
2142
|
"operator": "equals",
|
|
2092
|
-
"expected": "
|
|
2143
|
+
"expected": "running"
|
|
2093
2144
|
}
|
|
2094
2145
|
]
|
|
2146
|
+
},
|
|
2147
|
+
"staging": {
|
|
2148
|
+
"slice": "S1",
|
|
2149
|
+
"contract": "Case conjunction: positive verification and initial satisfied completion, then candidate/config invalidation and ON-OFF-ON withholding. Existing retained IDs represent missing positive prerequisites; separate strict assertions preserve original invalidation desired outcomes.",
|
|
2150
|
+
"retainedIdPaths": {
|
|
2151
|
+
"stop-on-2-withheld": "actions.verify-pass.exitCode == 0",
|
|
2152
|
+
"stop-on-3-withheld": "actions.stop-on-1.state.workflow.state == satisfied"
|
|
2153
|
+
}
|
|
2095
2154
|
}
|
|
2096
2155
|
},
|
|
2097
2156
|
{
|
|
@@ -2274,7 +2333,7 @@
|
|
|
2274
2333
|
"id": "pilot-status-unavailable",
|
|
2275
2334
|
"path": [
|
|
2276
2335
|
"pilot",
|
|
2277
|
-
"
|
|
2336
|
+
"pilotStatus"
|
|
2278
2337
|
],
|
|
2279
2338
|
"operator": "equals",
|
|
2280
2339
|
"expected": "unavailable"
|
|
@@ -2462,7 +2521,7 @@
|
|
|
2462
2521
|
"id": "pilot-status-unavailable",
|
|
2463
2522
|
"path": [
|
|
2464
2523
|
"pilot",
|
|
2465
|
-
"
|
|
2524
|
+
"pilotStatus"
|
|
2466
2525
|
],
|
|
2467
2526
|
"operator": "equals",
|
|
2468
2527
|
"expected": "unavailable"
|
|
@@ -2650,7 +2709,7 @@
|
|
|
2650
2709
|
"id": "pilot-status-unavailable",
|
|
2651
2710
|
"path": [
|
|
2652
2711
|
"pilot",
|
|
2653
|
-
"
|
|
2712
|
+
"pilotStatus"
|
|
2654
2713
|
],
|
|
2655
2714
|
"operator": "equals",
|
|
2656
2715
|
"expected": "unavailable"
|