Indexer and grants: a source-only registration's history subject; every composed worker is created (H-A-470, H-A-468) #325

Merged
mesh-tools merged 5 commits from fix/registration-subject into main 2026-11-22 12:12:32 +00:00
Member

Why

The approved registration of source.novox.hq was never written: the registration-history stream took one name token per subject, so a registration whose name has more than one token did not fit its subject, and the indexer gave up on the warrant silently. Beside it, the grants part created neither the seats' shared workers nor the plain per-queue workers, so the Node build module's install queue had no worker.

What

Five commits:

  1. Indexer: the registration-history subject is registration.**, taking every registration's name whole (H-A-470 (1)).
  2. Indexer: a warrant given up is answered not applied, with the finding registration-unwritten (H-A-470 (2)).
  3. Indexer: a whole test of a registration through the real history stream its manifest declares (H-A-470 (3)).
  4. Grants: a held subject that the composed one widens is replaced by it (H-A-470 (4)).
  5. Grants: AccountConsumers names the plain per-queue workers of a pulled-by-kind seat, so they are made where the bus lacks them (H-A-468 (3)).

Tests

Each new test fails without its change. The untagged suites and the integration packages are green. The validator accepts the indexer's manifest in both cases.

Design: novox/hq design/47-H1-answers-59 H-A-470, H-A-468

Reviewed-by: mesh-code-reviewer@shanks at 29afbe0c5a

Pushed-by: lead-47@shanks

## Why The approved registration of `source.novox.hq` was never written: the registration-history stream took one name token per subject, so a registration whose name has more than one token did not fit its subject, and the indexer gave up on the warrant silently. Beside it, the grants part created neither the seats' shared workers nor the plain per-queue workers, so the Node build module's install queue had no worker. ## What Five commits: 1. Indexer: the registration-history subject is `registration.**`, taking every registration's name whole (H-A-470 (1)). 2. Indexer: a warrant given up is answered not applied, with the finding `registration-unwritten` (H-A-470 (2)). 3. Indexer: a whole test of a registration through the real history stream its manifest declares (H-A-470 (3)). 4. Grants: a held subject that the composed one widens is replaced by it (H-A-470 (4)). 5. Grants: AccountConsumers names the plain per-queue workers of a pulled-by-kind seat, so they are made where the bus lacks them (H-A-468 (3)). ## Tests Each new test fails without its change. The untagged suites and the integration packages are green. The validator accepts the indexer's manifest in both cases. Design: novox/hq design/47-H1-answers-59 H-A-470, H-A-468 Reviewed-by: mesh-code-reviewer@shanks at 29afbe0c5a1f389145bdc40dc5e8aeed418ef6f3 Pushed-by: lead-47@shanks
mesh-tools added 5 commits 2026-11-22 12:12:28 +00:00
The stream took one token after registration., so the history write of a
source-only registration (source.<owner>.<name>) got no response and the
operator's approved registration was never written. The manifest now says
registration.** (the bus's registration.>); the write subject keeps the name.

Builds: design 47 H2 H-A-470 (1), H-A-408
The approved registration of source.novox.hq was given up after the bus's
last delivery without a word. On the delivery that reaches the event
deliveries bound heardDecided now gives the warrant up: its key ends refused
"not applied: <reason>" and registration-unwritten (scope module, id the
registration's name) names the ask and the reason, cleared when a later
version is written. The seed's key ends so too and says seed-waits alone.
heardDecided leaves an unapplied warrant for the bus as the other hearers do.

Builds: design 47 H2 H-A-470 (2), H-A-470 addendum (a)-(d), H-A-470 second addendum
The tests wrote registrations straight into their state or through a fake
history, so none used the stream's real subject and the one-token subject
that dropped source.novox.hq went unseen. The new integration test makes
registration-history from the manifest as the grants part does and writes a
module's and a source-only registration through the program's registry; with
the old subject it fails with the live journal's words.

Builds: design 47 H2 H-A-470 (3), H-A-408
The live registration history is held with `….registration.*`; the bus
refuses adding `….registration.>` beside it (JetStream 10052, overlapping
subjects), so df5a8895's subject never reached the live stream. A held
subject a composed one covers is now replaced by it, the messages kept and
no other subject dropped, and the assertion says the replacement.

Builds: design 47 H H-A-470 (third addendum)
"Main's workers are held already" held only while the controller made
them: the Node build module's install queue, added since, never had its
plain worker, so the module pulled nothing. The account consumers now
name each queue's plain worker beside its named one; a held one is left
as it is.

Builds: design 47 H H-A-468 (third addendum)
mesh-tools merged commit 31a484e457 into main 2026-11-22 12:12:32 +00:00
mesh-tools deleted branch fix/registration-subject 2026-11-22 12:12:32 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-delivery#325