원클릭으로
source-command-log-session
Register the current session (creates a session file + updates CHANGELOG). Use at the end.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Register the current session (creates a session file + updates CHANGELOG). Use at the end.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Domain Engineering diagnostic — shows what the classifier decides for an objective (CMIS/DAS/profile/skills/mode). Observation-only; never mutates or blocks.
Business-driven methodology entry point — classify (intake), create/advance an Operation or Business work context, and drive the intake → operation → nested-workflow flow. Host-neutral; dry-run by default.
Workflow Navigator — shows the current phase, deliverables, and next commands for an ADR-0057 workflow. Read-only; never mutates state.
Start a focused session on one objective — locks scope, blocks opportunistic refactors.
Deterministic QA gate (ADR-0055) — run the project suite; green + complete acceptance criteria ⇒ qa-approve testing cards into conclusion; red ⇒ report (and qa-reject only attributable failures).
L6 — autonomous feature pipeline. Drives the full squad: design → implement → review → test → log. Checkpoints can be manual or automatic.
SOC 직업 분류 기준
| name | source-command-log-session |
| description | Register the current session (creates a session file + updates CHANGELOG). Use at the end. |
Use this skill when the user asks to run the migrated source command log-session.
Register the current work session.
Routing posture (ADR-0094). The data-gathering below is deterministic — run the
node …scripts (session-draft,session-reindex,predictions-review,distill-detect) directly via the runner; if a step needs broad mechanical investigation (git diff/log triage, multi-file evidence), batch it to a Haiku agent and accept its compact pack rather than re-reading files in premium context. Reserve Opus/Sonnet for writing the narrative. (Silent ifrouting.enabled=false.)
Steps:
Find the next session number. List contextkit/memory/sessions/. Each file is
<YYYY-MM-DD>-<NN>-<slug>.md. The next NN = highest existing + 1 (zero-padded, min 2 digits).
If the folder is empty, start at 01.
Create the session file contextkit/memory/sessions/<today>-<NN>-<slug>.md where <slug>
is a short kebab-case description (lowercase a-z0-9._- only). Use this structure:
# <Human-readable title>
- **Date**: <YYYY-MM-DD>
- **Session number**: <NN>
- **Branch**: `<git branch>`
## Request
<what the user asked for>
## Done
<what was implemented/decided — files, key changes>
## Decisions
<any architectural choices; link ADRs as [ADR-NNNN](../decisions/NNNN-...md)>
## Final state
<what works, what is pending, the natural next step>
Pre-fill from the ledger [ADR-0032] — don't start from a blank page:
node contextkit/tools/scripts/session-draft.mjs
It reads the active ledger and emits a grouped Done scaffold (files by area)
Workflow reports [ADR-0057] — if this session worked from a workflow spec
pack, also read contextkit/memory/workflows/<slug>/reports/<today>.md (or run
node contextkit/tools/scripts/workflow.mjs report <slug> --task <id> first).
Pull the task refs, diff summary, verification line, and conclusion date into
the session narrative instead of writing an abstract "worked on X" summary.
Update docs/CHANGELOG.md — add bullet(s) under ## [Unreleased] describing user-facing
or structural changes (Keep a Changelog style: Added / Changed / Fixed / Removed).
Regenerate the index: run node contextkit/tools/scripts/session-reindex.mjs.
Close the predicted-vs-actual loop (if this session ran /simulate-impact): run
node contextkit/tools/scripts/predictions-review.mjs — it fills the Actual section of each
prediction file from the ledger (paths actually changed vs predicted). No-op if there were
no simulations.
Scan for rule-like phrases (ticket 043 — proposal-only, never auto-applies). After the session file is written, run:
node contextkit/tools/scripts/distill-detect.mjs contextkit/memory/sessions/<the-file-you-just-wrote>.md
If the detector surfaces candidates ("we decided X" / "from now on Y" / "always Z" / "convention:" /
"lesson learned"), pass the line through to the user verbatim. Do not invoke
/distill-sessions yourself — the user runs it (or doesn't). Silent on neutral sessions.
Confirm to the user: session number, file path, and CHANGELOG lines added.
Editing contextkit/memory/SESSIONS.md (via reindex) and docs/CHANGELOG.md marks the session as
registered, which silences the Stop drift nudge.