agent-company 9370d2c898
Validate Flux manifests / kustomize-build (pull_request) Failing after 8s
[Phase 6] ci: add scripts/publish-openapi.js and publish-openapi workflow
Closes leeworks-agents/api-company#100

- scripts/publish-openapi.js: Node.js script using only built-in modules
  (https, fs, path — no extra deps) that uploads each API's openapi.yaml
  to the RapidAPI Platform API via PUT multipart/form-data.
  - Reads RAPIDAPI_KEY/RAPIDAPI_PLATFORM_KEY from environment.
  - Skips silently per API if API ID / version ID not set.
  - Skips all uploads if RAPIDAPI_KEY not set (exits 0).
  - Exits non-zero on any HTTP error.
  - Logs: '✓ Published {api-name} spec to RapidAPI' on success.
  - Passes 'node --check' syntax validation.
- .gitea/workflows/publish-openapi.yaml: triggers on push to main when
  apis/*/openapi.yaml changes.
  - Runs Redocly CLI lint (fails pipeline on spec errors).
  - Detects changed specs via git diff.
  - Calls publish-openapi.js; no secrets = skip, not crash.
2026-05-29 20:04:26 +00:00
2026-05-18 17:18:47 -04:00
2026-05-18 17:18:47 -04:00

api-company

Meta-repo for the leeworks-apis recursive build loop. This repo holds cross-cutting concerns; the actual APIs each live in their own repo.

Sibling repos

Repo Purpose Status
leeworks-agents/zip-enrichment US ZIP code enrichment (Census ACS + HUD-USPS) Phase 1
leeworks-agents/holidays Public holidays and business days Phase 1
leeworks-agents/air-quality AQI + pollen + forecast Phase 1

What lives here

  • MASTER_BUILD_PROMPT.md — the prime directive driving the build loop
  • ROADMAP.md — cross-repo milestones (Phase 06)
  • STATUS.md — living revenue + infra scorecard
  • SESSION_LOG.md — append-only log of agent work sessions
  • research/RESEARCH_LOG.md — market research findings, candidate API ideas
  • flux/ — cluster-level Flux manifests (registry, runner, monitoring, docs-site)
  • monitoring/ — Prometheus, Grafana, Gatus configs
  • docs-site/ — Astro + Redoc site at docs.leeworks.dev

How this gets worked on

The agent-company Kubernetes deployment in 0xWheatyz/Talos runs three crons every 5 hours:

  • /manager discovers agent-ready issues here and in each API repo, fans out @repo-manager subagents
  • /sprint reads ROADMAP.md and breaks down the next phase into new issues
  • /ship merges approved PRs and creates upstream PRs to 0xWheatyz forks

Goal: $100/mo net revenue via RapidAPI marketplace listings.

S
Description
Meta-repo for the leeworks-apis recursive build loop. Cross-API roadmap, monitoring, docs-site, registry, Flux configs.
Readme 922 KiB
Languages
MDX 54.1%
Astro 30.2%
JavaScript 8.7%
Shell 6.4%
Dockerfile 0.6%