Repository navigation
Releases
Deterministic Scenario Engine 3.2.0
Deterministic Scenario Engine 3.2.0 candidate
The source distribution coordinate is 3.2.0. These prospective notes describe a
candidate and do not claim successful PyPI publication, a GitHub Release, or
merge. Engine 1 remains 1.0.0 and Engine 2 remains 2.0.0.
Additive restricted minimizers
scenario_engine.engine2_shrinkaddsEngine2ShrinkRequest,
Engine2ShrinkOutcome, andshrink_failed_scenario. Its sole reduction
operator deletes one whole actor declaration. Initially eligible actors were
not selected before the original failure; the failing actor and target step
are retained.scenario_engine.engine2_input_shrinkaddsEngine2InputShrinkRequest,
Engine2InputShrinkOutcome, andshrink_failed_inputs. Its sole reduction
operator deletes one element from one eligible input list per candidate. Only
exact declared$inputpaths and descendants are eligible; unrelated sibling
lists are excluded.
Use module-qualified imports:
from scenario_engine.engine2_shrink import Engine2ShrinkRequest, shrink_failed_scenario
from scenario_engine.engine2_input_shrink import Engine2InputShrinkRequest, shrink_failed_inputsThere are no new package-root exports or CLI commands. Plugins are excluded.
Both APIs require one unchanged target source invariant, native FAILED /
InvariantViolation Result/2 and Schedule/1 evidence, fixed execution
coordinates, repeated deterministic runs, candidate-specific native evidence,
and exact replay of every accepted reduction. The preservation level is
SOURCE_ANCHORED_SINGLE_INVARIANT_SIGNATURE; it is restricted and is not
independent proof of general semantic equivalence.
Search is bounded by candidate and actual-execution budgets plus a cooperative
deadline. A deadline cannot terminate blocked code. Outcomes are noncanonical
summaries whose native children remain authoritative. A minimality statement is
made only after a complete pass over remaining eligible one-deletion candidates.
It is not a global optimality guarantee.
Compatibility and non-goals
Result/2, Manifest/2, Schedule/1, Scheduler/1, and all native schemas are
unchanged. Existing suite and finite exploration behavior and golden identities
remain compatible. Engine 1 and Engine 2 execution behavior is unchanged.
The minimizers do not shrink individual steps, transitions, schedule choices,
schedule seeds, scalar values, mapping keys, or invariant expressions. They do
not provide broader step or schedule shrinking, general-purpose minimization,
semantic-equivalence proof, hard process isolation, or a global minimum. Repeated
local execution can have cost and side-effect implications, input content may be
sensitive, and trusted plugins generally remain unsandboxed even though plugin
execution is excluded here. See docs/security-and-non-goals.md and the two
minimizer guides for the complete boundary.
Controlled qualification demonstrated narrow synthetic fixture reduction and
candidate-native replay only. It does not establish real-world productivity or
user-demand evidence.
Deterministic Scenario Engine 3.1.0
Deterministic Scenario Engine 3.1.0
The source distribution version is 3.1.0. PyPI and GitHub Releases are
authoritative for actual publication and release history. These notes describe
the distribution contents; they do not authorize tagging or publication.
Additive features
- Ordered serial Engine 2 suite execution through the module-qualified
scenario_engine.engine2_suiteAPI and accepted
scenario.engine2-case/1,scenario.engine2-suite-plan/1, and
scenario.engine2-suite/1contracts. - Strict canonical suite reading and offline aggregate verification, including
exact native Result/2, Manifest/2, and Schedule/1 child-byte integrity and
cross-artifact coordinate linkage. - Finite explicit schedule-seed sweeps through the module-qualified
scenario_engine.engine2_exploreAPI, preserving supplied seed order and the
suite's authoritative native evidence.
Compatibility guarantees
- The distribution coordinate advances from 3.0.1 to 3.1.0 only.
- Engine 1 remains 1.0.0 with DSL 1, Result/1, Manifest/1, and Suite Run/1.
- Engine 2 remains 2.0.0 with DSL 2, Result/2, Manifest/2, and Schedule/1.
- Existing canonical bytes, compatibility fixtures, API export manifests,
historical release identities, and accepted golden vectors remain unchanged. - The new suite aggregate is distinct from and does not produce, promote, or
reinterpret historical Suite Run/2.
Python support
Python 3.11, 3.12, 3.13, and 3.14 remain supported. Declared dependency and
optional-extra constraints are unchanged.
Evidence integrity and security limitations
Offline suite verification proves canonical aggregate integrity, exact supplied
child bytes and native identities, and coordinate linkage. It does not prove that
execution occurred and is not exact replay. Exact replay separately requires the
exact scenario, effective inputs, recorded schedule, and trusted plugin registry.
Plugin callables are trusted, unsandboxed Python and are not a security boundary.
Canonical error records are bounded claims and do not independently prove the
originating exception. No network or remote evidence resolver is introduced.
Explicit non-goals
This distribution does not provide exhaustive state-space exploration,
systematic scheduler branching, race-detection completeness, shrinking or
minimization, parallel or distributed execution, remote URI inputs, hidden plugin
discovery, implicit schedule-seed derivation, cross-major promotion, or automatic
migration. It does not change package-root exports or authorize publication.
Deterministic Scenario Engine 3.0.1
Deterministic Scenario Engine 3.0.1
DSE 3.0.1 is a compatibility-preserving patch release. The distribution version
advances from 3.0.0 to 3.0.1; Engine 1/Manifest 1 remains 1.0.0 and Engine
2/Manifest 2 remains 2.0.0. DSL, schema, canonical serialization, CLI grammar,
and public Python API contracts are unchanged.
Changes since 3.0.0
- Clarifies Engine 2 replay help, including the required Schedule/1 input.
- Makes missing-schedule human diagnostics actionable while preserving the
machine-readable error contract. - Includes safe, allowlisted failing-field identifiers in relevant diagnostics
without exposing arbitrary input values. - Improves installed-distribution identity onboarding so users can verify both
package metadata and the module path imported by the active interpreter. - Clarifies the distinction between distribution, engine, and manifest versions.
- Extends regression and release-maintenance coverage, including permanent
verification of authentic historical release tags.
The earlier TRACK-A4 repair aligned a maintainer's local editable environment;
it is not a shipped runtime feature of this release.
Compatibility and upgrade guidance
Python 3.11, 3.12, 3.13, and 3.14 remain declared as supported. The runtime
dependency remains PyYAML==6.0.3. Upgrade the distribution through the same
Python interpreter used to run DSE, then verify importlib.metadata.version and
scenario_engine.__file__ as shown in the quickstart. Existing Engine 1 and
Engine 2 evidence retains its established compatibility and fail-closed replay
checks.
Known limits
Engine 2 suite orchestration, cross-major promotion, remote URI input, implicit
schedule-seed derivation, distributed execution, and evidence federation remain
unsupported. This patch does not introduce new engine algorithms, performance
claims, scientific benchmarks, or security certification.
Deterministic Scenario Engine 3.0.0
Deterministic Scenario Engine 3.0.0
Published on production PyPI: October 9, 2026.
https://pypi.org/project/deterministic-scenario-engine/3.0.0/
Added
- Engine 2.0.0 execution for integer DSL 2 logical actors.
- Explicit independent unsigned 64-bit schedule seeds.
- Canonical Result/2, Manifest/2, and Schedule/1 with exact replay and tamper
detection. - Actor-aware inspect/explain and deterministic self-contained offline trace
viewing. - Public module-qualified Engine 2 APIs and installed compatibility fixture
pack/2alongside preserved fixture pack/1.
Preserved
DSL 1 and Engine 1.0.0 parsing, execution, Result/1, Manifest/1, Suite Run/1,
replay, package-root Python APIs, CLI defaults, RNG/ID algorithms, Phase 4
contracts, and immutable golden vectors remain byte-compatible.
Compatibility and security
Only DSL 1/Engine 1 and DSL 2/Engine 2 execute. Cross-major, unknown, mixed, and
incomplete coordinates fail closed without silent migration or package-version
inference. Actor, history, scheduler, nesting, input, schedule-byte, and
result-byte ceilings are enforced. Duplicate JSON keys, invalid seeds,
noncanonical addresses, remote URIs, no-follow filesystem violations, replay
tampering, and secret reflection are rejected or redacted.
Support and known limits
Python 3.11, 3.12, 3.13, and 3.14 are supported. Suite Run/2 is strict
schema/reader support only; Engine 2 suite orchestration is not implemented.
No network-backed source discovery, implicit seed derivation, or cross-major
promotion is supported.
Publication verification
The production publication uses the exact retained reproducible wheel and sdist.
Verify index hashes against qualification evidence, install the published
artifacts outside the source tree on every supported Python, rerun DSL 1 and
DSL 2 run/replay and hostile-input smokes, and inspect rendered metadata and
links when verifying the release.
2.2.0
Deterministic Scenario Engine 2.2.0
Release 2.2.0 is an additive distribution release. It retains engine
compatibility version 1.0.0, manifest engine version 1.0.0, and DSL version 1.
Highlights
- First-class
run --replay-out→replayworkflows usingsuite.run/1, with
fail-closed compatibility diagnostics. - Actionable human diagnostics and the
scenario.error/1machine-readable
error envelope, localized withscenario.semantic-address/1where available. - Author-time
scaffold→validateworkflow underscenario.scaffold/1. - Validated scenario-definition structural diff (
scenario.definition-diff/1)
and separate conservative static impact analysis (scenario.impact/1). - Deterministic, self-contained, offline trace views
(scenario.trace-view/1) with secret redaction and no network, telemetry,
server, or CDN dependency. - Installed export of the frozen public compatibility corpus
(scenario.compatibility-fixtures/1) without a source checkout. - Filesystem trust-boundary diagnostics, packaged-fixture integrity checks,
reproducible artifact hardening, and secret-safe inspection surfaces.
Compatibility and migration
Inspection support does not imply replay support. Unknown contracts and version
states fail closed. Migration remains explicit and non-destructive; reading does
not silently migrate an artifact. Current and selected supported historical
fixture behavior is tested, but this release does not claim universal backward
compatibility or unsupported historical replay.
There are no intentional breaking changes to the existing public engine, DSL,
manifest, or execution-diff contracts. Existing deterministic compatibility
identities remain unchanged. The new Phase 4 contracts are additive. Exact
replay still requires the recorded scenario, explicit inputs, and compatible
execution coordinates.
Supported Python versions are 3.11, 3.12, 3.13, and 3.14.
Scope boundaries
This release does not add runtime LLM integration, actor or lane execution,
concurrency semantics, a hosted or network trace-view service, or automatic
migration. Definition diff and impact analysis do not prove formal behavioral
equivalence.
Deterministic Scenario Engine 2.1.2
- removes maintainer-specific paths from executable tests
- runs full pytest CI across Python 3.11–3.14
- fixes Python 3.11 test-source compatibility
- removes maintainer-local paths from packaged documentation
- preserves existing runtime/API/CLI/evidence contracts
Deterministic Scenario Engine 2.1.1
- PyPI/documentation link portability repair
- portable project metadata/URLs
- release-governance documentation hardening as applicable
Issue #1 test portability and CI repairs are not included; those belong to the forthcoming 2.1.2 maintenance release.
Deterministic Scenario Engine 2.1.0
Deterministic Scenario Engine 2.1.0
Phase 3 delivers:
- canonical evidence bundles
- bounded safe bundle validation
- ordered JSON/JSONL export
- explicit evidence adapters
- compatibility reports
- migration planning
- provably lossless migrations
- fixture export
- export, verify, and migrate CLI commands
- ecommerce reference evidence workflow
- performance and security hardening
- Python 3.11–3.14 support
Deterministic Scenario Engine 2.0.0
Deterministic Scenario Engine 2.0.0 completes the Phase 2 public contract with:
- suite models and versioned read contracts;
- deterministic scenario composition;
- deterministic parameter matrices and bounded batch execution;
- inspect and explain workflows;
- structured semantic diff;
- a nine-command CLI: validate, run, replay, hash, inspect, explain, diff, matrix, and batch;
- Domain Packs and Oracle Assertions;
- hardened CI and developer workflows;
- performance and scale hardening;
- a frozen public contract and documentation set;
- explicit compatibility handling: current compatible artifacts replay exactly, while incompatible engine versions are rejected. This release does not claim indefinite incompatible cross-major execution replay.
Version identities:
- distribution version: 2.0.0
- core ENGINE_VERSION: 1.0.0
- DSL version: 1
Deterministic Scenario Engine 1.0.0
Deterministic Scenario Engine 1.0.0
Initial public release.
Generate test scenarios, not just test records.
Highlights:
- deterministic DSL 1 scenario execution
- addressed randomness and deterministic logical IDs
- reproducible ScenarioResult and ReproducibilityManifest
- state-consistent history with whole-step atomicity
- resources, validation, constraints, subflows, branches, and bounded repeat
- invariants, deterministic fault injection, provenance, and oracle evaluation
- explicit deterministic plugin API with ecommerce reference pack
- JSON and pytest integration
- optional SQLAlchemy Core materialization
- optional Hypothesis and Schemathesis integrations
- Apache-2.0 license
Compatibility:
- ENGINE_VERSION: 1.0.0
- DSL version: 1
- exact replay requires a compatible recorded execution contract
Installation:
pip install deterministic-scenario-engine