|
|
9d69629893
|
ganymede: extract lib/forgejo.py — single Forgejo API client
CI / lint-and-test (pull_request) Has been cancelled
- What: Unified forgejo_api(), get_pr_diff(), get_agent_token(), repo_path()
into lib/forgejo.py. Removed 3 duplicate _forgejo_api functions (evaluate.py,
merge.py, validate.py), 2 duplicate _get_pr_diff functions (evaluate.py,
validate.py), and 1 _agent_token function (evaluate.py).
- Why: Phase 3 structural refactor. Single source of truth for all Forgejo HTTP
calls. Eliminates ~90 lines of duplicated code across 3 modules.
- Connections: All hardcoded repo paths now use repo_path() helper. Consumer
modules no longer reference config.FORGEJO_URL/OWNER/REPO/TOKEN_FILE directly.
Pentagon-Agent: Ganymede <F99EBFA6-547B-4096-BEEA-1D59C3E4028A>
|
2026-03-13 15:29:34 +00:00 |
|
|
|
a7251d7529
|
ganymede: add dev infrastructure — pyproject.toml, CI, deploy script
CI / lint-and-test (pull_request) Has been cancelled
Phase 2 of pipeline refactoring:
- pyproject.toml: Python >=3.11, aiohttp dep, dev extras (pytest,
pytest-asyncio, ruff). Ruff configured with sane defaults + ignore
rules for existing code patterns (implicit Optional, timezone.utc).
- .forgejo/workflows/ci.yml: Forgejo Actions CI — syntax check, ruff
lint, ruff format, pytest on every PR and push to main.
- deploy.sh: Pull + venv update + syntax check + optional restart.
Replaces ad-hoc scp workflow.
- tests/conftest.py: Shared fixture for in-memory SQLite with full
schema. Ready for Phase 4 test suite.
- .gitignore: Added venv, pytest cache, coverage, build artifacts.
- Ruff auto-fixes: import sorting, unused imports removed across all
modules. All files pass ruff check + ruff format.
Pentagon-Agent: Ganymede <F99EBFA6-547B-4096-BEEA-1D59C3E4028A>
|
2026-03-13 14:24:27 +00:00 |
|
|
|
799249d470
|
Initial commit: Pipeline v2 daemon + infrastructure docs
- teleo-pipeline.py: async daemon with 4 stage loops (ingest/validate/evaluate/merge)
- lib/: config, db, evaluate, validate, merge, breaker, costs, health, log modules
- INFRASTRUCTURE.md: comprehensive deep-dive for onboarding
- teleo-pipeline.service: systemd unit file
Pentagon-Agent: Leo <294C3CA1-0205-4668-82FA-B984D54F48AD>
|
2026-03-12 14:11:18 +00:00 |
|