docs: align template/commands with docs sync gate (#364) #366

Merged
jihoson merged 2 commits from feature/issue-364-docs-sync-integration into feature/v3-session-policy-stream 2026-03-01 23:22:38 +09:00
2 changed files with 21 additions and 0 deletions
Showing only changes of commit 8e819e5939 - Show all commits

View File

@@ -41,6 +41,13 @@
- [ ] `workflow/session-handover.md` 최신 엔트리가 현재 브랜치/당일(UTC) 기준으로 갱신됨 - [ ] `workflow/session-handover.md` 최신 엔트리가 현재 브랜치/당일(UTC) 기준으로 갱신됨
- 최신 handover 엔트리 heading: - 최신 handover 엔트리 heading:
## Docs Sync Gate
- [ ] `python3 scripts/validate_docs_sync.py` 통과
- [ ] `README.md`/`CLAUDE.md``docs/workflow.md`, `docs/commands.md` 코어 링크가 유지됨
- [ ] 문서 링크를 절대경로(`/<path>`)로 추가하지 않음
- [ ] `docs/commands.md` API endpoint 표에 중복 row 없음
## Runtime Evidence ## Runtime Evidence
- 시스템 실제 구동 커맨드: - 시스템 실제 구동 커맨드:

View File

@@ -21,6 +21,20 @@ python3 scripts/session_handover_check.py --strict
- 실패 시 `workflow/session-handover.md` 최신 엔트리를 보강한 뒤 재실행한다. - 실패 시 `workflow/session-handover.md` 최신 엔트리를 보강한 뒤 재실행한다.
## Docs Sync Validator (Mandatory for docs changes)
- 문서 변경 PR에서는 아래 명령으로 동기화 검증을 먼저 실행한다.
```bash
python3 scripts/validate_docs_sync.py
```
- 검증 실패 시 메시지 기준으로 즉시 수정한다.
- `absolute link is forbidden`: 문서 링크에 절대경로(`/...`) 사용
- `broken link`: 상대경로 링크 대상 파일/앵커 누락
- `missing core doc link reference`: `README.md`/`CLAUDE.md` 핵심 링크 누락
- `duplicated API endpoint row`: `docs/commands.md` API endpoint 표 중복 행
### tea CLI (Gitea Command Line Tool) ### tea CLI (Gitea Command Line Tool)
#### ❌ TTY Error - Interactive Confirmation Fails #### ❌ TTY Error - Interactive Confirmation Fails