Skip to content

docs: align claude /diary-notion slash command contract - #6

Merged
solzip merged 1 commit into
mainfrom
feat/diary-notion
Jun 4, 2026
Merged

docs: align claude /diary-notion slash command contract#6
solzip merged 1 commit into
mainfrom
feat/diary-notion

Conversation

@solzip

@solzip solzip commented Jun 4, 2026

Copy link
Copy Markdown
Owner

개요

Claude /diary-notion 슬래시 커맨드를 native 하위항목 구현 계약에 맞춘다. Codex $diary-notion 스킬을 맞춘 PR #5와 대칭이며, 각자 자기 에이전트 파일만 수정한다.

기능 본체(Notion native 하위항목 연결, correctness 버그 2건, ensure 정합, 문서)는 core로 PR #4에서 이미 main에 머지됨. 이 PR은 Claude 측 지시문 정리만 담는다.

변경

src/claude_diary/cli/setup.pyDIARY_NOTION_SLASH_COMMAND에 "현재 구현 계약" 추가:

  • /diary-notion은 row push 전용, ensure는 별도 정비 명령
  • 포함 관계는 parent_index → native 하위항목, 미활성 시 push + 안내
  • legacy Parent Task/Sub-items는 호환용, JSON 직접 지정 금지
  • Depends On은 최상위 메인 작업 선행에만
  • project"unknown" 금지
  • compact executive body 렌더링 명시
  • carryover=true (전날/이전 세션 연속 작업) 규칙

tests/test_setup.py에 Claude 커맨드 parity 단언 추가.

검증

657 테스트 통과.

🤖 Generated with Claude Code

@solzip
solzip force-pushed the feat/diary-notion branch from f890e51 to 3de73a2 Compare June 4, 2026 02:57
@solzip solzip changed the title feat: diary-notion native sub-items + correctness fixes (Claude) docs: align claude /diary-notion slash command contract Jun 4, 2026
Add the "현재 구현 계약" section and carryover=true rule to the Claude
/diary-notion slash command so it matches the implementation contract the
Codex $diary-notion skill carries (PR #5): push is row-only, ensure is the
separate maintenance command, containment uses parent_index → native
sub-items, legacy Parent Task/Sub-items are compatibility-only, Depends On
is top-level prerequisites only, and project never writes "unknown". Codex
skill content stays on the codex branch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@solzip
solzip force-pushed the feat/diary-notion branch from 3de73a2 to 895fd50 Compare June 4, 2026 04:27
@solzip
solzip merged commit 0952f58 into main Jun 4, 2026
15 checks passed
@solzip
solzip deleted the feat/diary-notion branch June 4, 2026 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant