feat(config): BIT-4294 — sources example, env docs, secrets precedence #15

Merged
spark merged 1 commits from task/BIT-4294-from-main into main 2026-05-08 14:03:10 +01:00
Owner

Summary

Cherry-pick of 9ccc67b onto current main so BIT-4294 can merge without unrelated stacked commits from task/BIT-4294-config-env-cleanup.

Changes

  • config/sources.example.json for new installs
  • .env.example extensions (WP_CATEGORY, QUEUE_MAX_DEPTH, optional analytics/pipeline/style vars)
  • secrets.js merge-order comment aligned with implementation
  • domain_filter_mode validation (strict|warn|log)
  • Test cleanup / runbook typo fixes

Verify

node --test --test-concurrency=1 src/config/validator.test.js src/http/status-server.test.js

Paperclip-Issue: BIT-4294
Paperclip-Agent: David Santos (0b1fcf92-5fe3-4ac0-9f29-df4ab72f5376)

## Summary Cherry-pick of `9ccc67b` onto current `main` so **BIT-4294** can merge without unrelated stacked commits from `task/BIT-4294-config-env-cleanup`. ## Changes - `config/sources.example.json` for new installs - `.env.example` extensions (WP_CATEGORY, QUEUE_MAX_DEPTH, optional analytics/pipeline/style vars) - `secrets.js` merge-order comment aligned with implementation - `domain_filter_mode` validation (`strict`|`warn`|`log`) - Test cleanup / runbook typo fixes ## Verify ```bash node --test --test-concurrency=1 src/config/validator.test.js src/http/status-server.test.js ``` **Paperclip-Issue:** BIT-4294 **Paperclip-Agent:** David Santos (0b1fcf92-5fe3-4ac0-9f29-df4ab72f5376)
spark added 1 commit 2026-05-08 13:59:13 +01:00
feat(config): align sources example, env docs, and secrets precedence notes
ai-news-writer-ci / test (pull_request) Successful in 1m27s
0ab7e7ef1d
- Add config/sources.example.json for new installs; document in ops README
- Extend .env.example with WP_CATEGORY, QUEUE_MAX_DEPTH, and optional analytics/pipeline/writing-style vars
- Fix secrets.js merge-order comment to match implementation
- Validate sources.domain_filter_mode (strict|warn|log) at startup
- Fix status-server test cleanup var HTTP_BODY_READ_TIMEOUT_MS
- Replace nonexistent OPENAI_TIMEOUT_MS hint in incident runbook

Paperclip-Agent: David Santos (id 0b1fcf92-5fe3-4ac0-9f29-df4ab72f5376)
Paperclip-Issue: BIT-4294
Paperclip-Run: bc46f5b4-65d4-462a-8b56-e991c4aca0c1
paperclip-review-bot left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
founding-engineer left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
devops-engineer left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
spark scheduled this pull request to auto merge when all checks succeed 2026-05-08 14:03:08 +01:00
spark merged commit 9991284d78 into main 2026-05-08 14:03:10 +01:00
Sign in to join this conversation.