phasegate 0.144.0 → 0.144.1

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/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.144.1] - 2026-05-10
11
+
12
+ ### Fixed
13
+
14
+ - **WI-142 — `ci:generate-template` default preset** — `--preset` 未指定時に存在しない `default` ではなく `standard` を使うようにし、`ci:generate-template --type agent-context-refresh --render` がそのまま成功するようにした。
15
+ - help / CLI reference も `--preset` の既定値が `standard` である説明に更新した。
16
+
10
17
  ## [0.144.0] - 2026-05-10
11
18
 
12
19
  ### Added
@@ -319,7 +319,7 @@ ISSUE-005 P3-10 で明確化された境界:
319
319
 
320
320
  | Command | Options | Description |
321
321
  |---|---|---|
322
- | `ci:generate-template` | `--preset <id>` `--type <type>` `--render` `--json` | Generate CI/CD template |
322
+ | `ci:generate-template` | `--preset <id>`(省略時 `standard`) `--type <type>` `--render` `--json` | Generate CI/CD template |
323
323
  | `ci:migrate-agents-md` | `--dry-run` `--validate-only` `--json` | Migrate AGENTS.md to pointer format |
324
324
  | `ci:auto-refresh-agent-context` | `--dry-run` `--apply` `--json` | Refresh AGENTS.md pointers and CLAUDE.md standard sections |
325
325
  | `refresh-claude-md` | `--dry-run` `--apply` `--json` | Refresh CLAUDE.md while preserving the user-owned section |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phasegate",
3
- "version": "0.144.0",
3
+ "version": "0.144.1",
4
4
  "packageManager": "pnpm@10.30.1",
5
5
  "description": "Phasegate — AI-agnostic quality defense toolkit. Enforces structural integrity between design intent and code.",
6
6
  "license": "MIT",
@@ -125,7 +125,7 @@ Commands:
125
125
  phasegate:complete-check Complete L2-L4 check (--json)
126
126
  phasegate:impact-analysis Impact analysis for story (<storyId>, --json)
127
127
 
128
- ci:generate-template Generate CI template (--preset <id>, --type <aidlc-gate|consistency-check|pre-commit|agent-context-refresh>, --render, --json)
128
+ ci:generate-template Generate CI template (--preset <id>, default: standard; --type <aidlc-gate|consistency-check|pre-commit|agent-context-refresh>, --render, --json)
129
129
  ci:migrate-agents-md Migrate AGENTS.md (--dry-run, --validate-only, --json)
130
130
  ci:auto-refresh-agent-context Refresh AGENTS.md / CLAUDE.md (--dry-run, --apply, --json)
131
131
  refresh-claude-md Refresh CLAUDE.md standard sections (--dry-run, --apply, --json)
@@ -367,7 +367,7 @@ Examples:
367
367
  Generates a CI template configuration.
368
368
 
369
369
  Options:
370
- --preset <id> Preset name (e.g. standard, strict). Required.
370
+ --preset <id> Preset name (e.g. standard, strict). Default: standard.
371
371
  --type <type> Template purpose (NOT CI platform name). One of:
372
372
  aidlc-gate — AIDLC phase gate checks
373
373
  consistency-check — Doc/code consistency checks
@@ -377,7 +377,7 @@ Options:
377
377
  --json Output in JSON format
378
378
 
379
379
  Examples:
380
- phasegate ci:generate-template --preset standard --type aidlc-gate
380
+ phasegate ci:generate-template --type aidlc-gate
381
381
  phasegate ci:generate-template --preset strict --type pre-commit --render`,
382
382
  };
383
383
 
@@ -1253,21 +1253,22 @@ async function main(): Promise<void> {
1253
1253
  Generates a CI template configuration.
1254
1254
 
1255
1255
  Options:
1256
- --preset <id> Preset name (e.g. standard, strict). Required.
1256
+ --preset <id> Preset name (e.g. standard, strict). Default: standard.
1257
1257
  --type <type> Template purpose (NOT CI platform name). One of:
1258
1258
  aidlc-gate — AIDLC phase gate checks
1259
1259
  consistency-check — Doc/code consistency checks
1260
1260
  pre-commit — Pre-commit hook template
1261
+ agent-context-refresh — AGENTS.md / CLAUDE.md refresh workflow
1261
1262
  --render Render the template to stdout
1262
1263
  --json Output in JSON format
1263
1264
 
1264
1265
  Examples:
1265
- phasegate ci:generate-template --preset standard --type aidlc-gate
1266
+ phasegate ci:generate-template --type aidlc-gate
1266
1267
  phasegate ci:generate-template --preset strict --type pre-commit --render`);
1267
1268
  process.exit(0);
1268
1269
  }
1269
1270
  const mod = buildCiGovernance(rootDir, harnessRoot);
1270
- const presetId = parseFlag(args, "--preset") ?? "default";
1271
+ const presetId = parseFlag(args, "--preset") ?? "standard";
1271
1272
  const templateType = parseFlag(args, "--type") ?? "aidlc-gate";
1272
1273
  const render = hasFlag(args, "--render");
1273
1274
  const format = json ? "json" : "human";