Infrastructure and automation layer for the Pmaster-dev / pinkycollie ecosystem. Provides a serverless Python automation engine, shared OpenAPI contracts, and auth utilities consumed by downstream services.
π Documentation β pmaster-dev.github.io/server
server/
βββ src/
β βββ automation/ # Core automation engine (Python package)
β βββ handoff/ # Handoff coordination module
βββ auth/
β βββ utils.py # JWT, bcrypt, session helpers
βββ docs/ # GitHub Pages documentation source
β βββ openapi/ # Machine-readable OpenAPI contracts
β βββ api/ # Human-readable API reference
β βββ guides/ # Getting-started guides
βββ .github/
βββ workflows/ # CI, Pyre type-check, Pages deploy
# Install Python dependencies
pip install -r requirements.txt
# Use the automation engine
PYTHONPATH=src python - <<'EOF'
from automation import AutomationEngine, AutomationDefinition
engine = AutomationEngine()
engine.register_fn("greet", lambda inp: f"Hello, {inp.payload}!")
engine.define(AutomationDefinition(name="hello", triggers=["user.request"], steps=["greet"]))
results = engine.trigger_type("user.request", payload="world")
print(results[0].status) # RunStatus.SUCCESS
EOFFull API reference and guides are published on GitHub Pages.
OpenAPI contract: docs/openapi/automation.yaml
See docs/pinkycollie-ecosystem-inventory.md for the full cross-org architecture map.
MIT