Skip to content

Commit a0978e7

Browse files
committed
ci(dde): commit-seeded fuzz exploration — new deterministic stack combinations per push
The DDE Evidence Cycle gains a second fuzz step alongside the fixed 50-round regression gate: the seed is derived from the pushed commit hash (first 8 hex chars, modulo 2^31-1, matching the runner's integer-seed parser), so every push exercises a NEW deterministic combination of the ten mutations while any single push stays perfectly replayable — the log prints the derived seed, and re-running with it reproduces the exact rounds (same mulberry32 PRNG). 25 rounds keeps the explorer named and distinct from the regression seed (424242), which remains the pinned every-push gate. Seed derivation and the exact command proven live against HEAD before being documented; reviewer-commands table gains the explorer row. Workflow YAML contract 7/7.
1 parent f6b856f commit a0978e7

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

‎.github/workflows/dde.yml‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ name: DDE Evidence Cycle
44
# badge on the README is this file's status, so evidence surveillance is a
55
# first-class signal for any visitor — not a job hidden inside general CI.
66
# Steps are byte-identical to the former `dde` job in ci.yml, plus the fuzz
7-
# mode now documented in the reviewer commands table.
7+
# modes now documented in the reviewer commands table (a fixed 50-round seed
8+
# as the regression gate, and a commit-seeded 25-round explorer that sees a
9+
# new deterministic combination on every push while remaining replayable).
810

911
on:
1012
push:
@@ -60,6 +62,17 @@ jobs:
6062
run: node examples/delivery-fixture/adversarial-runner.mjs
6163
- name: Fuzz mode — seed-deterministic random stacks must all be caught
6264
run: node examples/delivery-fixture/adversarial-runner.mjs --fuzz 50 --seed 424242
65+
# Commit-seeded fuzz: the seed is derived from the pushed commit hash,
66+
# so every push explores a NEW deterministic stack combination while a
67+
# given push stays perfectly replayable (sha → seed is pure arithmetic;
68+
# anyone can re-run the exact rounds with the seed the log prints).
69+
# 25 rounds — a named explorer, not the fixed 50-round regression above.
70+
- name: Fuzz mode — commit-seeded exploration (new combinations per push, replayable)
71+
run: |
72+
SHA="$(git rev-parse HEAD)"
73+
SEED=$((0x${SHA:0:8} % 2147483647))
74+
echo "commit $SHA → fuzz seed $SEED"
75+
node examples/delivery-fixture/adversarial-runner.mjs --fuzz 25 --seed "$SEED"
6376
- name: Agent-platform payout gate — 4 holds, 1 release (boundary arc)
6477
run: node examples/agent-platform-integration/run-integration-demo.mjs
6578
- name: Wire payout gate — scenario rejection over the DDE HTTP endpoint

‎examples/delivery-fixture/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ node examples/delivery-fixture/adversarial-runner.mjs --fuzz 50 [--seed 424242]
7878
| `adversarial-runner.mjs` | every check catches its own single mutation | `mutations: 10 · caught: 10 · survived: 0` |
7979
| `adversarial-runner.mjs` (same run) | stacked defects never blind each other | `compound : 5 batteries · caught: 5 · survived: 0` |
8080
| `adversarial-runner.mjs --fuzz 50` | random seed-deterministic stacks hold too | `fuzz : seed 424242 · 50 stacks · survived: 0` |
81+
| `adversarial-runner.mjs --fuzz 25 --seed <commit-derived>` | CI explores a new deterministic combination on every push (seed = first 8 hex of the pushed commit, modulo 2³¹−1 — replayable by re-running with the seed the log prints) | `fuzz : seed <N> · 25 stacks · survived: 0` |
8182
| `make-fixture.mjs` | the evidence factory is deterministic | `git diff` empty — byte-identical regeneration |
8283

8384
| `node --test test/delivery/doc-curl-contract.test.js` | the docs cannot drift from the wire: every documented bash fence (incl. every `INTEGRATION.md` one) is executed against a live documented endpoint — a rewritten response shape or renamed decision string goes red by name | 1 pass · fences match the wire |

0 commit comments

Comments
 (0)