Resync hq ADR references 0044-0054 -> 0039-0049 after the hq record reconciliation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// redis's admin client — redis's own code, living in the module (novox/hq ADR 0044). It speaks
|
||||
// redis's admin client — redis's own code, living in the module (novox/hq ADR 0039). It speaks
|
||||
// RESP directly over a raw TCP socket (node:net) so the module carries no npm dependency beyond
|
||||
// @novox/mesh-sdk: no redis driver, no redis-cli in the image. Both this module's tools and its
|
||||
// provisioner import it, and nothing outside redis does.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// redis's events entrypoint, loaded by the per-node tool host (the provisioner container runs
|
||||
// ./provisioner separately). The cache lifecycle events are EMITTED from the provisioner, where the
|
||||
// lifecycle actually happens (novox/hq ADR 0046/0047):
|
||||
// lifecycle actually happens (novox/hq ADR 0041/0042):
|
||||
// module.redis.cache.provisioned — a consumer's ACL user + keyspace was created
|
||||
// module.redis.cache.deprovisioned — that user was removed
|
||||
// Here in the tool host we react to them, keeping a lightweight audit trail of who was granted a
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@novox/module-redis",
|
||||
"version": "0.1.0",
|
||||
"description": "redis — provides the mesh redis-cache interface. Its RESP client, provisioner, tools and events live here (novox/hq ADR 0044).",
|
||||
"description": "redis — provides the mesh redis-cache interface. Its RESP client, provisioner, tools and events live here (novox/hq ADR 0039).",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
// redis's provisioner — the adapter that makes redis a provider of the mesh `redis-cache`
|
||||
// interface. The reconcile loop, the contributions file, and reading the mesh's minted password are
|
||||
// the sdk harness's; this writes only the per-service half: how redis creates and removes a
|
||||
// per-consumer cache (novox/hq ADR 0044/0045/0053).
|
||||
// per-consumer cache (novox/hq ADR 0039/0040/0048).
|
||||
//
|
||||
// The `redis-cache` interface: a consumer connects as `as` with the password the mesh minted, and
|
||||
// stores its keys under `<as>:*`, isolated from every other consumer by an ACL user scoped to
|
||||
// exactly that prefix.
|
||||
//
|
||||
// **The login and password are the mesh's, not the provisioner's (ADR 0053).** The mesh derives the
|
||||
// **The login and password are the mesh's, not the provisioner's (ADR 0048).** The mesh derives the
|
||||
// login and hands it to both ends so they agree, and mints the password and delivers a copy to each.
|
||||
// redis creates exactly that login with exactly that password — a name or password the provisioner
|
||||
// invented is one the consumer could never present.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// redis's tools — redis's own code (novox/hq ADR 0044), importing redis's own RESP client. They
|
||||
// redis's tools — redis's own code (novox/hq ADR 0039), importing redis's own RESP client. They
|
||||
// return structured data; the mesh serves them through the sdk's tool harness.
|
||||
|
||||
import { registerModuleTools, type ToolDefinition } from "@novox/mesh-sdk/tools";
|
||||
|
||||
Reference in New Issue
Block a user