설계: docs/superpowers/specs/2026-09-25-capability-module-packaging-design.md
계획/진행 기록: docs/superpowers/plans/2026-09-25-capability-module-packaging.md
- Wave 0: 규칙 고정(AGENTS.md capability 완료 기준·테스트 규칙) + 차단 결함 7건
(compose overlay 검사, redis-sdk CI job, 적용된 V9/V13 원복 + V16, @EnableScheduling,
messaging bridge 순서, prod 에러 상세 validator, sample loggers read-only)
- Wave 1: 데이터·보안 Critical 10건 (durable operation 25P02, operation 유스케이스 이동,
outbox 재인코딩, Kafka TLS/SASL, 알림 트랜잭션, SNS 서명, tus checksum, GraphQL fragment,
Redis lane, gRPC FAILED_TERMINAL)
- Wave 2: 리팩터링 잔재·실험용 자리 삭제, outbox v1 fencing(V17), 멱등성 V2 정본화
- Wave 3: 라이브러리형 코드 정리(동작하지 않는 설정·인터페이스·gate 제거, web-advanced 분리)
- Wave 4: capability 11개를 "있으면 켜짐" 모듈로 포장, 끄는 장치 제거, 기본 조립 web-only,
qualificationBootJar 분리
- Wave 5: 빌드 로직 축소(17.2k -> 10.8k줄), sample 테스트 컨벤션 적용
삭제한 코드는 docs/capability-status.md "제거된 코드" 표에 복구 커밋(208077fd)과 함께 기록.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
39 lines
2.0 KiB
Bash
39 lines
2.0 KiB
Bash
# =============================================================================
|
|
# A local example for a service that selected some capabilities. Copy to src/.env.local and edit.
|
|
#
|
|
# The default composition is web-only. A capability is on when its runtimeOnly line in
|
|
# app-bootstrap/build.gradle is uncommented, and each needs the infrastructure its Compose profile
|
|
# provides. The values below are what each one needs once selected; a missing required value is
|
|
# refused at startup, naming the key. APP_*_ENABLED=false turns a selected capability off.
|
|
# =============================================================================
|
|
|
|
SPRING_PROFILES_ACTIVE=local
|
|
|
|
# JPA (persistence-jpa line): needs the PostgreSQL service. Flyway owns the schema from dev onward, and local uses the
|
|
# same vendor semantics so the two do not diverge.
|
|
APP_PERSISTENCE_JPA_ENABLED=true
|
|
APP_DATASOURCE_URL=jdbc:postgresql://localhost:5433/ca_skeleton
|
|
APP_DATASOURCE_USERNAME=ca_skeleton
|
|
APP_DATASOURCE_PASSWORD=
|
|
APP_DATASOURCE_DDL_AUTO=validate
|
|
|
|
# Messaging (Kafka): on when app-bootstrap/build.gradle carries
|
|
# `runtimeOnly project(':adapter:outbound:messaging-kafka')`; APP_MESSAGING_ENABLED=false turns it off.
|
|
APP_MESSAGING_KAFKA_BROKERS=localhost:9092
|
|
|
|
# Outbox: needs JPA and messaging together, and a broker. relay-enabled only starts the scheduler.
|
|
APP_OUTBOX_ENABLED=false
|
|
APP_OUTBOX_RELAY_ENABLED=false
|
|
|
|
# Mongo: on when its runtimeOnly line is in app-bootstrap/build.gradle. active-profile is required
|
|
# and selects exactly one client.
|
|
APP_PERSISTENCE_MONGO_ACTIVE_PROFILE=standard-uri
|
|
SPRING_MONGODB_URI=mongodb://localhost:27017/ca_skeleton
|
|
|
|
# GraphQL: on when its runtimeOnly line is in app-bootstrap/build.gradle. The deployment mode must
|
|
# match the runtime environment (local -> LOCAL).
|
|
APP_GRAPHQL_DEPLOYMENT_MODE=LOCAL
|
|
|
|
# Notification: on when its line and the persistence-jpa line are selected (it stores requests
|
|
# relationally). It then needs the eight key purposes and their ids listed in src/.env.example.
|