- Rewrite README with quick start, FastAPI snippet, async/sync patterns,
config reference with env vars, and API version targeting (v1, schema 1.0)
- Add docs/integration-guide.md with full FastAPI and generic Python
integration examples, environment-specific config, prediction queries,
error handling, and dry-run mode documentation
- Add docs/api-reference.md covering all exported classes, methods, Pydantic
models, enums (TaskType, Complexity, Harness, Provider, QualityGate,
Outcome, RepoSizeCategory), and internal components
- Add Woodpecker CI pipeline (.woodpecker.yml) with quality gates: lint,
format check, typecheck, bandit security scan, pip-audit, and pytest
with 85% coverage gate
- Add bandit and pip-audit to dev dependencies
Fixes#1
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Standalone Python package (mosaicstack-telemetry) for reporting
task-completion telemetry and querying predictions from the Mosaic
Stack Telemetry server.
- Sync/async TelemetryClient with context manager support
- Thread-safe EventQueue with bounded deque
- BatchSubmitter with httpx, exponential backoff, Retry-After
- PredictionCache with TTL
- EventBuilder convenience class
- All types standalone (no server dependency)
- 55 tests, 90% coverage, mypy strict clean
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>