docs(adr): ADR-0076 rev.7 — dissolve the ObjectStackProtocol union (D9) + framework-agnostic transport port (D11)#2428
Merged
Merged
Conversation
…9 refinement) + framework-agnostic transport port (D11) D9 refinement: the composed `ObjectStackProtocol` alias is transitional only; the end-state dissolves the union. Unification is already provided by the runtime discovery `services` registry (the source of truth; `capabilities` was removed as derivable from `services[x].enabled`) + a shared envelope/error spine — not a static union interface. D11: transport is a clean framework-agnostic port (http-dispatcher has no Hono import; IHttpServer in spec; Hono is one adapter) — ratify it (multi-adapter). But the dispatcher (~3.8k) + rest-server (~5.1k) are god implementations that hardcode every domain. Each capability plugin should register a NORMALIZED handler into a thin registry (not Hono routes — that would break multi-adapter). Caveats: multi-adapter unproven (only Hono; validate with a 2nd adapter); dispatcher/rest-server overlap to confirm. Docs only; empty changeset. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
What
Concludes the kernel review in ADR-0076 (rev.7), in one ADR per maintainer preference.
D9 refinement — no unified protocol interface
The composed
ObjectStackProtocol = DataProtocol & MetadataProtocol & …alias is transitional only; the end-state dissolves the union. The two things a "unified protocol" is actually for already exist and are not the god-interface:servicesregistry (spec/api/discovery.zod.ts— "single source of truth for service availability";capabilities/featureswas removed as derivable fromservices[x].enabled);errors.zod.ts,shared/error-map.zod.ts,dispatcher.zod.ts).So
ObjectStackProtocolis a static, lesser duplicate of the runtimeservicesmap → keep N independent domain protocols + the thin spine + discovery; delete the alias at the cross-repo window. Better for tiering (capabilities = what's installed, computed at runtime).D11 — transport is a framework-agnostic port (multi-adapter)
The transport repeats the kernel's pattern — clean port, god implementation:
http-dispatcherhas no Hono import (normalizedHttpProtocolContext→HttpDispatcherResult);IHttpServeris in spec;plugin-hono-serveris an adapter. Deliberately abstracted for multi-adapter — correct.Scope
Docs only — edits
docs/adr/0076-objectql-core-tiering.md(Status → rev.7). No code. Empty changeset.🤖 Generated with Claude Code