devlyn-cli 2.3.0 → 2.3.2
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/AGENTS.md +1 -1
- package/CLAUDE.md +2 -2
- package/README.md +82 -29
- package/benchmark/auto-resolve/BENCHMARK-DESIGN.md +61 -44
- package/benchmark/auto-resolve/BENCHMARK-RESULTS.md +341 -0
- package/benchmark/auto-resolve/README.md +307 -44
- package/benchmark/auto-resolve/RUBRIC.md +23 -14
- package/benchmark/auto-resolve/fixtures/F1-cli-trivial-flag/NOTES.md +7 -3
- package/benchmark/auto-resolve/fixtures/F10-persist-write-collision/NOTES.md +8 -3
- package/benchmark/auto-resolve/fixtures/F11-batch-import-all-or-nothing/NOTES.md +8 -3
- package/benchmark/auto-resolve/fixtures/F12-webhook-raw-body-signature/NOTES.md +10 -4
- package/benchmark/auto-resolve/fixtures/F15-frozen-diff-race-review/NOTES.md +10 -4
- package/benchmark/auto-resolve/fixtures/F16-cli-quote-tax-rules/NOTES.md +12 -0
- package/benchmark/auto-resolve/fixtures/F16-cli-quote-tax-rules/spec.md +6 -0
- package/benchmark/auto-resolve/fixtures/F2-cli-medium-subcommand/NOTES.md +7 -4
- package/benchmark/auto-resolve/fixtures/F21-cli-scheduler-priority/NOTES.md +12 -0
- package/benchmark/auto-resolve/fixtures/F21-cli-scheduler-priority/spec.md +6 -0
- package/benchmark/auto-resolve/fixtures/F22-cli-ledger-close/NOTES.md +8 -0
- package/benchmark/auto-resolve/fixtures/F23-cli-fulfillment-wave/NOTES.md +12 -0
- package/benchmark/auto-resolve/fixtures/F23-cli-fulfillment-wave/spec.md +6 -0
- package/benchmark/auto-resolve/fixtures/F25-cli-cart-promotion-rules/NOTES.md +16 -4
- package/benchmark/auto-resolve/fixtures/F25-cli-cart-promotion-rules/spec.md +7 -0
- package/benchmark/auto-resolve/fixtures/F26-cli-payout-ledger-rules/NOTES.md +11 -5
- package/benchmark/auto-resolve/fixtures/F3-backend-contract-risk/NOTES.md +8 -1
- package/benchmark/auto-resolve/fixtures/F3-backend-contract-risk/expected.json +4 -2
- package/benchmark/auto-resolve/fixtures/F3-backend-contract-risk/spec.md +1 -1
- package/benchmark/auto-resolve/fixtures/F31-cli-seat-rebalance/NOTES.md +34 -0
- package/benchmark/auto-resolve/fixtures/F31-cli-seat-rebalance/expected.json +57 -0
- package/benchmark/auto-resolve/fixtures/F31-cli-seat-rebalance/metadata.json +10 -0
- package/benchmark/auto-resolve/fixtures/F31-cli-seat-rebalance/setup.sh +2 -0
- package/benchmark/auto-resolve/fixtures/F31-cli-seat-rebalance/spec.md +67 -0
- package/benchmark/auto-resolve/fixtures/F31-cli-seat-rebalance/task.txt +7 -0
- package/benchmark/auto-resolve/fixtures/F31-cli-seat-rebalance/verifiers/duplicate-event-error.js +35 -0
- package/benchmark/auto-resolve/fixtures/F31-cli-seat-rebalance/verifiers/priority-transfer-rollback.js +53 -0
- package/benchmark/auto-resolve/fixtures/F32-cli-subscription-renewal/NOTES.md +38 -0
- package/benchmark/auto-resolve/fixtures/F32-cli-subscription-renewal/expected.json +57 -0
- package/benchmark/auto-resolve/fixtures/F32-cli-subscription-renewal/metadata.json +10 -0
- package/benchmark/auto-resolve/fixtures/F32-cli-subscription-renewal/setup.sh +2 -0
- package/benchmark/auto-resolve/fixtures/F32-cli-subscription-renewal/spec.md +70 -0
- package/benchmark/auto-resolve/fixtures/F32-cli-subscription-renewal/task.txt +3 -0
- package/benchmark/auto-resolve/fixtures/F32-cli-subscription-renewal/verifiers/duplicate-renewal-error.js +42 -0
- package/benchmark/auto-resolve/fixtures/F32-cli-subscription-renewal/verifiers/priority-credit-rollback.js +70 -0
- package/benchmark/auto-resolve/fixtures/F4-web-browser-design/NOTES.md +10 -3
- package/benchmark/auto-resolve/fixtures/F5-fix-loop-red-green/NOTES.md +7 -0
- package/benchmark/auto-resolve/fixtures/F6-dep-audit-native-module/NOTES.md +5 -0
- package/benchmark/auto-resolve/fixtures/F7-out-of-scope-trap/NOTES.md +7 -0
- package/benchmark/auto-resolve/fixtures/F8-known-limit-ambiguous/NOTES.md +3 -0
- package/benchmark/auto-resolve/fixtures/F8-known-limit-ambiguous/spec.md +1 -1
- package/benchmark/auto-resolve/fixtures/F9-e2e-ideate-to-resolve/NOTES.md +15 -3
- package/benchmark/auto-resolve/fixtures/F9-e2e-ideate-to-resolve/spec.md +1 -1
- package/benchmark/auto-resolve/fixtures/SCHEMA.md +53 -7
- package/benchmark/auto-resolve/fixtures/retired/F27-cli-subscription-proration/NOTES.md +37 -0
- package/benchmark/auto-resolve/fixtures/retired/F27-cli-subscription-proration/RETIRED.md +13 -0
- package/benchmark/auto-resolve/fixtures/retired/F27-cli-subscription-proration/expected.json +56 -0
- package/benchmark/auto-resolve/fixtures/retired/F27-cli-subscription-proration/metadata.json +10 -0
- package/benchmark/auto-resolve/fixtures/retired/F27-cli-subscription-proration/setup.sh +18 -0
- package/benchmark/auto-resolve/fixtures/retired/F27-cli-subscription-proration/spec.md +69 -0
- package/benchmark/auto-resolve/fixtures/retired/F27-cli-subscription-proration/task.txt +7 -0
- package/benchmark/auto-resolve/fixtures/retired/F27-cli-subscription-proration/verifiers/exact-proration.js +48 -0
- package/benchmark/auto-resolve/fixtures/retired/F27-cli-subscription-proration/verifiers/rules-source-and-conflict.js +79 -0
- package/benchmark/auto-resolve/fixtures/retired/F28-cli-return-authorization/NOTES.md +54 -0
- package/benchmark/auto-resolve/fixtures/retired/F28-cli-return-authorization/RETIRED.md +7 -0
- package/benchmark/auto-resolve/fixtures/retired/F28-cli-return-authorization/expected.json +67 -0
- package/benchmark/auto-resolve/fixtures/retired/F28-cli-return-authorization/metadata.json +10 -0
- package/benchmark/auto-resolve/fixtures/retired/F28-cli-return-authorization/setup.sh +2 -0
- package/benchmark/auto-resolve/fixtures/retired/F28-cli-return-authorization/spec.md +67 -0
- package/benchmark/auto-resolve/fixtures/retired/F28-cli-return-authorization/task.txt +5 -0
- package/benchmark/auto-resolve/fixtures/retired/F28-cli-return-authorization/verifiers/policy-precedence.js +72 -0
- package/benchmark/auto-resolve/fixtures/retired/F28-cli-return-authorization/verifiers/validation-and-immutability.js +43 -0
- package/benchmark/auto-resolve/fixtures/retired/F28-cli-return-authorization/verifiers/validation-boundary.js +116 -0
- package/benchmark/auto-resolve/fixtures/retired/F30-cli-credit-hold-settlement/NOTES.md +35 -0
- package/benchmark/auto-resolve/fixtures/retired/F30-cli-credit-hold-settlement/RETIRED.md +12 -0
- package/benchmark/auto-resolve/fixtures/retired/F30-cli-credit-hold-settlement/expected.json +58 -0
- package/benchmark/auto-resolve/fixtures/retired/F30-cli-credit-hold-settlement/metadata.json +10 -0
- package/benchmark/auto-resolve/fixtures/retired/F30-cli-credit-hold-settlement/setup.sh +2 -0
- package/benchmark/auto-resolve/fixtures/retired/F30-cli-credit-hold-settlement/spec.md +73 -0
- package/benchmark/auto-resolve/fixtures/retired/F30-cli-credit-hold-settlement/task.txt +17 -0
- package/benchmark/auto-resolve/fixtures/retired/F30-cli-credit-hold-settlement/verifiers/mixed-idempotent-settlement.js +53 -0
- package/benchmark/auto-resolve/fixtures/retired/F30-cli-credit-hold-settlement/verifiers/rejection-boundaries.js +74 -0
- package/benchmark/auto-resolve/fixtures/retired/F9-e2e-ideate-to-preflight/NOTES.md +60 -0
- package/benchmark/auto-resolve/fixtures/retired/F9-e2e-ideate-to-preflight/RETIRED.md +29 -0
- package/benchmark/auto-resolve/fixtures/retired/F9-e2e-ideate-to-preflight/expected.json +73 -0
- package/benchmark/auto-resolve/fixtures/retired/F9-e2e-ideate-to-preflight/metadata.json +10 -0
- package/benchmark/auto-resolve/fixtures/retired/F9-e2e-ideate-to-preflight/setup.sh +28 -0
- package/benchmark/auto-resolve/fixtures/retired/F9-e2e-ideate-to-preflight/spec.md +58 -0
- package/benchmark/auto-resolve/fixtures/retired/F9-e2e-ideate-to-preflight/task.txt +5 -0
- package/benchmark/auto-resolve/results/20260510-f16-f23-f25-combined-proof/full-pipeline-pair-gate.json +82 -0
- package/benchmark/auto-resolve/results/20260510-f16-f23-f25-combined-proof/full-pipeline-pair-gate.md +18 -0
- package/benchmark/auto-resolve/results/20260510-f16-f23-f25-combined-proof/headroom-gate.json +46 -0
- package/benchmark/auto-resolve/results/20260510-f16-f23-f25-combined-proof/headroom-gate.md +17 -0
- package/benchmark/auto-resolve/run-real-benchmark.md +303 -0
- package/benchmark/auto-resolve/scripts/audit-headroom-rejections.py +441 -0
- package/benchmark/auto-resolve/scripts/audit-pair-evidence.py +1256 -0
- package/benchmark/auto-resolve/scripts/build-pair-eligible-manifest.py +147 -15
- package/benchmark/auto-resolve/scripts/check-f9-artifacts.py +28 -16
- package/benchmark/auto-resolve/scripts/collect-swebench-predictions.py +11 -1
- package/benchmark/auto-resolve/scripts/compile-report.py +208 -46
- package/benchmark/auto-resolve/scripts/fetch-swebench-instances.py +22 -4
- package/benchmark/auto-resolve/scripts/frozen-verify-gate.py +175 -30
- package/benchmark/auto-resolve/scripts/full-pipeline-pair-gate.py +408 -46
- package/benchmark/auto-resolve/scripts/headroom-gate.py +270 -39
- package/benchmark/auto-resolve/scripts/iter-0033c-compare.py +164 -33
- package/benchmark/auto-resolve/scripts/iter-0033c-l1-summary.py +97 -0
- package/benchmark/auto-resolve/scripts/judge-opus-pass.sh +150 -38
- package/benchmark/auto-resolve/scripts/judge.sh +153 -26
- package/benchmark/auto-resolve/scripts/oracle-scope-tier-a.py +12 -5
- package/benchmark/auto-resolve/scripts/oracle-scope-tier-b.py +25 -2
- package/benchmark/auto-resolve/scripts/pair-candidate-frontier.py +469 -0
- package/benchmark/auto-resolve/scripts/pair-plan-idgen.py +5 -5
- package/benchmark/auto-resolve/scripts/pair-plan-lint.py +9 -2
- package/benchmark/auto-resolve/scripts/pair-rejected-fixtures.sh +91 -0
- package/benchmark/auto-resolve/scripts/pair_evidence_contract.py +269 -0
- package/benchmark/auto-resolve/scripts/prepare-swebench-frozen-case.py +39 -10
- package/benchmark/auto-resolve/scripts/prepare-swebench-frozen-corpus.py +34 -4
- package/benchmark/auto-resolve/scripts/prepare-swebench-solver-worktree.py +23 -5
- package/benchmark/auto-resolve/scripts/recent-benchmark-summary.py +232 -0
- package/benchmark/auto-resolve/scripts/run-fixture.sh +118 -51
- package/benchmark/auto-resolve/scripts/run-frozen-verify-pair.sh +211 -39
- package/benchmark/auto-resolve/scripts/run-full-pipeline-pair-candidate.sh +335 -39
- package/benchmark/auto-resolve/scripts/run-headroom-candidate.sh +249 -6
- package/benchmark/auto-resolve/scripts/run-iter-0033c.sh +22 -48
- package/benchmark/auto-resolve/scripts/run-suite.sh +44 -7
- package/benchmark/auto-resolve/scripts/run-swebench-frozen-corpus.sh +120 -19
- package/benchmark/auto-resolve/scripts/run-swebench-solver-batch.sh +32 -14
- package/benchmark/auto-resolve/scripts/ship-gate.py +219 -50
- package/benchmark/auto-resolve/scripts/solo-ceiling-avoidance.py +53 -0
- package/benchmark/auto-resolve/scripts/solo-headroom-hypothesis.py +77 -0
- package/benchmark/auto-resolve/scripts/swebench-frozen-matrix.py +239 -26
- package/benchmark/auto-resolve/scripts/test-audit-headroom-rejections.sh +288 -0
- package/benchmark/auto-resolve/scripts/test-audit-pair-evidence.sh +1672 -0
- package/benchmark/auto-resolve/scripts/test-benchmark-arg-parsing.sh +933 -0
- package/benchmark/auto-resolve/scripts/test-build-pair-eligible-manifest.sh +491 -0
- package/benchmark/auto-resolve/scripts/test-check-f9-artifacts.sh +91 -0
- package/benchmark/auto-resolve/scripts/test-frozen-verify-gate.sh +328 -3
- package/benchmark/auto-resolve/scripts/test-full-pipeline-pair-gate.sh +497 -18
- package/benchmark/auto-resolve/scripts/test-headroom-gate.sh +331 -14
- package/benchmark/auto-resolve/scripts/test-iter-0033c-compare.sh +525 -0
- package/benchmark/auto-resolve/scripts/test-iter-0033c-l1-summary.sh +254 -0
- package/benchmark/auto-resolve/scripts/test-lint-fixtures.sh +580 -0
- package/benchmark/auto-resolve/scripts/test-pair-candidate-frontier.sh +591 -0
- package/benchmark/auto-resolve/scripts/test-run-full-pipeline-pair-candidate.sh +497 -0
- package/benchmark/auto-resolve/scripts/test-run-headroom-candidate.sh +401 -0
- package/benchmark/auto-resolve/scripts/test-run-swebench-solver-batch.sh +111 -0
- package/benchmark/auto-resolve/scripts/test-ship-gate.sh +1189 -0
- package/benchmark/auto-resolve/scripts/test-swebench-frozen-case.sh +924 -5
- package/benchmark/auto-resolve/shadow-fixtures/S1-cli-lang-flag/NOTES.md +28 -0
- package/benchmark/auto-resolve/shadow-fixtures/S1-cli-lang-flag/expected.json +63 -0
- package/benchmark/auto-resolve/shadow-fixtures/S1-cli-lang-flag/metadata.json +10 -0
- package/benchmark/auto-resolve/shadow-fixtures/S1-cli-lang-flag/setup.sh +3 -0
- package/benchmark/auto-resolve/shadow-fixtures/S1-cli-lang-flag/spec.md +47 -0
- package/benchmark/auto-resolve/shadow-fixtures/S1-cli-lang-flag/task.txt +1 -0
- package/benchmark/auto-resolve/shadow-fixtures/S2-cli-inventory-reservation/NOTES.md +34 -0
- package/benchmark/auto-resolve/shadow-fixtures/S2-cli-inventory-reservation/expected.json +53 -0
- package/benchmark/auto-resolve/shadow-fixtures/S2-cli-inventory-reservation/metadata.json +10 -0
- package/benchmark/auto-resolve/shadow-fixtures/S2-cli-inventory-reservation/setup.sh +3 -0
- package/benchmark/auto-resolve/shadow-fixtures/S2-cli-inventory-reservation/spec.md +50 -0
- package/benchmark/auto-resolve/shadow-fixtures/S2-cli-inventory-reservation/task.txt +1 -0
- package/benchmark/auto-resolve/shadow-fixtures/S2-cli-inventory-reservation/verifiers/duplicate-order-error.js +27 -0
- package/benchmark/auto-resolve/shadow-fixtures/S2-cli-inventory-reservation/verifiers/priority-stock-reservation.js +44 -0
- package/benchmark/auto-resolve/shadow-fixtures/S3-cli-ticket-assignment/NOTES.md +34 -0
- package/benchmark/auto-resolve/shadow-fixtures/S3-cli-ticket-assignment/expected.json +55 -0
- package/benchmark/auto-resolve/shadow-fixtures/S3-cli-ticket-assignment/metadata.json +10 -0
- package/benchmark/auto-resolve/shadow-fixtures/S3-cli-ticket-assignment/setup.sh +3 -0
- package/benchmark/auto-resolve/shadow-fixtures/S3-cli-ticket-assignment/spec.md +52 -0
- package/benchmark/auto-resolve/shadow-fixtures/S3-cli-ticket-assignment/task.txt +1 -0
- package/benchmark/auto-resolve/shadow-fixtures/S3-cli-ticket-assignment/verifiers/duplicate-ticket-error.js +29 -0
- package/benchmark/auto-resolve/shadow-fixtures/S3-cli-ticket-assignment/verifiers/priority-agent-assignment.js +48 -0
- package/benchmark/auto-resolve/shadow-fixtures/S4-cli-return-routing/NOTES.md +34 -0
- package/benchmark/auto-resolve/shadow-fixtures/S4-cli-return-routing/expected.json +55 -0
- package/benchmark/auto-resolve/shadow-fixtures/S4-cli-return-routing/metadata.json +10 -0
- package/benchmark/auto-resolve/shadow-fixtures/S4-cli-return-routing/setup.sh +3 -0
- package/benchmark/auto-resolve/shadow-fixtures/S4-cli-return-routing/spec.md +55 -0
- package/benchmark/auto-resolve/shadow-fixtures/S4-cli-return-routing/task.txt +1 -0
- package/benchmark/auto-resolve/shadow-fixtures/S4-cli-return-routing/verifiers/duplicate-return-error.js +43 -0
- package/benchmark/auto-resolve/shadow-fixtures/S4-cli-return-routing/verifiers/priority-return-routing.js +70 -0
- package/benchmark/auto-resolve/shadow-fixtures/S5-cli-credit-grant-ledger/NOTES.md +37 -0
- package/benchmark/auto-resolve/shadow-fixtures/S5-cli-credit-grant-ledger/expected.json +54 -0
- package/benchmark/auto-resolve/shadow-fixtures/S5-cli-credit-grant-ledger/metadata.json +10 -0
- package/benchmark/auto-resolve/shadow-fixtures/S5-cli-credit-grant-ledger/setup.sh +3 -0
- package/benchmark/auto-resolve/shadow-fixtures/S5-cli-credit-grant-ledger/spec.md +59 -0
- package/benchmark/auto-resolve/shadow-fixtures/S5-cli-credit-grant-ledger/task.txt +1 -0
- package/benchmark/auto-resolve/shadow-fixtures/S5-cli-credit-grant-ledger/verifiers/credit-ledger-priority.js +98 -0
- package/benchmark/auto-resolve/shadow-fixtures/S5-cli-credit-grant-ledger/verifiers/duplicate-charge-error.js +38 -0
- package/benchmark/auto-resolve/shadow-fixtures/S6-cli-refund-window-ledger/NOTES.md +36 -0
- package/benchmark/auto-resolve/shadow-fixtures/S6-cli-refund-window-ledger/expected.json +56 -0
- package/benchmark/auto-resolve/shadow-fixtures/S6-cli-refund-window-ledger/metadata.json +10 -0
- package/benchmark/auto-resolve/shadow-fixtures/S6-cli-refund-window-ledger/setup.sh +3 -0
- package/benchmark/auto-resolve/shadow-fixtures/S6-cli-refund-window-ledger/spec.md +59 -0
- package/benchmark/auto-resolve/shadow-fixtures/S6-cli-refund-window-ledger/task.txt +1 -0
- package/benchmark/auto-resolve/shadow-fixtures/S6-cli-refund-window-ledger/verifiers/duplicate-refund-error.js +41 -0
- package/benchmark/auto-resolve/shadow-fixtures/S6-cli-refund-window-ledger/verifiers/priority-refund-ledger.js +65 -0
- package/bin/devlyn.js +211 -18
- package/config/skills/_shared/adapters/README.md +3 -0
- package/config/skills/_shared/adapters/gpt-5-5.md +5 -1
- package/config/skills/_shared/adapters/opus-4-7.md +9 -1
- package/config/skills/_shared/archive_run.py +78 -6
- package/config/skills/_shared/codex-config.md +3 -2
- package/config/skills/_shared/codex-monitored.sh +46 -1
- package/config/skills/_shared/collect-codex-findings.py +20 -5
- package/config/skills/_shared/engine-preflight.md +1 -1
- package/config/skills/_shared/runtime-principles.md +5 -8
- package/config/skills/_shared/spec-verify-check.py +2664 -107
- package/config/skills/_shared/verify-merge-findings.py +1369 -19
- package/config/skills/devlyn:ideate/SKILL.md +7 -4
- package/config/skills/devlyn:ideate/references/elicitation.md +50 -4
- package/config/skills/devlyn:ideate/references/from-spec-mode.md +26 -4
- package/config/skills/devlyn:ideate/references/project-mode.md +20 -1
- package/config/skills/devlyn:ideate/references/spec-template.md +10 -1
- package/config/skills/devlyn:resolve/SKILL.md +49 -18
- package/config/skills/devlyn:resolve/references/free-form-mode.md +15 -0
- package/config/skills/devlyn:resolve/references/phases/build-gate.md +2 -2
- package/config/skills/devlyn:resolve/references/phases/probe-derive.md +74 -2
- package/config/skills/devlyn:resolve/references/phases/verify.md +62 -28
- package/config/skills/devlyn:resolve/references/state-schema.md +7 -4
- package/package.json +47 -2
- package/scripts/lint-fixtures.sh +349 -0
- package/scripts/lint-shadow-fixtures.sh +58 -0
- package/scripts/lint-skills.sh +3642 -92
- /package/{optional-skills → config/skills}/devlyn:design-ui/SKILL.md +0 -0
|
@@ -28,7 +28,14 @@ EOF
|
|
|
28
28
|
cat > "$TMP_DIR/$run_id/compare.json" <<EOF
|
|
29
29
|
{
|
|
30
30
|
"solo": {"invoke_exit": 0, "timed_out": false, "verify_verdict": "$solo_verdict", "elapsed_seconds": 100},
|
|
31
|
-
"pair": {
|
|
31
|
+
"pair": {
|
|
32
|
+
"invoke_exit": 0,
|
|
33
|
+
"timed_out": false,
|
|
34
|
+
"verify_verdict": "$pair_verdict",
|
|
35
|
+
"pair_mode": true,
|
|
36
|
+
"pair_trigger": {"eligible": true, "reasons": ["mode.verify-only"], "skipped_reason": null},
|
|
37
|
+
"elapsed_seconds": 200
|
|
38
|
+
},
|
|
32
39
|
"comparison": {
|
|
33
40
|
"pair_trigger_missed": false,
|
|
34
41
|
"pair_verdict_lift": $lift,
|
|
@@ -64,10 +71,24 @@ write_run pass-b F12-webhook-raw-body-signature PASS_WITH_ISSUES NEEDS_WORK true
|
|
|
64
71
|
mkdir -p "$FIXTURES_DIR/F10-persist-write-collision" "$FIXTURES_DIR/F12-webhook-raw-body-signature"
|
|
65
72
|
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
66
73
|
--run-id pass-a --run-id pass-b --min-runs 2 --max-pair-solo-wall-ratio 3 \
|
|
74
|
+
--out-md "$TMP_DIR/pass.md" \
|
|
67
75
|
> "$TMP_DIR/pass.out"
|
|
68
76
|
grep -Fq '"verdict": "PASS"' "$TMP_DIR/pass.out"
|
|
69
77
|
grep -Fq '"avg_pair_solo_wall_ratio": 2.0' "$TMP_DIR/pass.out"
|
|
70
78
|
grep -Fq '"pair_solo_wall_ratio": 2.0' "$TMP_DIR/pass.out"
|
|
79
|
+
grep -Fq '"pair_trigger_reasons": [' "$TMP_DIR/pass.out"
|
|
80
|
+
grep -Fq '"mode.verify-only"' "$TMP_DIR/pass.out"
|
|
81
|
+
grep -Fq '"pair_trigger_has_canonical_reason": true' "$TMP_DIR/pass.out"
|
|
82
|
+
grep -Fq '| Run | Fixture | Solo VERIFY | Pair VERIFY | Pair mode | Triggers | Wall ratio | External lift | Internal lift | Status | Reason |' "$TMP_DIR/pass.md"
|
|
83
|
+
grep -Fq '| pass-a | F10-persist-write-collision | PASS_WITH_ISSUES | NEEDS_WORK | true | mode.verify-only | 2.00x | true | false | PASS | ok |' "$TMP_DIR/pass.md"
|
|
84
|
+
|
|
85
|
+
expect_fail_contains invalid-min-runs "value must be > 0" \
|
|
86
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
87
|
+
--run-id pass-a --min-runs 0
|
|
88
|
+
|
|
89
|
+
expect_fail_contains invalid-wall-ratio "value must be > 0" \
|
|
90
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
91
|
+
--run-id pass-a --max-pair-solo-wall-ratio 0
|
|
71
92
|
|
|
72
93
|
mkdir -p "$TMP_DIR/summary-verdicts/pair"
|
|
73
94
|
cat > "$TMP_DIR/summary-verdicts/pair/input.md" <<'EOF'
|
|
@@ -76,7 +97,14 @@ EOF
|
|
|
76
97
|
cat > "$TMP_DIR/summary-verdicts/compare.json" <<'EOF'
|
|
77
98
|
{
|
|
78
99
|
"solo": {"invoke_exit": 0, "timed_out": false, "verify_verdict": "PASS_WITH_ISSUES", "elapsed_seconds": 100},
|
|
79
|
-
"pair": {
|
|
100
|
+
"pair": {
|
|
101
|
+
"invoke_exit": 0,
|
|
102
|
+
"timed_out": false,
|
|
103
|
+
"verify_verdict": "NEEDS_WORK",
|
|
104
|
+
"pair_mode": true,
|
|
105
|
+
"pair_trigger": {"eligible": true, "reasons": ["mode.verify-only"], "skipped_reason": null},
|
|
106
|
+
"elapsed_seconds": 200
|
|
107
|
+
},
|
|
80
108
|
"comparison": {"pair_trigger_missed": false, "pair_verdict_lift": true, "pair_internal_verdict_lift": false}
|
|
81
109
|
}
|
|
82
110
|
EOF
|
|
@@ -86,6 +114,137 @@ python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
|
86
114
|
> "$TMP_DIR/summary-verdicts.out"
|
|
87
115
|
grep -Fq '"verdict": "PASS"' "$TMP_DIR/summary-verdicts.out"
|
|
88
116
|
|
|
117
|
+
mkdir -p "$TMP_DIR/string-pair-mode/pair"
|
|
118
|
+
cat > "$TMP_DIR/string-pair-mode/pair/input.md" <<'EOF'
|
|
119
|
+
Use /devlyn:resolve --verify-only --spec docs/roadmap/phase-1/F13-string-pair-mode.md.
|
|
120
|
+
EOF
|
|
121
|
+
cat > "$TMP_DIR/string-pair-mode/compare.json" <<'EOF'
|
|
122
|
+
{
|
|
123
|
+
"solo": {"invoke_exit": 0, "timed_out": false, "verify_verdict": "PASS_WITH_ISSUES", "elapsed_seconds": 100},
|
|
124
|
+
"pair": {
|
|
125
|
+
"invoke_exit": 0,
|
|
126
|
+
"timed_out": false,
|
|
127
|
+
"verify_verdict": "NEEDS_WORK",
|
|
128
|
+
"pair_mode": "true",
|
|
129
|
+
"pair_trigger": {"eligible": true, "reasons": ["mode.verify-only"], "skipped_reason": null},
|
|
130
|
+
"elapsed_seconds": 200
|
|
131
|
+
},
|
|
132
|
+
"comparison": {"pair_trigger_missed": false, "pair_verdict_lift": true, "pair_internal_verdict_lift": false}
|
|
133
|
+
}
|
|
134
|
+
EOF
|
|
135
|
+
mkdir -p "$FIXTURES_DIR/F13-string-pair-mode"
|
|
136
|
+
expect_fail_contains string-pair-mode "pair_mode false" \
|
|
137
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
138
|
+
--run-id string-pair-mode --min-runs 1
|
|
139
|
+
|
|
140
|
+
write_run malformed-pair-trigger F13-malformed-pair-trigger PASS_WITH_ISSUES NEEDS_WORK true
|
|
141
|
+
mkdir -p "$FIXTURES_DIR/F13-malformed-pair-trigger"
|
|
142
|
+
python3 - "$TMP_DIR/malformed-pair-trigger/compare.json" <<'PY'
|
|
143
|
+
import json
|
|
144
|
+
import sys
|
|
145
|
+
path = sys.argv[1]
|
|
146
|
+
with open(path) as f:
|
|
147
|
+
data = json.load(f)
|
|
148
|
+
data["pair"]["pair_trigger"] = {"eligible": True, "reasons": "forced_pair", "skipped_reason": None}
|
|
149
|
+
with open(path, "w") as f:
|
|
150
|
+
json.dump(data, f)
|
|
151
|
+
PY
|
|
152
|
+
expect_fail_contains malformed-pair-trigger "pair_trigger.reasons malformed" \
|
|
153
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
154
|
+
--run-id malformed-pair-trigger --min-runs 1
|
|
155
|
+
|
|
156
|
+
write_run unknown-pair-trigger F13-unknown-pair-trigger PASS_WITH_ISSUES NEEDS_WORK true
|
|
157
|
+
mkdir -p "$FIXTURES_DIR/F13-unknown-pair-trigger"
|
|
158
|
+
python3 - "$TMP_DIR/unknown-pair-trigger/compare.json" <<'PY'
|
|
159
|
+
import json
|
|
160
|
+
import sys
|
|
161
|
+
path = sys.argv[1]
|
|
162
|
+
with open(path) as f:
|
|
163
|
+
data = json.load(f)
|
|
164
|
+
data["pair"]["pair_trigger"] = {"eligible": True, "reasons": ["looks-hard"], "skipped_reason": None}
|
|
165
|
+
with open(path, "w") as f:
|
|
166
|
+
json.dump(data, f)
|
|
167
|
+
PY
|
|
168
|
+
expect_fail_contains unknown-pair-trigger "pair_trigger reasons missing known trigger reason" \
|
|
169
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
170
|
+
--run-id unknown-pair-trigger --min-runs 1
|
|
171
|
+
|
|
172
|
+
write_run mixed-unknown-pair-trigger F13-mixed-unknown-pair-trigger PASS_WITH_ISSUES NEEDS_WORK true
|
|
173
|
+
mkdir -p "$FIXTURES_DIR/F13-mixed-unknown-pair-trigger"
|
|
174
|
+
python3 - "$TMP_DIR/mixed-unknown-pair-trigger/compare.json" <<'PY'
|
|
175
|
+
import json
|
|
176
|
+
import sys
|
|
177
|
+
path = sys.argv[1]
|
|
178
|
+
with open(path) as f:
|
|
179
|
+
data = json.load(f)
|
|
180
|
+
data["pair"]["pair_trigger"] = {"eligible": True, "reasons": ["mode.verify-only", "looks-hard"], "skipped_reason": None}
|
|
181
|
+
with open(path, "w") as f:
|
|
182
|
+
json.dump(data, f)
|
|
183
|
+
PY
|
|
184
|
+
expect_fail_contains mixed-unknown-pair-trigger "pair_trigger reasons contain unknown trigger reason" \
|
|
185
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
186
|
+
--run-id mixed-unknown-pair-trigger --min-runs 1
|
|
187
|
+
|
|
188
|
+
write_run normalized-canonical-pair-trigger F13-normalized-canonical-pair-trigger PASS_WITH_ISSUES NEEDS_WORK true
|
|
189
|
+
mkdir -p "$FIXTURES_DIR/F13-normalized-canonical-pair-trigger"
|
|
190
|
+
python3 - "$TMP_DIR/normalized-canonical-pair-trigger/compare.json" <<'PY'
|
|
191
|
+
import json
|
|
192
|
+
import sys
|
|
193
|
+
path = sys.argv[1]
|
|
194
|
+
with open(path) as f:
|
|
195
|
+
data = json.load(f)
|
|
196
|
+
data["pair"]["pair_trigger"] = {"eligible": True, "reasons": ["risk high"], "skipped_reason": None}
|
|
197
|
+
with open(path, "w") as f:
|
|
198
|
+
json.dump(data, f)
|
|
199
|
+
PY
|
|
200
|
+
expect_fail_contains normalized-canonical-pair-trigger "pair_trigger reasons missing known trigger reason" \
|
|
201
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
202
|
+
--run-id normalized-canonical-pair-trigger --min-runs 1
|
|
203
|
+
|
|
204
|
+
write_run historical-only-pair-trigger F13-historical-only-pair-trigger PASS_WITH_ISSUES NEEDS_WORK true
|
|
205
|
+
mkdir -p "$FIXTURES_DIR/F13-historical-only-pair-trigger"
|
|
206
|
+
python3 - "$TMP_DIR/historical-only-pair-trigger/compare.json" <<'PY'
|
|
207
|
+
import json
|
|
208
|
+
import sys
|
|
209
|
+
path = sys.argv[1]
|
|
210
|
+
with open(path) as f:
|
|
211
|
+
data = json.load(f)
|
|
212
|
+
data["pair"]["pair_trigger"] = {"eligible": True, "reasons": ["risk_profile.high_risk"], "skipped_reason": None}
|
|
213
|
+
with open(path, "w") as f:
|
|
214
|
+
json.dump(data, f)
|
|
215
|
+
PY
|
|
216
|
+
expect_fail_contains historical-only-pair-trigger "pair_trigger reasons missing canonical trigger reason" \
|
|
217
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
218
|
+
--run-id historical-only-pair-trigger --min-runs 1
|
|
219
|
+
|
|
220
|
+
write_run missing-hypothesis-trigger F13-missing-hypothesis-trigger PASS_WITH_ISSUES NEEDS_WORK true
|
|
221
|
+
mkdir -p "$FIXTURES_DIR/F13-missing-hypothesis-trigger"
|
|
222
|
+
cat > "$FIXTURES_DIR/F13-missing-hypothesis-trigger/spec.md" <<'EOF'
|
|
223
|
+
## Verification
|
|
224
|
+
|
|
225
|
+
- Solo-headroom hypothesis: `solo_claude` is expected to miss the refund-window defect; observable miss command: `npm test -- --runInBand`.
|
|
226
|
+
EOF
|
|
227
|
+
expect_fail_contains missing-hypothesis-trigger "pair_trigger missing spec.solo_headroom_hypothesis" \
|
|
228
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
229
|
+
--run-id missing-hypothesis-trigger --min-runs 1 --require-hypothesis-trigger
|
|
230
|
+
python3 - "$TMP_DIR/missing-hypothesis-trigger/compare.json" <<'PY'
|
|
231
|
+
import json
|
|
232
|
+
import sys
|
|
233
|
+
path = sys.argv[1]
|
|
234
|
+
with open(path) as f:
|
|
235
|
+
data = json.load(f)
|
|
236
|
+
data["pair"]["pair_trigger"]["reasons"] = [
|
|
237
|
+
"mode.verify-only",
|
|
238
|
+
"spec.solo_headroom_hypothesis",
|
|
239
|
+
]
|
|
240
|
+
with open(path, "w") as f:
|
|
241
|
+
json.dump(data, f)
|
|
242
|
+
PY
|
|
243
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
244
|
+
--run-id missing-hypothesis-trigger --min-runs 1 --require-hypothesis-trigger \
|
|
245
|
+
> "$TMP_DIR/hypothesis-trigger-pass.out"
|
|
246
|
+
grep -Fq '"verdict": "PASS"' "$TMP_DIR/hypothesis-trigger-pass.out"
|
|
247
|
+
|
|
89
248
|
write_run dup-a F12-webhook-raw-body-signature PASS_WITH_ISSUES NEEDS_WORK true
|
|
90
249
|
write_run dup-b F12-webhook-raw-body-signature PASS_WITH_ISSUES NEEDS_WORK true
|
|
91
250
|
expect_fail_contains duplicate-fixture "duplicate fixture_id=F12-webhook-raw-body-signature" \
|
|
@@ -138,7 +297,13 @@ EOF
|
|
|
138
297
|
cat > "$TMP_DIR/missing-elapsed/compare.json" <<'EOF'
|
|
139
298
|
{
|
|
140
299
|
"solo": {"invoke_exit": 0, "timed_out": false, "verify_verdict": "PASS_WITH_ISSUES"},
|
|
141
|
-
"pair": {
|
|
300
|
+
"pair": {
|
|
301
|
+
"invoke_exit": 0,
|
|
302
|
+
"timed_out": false,
|
|
303
|
+
"verify_verdict": "NEEDS_WORK",
|
|
304
|
+
"pair_mode": true,
|
|
305
|
+
"pair_trigger": {"eligible": true, "reasons": ["mode.verify-only"], "skipped_reason": null}
|
|
306
|
+
},
|
|
142
307
|
"comparison": {
|
|
143
308
|
"pair_trigger_missed": false,
|
|
144
309
|
"pair_verdict_lift": true,
|
|
@@ -164,6 +329,117 @@ expect_fail_contains missing-compare "missing compare.json for missing-compare"
|
|
|
164
329
|
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
165
330
|
--run-id missing-compare --min-runs 1
|
|
166
331
|
|
|
332
|
+
mkdir -p "$TMP_DIR/malformed-compare/pair"
|
|
333
|
+
cat > "$TMP_DIR/malformed-compare/pair/input.md" <<'EOF'
|
|
334
|
+
Use /devlyn:resolve --verify-only --spec docs/roadmap/phase-1/F17-malformed-compare.md.
|
|
335
|
+
EOF
|
|
336
|
+
printf '["not", "a", "dict"]\n' > "$TMP_DIR/malformed-compare/compare.json"
|
|
337
|
+
mkdir -p "$FIXTURES_DIR/F17-malformed-compare"
|
|
338
|
+
expect_fail_contains malformed-compare "malformed compare.json for malformed-compare: expected object" \
|
|
339
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
340
|
+
--run-id malformed-compare --min-runs 1
|
|
341
|
+
|
|
342
|
+
mkdir -p "$TMP_DIR/nan-compare/pair"
|
|
343
|
+
cat > "$TMP_DIR/nan-compare/pair/input.md" <<'EOF'
|
|
344
|
+
Use /devlyn:resolve --verify-only --spec docs/roadmap/phase-1/F17-nan-compare.md.
|
|
345
|
+
EOF
|
|
346
|
+
cat > "$TMP_DIR/nan-compare/compare.json" <<'EOF'
|
|
347
|
+
{
|
|
348
|
+
"solo": {"invoke_exit": 0, "timed_out": false, "verify_verdict": "PASS_WITH_ISSUES", "elapsed_seconds": 100},
|
|
349
|
+
"pair": {
|
|
350
|
+
"invoke_exit": 0,
|
|
351
|
+
"timed_out": false,
|
|
352
|
+
"verify_verdict": "NEEDS_WORK",
|
|
353
|
+
"pair_mode": true,
|
|
354
|
+
"pair_trigger": {"eligible": true, "reasons": ["mode.verify-only"], "skipped_reason": null},
|
|
355
|
+
"elapsed_seconds": NaN
|
|
356
|
+
},
|
|
357
|
+
"comparison": {"pair_trigger_missed": false, "pair_verdict_lift": true, "pair_internal_verdict_lift": false}
|
|
358
|
+
}
|
|
359
|
+
EOF
|
|
360
|
+
mkdir -p "$FIXTURES_DIR/F17-nan-compare"
|
|
361
|
+
expect_fail_contains nan-compare "malformed compare.json for nan-compare: invalid JSON" \
|
|
362
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
363
|
+
--run-id nan-compare --min-runs 1
|
|
364
|
+
|
|
365
|
+
mkdir -p "$TMP_DIR/malformed-compare-sections/pair"
|
|
366
|
+
cat > "$TMP_DIR/malformed-compare-sections/pair/input.md" <<'EOF'
|
|
367
|
+
Use /devlyn:resolve --verify-only --spec docs/roadmap/phase-1/F17-malformed-compare-sections.md.
|
|
368
|
+
EOF
|
|
369
|
+
cat > "$TMP_DIR/malformed-compare-sections/compare.json" <<'EOF'
|
|
370
|
+
{
|
|
371
|
+
"solo": ["not", "a", "dict"],
|
|
372
|
+
"pair": ["not", "a", "dict"],
|
|
373
|
+
"comparison": ["not", "a", "dict"]
|
|
374
|
+
}
|
|
375
|
+
EOF
|
|
376
|
+
mkdir -p "$FIXTURES_DIR/F17-malformed-compare-sections"
|
|
377
|
+
expect_fail_contains malformed-compare-sections "pair_mode false" \
|
|
378
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
379
|
+
--run-id malformed-compare-sections --min-runs 1
|
|
380
|
+
|
|
381
|
+
mkdir -p "$TMP_DIR/malformed-verdict-fields/pair"
|
|
382
|
+
cat > "$TMP_DIR/malformed-verdict-fields/pair/input.md" <<'EOF'
|
|
383
|
+
Use /devlyn:resolve --verify-only --spec docs/roadmap/phase-1/F17-malformed-verdict-fields.md.
|
|
384
|
+
EOF
|
|
385
|
+
cat > "$TMP_DIR/malformed-verdict-fields/compare.json" <<'EOF'
|
|
386
|
+
{
|
|
387
|
+
"solo": {"invoke_exit": 0, "timed_out": false, "verify_verdict": ["bad"], "elapsed_seconds": 100},
|
|
388
|
+
"pair": {
|
|
389
|
+
"invoke_exit": 0,
|
|
390
|
+
"timed_out": false,
|
|
391
|
+
"verify_verdict": ["bad"],
|
|
392
|
+
"pair_mode": true,
|
|
393
|
+
"pair_trigger": {"eligible": true, "reasons": ["mode.verify-only"], "skipped_reason": null},
|
|
394
|
+
"elapsed_seconds": 200
|
|
395
|
+
},
|
|
396
|
+
"comparison": {
|
|
397
|
+
"pair_trigger_missed": false,
|
|
398
|
+
"pair_verdict_lift": true,
|
|
399
|
+
"pair_internal_verdict_lift": true,
|
|
400
|
+
"solo_verdict": ["bad"],
|
|
401
|
+
"pair_verdict": ["bad"],
|
|
402
|
+
"pair_primary_verdict": ["bad"],
|
|
403
|
+
"pair_judge_verdict": ["bad"]
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
EOF
|
|
407
|
+
mkdir -p "$FIXTURES_DIR/F17-malformed-verdict-fields"
|
|
408
|
+
expect_fail_contains malformed-verdict-fields "pair verdict missing or malformed" \
|
|
409
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
410
|
+
--run-id malformed-verdict-fields --min-runs 1
|
|
411
|
+
|
|
412
|
+
mkdir -p "$TMP_DIR/malformed-elapsed-fields/pair"
|
|
413
|
+
cat > "$TMP_DIR/malformed-elapsed-fields/pair/input.md" <<'EOF'
|
|
414
|
+
Use /devlyn:resolve --verify-only --spec docs/roadmap/phase-1/F17-malformed-elapsed-fields.md.
|
|
415
|
+
EOF
|
|
416
|
+
cat > "$TMP_DIR/malformed-elapsed-fields/compare.json" <<'EOF'
|
|
417
|
+
{
|
|
418
|
+
"solo": {"invoke_exit": 0, "timed_out": false, "verify_verdict": "PASS_WITH_ISSUES", "elapsed_seconds": true},
|
|
419
|
+
"pair": {
|
|
420
|
+
"invoke_exit": 0,
|
|
421
|
+
"timed_out": false,
|
|
422
|
+
"verify_verdict": "NEEDS_WORK",
|
|
423
|
+
"pair_mode": true,
|
|
424
|
+
"pair_trigger": {"eligible": true, "reasons": ["mode.verify-only"], "skipped_reason": null},
|
|
425
|
+
"elapsed_seconds": false
|
|
426
|
+
},
|
|
427
|
+
"comparison": {
|
|
428
|
+
"pair_trigger_missed": false,
|
|
429
|
+
"pair_verdict_lift": true,
|
|
430
|
+
"pair_internal_verdict_lift": false,
|
|
431
|
+
"solo_verdict": "PASS_WITH_ISSUES",
|
|
432
|
+
"pair_verdict": "NEEDS_WORK",
|
|
433
|
+
"pair_primary_verdict": "NEEDS_WORK",
|
|
434
|
+
"pair_judge_verdict": "NEEDS_WORK"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
EOF
|
|
438
|
+
mkdir -p "$FIXTURES_DIR/F17-malformed-elapsed-fields"
|
|
439
|
+
expect_fail_contains malformed-elapsed-fields "pair/solo wall ratio missing" \
|
|
440
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
441
|
+
--run-id malformed-elapsed-fields --min-runs 1 --max-pair-solo-wall-ratio 3
|
|
442
|
+
|
|
167
443
|
mkdir -p "$TMP_DIR/provider-limit/pair"
|
|
168
444
|
cat > "$TMP_DIR/provider-limit/pair/input.md" <<'EOF'
|
|
169
445
|
Use /devlyn:resolve --verify-only --spec docs/roadmap/phase-1/F18-provider-limit.md.
|
|
@@ -189,4 +465,53 @@ expect_fail_contains provider-limit "pair provider limit" \
|
|
|
189
465
|
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
190
466
|
--run-id provider-limit --min-runs 1
|
|
191
467
|
|
|
468
|
+
write_run dirty-pair-env F19-dirty-pair-env PASS_WITH_ISSUES NEEDS_WORK true
|
|
469
|
+
mkdir -p "$FIXTURES_DIR/F19-dirty-pair-env"
|
|
470
|
+
python3 - "$TMP_DIR/dirty-pair-env/compare.json" <<'PY'
|
|
471
|
+
import json
|
|
472
|
+
import sys
|
|
473
|
+
path = sys.argv[1]
|
|
474
|
+
with open(path) as f:
|
|
475
|
+
data = json.load(f)
|
|
476
|
+
data["pair"]["environment_contamination"] = True
|
|
477
|
+
with open(path, "w") as f:
|
|
478
|
+
json.dump(data, f)
|
|
479
|
+
PY
|
|
480
|
+
expect_fail_contains dirty-pair-env "pair environment contamination" \
|
|
481
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
482
|
+
--run-id dirty-pair-env --min-runs 1
|
|
483
|
+
|
|
484
|
+
write_run dirty-solo-disqualifier F20-dirty-solo-disqualifier PASS_WITH_ISSUES NEEDS_WORK true
|
|
485
|
+
mkdir -p "$FIXTURES_DIR/F20-dirty-solo-disqualifier"
|
|
486
|
+
python3 - "$TMP_DIR/dirty-solo-disqualifier/compare.json" <<'PY'
|
|
487
|
+
import json
|
|
488
|
+
import sys
|
|
489
|
+
path = sys.argv[1]
|
|
490
|
+
with open(path) as f:
|
|
491
|
+
data = json.load(f)
|
|
492
|
+
data["solo"]["disqualifier"] = True
|
|
493
|
+
with open(path, "w") as f:
|
|
494
|
+
json.dump(data, f)
|
|
495
|
+
PY
|
|
496
|
+
expect_fail_contains dirty-solo-disqualifier "solo disqualifier" \
|
|
497
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
498
|
+
--run-id dirty-solo-disqualifier --min-runs 1
|
|
499
|
+
|
|
500
|
+
write_run dirty-pair-invoke F21-dirty-pair-invoke PASS_WITH_ISSUES NEEDS_WORK true
|
|
501
|
+
mkdir -p "$FIXTURES_DIR/F21-dirty-pair-invoke"
|
|
502
|
+
python3 - "$TMP_DIR/dirty-pair-invoke/compare.json" <<'PY'
|
|
503
|
+
import json
|
|
504
|
+
import sys
|
|
505
|
+
path = sys.argv[1]
|
|
506
|
+
with open(path) as f:
|
|
507
|
+
data = json.load(f)
|
|
508
|
+
data["pair"]["invoke_failure"] = True
|
|
509
|
+
data["pair"]["invoke_failure_reason"] = "plugin_contamination"
|
|
510
|
+
with open(path, "w") as f:
|
|
511
|
+
json.dump(data, f)
|
|
512
|
+
PY
|
|
513
|
+
expect_fail_contains dirty-pair-invoke "pair invoke failure (plugin_contamination)" \
|
|
514
|
+
python3 "$GATE" --results-root "$TMP_DIR" --fixtures-root "$FIXTURES_DIR" \
|
|
515
|
+
--run-id dirty-pair-invoke --min-runs 1
|
|
516
|
+
|
|
192
517
|
echo "✓ test-frozen-verify-gate"
|