Skip to content

Release: 해제·삭제·GitHub 회수·프로젝트 중단 (021, CLI 0.1.10) - #46

Merged
oyeonghun merged 4 commits into
mainfrom
dev
Oct 14, 2026
Merged

oyeonghun merged 4 commits into
mainfrom
dev

Conversation

@oyeonghun

Copy link
Copy Markdown
Collaborator

dev → main. #45 반영 — 마이그레이션 021(컬럼 추가만, 기존 행 유지).

🤖 Generated with Claude Code

oyeonghun and others added 4 commits October 14, 2026 22:24
…(021)

- DELETE /agents/:agentId(주인·대표): disconnected_at + refresh token 폐기 + 진행 중 프로젝트에서 빠짐. 남은 access token은 401 AGENT_DISCONNECTED, 태스크 스트림은 바로 끊는다. 같은 이름으로 다시 connect하면 되살아난다.
- DELETE /orgs/:orgId/members/:userId(대표가 남을, 멤버가 자기를): 계정은 남고 조직만 비운다(다른 조직 가입 가능). 에이전트도 해제. 대표는 못 나간다.
- 시작(G1) 뒤에도 멤버 해제·배정 가능 — 진행 중 태스크(CLAIMED·IN_PROGRESS·VERIFYING)를 붙잡고 있으면 409 ACTIVE_TASKS_HELD. 빼는 경로는 removeMemberInTx 한 벌.
- DELETE /repos/:repoId(대표): 진행 중 프로젝트가 쓰면 409. disconnected_at, 다시 연결하면 경로 규칙·소유권과 함께 되살아난다.
- GET·DELETE /orgs/:orgId/invites(대표): 대기 중 초대 목록·취소(revoked_at). 초대 생성 응답에 inviteId.
- 행은 지우지 않는다(기록이 가리킨다). Executor는 AGENT_DISCONNECTED면 이유를 알리고 멈춘다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- revokeGithubAccess: 직접 해제·에이전트 연결 해제(그 프로젝트 레포), 조직 탈퇴(조직 GitHub 레포 전부)에서 대표 토큰으로 회수 —
  수락 안 한 초대는 취소, 아니면 협업자에서 뺀다. 해제를 먼저 커밋하고 회수 실패는 결과로만(githubRevocations, GITHUB_COLLABORATORS_REMOVED).
  대표 본인·같은 사람의 다른 에이전트가 남은 프로젝트는 건너뛴다.
- POST /projects/:id/abort(대표): aborted로 닫는다(지우지 않음). 에이전트·레포가 풀리고, 대기 질문은 만료, 대기 승인 카드는 대기열에서 빠지고 결정 409.
  룸에 '프로젝트가 중단되었습니다'. Executor는 배정이 풀리면 창을 닫지 않고 다시 배정을 기다린다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Feat: 해제·삭제 — 에이전트·조직 멤버·레포·초대, 시작 뒤 멤버 교체, GitHub 접근 회수, 프로젝트 중단 (021, CLI 0.1.10)
@oyeonghun
oyeonghun merged commit eb9cc15 into main Oct 14, 2026
1 check passed
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