一键导入
analyzing-da-sessions
사용자가 `/analyzing-da-sessions` 슬래시 명령으로 명시 호출했을 때만 DA 세션 로그 정량 통계를 측정한다. 자연어 trigger 매칭은 사용하지 않는다 — 자연어로 측정을 원하더라도 사용자가 명시 호출해야 한다.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
사용자가 `/analyzing-da-sessions` 슬래시 명령으로 명시 호출했을 때만 DA 세션 로그 정량 통계를 측정한다. 자연어 trigger 매칭은 사용하지 않는다 — 자연어로 측정을 원하더라도 사용자가 명시 호출해야 한다.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Manage encrypted secrets with agenix (.age) and 1Password (op CLI, Service Account token, SSH/Automation vault). Covers .age re-encryption, decryption failures, github-pat 무인 gh 인증, SA token 90일 rotation, SSH device key. Trigger: '시크릿', '암호화', '복호화', 'agenix', 'secrets.nix', 'age key', '.age', '토큰 추가', 're-encrypt', '/run/agenix', '1Password', '1password', 'op CLI', 'op_get', 'opnix', 'service account token', 'SA token', 'Automation vault', 'SSH vault', 'github-pat', 'gh 무인 인증', '90일 rotation', 'op read', 'biometric unlock', 'SSH device key', 'mobile-ssh', 'Termius'.
Attach explicitly provided file evidence (screenshots, demo videos, logs) to a GitHub issue or PR with the gh-attach CLI — content-inspection masking gate, irreversible-upload staging, fail-open ATTACH_STATUS reporting. Trigger: standalone attach requests on an existing issue/PR ('이 스크린샷 이슈에 올려줘', 'gh attach로 첨부'), or another GitHub publishing skill reaching for the evidence-attachment procedure. Format/size limits delegated to the GitHub server; Discussions unsupported. NOT for issue/PR creation or body authoring (use create-issue/create-pr).
Create a structured GitHub issue with auto-enriched labels. Trigger: '이슈 등록', '이슈 만들어', 'todo 등록', '버그 등록', '이슈 추가'. NOT for PR 본문 (use create-pr).
Create structured PR. Default: create new PR. Args: update (existing PR body). Trigger: 'PR 만들어줘', 'PR 생성', 'PR 올려', 'create PR', 'PR 업데이트', 'Human Test'. NOT for DA (use run-da). NOT for PR 코멘트 (use review-pr-feedback). NOT for 머지 후 종결 절차 (use finish-pr).
Run Codex CLI subprocesses for explicit codex exec requests, Claude Code or headless automation, and non-interactive code review. Use when requests mention `codex exec` or `비대화형 codex`. Use using-claude-p for Claude headless execution.
Run Devil's Advocate review on plans or code. Args: for_plan, for_pr, both, audit. Modifier: MAX, fresh, agent=<profile>, 사용자 지정 model/effort/tier (key=value 또는 자연어 지정). Trigger: 'DA', '피드백 루프', 'YAGNI 리뷰', '코드 리뷰 루프', 'run-da', 'HALLUCINATION 관점에서 코드 검증', '설계 검토', '코드 품질 리뷰', '간단한 변경 DA 필요 여부', 'DA 필요', 'DA 생략', '사이드이펙트 조사', '회귀 조사', '회귀 감사', '병렬 감사'. Also trigger when the user asks whether a simple change can skip DA; this skill owns the SKIP/LITE/FULL decision path. NOT for PR/AI review-comment HALLUCINATION classification (use review-pr-feedback). NOT for PR 코멘트 (use review-pr-feedback). NOT for 일반 전수조사/코드베이스 조사 (스킬 없이 직접 수행). NOT for DA session log/statistics/verdict 분포 정량 분석 (use analyzing-da-sessions, 사용자 명시 호출 전용).
基于 SOC 职业分类
| name | analyzing-da-sessions |
| disable-model-invocation | true |
| description | 사용자가 `/analyzing-da-sessions` 슬래시 명령으로 명시 호출했을 때만 DA 세션 로그 정량 통계를 측정한다. 자연어 trigger 매칭은 사용하지 않는다 — 자연어로 측정을 원하더라도 사용자가 명시 호출해야 한다. |
| argument-hint | [--hosts mac,minipc] [--corpus <manifest.json>] [--json out=<path>] [--host-home host=/abs/home] |
PR #670에서 사용한 session log 정량 측정 워크플로의 정식 Skill. run-da 워크플로 산출물(verdict, severity, stability_status)을 Mac+MiniPC 세션 로그 전체에서 추출하여 markdown 표 + JSON sidecar로 출력한다.
| 항목 | 위치 |
|---|---|
| Metric Catalog (M-1 ~ M-6, coverage, health 산식) | references/algorithm.md |
| jsonl 데이터 소스 + manifest.json 스키마 | references/data-sources.md |
| 출력 형식 (markdown + JSON spec, GitHub Mermaid 안전 subset) | references/output-format.md |
--hosts 인자 + SSH whitelist + partial result 처리 | references/host-handling.md |
| pytest 회귀 검증 driver | ../../../../../../../tests/run-analyzing-da-sessions-tests.sh |
# 기본: Mac + MiniPC 양쪽, live 전체 home log, markdown stdout + JSON sidecar 자동
/analyzing-da-sessions
# 단일 호스트 (디버그)
/analyzing-da-sessions --hosts mac
/analyzing-da-sessions --hosts minipc
# pinned corpus 모드 (PR #670 회귀 게이트 검증용; 미생성 — 별도 follow-up에서 capture)
/analyzing-da-sessions --corpus references/pr-670-baseline.json
# JSON sidecar 위치 명시 (영구 저장 의도)
/analyzing-da-sessions --json out=$HOME/da-stats-$(date +%Y%m%d).json
# username/home prefix가 기본 greenhead와 다른 환경
/analyzing-da-sessions --host-home mac=/Users/$USER,minipc=/home/$USER
| ID | 이름 | 의미 |
|---|---|---|
| M-1 | 검토 강도 verdict 분포 | Review Intensity 인라인 체크리스트 결과 (FULL / LITE / SKIP) 카운트 |
| M-2 | 판정자 verdict 분포 | Arbiter VERDICT_JSON verdict 카운트 (CONFIRMED_ISSUE / NOT_AN_ISSUE / NEEDS_MORE_INFO) |
| M-3 | reviewer 묶음별 confirmed-rate | 4 reviewer 묶음(correctness / design / regression / maintainability) 각각의 CONFIRMED_ISSUE 비율 |
| M-4 | 동일 세션 max severity 전이 | 같은 세션 내 round N → N+1 confirmed finding 집합의 max severity 전이 매트릭스 |
| M-5 | selective consistency stability_status 분포 | round summary selective: 라인의 stable / split / fragmented 카운트 |
| M-6 | persistence_key 비수렴 지표 | 같은 관점+위치+finding fingerprint가 여러 result block에 반복되는지 측정 |
| diagnostics | 추출 진단 | parse failure / template exclusion / invalid verdict / missing persistence component를 verdict와 분리 보존 |
| traceability | 소스 추적성 | host/format/cwd/git_branch/session_id/source refs coverage |
| weekly coverage | 주간 발행 신뢰도 | partial 여부, host별 수집 상태, marker missing rate, diagnostic rate |
| health | run-da 문서 건강 지표 | 문서 크기, drift 수리 커밋, 규칙 수 |
각 metric의 산식과 source는 references/algorithm.md가 단일 진실 원천이다.
측정에서 제외되는 항목 (산식 부재로 별도 follow-up):
--hosts <list> (default mac,minipc, whitelist {mac,minipc} reject-fast), --corpus <path> (선택), --json out=<path> (선택).subprocess.run(["ssh", alias, ...]) 고정 argv. SSH 실패 시 partial result 표시.analyze.py 알고리즘 적용 (4-tier fallback + source/confidence 라벨링)./tmp/analyze-da-sessions-<ISO>.json, override: --json out=) 동시 출력.JSON sidecar 핵심 예시:
{
"metrics": {"M-6": {"coverage": {"eligible_records": 12, "missing_persistence_components": 2}}},
"diagnostics": {"summary": {"parse_failure": 1, "exclusion": 3}},
"traceability": {"coverage": {"sessions_total": 10, "complete_sessions": 8}}
}
disable-model-invocation: true로 자동 trigger 차단. Codex 세션은 동등 메커니즘이 없으므로 자동 trigger 차단 보장이 best-effort이다 — 자연어 trigger 키워드를 description에서 빼는 방식으로 자동 매칭 surface를 줄이지만 구조적 차단은 아니다 (이슈 #671 D-2 YAGNI 결정).modules/nixos/programs/da-weekly-report/files/da-weekly-report.sh가 analyze.py를 직접 실행하고 weekly JSON/markdown을 조립한다. 따라서 D-2의 "명시 호출 전용 Skill" 경계와 자동 리포트 경로는 분리된다.--corpus pr-670-baseline.json pinned manifest 모드에서만 사용한다. 단 v1은 manifest 생성 절차(별도 producer 모드)를 포함하지 않는다 — PR #670 baseline manifest는 별도 follow-up에서 capture한다.stability_status (M-5)는 v1에서 round summary selective: 라인 source만 사용한다. fleiss-kappa.py aggregate envelope 호출은 selective consistency arbiter result 디렉터리를 session-level에서 직접 추적해야 하므로 corpus 전체 스캔 모델과 자연스럽게 결합되지 않아 v1에서 미연결 — round summary 부재 시 unavailable 표기.algorithm/contract fixture 9종과 exclusion manifest fixture는 pytest로 자동 검증한다:
# Repo root 기준, lefthook pre-push와 동일 driver
bash tests/run-analyzing-da-sessions-tests.sh
disable-model-invocation: true). Codex는 동등 메커니즘이 없어 자동 trigger 차단이 best-effort이다.--hosts 값은 {mac, minipc} whitelist 외에는 reject-fast.HOST_PATH_MAP base prefix 아래의 .jsonl 파일만 허용 (제어문자/shell metacharacter 거부 + posixpath.commonpath boundary 비교로 sibling-prefix 거부 — 상세는 references/host-handling.md "Command path vs validation/corpus path 역할 분리" 참조). SSH 명령 인자에는 host-neutral relative tilde 표현 (~/.claude/projects 등)을 사용한다./tmp/...)는 재시작 시 휘발. 영구 저장은 --json out= 명시.