A drill-only evo-server --synthetic-inputs development-v1 driver feeds deterministic inputs from the committed head after every recovery, with request IDs that match acknowledgements across owners (ADR-0073); it is off in Git and the policy check keeps it off. fault-drill.sh loads dev or stage and runs repeated forced kills (RTO, zero lost acknowledgements), a full object volume (nothing acknowledged), an empty volume (quarantine, never a fresh world) and an operator-driven database outage (stale epoch never resumes), restoring the Git configuration on exit. Process tests prove contiguous acknowledgement across a SIGKILL and exact resumption after the committed head. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
1.3 KiB
C++
23 lines
1.3 KiB
C++
#pragma once
|
|
#include "evo/processes/lineage_region.hpp"
|
|
#include <expected>
|
|
#include <memory>
|
|
|
|
// M8.4 development opening (ADR-0071): the deterministic lineage region used to
|
|
// provision dev and stage regions, identical in content to the qualification fixture
|
|
// every M7 test runs (tests/fixtures/environmental_region.hpp). It is an engineering
|
|
// opening, not a world design: one habitat site, two bound organisms (producer 10,
|
|
// consumer 11), founder genome 1 with descendant 2 and one retained dead organism,
|
|
// rules 2, a 50 ms tick. Never provision World0 with it.
|
|
namespace evo::processes {
|
|
inline constexpr std::uint64_t development_opening_frame = 9;
|
|
enum class DevelopmentOpeningError : std::uint8_t { identity, build };
|
|
// Built for `world` in frame development_opening_frame; the world must be nonzero.
|
|
[[nodiscard]] std::expected<std::unique_ptr<LineageRegion>, DevelopmentOpeningError>
|
|
development_opening(std::uint64_t world);
|
|
// M8.6 synthetic load: the fixture's deterministic input for `tick` (source off every
|
|
// 7th tick, a bite at tick 16, the consumer's death at tick 20). Test/drill driver
|
|
// only; a real region's inputs come from its gateway and are never invented.
|
|
[[nodiscard]] EnvironmentalInput development_input(std::uint64_t tick) noexcept;
|
|
} // namespace evo::processes
|