설계: 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>
81 lines
4.1 KiB
JSON
81 lines
4.1 KiB
JSON
{
|
|
"$comment": [
|
|
"NTF-024 — what each support grade requires, as executable artifacts rather than prose.",
|
|
"A grade in support-matrix.md is a promise about production behaviour. The workflow that was",
|
|
"supposed to back those promises ran a unit subset on PR, a job named 'restart recovery' that",
|
|
"ran no restart, and a provider sandbox job whose entire body was two echo statements behind",
|
|
"continue-on-error. So the strongest claim in the document rested on the weakest evidence in",
|
|
"the pipeline, and nothing connected the two.",
|
|
"NotificationEvidenceVerifierTest reads this file, checks that every claim marked satisfied names",
|
|
"test classes that exist, and refuses a grade whose claims are not all satisfied."
|
|
],
|
|
"claims": {
|
|
"durable": {
|
|
"requires": "PostgreSQL migration, CRUD against the real schema, and survival of a restart",
|
|
"status": "satisfied",
|
|
"lane": ":adapter:outbound:persistence-jpa:jpaPlatformContractTest",
|
|
"evidence": [
|
|
"adapter/outbound/persistence-jpa/src/postgresqlIntegrationTest/java/dev/caskeleton/adapter/outbound/persistence/notification/RecipientClaimContractTest.java",
|
|
"adapter/outbound/persistence-jpa/src/postgresqlIntegrationTest/java/dev/caskeleton/adapter/outbound/persistence/notification/ProjectionFactDurabilityContractTest.java",
|
|
"adapter/outbound/persistence-jpa/src/postgresqlIntegrationTest/java/dev/caskeleton/adapter/outbound/persistence/notification/ServingStateContractTest.java"
|
|
]
|
|
},
|
|
"multi-worker-safe": {
|
|
"requires": "two workers racing the same claim against a real database, with lease fencing",
|
|
"status": "satisfied",
|
|
"lane": ":adapter:outbound:persistence-jpa:jpaPlatformContractTest",
|
|
"evidence": [
|
|
"adapter/outbound/persistence-jpa/src/postgresqlIntegrationTest/java/dev/caskeleton/adapter/outbound/persistence/notification/RecipientClaimContractTest.java",
|
|
"adapter/outbound/persistence-jpa/src/postgresqlIntegrationTest/java/dev/caskeleton/adapter/outbound/persistence/readiness/PostgreSqlRecipientLeaseFencingIntegrationTest.java"
|
|
]
|
|
},
|
|
"callback-supported": {
|
|
"requires": "signature verification, duplicate suppression, and an event that arrives before its attempt is stored",
|
|
"status": "satisfied",
|
|
"lanes": [
|
|
":adapter:outbound:persistence-jpa:jpaPlatformContractTest",
|
|
":application-notification:test"
|
|
],
|
|
"evidence": [
|
|
"adapter/outbound/persistence-jpa/src/postgresqlIntegrationTest/java/dev/caskeleton/adapter/outbound/persistence/notification/LateEventBindingContractTest.java",
|
|
"application-notification/src/test/java/dev/caskeleton/application/notification/platform/callback/CallbackIngestionAtomicityTest.java"
|
|
]
|
|
},
|
|
"recoverable": {
|
|
"requires": "a process-kill matrix covering each dispatch phase, proving no delivery is lost or duplicated",
|
|
"status": "satisfied",
|
|
"lane": ":adapter:outbound:persistence-jpa:jpaPlatformContractTest",
|
|
"evidence": [
|
|
"adapter/outbound/persistence-jpa/src/postgresqlIntegrationTest/java/dev/caskeleton/adapter/outbound/persistence/notification/WorkerCrashRecoveryContractTest.java"
|
|
]
|
|
},
|
|
"provider-wire-qualified": {
|
|
"requires": "a real provider sandbox call producing an immutable, uploaded evidence artifact with a correlation id",
|
|
"status": "unsatisfied",
|
|
"lane": null,
|
|
"evidence": [],
|
|
"gap": "The provider-sandbox job runs two echo statements behind continue-on-error. No request has ever left the process, so no provider protocol is qualified against its real endpoint."
|
|
}
|
|
},
|
|
"grades": {
|
|
"Stable": [
|
|
"durable",
|
|
"multi-worker-safe",
|
|
"callback-supported",
|
|
"recoverable",
|
|
"provider-wire-qualified"
|
|
],
|
|
"Contract implemented / runtime unqualified": [
|
|
"durable",
|
|
"multi-worker-safe",
|
|
"callback-supported"
|
|
],
|
|
"Optional stable": [
|
|
"durable"
|
|
],
|
|
"Extension": [],
|
|
"Experimental": []
|
|
},
|
|
"matrixDocument": "docs/notification/support-matrix.md"
|
|
}
|