From de327689761b3fff96b46182a3d8ae850666f6e5 Mon Sep 17 00:00:00 2001 From: darklordVirtual Date: Thu, 6 Aug 2026 00:09:12 +0200 Subject: [PATCH] chore(pin): move to core-candidate-2026.08.06.1 with proposal lineage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Verified before pinning: verify_core_pin.py against the published release (6 artifacts, all hashes match), then the compatibility suite against the wheel installed from those verified assets — 46 passed. Lineage lets this product see resubmit-until-accept probing, which was previously invisible: an agent refused once could adjust an argument and propose again, and every attempt looked like a first one. Two contract tests guard how this product may USE it. Eligibility is advisory while core marks it shadow_only, 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 that flag, acting on it would start escalating legitimate repeated use, so the default is asserted rather than trusted. And an unreported lineage is not reported as clean — None means "not reported", never "no probing". --- README.md | 6 ++--- product/core-artifact-lock.json | 12 +++++----- tests/compatibility/test_sdk_contract.py | 30 ++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index eb47921..315f582 100644 --- a/README.md +++ b/README.md @@ -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 | diff --git a/product/core-artifact-lock.json b/product/core-artifact-lock.json index 93eb88f..8c5925c 100644 --- a/product/core-artifact-lock.json +++ b/product/core-artifact-lock.json @@ -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" } } diff --git a/tests/compatibility/test_sdk_contract.py b/tests/compatibility/test_sdk_contract.py index a24460d..92c985c 100644 --- a/tests/compatibility/test_sdk_contract.py +++ b/tests/compatibility/test_sdk_contract.py @@ -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}" @@ -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.