verae-archive-aggregator/README.md

29 lines
975 B
Markdown

# verae-archive-aggregator
When a wait path sets `includeAttached`, this process broadcasts `verae.archive.query` and **merges** replies into the job JSON. Silent bloom misses omit slices; the chain receipt still succeeds.
**Forgejo:** https://git.georgelambert.org/marchon/verae-archive-aggregator
**Catalog:** https://zapier.georgelambert.org/packages/verae-archive-aggregator/README.pdf
**NATS:** https://zapier.georgelambert.org/docs-master/modules/verae-archive-aggregator/NATS.pdf
## Run
```bash
cd packages/verae-archive-aggregator
npm test
```
## Addresses
| Direction | Subject |
|-----------|---------|
| out | `verae.archive.query` `{ correlationId, sha256, tenantId, kinds[] }` |
| in | `verae.archive.reply.<correlationId>` (hits only) |
## Depends on
- middleware wait path (`includeAttached` / `includeTree`)
- one or more archive-worm and/or tree-node replicas
- NATS (private)
Timeout: missing archives omit their records; do not fail the seal.