lee-spec-kit 0.6.12 → 0.6.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +9 -6
- package/README.md +8 -5
- package/dist/index.js +709 -51
- package/package.json +1 -1
- package/templates/en/common/agents/agents.md +5 -3
- package/templates/en/common/agents/issue-template.md +1 -0
- package/templates/en/common/agents/pr-template.md +1 -0
- package/templates/en/common/agents/skills/create-feature.md +1 -0
- package/templates/en/common/agents/skills/create-issue.md +17 -10
- package/templates/en/common/agents/skills/create-pr.md +17 -9
- package/templates/en/common/agents/skills/execute-task.md +23 -11
- package/templates/en/common/features/README.md +17 -1
- package/templates/en/common/features/feature-base/decisions.md +18 -0
- package/templates/en/common/features/feature-base/issue.md +34 -0
- package/templates/en/common/features/feature-base/plan.md +1 -1
- package/templates/en/common/features/feature-base/pr.md +35 -0
- package/templates/en/common/features/feature-base/spec.md +1 -1
- package/templates/en/common/features/feature-base/tasks.md +8 -3
- package/templates/ko/common/agents/agents.md +5 -3
- package/templates/ko/common/agents/issue-template.md +1 -0
- package/templates/ko/common/agents/pr-template.md +1 -0
- package/templates/ko/common/agents/skills/create-feature.md +1 -0
- package/templates/ko/common/agents/skills/create-issue.md +17 -10
- package/templates/ko/common/agents/skills/create-pr.md +17 -9
- package/templates/ko/common/agents/skills/execute-task.md +14 -2
- package/templates/ko/common/features/README.md +17 -1
- package/templates/ko/common/features/feature-base/decisions.md +18 -0
- package/templates/ko/common/features/feature-base/issue.md +34 -0
- package/templates/ko/common/features/feature-base/plan.md +1 -1
- package/templates/ko/common/features/feature-base/pr.md +35 -0
- package/templates/ko/common/features/feature-base/spec.md +1 -1
- package/templates/ko/common/features/feature-base/tasks.md +8 -3
package/README.en.md
CHANGED
|
@@ -227,14 +227,14 @@ Use advanced selectors (`--component`, `--all`, `--done`) only when you need mul
|
|
|
227
227
|
- `primaryActionLabel` / `primaryActionType` / `primaryActionCategory` / `primaryActionOperationType`: summary metadata for the first atomic action
|
|
228
228
|
- `workflowPolicy`: current completion policy (`mode`, `requireIssue`, `requireBranch`, `requirePr`, `requireReview`)
|
|
229
229
|
- `taskCommitGatePolicy`: task commit gate policy (`off` | `warn` | `strict`)
|
|
230
|
-
- `prePrReviewPolicy`: pre-PR review policy (`enabled`, `skills`, `fallback`, `blockOnFindings`)
|
|
230
|
+
- `prePrReviewPolicy`: pre-PR review policy (`enabled`, `skills`, `fallback`, `blockOnFindings`, `minorPolicy`)
|
|
231
231
|
|
|
232
232
|
Error payloads (`status: "error"`) include `reasonCode` and labeled `suggestions` (`A/B/C`) (e.g. `INVALID_APPROVAL`, `CONTEXT_STALE`, `EXECUTION_FAILED`, `EXECUTION_NOT_COMMAND`).
|
|
233
233
|
|
|
234
234
|
### Built-in Docs
|
|
235
235
|
|
|
236
236
|
If you do not restore `agents.md` into project docs, fetch CLI-managed guides directly:
|
|
237
|
-
`docs get create-issue|issue-
|
|
237
|
+
`docs get create-issue|issue-doc|create-pr|pr-doc --json` also returns `contract` (required sections / artifact rules).
|
|
238
238
|
|
|
239
239
|
```bash
|
|
240
240
|
# list built-in docs
|
|
@@ -245,9 +245,9 @@ npx lee-spec-kit docs get agents --json
|
|
|
245
245
|
|
|
246
246
|
# issue/PR procedure + templates
|
|
247
247
|
npx lee-spec-kit docs get create-issue --json
|
|
248
|
-
npx lee-spec-kit docs get issue-
|
|
248
|
+
npx lee-spec-kit docs get issue-doc --json
|
|
249
249
|
npx lee-spec-kit docs get create-pr --json
|
|
250
|
-
npx lee-spec-kit docs get pr-
|
|
250
|
+
npx lee-spec-kit docs get pr-doc --json
|
|
251
251
|
```
|
|
252
252
|
|
|
253
253
|
### View
|
|
@@ -353,6 +353,7 @@ npx lee-spec-kit --no-banner --help
|
|
|
353
353
|
```
|
|
354
354
|
|
|
355
355
|
You can also disable banner output via `LEE_SPEC_KIT_NO_BANNER=1`.
|
|
356
|
+
Banner output is also suppressed by default for non-TTY runs (for example, agent/pipeline execution).
|
|
356
357
|
|
|
357
358
|
### Doctor
|
|
358
359
|
|
|
@@ -473,6 +474,7 @@ Running `init` creates `.lee-spec-kit.json` in your docs root (default: `docs/`)
|
|
|
473
474
|
- `skills` (optional): preferred skill names in priority order (default: `["code-review-excellence"]`)
|
|
474
475
|
- `fallback` (optional): fallback policy when no skill can run (default: `"builtin-checklist"`)
|
|
475
476
|
- `blockOnFindings` (optional): require major findings to be resolved/aligned before PR creation (default: `true`)
|
|
477
|
+
- `minorPolicy` (optional): minor findings policy (`warn` | `block`, default: `warn`)
|
|
476
478
|
|
|
477
479
|
Example:
|
|
478
480
|
|
|
@@ -485,7 +487,8 @@ Example:
|
|
|
485
487
|
"prePrReview": {
|
|
486
488
|
"skills": ["code-review-excellence"],
|
|
487
489
|
"fallback": "builtin-checklist",
|
|
488
|
-
"blockOnFindings": true
|
|
490
|
+
"blockOnFindings": true,
|
|
491
|
+
"minorPolicy": "warn"
|
|
489
492
|
}
|
|
490
493
|
}
|
|
491
494
|
}
|
|
@@ -584,4 +587,4 @@ For the full code list and meanings, see `errors.en.md` (English) or `errors.md`
|
|
|
584
587
|
|
|
585
588
|
See the Korean README for the full tree examples and workflow details: `README.md`.
|
|
586
589
|
|
|
587
|
-
Note: generated docs keep project-scoped policy docs (`agents/custom.md`, `agents/constitution.md`) and do not sync CLI-managed docs (`agents.md`, `agents/skills/*`, `git-workflow.md`, `
|
|
590
|
+
Note: generated docs keep project-scoped policy docs (`agents/custom.md`, `agents/constitution.md`) and do not sync CLI-managed docs (`agents.md`, `agents/skills/*`, `git-workflow.md`, `features/feature-base/*`).
|
package/README.md
CHANGED
|
@@ -244,14 +244,14 @@ npx lee-spec-kit context F001 --approve A --execute --ticket <TICKET> --execute-
|
|
|
244
244
|
- `primaryActionLabel`/`primaryActionType`/`primaryActionCategory`/`primaryActionOperationType`: 첫 번째 원자 액션 요약 메타데이터
|
|
245
245
|
- `workflowPolicy`: 현재 완료 조건 정책 (`mode`, `requireIssue`, `requireBranch`, `requirePr`, `requireReview`)
|
|
246
246
|
- `taskCommitGatePolicy`: 태스크 커밋 게이트 정책 (`off` | `warn` | `strict`)
|
|
247
|
-
- `prePrReviewPolicy`: pre-PR 리뷰 정책 (`enabled`, `skills`, `fallback`, `blockOnFindings`)
|
|
247
|
+
- `prePrReviewPolicy`: pre-PR 리뷰 정책 (`enabled`, `skills`, `fallback`, `blockOnFindings`, `minorPolicy`)
|
|
248
248
|
|
|
249
249
|
오류 응답(`status: "error"`)에는 `reasonCode`와 `suggestions`(라벨형 다음 동작: `A/B/C`)가 포함됩니다. (예: `INVALID_APPROVAL`, `CONTEXT_STALE`, `EXECUTION_FAILED`, `EXECUTION_NOT_COMMAND`)
|
|
250
250
|
|
|
251
251
|
### CLI 내장 문서 조회
|
|
252
252
|
|
|
253
253
|
`agents.md`를 프로젝트에 복구하지 않는 환경에서는 아래 명령으로 내장 가이드를 직접 조회할 수 있습니다.
|
|
254
|
-
`docs get create-issue|issue-
|
|
254
|
+
`docs get create-issue|issue-doc|create-pr|pr-doc --json` 응답에는 `contract`(필수 섹션/아티팩트 규칙)도 포함됩니다.
|
|
255
255
|
|
|
256
256
|
```bash
|
|
257
257
|
# 조회 가능한 내장 문서 목록
|
|
@@ -262,9 +262,9 @@ npx lee-spec-kit docs get agents --json
|
|
|
262
262
|
|
|
263
263
|
# 이슈/PR 절차 + 템플릿
|
|
264
264
|
npx lee-spec-kit docs get create-issue --json
|
|
265
|
-
npx lee-spec-kit docs get issue-
|
|
265
|
+
npx lee-spec-kit docs get issue-doc --json
|
|
266
266
|
npx lee-spec-kit docs get create-pr --json
|
|
267
|
-
npx lee-spec-kit docs get pr-
|
|
267
|
+
npx lee-spec-kit docs get pr-doc --json
|
|
268
268
|
```
|
|
269
269
|
|
|
270
270
|
### View 대시보드
|
|
@@ -378,6 +378,7 @@ npx lee-spec-kit --no-banner --help
|
|
|
378
378
|
```
|
|
379
379
|
|
|
380
380
|
또는 환경변수 `LEE_SPEC_KIT_NO_BANNER=1`로 배너 출력을 비활성화할 수 있습니다.
|
|
381
|
+
비TTY 출력(예: 에이전트/파이프라인)에서는 배너가 기본적으로 출력되지 않습니다.
|
|
381
382
|
|
|
382
383
|
### 문서 진단 (Doctor)
|
|
383
384
|
|
|
@@ -519,6 +520,7 @@ npx lee-spec-kit update --force
|
|
|
519
520
|
- `skills` (선택): 우선순위 스킬 목록 (기본: `["code-review-excellence"]`)
|
|
520
521
|
- `fallback` (선택): 스킬 미사용 시 폴백 정책 (기본: `"builtin-checklist"`)
|
|
521
522
|
- `blockOnFindings` (선택): 주요 이슈 발견 시 PR 생성 전 해결/합의를 요구할지 여부 (기본: `true`)
|
|
523
|
+
- `minorPolicy` (선택): minor 이슈 정책 (`warn` | `block`, 기본: `warn`)
|
|
522
524
|
|
|
523
525
|
예시:
|
|
524
526
|
|
|
@@ -531,7 +533,8 @@ npx lee-spec-kit update --force
|
|
|
531
533
|
"prePrReview": {
|
|
532
534
|
"skills": ["code-review-excellence"],
|
|
533
535
|
"fallback": "builtin-checklist",
|
|
534
|
-
"blockOnFindings": true
|
|
536
|
+
"blockOnFindings": true,
|
|
537
|
+
"minorPolicy": "warn"
|
|
535
538
|
}
|
|
536
539
|
}
|
|
537
540
|
}
|