ADR-056: Subsystems

Date: 2026-11-01 Status: Implemented

"QNTX needs a formal contract for pluggable, optional, compiled-in subsystems. Agreed. And Quotes is the first one to use it. suggest a .proto for it"

"not a fucking plugin"

"and you know, i dont even want quote control to be open source, the whole subsystem needs to move into its own repo actually. and only k get's to use it."

"private repo"

"and k qntx compiles it in"

"we separate it out from qntx like is demonstrated, it becomes an optional build, and k uses it, not q"

"a big ass patch isnt going to work for us"

what the subsystem needswhere QNTX gave it beforethe contract
rows every namespace watchesats/watcher/standing.go, editedSubsystem.standing, stood by watcher.Stand
built-ins, by nameserver/sub_embedding.go, a call addedSubsystem.handler_names, registered in Start
its messagessigil.proto, editedits own .proto; any message the binary knows answers a sigil
what its messages sayprotocol.says.json, editedSubsystem.says
GitHub deliveriesgitHubHost, two methods addedSubsystem.github_events and subsystem.Delivered
the namespace a built-in runs inserver/quote.WithNamespacenamespaces.WithNamespace, namespaces.NamespaceOf
the stores, the daemon, the news, GitHubfields of QNTXServersubsystem.Host
a wasm module of its owncrates/ats-wasm, editedwasm.NewEngine over its own bytes
tests naming its built-insTestGetDaemon, editedthe test asks the registered subsystems

"let's say a subsystem can provide its own Signa ?"

"And subsystems are also where you should be more free to encode org specific policy and descision."

"that is another reason why my QNTX-Quotes may be very different from that of another org"

What the contract does not carry