feat: hermetic branch-N replay runner (MRR-ITE) - #1
Open
fraware wants to merge 31 commits into
Open
Conversation
Pin project metadata and dependencies, add LICENSE, and stop tracking egg-info so local installs stay out of version control.
Establish the architectural decision record and baseline notes so later slices have a shared design anchor.
Define the vendored MRR execution profile contract used to pin hermetic replay inputs.
Provide typed profile parsing against the schema with valid and invalid fixtures for offline checks.
Introduce a provider interface so replay orchestration can swap Morph for a deterministic local fake.
Wire the Morph SDK-backed adapter behind the shared provider interface for real remote replay runs.
Encode offline and isolation mode checks so runners can refuse non-hermetic configurations early.
Define the multi-branch intervention manifest contract for hermetic branch-N schedules.
Implement manifest parsing and branch-N scheduling against fixtures so multi-intervention replays stay deterministic.
Capture the accounting contract for CPU, memory, and network usage emitted by replay runs.
Aggregate per-branch resource measurements into schema-aligned reports for cost and capacity analysis.
Define the contract for comparing branch outcomes against a baseline replay.
Compare branch artifacts against a baseline and emit schema-valid differential summaries.
Include RuntimeReceipt and ArtifactIntegrity schemas so evidence emission stays offline-validatable.
Generate PCS receipts from replay runs and validate instances against the vendored schemas.
Add TransformationRecord, LineageBundle, and MorphReplayReport contracts with mirror metadata.
Produce MorphReplayReport and LineageBundle artifacts and ship valid linkage fixtures for conformance tests.
Centralize stable hashing used by manifests, snapshots, and evidence linkage.
Reserve the OVK integration surface so optional verification hooks can land without reshaping imports.
Refactor entrypoints to use profiles, providers, and evidence paths; keep legacy core available for compatibility.
Exercise import smoke, accounting, diff, PCS, profile, and provider modules offline.
Verify mode gates and branch-N scheduling against fixtures without network access.
Cover secret isolation, schema instance validity, PIP linkage, and offline CI gate scripts.
Run lint, typecheck, and hermetic tests without Morph credentials; keep replay workflow optional and lean.
Clarify non-claims, threat model, release checklist, and changelog so operators know what the runner does and does not assert.
Record decisions for profiles, providers, hermeticity, scheduling, resources, differentials, PCS, PIP, and release security.
Explain vendored MRR/PCS/PIP schemas and how offline fixtures map to conformance tests.
Ship a copyable profile, manifest, interventions, and snapshot refs for local branch-N demos.
Keep vendored schema mirrors honest and validate fixture instances offline before release.
Automate fixture refresh and produce a reproducible release artifact tree for distribution.
Align the container build and compose wiring with the new package layout and offline defaults.
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
examples/hermetic-branch-nagainst the documented flow