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
27 changes: 27 additions & 0 deletions crates/echo-cas/tests/identity_golden.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// SPDX-License-Identifier: Apache-2.0
// © James Ross Ω FLYING•ROBOTS <https://github.com/flyingrobots>
//! Raw Echo identity vectors retained from PR #723 at db3e5dfe.
//! Original fixture provenance names b3sum 1.8.5. This test does not execute Keep.

use echo_cas::blob_hash;

#[test]
fn raw_echo_identity_matches_retained_independent_vectors() {
let ramp = (u8::MIN..=u8::MAX).collect::<Vec<_>>();
for (bytes, expected) in [
(
&[][..],
"af1349b9f5f9a1a6a0404dea36dcc9499bcb25c9adc112b7cc9a93cae41f3262",
),
(
b"Keep exact bytes.\n".as_slice(),
"3d4f69a42f4cde6629970fe61d548f60d475a0f9ac26a24be5fab204b6eb030a",
),
(
ramp.as_slice(),
"4a495ba42461748eca8fdad618f976aa726cc2903de9fcb40735a786ac1c196b",
),
] {
assert_eq!(blob_hash(bytes).to_string(), expected);
}
}
2 changes: 1 addition & 1 deletion docs/architecture/echo-keep-physical-content-boundary.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- **Implementation posture:** `experiments/echo-keep` supplies a bounded dual-identity bridge against Keep revision `3165890e9291cfb5fe10e81a9d7cd151f3e59464` in a separate Rust 1.96 workspace. `echo-cas::physical_content` supplies the fallible complete-object port and MemoryTier/DiskTier adapters. Borrowed views certify no pinned filesystem generation, complete-view absence, retention, synchronization, or crash durability. The disabled-by-default `reference-adapter` feature supplies an in-memory Keep ReferenceStore backend with private identity/layout bindings and explicit payload, object, count and layout-entry limits. Process death loses its store and bindings; no durable Keep adapter is implemented. Echo CAS remains the default.
- **Refines:** [Retained reading storage and proof boundary](../adr/0020-retained-reading-storage-and-proof-boundary.md)
- **Depends on:** [Durable external-action settlement](../adr/0026-durable-external-action-settlement.md)
- **Related:** [Keep authenticated reconstruction contract](https://github.com/flyingrobots/keep/blob/3bf7b9179db41e90620e6d1875c2d40222a2330b/docs/architecture/authenticated-reconstruction-contract.md)
- **Related:** [Keep authenticated reconstruction contract](https://github.com/flyingrobots/keep/blob/3bf7b9179db41e90620e6d1875c2d40222a2330b/docs/invariants/authenticated-reconstruction/README.md)

## Decision

Expand Down
Loading