프로젝트

일반

사용자정보

Actions

이슈 #452

진행중
HP HP

이슈 #448: Phase 0.8 — dKernel Agent Identity Session

Phase 0.8-3 — Agent session entity + bootstrap RPC

이슈 #452: Phase 0.8-3 — Agent session entity + bootstrap RPC

Henry Park이(가) 약 6시간 전에 추가함.

상태:
해결
우선순위:
보통
담당자:
목표버전:
시작일:
2026/05/19
완료일:
진척도:

0%

추정시간:

설명

범위

gap-report.md §2, §7 Option C, §9. dKernel SSOT 자체 — lease / launch / policy / audit attribution 이 매달릴 갈고리.

작업

  • agent_sessions 테이블 — id, principal_type, principal_id, signer_kind (local|env|kms|hsm), signer_ref, current_namespace_type, current_namespace_id, current_cwd, created_at, expires_at, revoked_at
  • v21 마이그레이션
  • proto agent.proto + AgentSessionService — Create / Refresh / Revoke / GetInfo
  • AuthContext 에 SessionID 필드 추가. AuthInterceptor 가 X-Agent-Session 헤더 읽음
  • cmd/dshai startup 에서 session mint → 이후 모든 dshcore 호출이 session_id 헤더 포함
  • 0.8-2 의 command_audit.agent_session_id 채움
  • handler·store 테스트: cross-principal 격리, refresh idempotency, revoke 후 Unauthenticated
  • sdktest agent-conformance 명령 추가 (agent-bootstrap / agent-refresh / agent-revoke)
  • Web Console Test Client Section B 에 "Agent Session ID" 행 추가

DoD

  • agent_sessions 스키마 + v21 마이그레이션
  • AgentSessionService 4 RPC
  • AuthContext.SessionID + AuthInterceptor 연결
  • dshai startup 자동 bootstrap
  • command_audit 에 session_id 기록됨
  • sdktest + apismoke + Web Console Test Client 접점 안내

관련

  • depends on #450 (Signer) + #451 (audit columns)
  • precedes #448 자식 0.8-4 (DKernelTaskService 가 session 을 기본으로 사용)
Actions

내보내기 PDF Atom