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)
33 lines
1.3 KiB
JSON
33 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://life-helper.local/schema/phase.schema.json",
|
|
"title": "Phase (6주 사이클)",
|
|
"description": "사용자당 동시 active phase는 1개 권장. 6주 단위 운영.",
|
|
"type": "object",
|
|
"required": ["id", "user_id", "started_at", "duration_weeks", "status"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": { "type": "string" },
|
|
"user_id": { "type": "string" },
|
|
"title": { "type": "string", "description": "예: '2026 Q2 1차 — 아침 루틴 정착'" },
|
|
"started_at": { "$ref": "enums.schema.json#/$defs/DateString" },
|
|
"ended_at": { "$ref": "enums.schema.json#/$defs/DateString" },
|
|
"duration_weeks": { "type": "integer", "minimum": 1, "default": 6 },
|
|
"status": { "type": "string", "enum": ["active", "completed", "abandoned"] },
|
|
"habit_ids": {
|
|
"type": "array",
|
|
"items": { "type": "string" },
|
|
"description": "이 phase에 등록된 habit. build ≤ 3, break ≤ 1 (R1/R2)"
|
|
},
|
|
"intention_text": {
|
|
"type": "string",
|
|
"description": "이번 6주에 만들고 싶은 정체성 (L3 미리보기)"
|
|
},
|
|
"reward_declarations_locked": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "phase 시작 후 7일 지나면 자동 true → 추가 reward_declaration 차단 (R4)"
|
|
}
|
|
}
|
|
}
|