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
시작일:
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/dshaistartup 에서 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 마이그레이션 -
AgentSessionService4 RPC -
AuthContext.SessionID+AuthInterceptor연결 - dshai startup 자동 bootstrap
- command_audit 에 session_id 기록됨
- sdktest + apismoke + Web Console Test Client 접점 안내
관련¶
Actions