Sovereign 8s.is mirror of standardgalactic/microservices
  • Shell 74.2%
  • Go 25.2%
  • Dockerfile 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-11 08:57:11 -03:00
spherepop-live build: add spherepop-live/main.go 2026-09-11 08:57:11 -03:00
spherepop-microservices build: add spherepop-microservices/compose.yaml 2026-09-11 08:57:11 -03:00
.gitignore chore: define repository boundaries 2026-09-11 08:57:11 -03:00
bootstrap-microservices-repo.sh build: add bootstrap-microservices-repo.sh 2026-09-11 08:57:11 -03:00
deploy-spherepop-live.sh build: add deploy-spherepop-live.sh 2026-09-11 08:57:11 -03:00
deploy-spherepop.sh build: add deploy-spherepop.sh 2026-09-11 08:57:11 -03:00
README.md docs: establish microservices architecture 2026-09-11 08:57:11 -03:00
test-spherepop.sh build: add test-spherepop.sh 2026-09-11 08:57:11 -03:00

microservices

An experimental Docker microservice substrate that expresses a small protocol grammar as real service boundaries.

external input
      |
      v
    POP
      |
      v
   REFUSE
      |
      v
    BIND
      |
  +---+---+
  |       |
  v       v
XYLOID  MACROLIFE
  |       |
  +---+---+
      |
      v
   VERIFY
      |
      v
  COLLAPSE
      |
      v
   LEDGER

The architecture keeps several distinctions explicit:

arrival       != admissibility
admissibility != binding
binding       != execution
execution     != verification
verification  != commitment
commitment    != history

POP establishes event identity and binds the payload hash at ingress.

REFUSE is an explicit admissibility boundary rather than a generic error path.

BIND records the relation between an event, its context, and the operation that may act upon it.

Transform services produce candidate outputs but do not certify themselves.

VERIFY independently re-derives the properties required for acceptance.

COLLAPSE commits an already verified outcome.

The ledger preserves the resulting history monotonically, including refusals and residuals.

Event identity

payload_hash = sha256(canonical_payload)
event_id     = sha256(source | payload_hash)[:16]

For structured inline JSON, the payload is canonicalized before hashing so insignificant serialization differences do not change identity.

Development

Deploy the live topology:

./deploy-spherepop-live.sh

Run the sample:

./test-spherepop.sh

Inspect services:

docker compose ps
docker compose logs -f