Skip to main content

docket-feature

Use when starting work that will outlast this session or go to another agent, when resuming work an earlier session left uncommitted or unfinished, when the briefing shows a feature or a feature hint, or before merging, squashing or rebasing a branch that carries a feature.

소스 정보

저장소
NovusEdge/docket
최근 소스 활동
2026년 10월 7일 20:14
감지된 SKILL.md 언어
영어
스타
2
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
docket-feature
description
Use when starting work that will outlast this session or go to another agent, when resuming work an earlier session left uncommitted or unfinished, when the briefing shows a feature or a feature hint, or before merging, squashing or rebasing a branch that carries a feature.
# docket-feature The feature store tracks work in flight: what a piece of work intends, the paths it declares, and what it actually changed. It never writes to the ledger. Use the absolute command path supplied by the session context. The examples use `docket` for readability. ## When to start a feature Start one before work that spans more than one session, or whose blast radius is worth declaring: a change that touches several files, crosses a module boundary, or another agent might pick up later. Do not start one for a one-line fix or a change you will finish and commit in this turn. The session briefing opens with a `# feature: none open` line when the working tree carries uncommitted changes and no feature is open. Those changes came from an earlier session. Start a feature for them if the work continues past this one; commit a leftover edit instead if it is already finished. ## Starting work ```sh docket feature start opencode-discovery \ --text "Installer places the OpenCode plugin where discovery finds it" \ --path installer/** ``` A declared path needs a `/` or a glob character. `--path installer` or `--path Makefile` matches nothing and `start` refuses both. ## Resuming work Run `docket feature brief` first, before anything else, when picking up a feature already started: ```sh docket feature brief opencode-discovery ``` The brief derives which ledger records govern the feature from its declared paths and prints each one with three numbers: - `strength` is the same scope score `docket context` ranks records by. - `specificity` is the length of the matching glob's literal prefix; a record scoped to one file outranks one scoped to a directory glob even at equal strength. - `matches` is how many of the feature's files that glob covers. A rank you disagree with is visible on the line that produced it. Correct it with amend: ```sh docket feature amend opencode-discovery --exclude d81 docket feature amend opencode-discovery --include q75 ``` Each flag replaces the whole list. To drop an override rather than change it, clear the list by name: ```sh docket feature amend opencode-discovery --clear exclude ``` ## Status and blocked `docket feature list` and `docket feature show` report `blocked` when an attached decision derives as blocked, the same prerequisite relation `docket context` computes for every decision. An open question in the feature's scope does not block it on its own; scope overlap alone would fire on nearly every feature. Work stalled on a question is declared `paused` by hand: ```sh docket feature amend opencode-discovery --status paused ``` ## After a ledger merge A ledger merge can renumber the records a feature cites in `--include` or `--exclude`. The feature store keeps a key for each cited record, so the brief follows a renumbered record to its new ID, and `docket check` reports each ID that moved. Repoint the stored lists with: ```sh docket feature remap ``` `remap` needs no argument: it follows those keys. Pass the map file from `docket rebase --emit-map PATH` to repoint through that map instead. `features.jsonl` merges through the same git merge driver as the ledger; `docket init` registers it. ## Closing work Run `done` before squashing or rebasing the branch. Once the fork point is no longer an ancestor of HEAD, `done` refuses and names the stale SHA. ```sh docket feature done opencode-discovery ``` `done` prints two change-set lists: paths the branch changed that the feature declared, and paths it changed outside them. A file outside the declared paths is not an error, it is a fact to notice before merging. ## The claim prompt at done `done` asks only about claims whose scope intersects the paths the branch actually changed; a claim about code the work never touched gained no new evidence. Mark verdicts with `--held` and `--failed`: ```sh docket feature done opencode-discovery --held c12 --failed c9 ``` For each `--failed` claim, `done` prints the `docket claim ... --supersedes` command that would record the correction, then stops. Docket never writes that record. Run the printed command yourself.
GitHub에서 보기