Skip to content

confluence-mdx: prepare와 batch lifecycle을 분리합니다 - #1048

Merged
jk-kim0 merged 1 commit into
mainfrom
jk/refactor-reverse-sync-prepare-batch-services
Jul 27, 2026
Merged

confluence-mdx: prepare와 batch lifecycle을 분리합니다#1048
jk-kim0 merged 1 commit into
mainfrom
jk/refactor-reverse-sync-prepare-batch-services

Conversation

@jk-kim0

@jk-kim0 jk-kim0 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

source/snapshot 준비와 branch batch state 전환을 reverse_sync_cli.py에서 package service로 분리합니다.

  • argparse 입력을 typed VerificationRequest로 변환합니다.
  • online snapshot과 attachment catalog 준비를 prepare_service.py로 이동합니다.
  • batch eligibility, confirmation, 순차 publish, postcondition 실패 중단 정책을 batch_service.py로 이동합니다.
  • CLI에는 stderr event adapter와 service orchestration을 유지합니다.
  • OpenSpec의 CLI 축소 P1 task를 완료 상태로 갱신합니다.

Verification

  • confluence-mdx/venv/bin/pytest -q confluence-mdx/tests — 1150 passed, 2 skipped
  • tests/run-tests.sh --type reverse-sync --test-dir reverse-sync — 43 passed
  • tests/run-tests.sh --type reverse-sync-verify --test-dir reverse-sync — 43 passed
  • openspec validate complete-reverse-sync --strict
  • git diff --check

Stack

🤖 Generated with Codex

@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
querypie-docs Building Building Preview, Comment Jul 27, 2026 8:08am

Request Review

@jk-kim0
jk-kim0 force-pushed the jk/refactor-reverse-sync-publish-service branch from b1dd22e to 4b7de45 Compare July 27, 2026 06:23
@jk-kim0
jk-kim0 force-pushed the jk/refactor-reverse-sync-prepare-batch-services branch from 1c40d1c to 11b2267 Compare July 27, 2026 06:23
@jk-kim0
jk-kim0 force-pushed the jk/refactor-reverse-sync-publish-service branch from 4b7de45 to c02fb0c Compare July 27, 2026 08:04
Base automatically changed from jk/refactor-reverse-sync-publish-service to main July 27, 2026 08:07
## Summary
source/snapshot 준비와 branch batch state 전환을 CLI에서 package service로 분리합니다.

- argparse 입력을 typed VerificationRequest로 변환합니다.
- online snapshot과 attachment catalog 준비를 prepare service로 이동합니다.
- batch eligibility, confirmation, 순차 publish, 중단 정책을 batch service로 이동합니다.
- CLI에는 stderr event adapter와 service orchestration을 유지합니다.
- OpenSpec의 CLI 축소 P1 task를 완료 상태로 갱신합니다.

🤖 Generated with Codex

Co-Authored-By: Atlas <atlas@jk.agent>
@jk-kim0
jk-kim0 force-pushed the jk/refactor-reverse-sync-prepare-batch-services branch from 11b2267 to b073dc1 Compare July 27, 2026 08:07
@jk-kim0
jk-kim0 merged commit b18870b into main Jul 27, 2026
6 of 7 checks passed
@jk-kim0
jk-kim0 deleted the jk/refactor-reverse-sync-prepare-batch-services branch July 27, 2026 08:11
jk-kim0 added a commit that referenced this pull request Jul 27, 2026
## Summary

현재 body reverse-sync contract를 넓히지 않으면서 후속 P2 capability의 안전 경계와 별도
change 진입 조건을 결정합니다.

- page title mutation은 version precondition이 없는 title 전용 endpoint를 사용하지
않고 versioned page postcondition으로 설계합니다.
- attachment create/update/delete는 page PUT과 비원자적인 별도 transaction 및
recovery evidence로 설계합니다.
- preserved anchor target 변경은 generic template rewrite에서 지원하지 않기로 결정합니다.
- raw HTML table cell text mutation의 typed
identity/structure/preservation proof를 정의합니다.
- active draft와 remote drift는 자동 merge 없이 fail-closed 및 manual
reconciliation을 유지합니다.

## Verification

- `openspec validate complete-reverse-sync --strict`
- `git diff --check`

## Stack

- Base: #1048
- 이 PR은 #1048이 merge된 뒤 merge합니다.

## References

- Atlassian Confluence Cloud REST API v2 Page
- Atlassian Confluence Cloud REST API v2 Attachment
- Atlassian Confluence Cloud REST API v1 Content - attachments

🤖 Generated with Codex

---------

Co-authored-by: Atlas <atlas@jk.agent>
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