Repository navigation
proposals: extending the call system - #48
Merged
Merged
Conversation
How developers bring their own formats, framings, transports and dispatchers: official encodings defined through the same public mechanism as third-party ones, profiles declared by dependencies, implementations mapped per target in comline.toml. Tracked in core#120.
This was referenced Oct 18, 2026
Closed
added 2 commits
October 19, 2026 06:39
The handshake joins format and framing: versioned (comline@1, none, namespaced custom), chosen per protocol, profiled by what it verifies. Giving up a guarantee is unchecked: @unchecked with a mandatory reason, off by default, accepted per protocol by consumers, major in the version comparison. Tracked in core#121 and runtime#18.
"Unchecked" doesn't say who doesn't check what, and "a weaker handshake" was the wrong axis: a custom handshake may do more than Comline's, it just doesn't establish what Comline relies on. Comline's four peer guarantees are now named, the rules around the marker are kept name-neutral, and four competing proposals weigh the marker itself.
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.
A new proposal,
proposals/extensibility.md(status: under discussion), tracked in core#120.config.idp, and trusts its profile like the dependency's schemas.comline.tomlmaps each encoding to a type per target. An unmapped encoding is an error, never a fallback, and the per-package format trait (generation#67) isn't sealed.Dispatch).zensical build --strictpasses.Second commit: handshakes and unchecked (core#121, runtime#18)
comline@1,none, and namespaced custom ones. They're chosen per protocol with@handshake, and their profile states what they verify. runtime#15 becomescomline@2.*_unchecked). It's written@unchecked = "reason". It's off by default (annotations.unchecked.allowed), required where it applies, and a warning where it doesn't. Consumers accept it per protocol inconfig.idp. Making a protocol unchecked is major.@handshakeand@unchecked, and its escape-hatch question now points to unchecked.Third commit: marking a given-up guarantee, four options
Wording: "a weaker handshake" was the wrong axis. A custom handshake may do more than Comline's; what matters is whether it establishes the guarantees Comline relies on. The extensibility page now names the four guarantees (schema agreement, encoding agreement, encoding conformance, version honesty) and states the rules around the marker without naming it.
proposals/guarantee-marker/: four competing proposals for the marker, each with its case for and against:@waives(guarantee = "…")@assumes(guarantee = "…")@unverified = "…"@uncheckedThe index separates the two underlying choices: whether the marker names the guarantee, and which word.