lee-spec-kit 0.6.13 → 0.6.15

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.
Files changed (28) hide show
  1. package/README.en.md +11 -7
  2. package/README.md +10 -6
  3. package/dist/index.js +1165 -285
  4. package/package.json +1 -1
  5. package/templates/en/common/agents/agents.md +3 -2
  6. package/templates/en/common/agents/issue-template.md +1 -0
  7. package/templates/en/common/agents/pr-template.md +1 -0
  8. package/templates/en/common/agents/skills/create-issue.md +16 -10
  9. package/templates/en/common/agents/skills/create-pr.md +31 -9
  10. package/templates/en/common/agents/skills/execute-task.md +1 -1
  11. package/templates/en/common/features/README.md +26 -0
  12. package/templates/en/common/features/feature-base/issue.md +33 -0
  13. package/templates/en/common/features/feature-base/plan.md +1 -1
  14. package/templates/en/common/features/feature-base/pr.md +32 -0
  15. package/templates/en/common/features/feature-base/spec.md +1 -2
  16. package/templates/en/common/features/feature-base/tasks.md +13 -3
  17. package/templates/ko/common/agents/agents.md +3 -2
  18. package/templates/ko/common/agents/issue-template.md +1 -0
  19. package/templates/ko/common/agents/pr-template.md +1 -0
  20. package/templates/ko/common/agents/skills/create-issue.md +16 -10
  21. package/templates/ko/common/agents/skills/create-pr.md +31 -9
  22. package/templates/ko/common/agents/skills/execute-task.md +1 -1
  23. package/templates/ko/common/features/README.md +26 -0
  24. package/templates/ko/common/features/feature-base/issue.md +33 -0
  25. package/templates/ko/common/features/feature-base/plan.md +1 -1
  26. package/templates/ko/common/features/feature-base/pr.md +32 -0
  27. package/templates/ko/common/features/feature-base/spec.md +1 -2
  28. package/templates/ko/common/features/feature-base/tasks.md +13 -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-template|create-pr|pr-template --json` also returns `contract` (required sections / artifact rules).
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-template --json
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-template --json
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
 
@@ -471,8 +472,10 @@ Running `init` creates `.lee-spec-kit.json` in your docs root (default: `docs/`)
471
472
  - `workflow.prePrReview`:
472
473
  - `enabled` (optional): enforce pre-PR review stage (default: same as `requirePr`)
473
474
  - `skills` (optional): preferred skill names in priority order (default: `["code-review-excellence"]`)
474
- - `fallback` (optional): fallback policy when no skill can run (default: `"builtin-checklist"`)
475
+ - `fallback` (optional): baseline review policy (default: `"builtin-checklist"`)
476
+ - Use the `Pre-PR Baseline Checklist` section in `docs get create-pr --json` as the single source of truth
475
477
  - `blockOnFindings` (optional): require major findings to be resolved/aligned before PR creation (default: `true`)
478
+ - `minorPolicy` (optional): minor findings policy (`warn` | `block`, default: `warn`)
476
479
 
477
480
  Example:
478
481
 
@@ -485,7 +488,8 @@ Example:
485
488
  "prePrReview": {
486
489
  "skills": ["code-review-excellence"],
487
490
  "fallback": "builtin-checklist",
488
- "blockOnFindings": true
491
+ "blockOnFindings": true,
492
+ "minorPolicy": "warn"
489
493
  }
490
494
  }
491
495
  }
@@ -584,4 +588,4 @@ For the full code list and meanings, see `errors.en.md` (English) or `errors.md`
584
588
 
585
589
  See the Korean README for the full tree examples and workflow details: `README.md`.
586
590
 
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`, `issue-template.md`, `pr-template.md`, `features/feature-base/*`).
591
+ 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-template|create-pr|pr-template --json` 응답에는 `contract`(필수 섹션/아티팩트 규칙)도 포함됩니다.
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-template --json
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-template --json
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
 
@@ -517,8 +518,10 @@ npx lee-spec-kit update --force
517
518
  - `workflow.prePrReview`:
518
519
  - `enabled` (선택): pre-PR 리뷰 단계를 강제할지 여부 (기본: `requirePr`와 동일)
519
520
  - `skills` (선택): 우선순위 스킬 목록 (기본: `["code-review-excellence"]`)
520
- - `fallback` (선택): 스킬 미사용 시 폴백 정책 (기본: `"builtin-checklist"`)
521
+ - `fallback` (선택): 기본 베이스라인 정책 (기본: `"builtin-checklist"`)
522
+ - 상세 기준은 `docs get create-pr --json`의 `Pre-PR 기본 체크리스트` 섹션을 단일 기준으로 사용
521
523
  - `blockOnFindings` (선택): 주요 이슈 발견 시 PR 생성 전 해결/합의를 요구할지 여부 (기본: `true`)
524
+ - `minorPolicy` (선택): minor 이슈 정책 (`warn` | `block`, 기본: `warn`)
522
525
 
523
526
  예시:
524
527
 
@@ -531,7 +534,8 @@ npx lee-spec-kit update --force
531
534
  "prePrReview": {
532
535
  "skills": ["code-review-excellence"],
533
536
  "fallback": "builtin-checklist",
534
- "blockOnFindings": true
537
+ "blockOnFindings": true,
538
+ "minorPolicy": "warn"
535
539
  }
536
540
  }
537
541
  }