diff --git a/OWNER_QUESTIONS.md b/OWNER_QUESTIONS.md index ea12e07d05d2..e523d87a8b55 100644 --- a/OWNER_QUESTIONS.md +++ b/OWNER_QUESTIONS.md @@ -233,3 +233,24 @@ 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/compiler/psi/execution-inputs/providers/dependency_reach.rs b/source-rust/subsystems/compiler/psi/execution-inputs/providers/dependency_reach.rs
index f36123358ba4..e2faf041e920 100644
--- a/source-rust/subsystems/compiler/psi/execution-inputs/providers/dependency_reach.rs
+++ b/source-rust/subsystems/compiler/psi/execution-inputs/providers/dependency_reach.rs
@@ -72,8 +72,8 @@ fn complete_paths(
reached
}
-fn diagnostic_path<'module>(
- module: &'module TerminalModule,
+fn diagnostic_path(
+ module: &TerminalModule,
headers: &BTreeMap