From 51fe5f8801d860e0135a80f40c74f54a5e2f97d1 Mon Sep 17 00:00:00 2001 From: Weksa Date: Sat, 14 Nov 2026 04:00:17 +0000 Subject: [PATCH] Pin the EntityRead refusal; AGENTS.md says weksa pronounce; drop show-working gitignore line Co-Authored-By: Claude Sonnet 5.5 --- .gitignore | 1 - AGENTS.md | 2 +- crates/weksa/tests/lower.rs | 15 +++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e00572b..1428a57 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,3 @@ build/ .venv/ venv/ target/ -tools/show-working/out/ diff --git a/AGENTS.md b/AGENTS.md index 55d488a..a82bc28 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -60,4 +60,4 @@ language-project truth. `CARGO_HOME=/var/lib/mind-weksa-self/cargo-home cargo test --workspace`. - `weksa packet proof ` admits the nibu proof packet under the key `packet:6e6962752d303031` (hex of `nibu-001`), not `nibu-proof-001`. Use that key - with `weksa lower `. + with `weksa pronounce `. diff --git a/crates/weksa/tests/lower.rs b/crates/weksa/tests/lower.rs index 97a95e6..0cf5347 100644 --- a/crates/weksa/tests/lower.rs +++ b/crates/weksa/tests/lower.rs @@ -91,6 +91,21 @@ fn say(entities: &dyn EntityForms) -> Result, LowerError> { pronounce(&view(&proof_packet(), &inv), entities) } +#[test] +fn a_failing_entity_port_is_refused_by_name() { + let e = Entities { + fault: true, + ..Entities::default() + }; + assert_eq!( + say(&e), + Err(LowerError::EntityRead { + entity: EntityId::parse("entity:nibu").unwrap(), + why: "store unreadable".into() + }) + ); +} + #[test] fn nibu_round_trips_from_the_committed_seed_to_its_ruled_ipa() { let seed = committed_entities();