Metadata-Version: 2.4
Name: algovoi-keystone-pubsub
Version: 0.1.0
Summary: Bind Google Cloud Pub/Sub publishes to the AlgoVoi keystone -- wrap any PublisherClient and every publish gets a content-addressed execution_ref (keystone-only edition, Apache-2.0)
Author-email: AlgoVoi <chopmob@gmail.com>
License: Apache-2.0
Keywords: gcp,google-cloud,pubsub,messaging,keystone,execution_ref,jcs,rfc8785,algovoi
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Networking
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: NOTICE
Requires-Dist: algovoi-execution-ref>=0.1.0
Dynamic: license-file

# algovoi-keystone-pubsub

Bind Google Cloud Pub/Sub publishes to the AlgoVoi keystone. Wrap any google-cloud-pubsub `PublisherClient` and every `publish` is bound to the `decision_ref` that authorised it, emitting a content-addressed `execution_ref` keyed to the topic. The GCP counterpart to `-kafka` / `-azure-servicebus` / `-sqs`. No google-cloud-pubsub dependency.

```
execution_ref = "sha256:" + SHA-256(JCS({ decision_ref, action_type, scope, outcome, executed_at_ms }))
```

Records emitted on `.executions` drop straight into `algovoi-keystone-validate`.

Keystone-only edition, Apache-2.0. Built on the AlgoVoi substrate (RFC 8785 JCS + SHA-256).
