[E00-S04] Configuration service #61

Open
opened 2026-08-26 23:59:57 +00:00 by kpcto · 1 comment
Owner

Parent epic: [E00] Repository and runtime foundation (#28)

Intent

Provide a validated configuration service that reads settings via a single adapter, validates them at startup, and keeps secrets out of logs.

Acceptance criteria

  • configuration schema is defined with TypeBox/Ajv
  • missing required setting gives a field-specific startup error
  • secrets automatically redact from logs
  • no application module reads process.env directly except the configuration adapter
  • .env.example contains placeholders only

Explicitly out of scope

  • PostgreSQL adapter and migration runner (E00-S03)
  • Docker Compose baseline stack (E00-S02)
  • CI quality baseline pipeline (E00-S05)

Test plan

  • startup with a missing required field reports that field name
  • secret values are absent from log output
  • static check confirms only the adapter reads process.env
  • .env.example holds placeholder values only

Rollback note

  • revert the configuration adapter code; no data migration is involved

Owning stream

platform

Risk quadrant

agent-full

> Parent epic: [E00] Repository and runtime foundation (#28) ## Intent Provide a validated configuration service that reads settings via a single adapter, validates them at startup, and keeps secrets out of logs. ## Acceptance criteria - configuration schema is defined with TypeBox/Ajv - missing required setting gives a field-specific startup error - secrets automatically redact from logs - no application module reads `process.env` directly except the configuration adapter - `.env.example` contains placeholders only ## Explicitly out of scope - PostgreSQL adapter and migration runner (E00-S03) - Docker Compose baseline stack (E00-S02) - CI quality baseline pipeline (E00-S05) ## Test plan - startup with a missing required field reports that field name - secret values are absent from log output - static check confirms only the adapter reads `process.env` - `.env.example` holds placeholder values only ## Rollback note - revert the configuration adapter code; no data migration is involved ### Owning stream platform ### Risk quadrant agent-full
kpcto added this to the Sprint 0 milestone 2026-08-26 23:59:57 +00:00
kpcto added the
kind
story
status
ready
labels 2026-08-26 23:59:57 +00:00
bot-dispatcher added
status
proposed
and removed
status
ready
kind
story
labels 2026-08-26 23:59:59 +00:00
Member

Auto-reverted by dispatcher: DoR lint: required section "Intent" is empty; required section "Explicitly out of scope" is empty; required section "Test plan" is empty; required section "Rollback note" is empty

status/ready may only be applied by a human maintainer.

> Auto-reverted by dispatcher: DoR lint: required section "Intent" is empty; required section "Explicitly out of scope" is empty; required section "Test plan" is empty; required section "Rollback note" is empty `status/ready` may only be applied by a human maintainer.
kpcto added the
kind
story
label 2026-08-27 21:23:04 +00:00
Sign in to join this conversation.