Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ AAE consumes versioned REMORA artifacts. It never installs from
`remora.policy`, `remora.enforcement`, `remora.governance`, or `servers.*`.

This repository pins a hash-identified REMORA artifact set —
release [`core-candidate-2026.08.05.3`](https://github.com/darklordVirtual/REMORA-research/releases/tag/core-candidate-2026.08.05.3),
built from a clean checkout of commit `9866436`:
release [`core-candidate-2026.08.06.1`](https://github.com/darklordVirtual/REMORA-research/releases/tag/core-candidate-2026.08.06.1),
built from a clean checkout of commit `4c85937`:

| Artifact | Pinned by |
|---|---|
| `remora-0.10.0-py3-none-any.whl` | SHA-256 |
| `openapi.json` | SHA-256 |
| `public_api_v1.json` (35 SDK symbols) | SHA-256 |
| `public_api_v1.json` (36 SDK symbols) | SHA-256 |
| `execution_lifecycle_v1.yaml` | SHA-256 |
| `tool_spec_v1.yaml` | SHA-256 |
| `postcondition_contract_v1.yaml` | SHA-256 |
Expand Down
12 changes: 6 additions & 6 deletions product/core-artifact-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"postcondition_contract_schema_sha256": "d0070e3f29ff533359e51f6f5cbf357812343ddc60629a3b172e747cbfd45565",
"release_repo": "darklordVirtual/REMORA-research",
"release_status": "prerelease",
"release_status_reason": "Supersedes core-candidate-2026.08.05.2, which refused a changed ToolSpec only AFTER authorizing \u2014 leaving a dispatch intent behind for a call that was never allowed. Still a prerelease: no external review has run against this build and Gate B is not closed. Pinnable, not blessed.",
"release_tag": "core-candidate-2026.08.05.3",
"remora_core_commit": "9866436c55e18ef336ce2897b7bff94f434ac531",
"release_status_reason": "Adds proposal lineage so resubmit-until-accept probing is visible. Still a prerelease: no external review has run against this build, Gate B is not closed, and lineage escalation is shadow-only because its false-positive rate has not been measured. Pinnable, not blessed.",
"release_tag": "core-candidate-2026.08.06.1",
"remora_core_commit": "4c859379533dc4d06f76f646402b083f74a8043f",
"remora_core_version": "0.10.0",
"sdk_public_api_sha256": "bcd004d05dcc2cb1175d4a67c4826be65085ca050aba3169aba97d5a5b6b7744",
"sdk_public_api_sha256": "04c48a2799de65841277e80ce964a40abd7ad708d1f4bd673ca9e63f65c70e11",
"stable_namespace": "remora.sdk",
"supported_sdk_symbols": 35,
"supported_sdk_symbols": 36,
"tool_spec_schema_sha256": "be5a437079e37868f1797a3fccfb2a4502321a04ba5dd316c6f0979154d6892e",
"wheel": {
"filename": "remora-0.10.0-py3-none-any.whl",
"sha256": "e44bc1ad51db8b79d0f3d3e14daa7fb95dd87edffa8300711b0df4991bc45b7e"
"sha256": "d20b1ddde7306da42a91c40bc98f31e803cf13aa5c27f4e0a8cdcfdad661a95a"
}
}
30 changes: 30 additions & 0 deletions tests/compatibility/test_sdk_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def test_pinned_symbol_count_matches_the_installed_surface() -> None:
"ToolSpecIdentity",
"PostconditionSpec", "EffectStatus", "EffectVerificationView",
"build_postcondition", "verify_effect", "content_digest",
# Proposal lineage, present since core-candidate-2026.08.06.1.
"ProposalLineageView",
])
def test_required_symbol_is_importable(symbol: str) -> None:
assert hasattr(sdk, symbol), f"required SDK symbol missing: {symbol}"
Expand All @@ -75,6 +77,34 @@ def test_required_operation_exists_on_both_clients(operation: str) -> None:
)


def test_lineage_eligibility_is_advisory_until_core_says_otherwise() -> None:
"""This product must not treat eligibility as an escalation.

REMORA records the probing signal without routing on it, because the
grouping key is only as precise as the deployment's declarations allow
and the false-positive rate has not been measured. If a future core
dropped ``shadow_only``, acting on the flag would start escalating
legitimate repeated use — so the default is asserted here.
"""
view = sdk.ProposalLineageView.from_payload(
{"superseded_proposal_id": "p-1", "escalation_eligible": True})
assert view is not None
assert view.shadow_only is True, (
"core stopped marking lineage escalation as shadow-only; this "
"product must not act on it until that change is deliberate"
)


def test_an_unreported_lineage_is_not_reported_as_clean() -> None:
"""None means "not reported", never "no probing"."""
result = sdk.AssessmentResult.from_payload({
"proposal_id": "p-1", "decision": "abstain", "reasons": [],
"tool_call_hash": "h", "semantic": {},
"audit": {"sequence_no": 1, "entry_hash": "e" * 64},
})
assert result.lineage is None


def test_effect_statuses_keep_unknown_apart_from_wrong() -> None:
"""The distinction this product's incident handling depends on.

Expand Down