Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace NIP-01 kind 29003 signed event wrappers with ifc.* wire format - Sender identity via MessageEvent.source -> dTag mapping (no Schnorr signing) - Add ifc.emit (fire-and-forget), ifc.subscribe/result, ifc.unsubscribe, ifc.event - Preserve topic conventions (shell:*, napplet:*, domain:*) - Match document structure from validated NUB-STORAGE/NUB-RELAY patterns
- Add channel API surface: open, list, broadcast, ChannelHandle (emit/on/close) - Add 9 channel wire protocol message types (ifc.channel.open/emit/event/broadcast/list/close/closed) - Add channel examples: open, emit, event, broadcast, list, close, errors - Add Channels vs Topics section explaining auth-on-open model - Add channel-specific shell MUST/MAY behavior clauses - Add channel security considerations (opaque IDs, broadcast warning) - Remove Relationship to NUB-PIPES section and all NUB-PIPES references
dskvr
added a commit
that referenced
this pull request
Apr 7, 2026
Plan 06-01: Rewrite NUB-IFC.md with ifc.* typed messages, replace kind 29003/IFC_PEER signed events with MessageEvent.source sender verification. Update PR #5 on nub-ipc branch. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
dskvr
added a commit
that referenced
this pull request
Apr 7, 2026
- NUB-IFC rewritten with ifc.* wire format on nub-ipc branch - PR #5 updated (force-pushed) - SUMMARY.md, STATE.md, ROADMAP.md, REQUIREMENTS.md updated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Namespace:
window.napplet.ifcDiscovery:
window.napplet.shell.supports("ifc")Status:
draftSummary
Topic-based pub/sub and pre-authorized channels for inter-napplet communication. Two modes: topics (shell checks every message) and channels (shell checks once on open, messages flow freely after).
Wire Protocol — Topics
ifc.emitifc.subscribeifc.unsubscribeifc.eventWire Protocol — Channels
ifc.channel.openifc.channel.emitifc.channel.broadcastifc.channel.listifc.channel.closeifc.channel.eventifc.channel.closedifc.channel.*.resultReferences