# ThreadAuto 텍스트 포스트 발행 실패 수정 + 텍스트/카드뉴스 발행 실행

## 작업 레벨: Lv.1

## 프로젝트
- ThreadAuto: `/home/jay/projects/ThreadAuto`

## 문제
`api/client.py`의 `post_text()` 메서드에서 컨테이너 생성 후 **대기 없이 즉시 publish** → Threads API "미디어를 찾을 수 없음" 에러 (HTTP 400, code 24).

`post_image()`는 30초 대기, `post_video()`는 poll 대기가 있는데 `post_text()`만 대기 없음.

## 수정 사항

### api/client.py — post_text()에 컨테이너 상태 poll 추가
```python
# 기존 (L43-50)
async def post_text(self, text: str) -> str:
    container_id = await self._create_container(media_type="TEXT", text=text)
    post_id = await self._publish(container_id)  # 대기 없이 즉시 publish
    return post_id

# 변경
async def post_text(self, text: str) -> str:
    container_id = await self._create_container(media_type="TEXT", text=text)
    await self._poll_container_status(container_id)  # 컨테이너 준비 대기
    post_id = await self._publish(container_id)
    return post_id
```

기존 `_poll_container_status()` (L116)가 이미 구현되어 있으므로 호출만 추가하면 됨.

## 수정 후 실행
수정 완료 후 다음 두 스크립트를 순차 실행하여 실제 발행 확인:

1. **텍스트 포스트**: `cd /home/jay/projects/ThreadAuto && python3 run_text_post.py`
2. **카드뉴스 포스트**: `cd /home/jay/projects/ThreadAuto && python3 run_card_post.py`

각각 성공 시 Threads 게시물 ID 반환 확인.

## affected_files
- `api/client.py` (수정 — post_text에 poll 추가)

## 검증 시나리오
1. `python3 run_text_post.py` → success: true, post_id 반환
2. `python3 run_card_post.py` → success: true, post_id 반환
3. Threads 프로필에서 실제 게시물 확인
