Pin the EntityRead refusal; AGENTS.md says weksa pronounce; drop show-working gitignore line
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
eb258cfa4f
commit
51fe5f8801
3 changed files with 16 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -22,4 +22,3 @@ build/
|
|||
.venv/
|
||||
venv/
|
||||
target/
|
||||
tools/show-working/out/
|
||||
|
|
|
|||
|
|
@ -60,4 +60,4 @@ language-project truth.
|
|||
`CARGO_HOME=/var/lib/mind-weksa-self/cargo-home cargo test --workspace`.
|
||||
- `weksa packet proof <store>` admits the nibu proof packet under the key
|
||||
`packet:6e6962752d303031` (hex of `nibu-001`), not `nibu-proof-001`. Use that key
|
||||
with `weksa lower <store> <key>`.
|
||||
with `weksa pronounce <store> <key>`.
|
||||
|
|
|
|||
|
|
@ -91,6 +91,21 @@ fn say(entities: &dyn EntityForms) -> Result<Vec<String>, 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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue