From d160f8a58500bf7b7793e1bb14bbfa25f2e9da6e Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 27 Nov 2026 02:30:53 +0000 Subject: [PATCH] repo: elide a while-let loop and withdraw the answered IsMere question --- OWNER_QUESTIONS.md | 21 ------------------- .../interpreter/instructions/execution.rs | 17 +++++++-------- 2 files changed, 7 insertions(+), 31 deletions(-) diff --git a/OWNER_QUESTIONS.md b/OWNER_QUESTIONS.md index 69eba541c61..d2e5687696a 100644 --- a/OWNER_QUESTIONS.md +++ b/OWNER_QUESTIONS.md @@ -221,24 +221,3 @@ nothing to store. Its initializer is checked as a proof argument is, and projecting it supplies that checked citation. Alternatively, a distinct type former could name the evidence type of an alias. Which spelling declares an evidence field? - -### 6. May `encoding.md` list proposition tag 24, `IsMere`, as the codec already writes it? - -The proposition codec writes and reads tag 24 for `IsMere`. That proposition -says any two witnesses of its inner proposition are equal: -`(p: P) -> (q: P) -> |proof|::Identity::

(p, q)`. Its row holds one child -proposition and no other fields -([proposition codec](source-rust/subsystems/compiler/psi/artifact/declaration-encoding/src/terms/proposition.rs)). -The [proposition tag table](wiki/spec/terminal-psi/encoding.md#propositions) -stops at tag 23. Because of that gap, `every_marked_tag_table_matches_its_decoder` in -[`spec_tag_tables.rs`](source-rust/subsystems/compiler/psi/artifact/wire/src/spec_tag_tables.rs) -fails on `main` with "`proposition-tags` omits 24, which the decoder accepts". -Agents may not edit `wiki/spec/`, so the row needs an owner. - -**Recommend adding the row.** The proposed table row is: - - | 24 | IsMere | proposition | - -The alternative is to retire tag 24 from the codec until the specification -names it. That would make any module that states `IsMere` fail to encode. -Should the table list tag 24? diff --git a/source-rust/subsystems/interpreter/instructions/execution.rs b/source-rust/subsystems/interpreter/instructions/execution.rs index 004e889e032..1b750e14cab 100644 --- a/source-rust/subsystems/interpreter/instructions/execution.rs +++ b/source-rust/subsystems/interpreter/instructions/execution.rs @@ -3630,16 +3630,13 @@ pub(crate) mod execution { let program = std::sync::Arc::clone(&self.program); loop { self.reclaim_orphan_scalar_records(); - loop { - let Some(operation) = program - .verified_machine(self.current_machine)? - .block(&self.current) - .ok_or(TerminalInterpretError::VerifiedBlockMissing)? - .operations - .get(self.next_operation) - else { - break; - }; + while let Some(operation) = program + .verified_machine(self.current_machine)? + .block(&self.current) + .ok_or(TerminalInterpretError::VerifiedBlockMissing)? + .operations + .get(self.next_operation) + { self.collect_retired_descriptor_storage(None); let pending_component = matches!( &operation.kind,