[BEZALEL][Epic-001] The Forge CI Pipeline — Gitea Actions + Smoke + Green E2E #154

Merged
Timmy merged 2 commits from bezalel/epic-001-forge-ci into main 2026-04-07 02:12:32 +00:00
Owner

What

Lean CI pipeline for hermes-agent that catches obvious breakage without becoming a maintenance burden.

Added

  • .gitea/workflows/ci.yml — Gitea Actions workflow triggered on every PR/push to main
  • scripts/smoke_test.py — fast smoke tests (<30s): core imports resolve, CLI entrypoints load
  • tests/test_green_path_e2e.py — one bare green-path E2E: terminal_tool(command="echo hello") → verify response

Design

  • Total CI runtime target: < 5 minutes
  • No API keys required for smoke/e2e stages
  • No bloated test matrices or mocking jungles

Closes

/assign @bezalel

## What Lean CI pipeline for `hermes-agent` that catches obvious breakage without becoming a maintenance burden. ## Added - `.gitea/workflows/ci.yml` — Gitea Actions workflow triggered on every PR/push to `main` - `scripts/smoke_test.py` — fast smoke tests (<30s): core imports resolve, CLI entrypoints load - `tests/test_green_path_e2e.py` — one bare green-path E2E: `terminal_tool(command="echo hello")` → verify response ## Design - Total CI runtime target: **< 5 minutes** - No API keys required for smoke/e2e stages - No bloated test matrices or mocking jungles ## Closes - #145 /assign @bezalel
Timmy added 2 commits 2026-04-07 00:26:33 +00:00
[BEZALEL] Add forge health check — artifact integrity and security scanner
Some checks failed
Supply Chain Audit / Scan PR for supply chain risks (pull_request) Failing after 0s
Docker Build and Publish / build-and-push (pull_request) Failing after 7s
Tests / test (pull_request) Failing after 2s
89730e8e90
Adds scripts/forge_health_check.py to scan wizard environments for:
- Missing .py source files with orphaned .pyc bytecode (GOFAI artifact integrity)
- Burn script clutter in production paths
- World-readable sensitive files (keystores, tokens, .env)
- Missing required environment variables

Includes full test suite in tests/test_forge_health_check.py covering
orphaned bytecode detection, burn script clutter, permission auto-fix,
and environment variable validation.

Addresses Allegro formalization audit findings:
- GOFAI source files missing (only .pyc remains)
- Nostr keystore world-readable
- eg burn scripts cluttering /root

/assign @bezalel
[BEZALEL][Epic-001] The Forge CI Pipeline — Gitea Actions + Smoke + Green E2E
Some checks failed
Forge CI / smoke-and-build (pull_request) Failing after 2s
cca5d64bb9
- Add .gitea/workflows/ci.yml: Gitea Actions workflow for PR/push CI
- Add scripts/smoke_test.py: fast smoke tests (<30s) for core imports and CLI entrypoints
- Add tests/test_green_path_e2e.py: bare green-path e2e — terminal echo test
- Total CI runtime target: <5 minutes
- No API keys required for smoke/e2e stages

Closes #145
/assign @bezalel
Timmy force-pushed bezalel/epic-001-forge-ci from cca5d64bb9 to 43bcb88a09 2026-04-07 00:28:35 +00:00 Compare
Timmy merged commit b49e8b11ea into main 2026-04-07 02:12:32 +00:00
Timmy deleted branch bezalel/epic-001-forge-ci 2026-04-07 02:12:32 +00:00
Sign in to join this conversation.