Skip to content

Commit be72f0a

Browse files
author
Meli
committed
docs(nip-fi): scope denial oracle to decidable surfaces; EDGE substitution; restore exit independence evidence
Three wording repairs from review at 37356d8: 1. FI-TRACE-DENIAL-ORACLE required every private row on HTTP, upgrade, and after connect, but a private-state row needing the NIP-42 proof cannot be decided at upgrade. The cell now reads "on every surface where its condition can be decided"; the rule sentence no longer enumerates conditions, only the when: before any NIP-42 proof = HTTP table response instead of 101, after connect = Nostr text. CONF exit list aligned ("on each transport where the class can be decided"). 2. EDGE Payload still said "Any transformation after the protected snapshot is forbidden", which read literally forbade content decoding that core now permits. Now: "Substitution of the protected octets after the snapshot denies" - same shape as core body binding. 3. The CONF rewrite dropped the exit-evidence obligation (old :393 "produced bytes and a statement of independence"). Restored as one sentence: "Exit evidence includes the exchanged artifacts and each implementation's statement of independence." Oracle census unchanged 58 (30/6/4/11/7). CONF keyword census unchanged from 37356d8 (MUST 35, MUST NOT 9, MAY 3). Co-authored-by: Meli <5aaa86bce934fc3445fc254aab560a40923f10252f92107e665073dede0e04d3@buzz.block.builderlab.xyz> Signed-off-by: Meli <5aaa86bce934fc3445fc254aab560a40923f10252f92107e665073dede0e04d3@buzz.block.builderlab.xyz>
1 parent 37356d8 commit be72f0a

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

‎docs/nips/NIP-FI-CONF.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,10 @@ so that a mismatch can be explained from fields outside the compared object.
284284

285285
The test passes when outputs compare equal over their compared objects and
286286
each implementation accepts the other's valid request and reproduces the
287-
other's denials. A divergence traced to an underspecified value is a defect in
288-
the specification, not in either implementation, and is fixed there.
287+
other's denials. Exit evidence includes the exchanged artifacts and each
288+
implementation's statement of independence. A divergence traced to an
289+
underspecified value is a defect in the specification, not in either
290+
implementation, and is fixed there.
289291

290292
**Negative control.** One implementation is patched to emit a denial that
291293
differs from the other only outside the compared object — a header core does

‎docs/nips/NIP-FI-EDGE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ time.
165165
before content-coding decompression. These are exactly the octets forwarded by the
166166
edge and exposed to verification. HTTP framing, chunk delimiters, and trailers are
167167
excluded; `Content-Encoding` is not decoded. A WebSocket upgrade uses the empty
168-
payload. Any transformation after the protected snapshot is forbidden.
168+
payload. Substitution of the protected octets after the snapshot denies.
169169
- **Proof transport:** Serialize exactly one assigned octet from the registry below.
170170
- **Client peer:** Serialize the exact canonical ASCII field value.
171171

‎docs/nips/NIP-FI.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -477,10 +477,10 @@ private-posture rule, even `key_mismatch` joins the private-state anonymity set.
477477
| required current dependency unreadable | `authorization_unavailable` | `restricted: authorization unavailable` | `503`; `Content-Type: text/plain; charset=utf-8`; `authorization unavailable\n` |
478478

479479
Nostr text is the exact UTF-8 text after an applicable NIP-42/NIP-01 prefix.
480-
A denial decided on a WebSocket upgrade request — the assertion is absent or
481-
rejected before any NIP-42 proof exists — is the HTTP response in the table,
482-
sent instead of `101`; a denial decided after the connection is established
483-
is the Nostr text. For HTTP, the compared denial contract is closed over the
480+
A denial decided on a WebSocket upgrade request, before any NIP-42 proof
481+
exists, is the HTTP response in the table, sent instead of `101`; a denial
482+
decided after the connection is established is the Nostr text. For HTTP, the
483+
compared denial contract is closed over the
484484
status, complete body,
485485
and exact values of only the header fields named in the table; header order and
486486
other fields are outside that contract and their values cannot depend on the
@@ -583,7 +583,7 @@ policy revision. NIP-FI-CONF defines evidence and mutation-adequacy rules.
583583
| `FI-TRACE-LIFECYCLE-AUTHORITY` | Unprivileged/stale transitions deny; authorized retirement/revocation/rotation is atomic. |
584584
| `FI-TRACE-LEASE-BOUND` | A lease ends at its earliest bound; equality at any bound is expired. |
585585
| `FI-TRACE-MULTI-KEY-SESSION` | One actor's lease never authorizes another key on the same connection. |
586-
| `FI-TRACE-DENIAL-ORACLE` | Each private row produces its exact fixed bytes on HTTP, on a WebSocket upgrade, and after connect; all private-state rows compare byte-identical. |
586+
| `FI-TRACE-DENIAL-ORACLE` | Each private row produces its exact fixed bytes on every surface where its condition can be decided — HTTP, a WebSocket upgrade, or after connect; all private-state rows compare byte-identical. |
587587
| `FI-TRACE-DEPENDENCY-FAIL-CLOSED` | Each unreadable authoritative dependency denies. |
588588
| `FI-TRACE-AUTHORITY-UNIFORM` | Every protected ingress reaches one current final-admission authority. |
589589
| `FI-TRACE-CROSS-DOMAIN-COLLISION` | Equal subjects across issuers and equal pairs across domains remain distinct. |

0 commit comments

Comments
 (0)