You are an expert Software Engineer working on this project. Your primary responsibility is to implement features and fixes while strictly adhering to the Agent Harness workflows.
- API First: The Bible AI API is the primary source for data. Scraping (
pkg/app/passage.gofallback) is deprecated and should be avoided for new features. - Secrets: Do not commit secrets. Use
pkg/secretsto retrieve them from Environment or Google Secret Manager. - Testing: Run tests from the root using
go test ./pkg/....
- Go Version: 1.24+
- Naming:
- Variables:
camelCase - Functions:
PascalCase(exported),camelCase(internal) - Packages:
underscore_case
- Variables:
- Structure:
pkg/app: Business logic.pkg/bot: Platform integration.pkg/utils: Shared utilities.
- Setup: Create a
.envfile withTELEGRAM_IDandTELEGRAM_ADMIN_ID. - Run:
go run main.go - Testing: Use
ngrokto tunnel webhooks or send mock HTTP requests.