Bundle Entry:
docs/spec/TESTING_BUNDLE_v0.1.md
Agent Generative Workloads v0.1
Purpose: - Extend agent validation beyond the fixed workflow catalog by generating deterministic synthetic workload compositions from successful gauntlet workflows. - Feed both performance and parity lanes with mutation-based checks.
Runner
- Read-only check:
scripts/check_agent_generative_workloads.sh - Explicit producer:
scripts/update_agent_generative_workloads_report.sh - Optional report:
.genesis/perf/agent_generative_workloads_report.json - Optional history:
.genesis/perf/agent_generative_workloads_history.jsonl - Baseline seed history:
policies/perf/agent_generative_workloads_seed_history.jsonl
The check renders its current report/history privately while evaluating seeded and retained history inputs. Only the explicit producer retains the current sample.
Inputs
- Primary gauntlet report (
GENESIS_AGENT_GENERATIVE_PRIMARY_REPORT):- default
.genesis/perf/agent_capability_gauntlet_native_report.json
- default
- Secondary gauntlet report (
GENESIS_AGENT_GENERATIVE_SECONDARY_REPORT):- default
.genesis/perf/agent_capability_gauntlet_wasi_report.jsonwhen present. - when required, generated workload replay digests must match across both runtime reports.
- default
Only successful workflows with deterministic replay hashes are included in the mutation pool. When present, required-domain expectations are loaded from the primary gauntlet report required_domains field (not inferred from only the successful-workflow subset), so coverage policy remains stable across runtime profiles.
Mutation Model
For each generated case: - choose a deterministic workflow subset (min..max bounds), - mutate ordering/shape deterministically from seed and case index, - compute: - aggregated duration (sum(duration_ms)), - domain coverage, - replay digest (sha256 over ordered replay-hash components).
Pass Criteria
- each generated case satisfies minimum domain coverage,
- each generated case satisfies duration budget,
- history-aware regression gates pass once minimum history is met,
- fail-closed minimum-history policy is enforced by default (
require_min_history=1), - full generated corpus covers the full required domain set from the selected workflow pool,
- secondary-lane replay parity is enforced by default (
require_secondary=1).
Configuration
GENESIS_AGENT_GENERATIVE_CASE_COUNT(default100)GENESIS_AGENT_GENERATIVE_MIN_WORKFLOWS(default3)GENESIS_AGENT_GENERATIVE_MAX_WORKFLOWS(default6)GENESIS_AGENT_GENERATIVE_MIN_DOMAIN_COUNT(default2)GENESIS_AGENT_GENERATIVE_MAX_CASE_DURATION_MS(default600000)GENESIS_AGENT_GENERATIVE_P95_MIN_SAMPLES(default8)GENESIS_AGENT_GENERATIVE_REGRESSION_PERCENT(default60)GENESIS_AGENT_GENERATIVE_BASELINE_HISTORY(defaultpolicies/perf/agent_generative_workloads_seed_history.jsonl)GENESIS_AGENT_GENERATIVE_REQUIRE_MIN_HISTORY(default1)GENESIS_AGENT_GENERATIVE_REQUIRE_SECONDARY(default1)GENESIS_AGENT_GENERATIVE_SEED(defaultgenesis-agent-generative-v1)
Report Contract
kind = "genesis/agent-generative-workloads-v0.1"ok,seed,runtime_profile, optionalsecondary_runtime_profile- case generation bounds and budgets
- summary duration stats
baseline_history_path,require_min_history,require_secondaryduration_failures,domain_failures,regression_failures,history_min_failures,domain_coverage_failures,parity_mismatches- per-case records (workflow set, domain set, duration, replay digest, parity/regression fields)