qfai 0.3.4 → 0.3.5
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.md +2 -2
- package/assets/init/.qfai/README.md +9 -0
- package/assets/init/.qfai/promptpack/commands/implement.md +6 -0
- package/assets/init/.qfai/promptpack/commands/plan.md +9 -0
- package/assets/init/.qfai/promptpack/commands/release.md +6 -0
- package/assets/init/.qfai/promptpack/commands/review.md +6 -0
- package/assets/init/.qfai/promptpack/constitution.md +15 -0
- package/assets/init/.qfai/promptpack/modes/change.md +4 -0
- package/assets/init/.qfai/promptpack/modes/compatibility.md +4 -0
- package/assets/init/.qfai/promptpack/roles/qa.md +4 -0
- package/assets/init/.qfai/promptpack/roles/spec.md +4 -0
- package/assets/init/.qfai/promptpack/roles/test.md +4 -0
- package/assets/init/.qfai/promptpack/steering/compatibility-vs-change.md +8 -0
- package/assets/init/.qfai/promptpack/steering/naming.md +7 -0
- package/assets/init/.qfai/promptpack/steering/traceability.md +9 -0
- package/assets/init/.qfai/rules/conventions.md +6 -0
- package/dist/cli/index.cjs +2 -2
- package/dist/cli/index.mjs +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# QFAI Toolkit (v0.3.
|
|
1
|
+
# QFAI Toolkit (v0.3.5)
|
|
2
2
|
|
|
3
3
|
Single-package distribution for QFAI.
|
|
4
4
|
|
|
@@ -18,7 +18,7 @@ npx qfai report
|
|
|
18
18
|
|
|
19
19
|
## できること
|
|
20
20
|
|
|
21
|
-
- `npx qfai init` によるテンプレート生成(specs/contracts に加え、`.qfai/require/README.md`、`.qfai/rules/pnpm.md`、`.qfai/prompts/require-to-spec.md
|
|
21
|
+
- `npx qfai init` によるテンプレート生成(specs/contracts に加え、`.qfai/require/README.md`、`.qfai/rules/pnpm.md`、`.qfai/prompts/require-to-spec.md`、`.qfai/promptpack/` を含む)
|
|
22
22
|
- `npx qfai validate` による `.qfai/` 内ドキュメントの整合性・トレーサビリティ検査
|
|
23
23
|
- `npx qfai report` によるレポート出力
|
|
24
24
|
|
|
@@ -16,6 +16,7 @@ npx qfai report
|
|
|
16
16
|
- `require/` : 既存要件の集約(validate 対象外)
|
|
17
17
|
- `rules/` : 規約・運用ルール
|
|
18
18
|
- `prompts/` : 生成プロンプト資産(自動読取はしない)
|
|
19
|
+
- `promptpack/` : PromptPack(SSOT、運用ルール/観点の正本)
|
|
19
20
|
- `out/` : `validate` / `report` の出力先(gitignore 推奨)
|
|
20
21
|
|
|
21
22
|
詳細は各 README を参照してください。
|
|
@@ -27,6 +28,7 @@ npx qfai report
|
|
|
27
28
|
- `rules/pnpm.md`
|
|
28
29
|
- `prompts/README.md`
|
|
29
30
|
- `prompts/require-to-spec.md`
|
|
31
|
+
- `promptpack/constitution.md`
|
|
30
32
|
- `out/README.md`
|
|
31
33
|
|
|
32
34
|
## 設定と CI
|
|
@@ -45,3 +47,10 @@ npx qfai report
|
|
|
45
47
|
- Codex: `AGENTS.md` に要旨を転記
|
|
46
48
|
|
|
47
49
|
詳細は `prompts/README.md` を参照してください。
|
|
50
|
+
|
|
51
|
+
## PromptPack の使い方(重要)
|
|
52
|
+
|
|
53
|
+
`promptpack/` は **運用ルール/観点の正本**です。自動読取は行わず、必要な章を手動で参照・転記します。
|
|
54
|
+
|
|
55
|
+
- 入口: `promptpack/constitution.md`
|
|
56
|
+
- 手動配置の例: Copilot/Claude/Codex 向けの指示ファイル
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# PromptPack Constitution
|
|
2
|
+
|
|
3
|
+
PromptPack はプロジェクト内の SSOT(Single Source of Truth)として扱う。
|
|
4
|
+
|
|
5
|
+
## 基本原則
|
|
6
|
+
|
|
7
|
+
- spec/scenario/delta/BR/SC を最優先で読む
|
|
8
|
+
- 変更は delta.md に記録し、互換維持/変更の区分を明示する
|
|
9
|
+
- validate を通すことを必須とする(通らないなら仕様/運用が破綻している)
|
|
10
|
+
- 不確実性(仮説/未確定/TODO)は残し方針を統一する
|
|
11
|
+
|
|
12
|
+
## 運用
|
|
13
|
+
|
|
14
|
+
- PromptPack は人が手動で参照する前提とする
|
|
15
|
+
- 自動配置は v0.9 の emit/adapter まで行わない
|
|
@@ -19,3 +19,9 @@
|
|
|
19
19
|
- `delta.md` では **必ずどちらか1つにチェック**する
|
|
20
20
|
- 両方ON/両方OFFは無効(エラー)
|
|
21
21
|
- 迷った場合は「影響範囲」「受入観点」を追記して明文化する
|
|
22
|
+
|
|
23
|
+
## OQ表記の扱い(対象範囲の限定)
|
|
24
|
+
|
|
25
|
+
- OQ表記の排除は、現行仕様として参照される場所に限定する
|
|
26
|
+
- 対象例: `packages/qfai/assets/init/.qfai/`, `.github/PULL_REQUEST_TEMPLATE.md`, `README.md`, `packages/qfai/README.md`
|
|
27
|
+
- 意思決定ログ/ロードマップ(例: `docs/roadmap/`)は対象外とし、履歴の削除を誘発しない
|
package/dist/cli/index.cjs
CHANGED
|
@@ -716,8 +716,8 @@ var import_promises6 = require("fs/promises");
|
|
|
716
716
|
var import_node_path7 = __toESM(require("path"), 1);
|
|
717
717
|
var import_node_url2 = require("url");
|
|
718
718
|
async function resolveToolVersion() {
|
|
719
|
-
if ("0.3.
|
|
720
|
-
return "0.3.
|
|
719
|
+
if ("0.3.5".length > 0) {
|
|
720
|
+
return "0.3.5";
|
|
721
721
|
}
|
|
722
722
|
try {
|
|
723
723
|
const packagePath = resolvePackageJsonPath();
|
package/dist/cli/index.mjs
CHANGED
|
@@ -693,8 +693,8 @@ import { readFile as readFile2 } from "fs/promises";
|
|
|
693
693
|
import path7 from "path";
|
|
694
694
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
695
695
|
async function resolveToolVersion() {
|
|
696
|
-
if ("0.3.
|
|
697
|
-
return "0.3.
|
|
696
|
+
if ("0.3.5".length > 0) {
|
|
697
|
+
return "0.3.5";
|
|
698
698
|
}
|
|
699
699
|
try {
|
|
700
700
|
const packagePath = resolvePackageJsonPath();
|
package/dist/index.cjs
CHANGED
|
@@ -591,8 +591,8 @@ var import_promises5 = require("fs/promises");
|
|
|
591
591
|
var import_node_path4 = __toESM(require("path"), 1);
|
|
592
592
|
var import_node_url = require("url");
|
|
593
593
|
async function resolveToolVersion() {
|
|
594
|
-
if ("0.3.
|
|
595
|
-
return "0.3.
|
|
594
|
+
if ("0.3.5".length > 0) {
|
|
595
|
+
return "0.3.5";
|
|
596
596
|
}
|
|
597
597
|
try {
|
|
598
598
|
const packagePath = resolvePackageJsonPath();
|
package/dist/index.mjs
CHANGED
|
@@ -534,8 +534,8 @@ import { readFile as readFile2 } from "fs/promises";
|
|
|
534
534
|
import path4 from "path";
|
|
535
535
|
import { fileURLToPath } from "url";
|
|
536
536
|
async function resolveToolVersion() {
|
|
537
|
-
if ("0.3.
|
|
538
|
-
return "0.3.
|
|
537
|
+
if ("0.3.5".length > 0) {
|
|
538
|
+
return "0.3.5";
|
|
539
539
|
}
|
|
540
540
|
try {
|
|
541
541
|
const packagePath = resolvePackageJsonPath();
|