Skip to main content

service-foundation

Foundations for standalone runnable services and host-side companion processes.

Current Status

2026.11.06.1119 is released together with app-foundation, connection-hub and project-board at one version (W322). It includes a generic host-relay lifecycle under service_foundation.host_relay:

  • HostRelayAdapter defines one asynchronous poll_once() domain boundary;
  • HostRelayRuntime owns repeated execution, health, stop, and bounded retry;
  • HostRelayPolicy defines poll and retry timing;
  • an adapter may return next_poll_seconds and implement wait_for_wakeup(timeout_seconds, stop_event) so a live transport can start the next reconciliation cycle immediately;
  • entry-point discovery uses service_foundation.host_relay.adapters for separately packaged adapters.
python -m pip install service-foundation

An adapter owns domain translation and returns bounded cycle metadata. The runtime emits lifecycle metadata and result-key names; it does not copy domain payloads into observer events.

Boundary

A standalone service needs a host layer around its application logic:

  • composition and launcher contracts;
  • browser-session and service-workload authentication surfaces;
  • service-owned session issuance and verification;
  • configuration, health, and readiness contracts;
  • migration invocation, while the application owns its migrations;
  • lifecycle for a local or remote companion process.

The host-relay runtime does not know MCP, Data Bus, credentials, agents, mail, journals, or any product vocabulary. A product composition root supplies an adapter, opens whatever governed transport that adapter needs, and translates transport events into wakeups. Poll timing remains reconciliation policy even when ordinary work is push-driven.

service-foundation does not import app-foundation, and app-foundation does not import service-foundation. Products may depend on either or both.

The in-progress generic durable decision coordinator and PostgreSQL store live under service_foundation.coordination. Their v2 canonical authority bytes and frozen test vector are documented in docs/service-foundation/durable-decision.md. The package has not been released with this coordination feature yet.

License: MIT. Source: https://github.com/elenaviter/app-ecosystem

Metadata

Release files for service-foundation 2026.11.6.1119

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for service-foundation 2026.11.6.1119
File Size Uploaded Provenance Actions
service_foundation-2026.11.6.1119.tar.gz 35.6 kB With provenance Details for service_foundation-2026.11.6.1119.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for service-foundation 2026.11.6.1119
File Interpreter ABI Platform Actions
service_foundation-2026.11.6.1119-py3-none-any.whl Python 3 none any Details for service_foundation-2026.11.6.1119-py3-none-any.whl

Total release size: 57.1 kB

Release files / service_foundation-2026.11.6.1119.tar.gz

Download URL service_foundation-2026.11.6.1119.tar.gz
Size 35.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fb1004428d4658110db3b50d57a91938d278d8b3eaa3ecee311f6baaf9d4ebac
BLAKE2b-256 checksum
How to use checksums
dd5547d047aed9554ed372db06202dcdc43130216d04da0a8dabcbc88a89afd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / service_foundation-2026.11.6.1119-py3-none-any.whl

Download URL service_foundation-2026.11.6.1119-py3-none-any.whl
Size 21.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efa07392473b73ebd599b01ed76d84a27815e058c9a21d18b1261256564ec80c
BLAKE2b-256 checksum
How to use checksums
304ef415b4c2a5306dcd2a544e5a679c4b06b652c5bc0ec4155a484c76160549
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for service-foundation 2026.11.6.1119

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for service_foundation-2026.11.6.1119.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page