Initial import of verae-archive-aggregator from zapier monorepo

This commit is contained in:
George Lambert 2026-09-11 14:59:47 -04:00
commit 2b65d6155d
6 changed files with 166 additions and 0 deletions

29
README.md Normal file
View file

@ -0,0 +1,29 @@
# 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.