4 SoT 모듈:
- huberman-protocols.md (v4, 29 Huberman 원자 프로토콜, 33 인용 검증 완료)
- habit-todo-methodologies.md (21 방법론 + 6 가드레일 + 5-Tier Reward + L0~L3 프레임)
- habit-breaking-protocols.md (끊기 8 카테고리 + 공통 5 프레임 + 의학적 면책)
- nutrition/ 별도 Gitea repo (joungmin/nutrition) — .gitignore 처리
데이터 모델:
- data-model.md — entity 관계 + R1~R8 운영 규칙 + 예시
- schema/ — JSON Schema 18개 (Draft 2020-12), R1~R8을 enum + application + UI 3층 강제
운영 가드레일:
- 동시 active build ≤ 3, break ≤ 1
- 일일 운영 ≤ 2분
- frame.level ∈ {L2, L3} (L0/L1 거부)
- tracker_entry.value = done/blank 2값
- phase = 6주 사이클
- reward는 누적 milestone(T0~T4)만, 매일 직후 X
- "Never miss twice"
진행 중: Dose Variant 설계 결정 대기 (SESSION-LOG.md Pending #1)
55 lines
2.1 KiB
JSON
55 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://life-helper.local/schema/break_protocol.schema.json",
|
|
"title": "Break Protocol (끊기 카테고리)",
|
|
"description": "habit-breaking-protocols.md §2의 카테고리별 프로토콜.",
|
|
"type": "object",
|
|
"required": ["id", "category", "title", "huberman_summary", "phases", "default_common_frames"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": { "type": "string", "description": "보통 category 값과 동일" },
|
|
"category": { "$ref": "enums.schema.json#/$defs/BreakCategory" },
|
|
"title": { "type": "string" },
|
|
"huberman_summary": { "type": "string", "description": "Huberman 핵심 메시지 요약" },
|
|
"frame_examples": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["level", "text"],
|
|
"properties": {
|
|
"level": { "$ref": "enums.schema.json#/$defs/FrameLevelAllowed" },
|
|
"text": { "type": "string" }
|
|
}
|
|
}
|
|
},
|
|
"phases": {
|
|
"type": "array",
|
|
"description": "단계식 프로토콜 (예: 4주 알코올 점진 감량)",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["week", "goal"],
|
|
"properties": {
|
|
"week": { "type": "integer", "minimum": 1 },
|
|
"goal": { "type": "string" },
|
|
"environment_design": { "type": "string" },
|
|
"if_then_examples": { "type": "array", "items": { "type": "string" } }
|
|
}
|
|
}
|
|
},
|
|
"default_common_frames": {
|
|
"type": "array",
|
|
"items": { "$ref": "enums.schema.json#/$defs/CommonFrameId" },
|
|
"description": "이 카테고리에 권장되는 공통 프레임 ID 목록"
|
|
},
|
|
"tools": {
|
|
"type": "array",
|
|
"items": { "type": "string" },
|
|
"description": "추천 도구 (DNS 필터·앱·하드웨어)"
|
|
},
|
|
"medical_warning": { "type": "string", "description": "의학적 면책/응급 경고" },
|
|
"reference_ids": { "type": "array", "items": { "type": "string" } }
|
|
}
|
|
}
|