FABRIC/scripts
jedarden 43023b2596 feat(bd-ch6.4): wire FABRIC_AUTH_TOKEN end-to-end in service template
- Add EnvironmentFile=/home/coding/.config/fabric/secrets.env to
  scripts/fabric-web.service so the auth token is loaded from the
  secrets file at start (not exposed in ps aux)
- Add --otlp-http :4318 to match the deployed unit (already live)

The full auth chain is now documented in the service template:
  ~/.config/fabric/secrets.env (0600) → EnvironmentFile → server
  ~/.needle/config.yaml auth_token: "${FABRIC_AUTH_TOKEN}" → NEEDLE

POST /api/events returns 401 without token; NEEDLE workers
authenticate via Bearer token sourced from the same secrets file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 21:26:40 -04:00
..
br-get-next-bead.sh feat(bd-2kf): Add comprehensive test coverage for parser and store 2026-03-03 10:43:24 +00:00
br-ready-jsonl.sh feat(bd-2kf): Add comprehensive test coverage for parser and store 2026-03-03 10:43:24 +00:00
br-ready-queue.sh feat(bd-2kf): Add comprehensive test coverage for parser and store 2026-03-03 10:43:24 +00:00
br-ready-workaround.sh feat(bd-2kf): Add comprehensive test coverage for parser and store 2026-03-03 10:43:24 +00:00
br-ready-wrapper.sh feat(bd-2kf): Add comprehensive test coverage for parser and store 2026-03-03 10:43:24 +00:00
br-regenerate-queue.sh feat(bd-2kf): Add comprehensive test coverage for parser and store 2026-03-03 10:43:24 +00:00
fabric-web.service feat(bd-ch6.4): wire FABRIC_AUTH_TOKEN end-to-end in service template 2026-04-23 21:26:40 -04:00
fabric-web.sh docs(bd-n8y): add auth token documentation to README and startup script 2026-04-23 16:14:51 -04:00
service.sh feat(bd-288): Add systemd service for persistent FABRIC web server 2026-03-16 23:51:07 -04:00