{
  "slug": "cdk-init-accepts-custom-project-names-with-project-00fab97c09bf",
  "title": "cdk init accepts custom project names with --project",
  "tools": [
    "cdk"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-15T09:09:10.000Z",
  "announced_at": "2026-01-15T09:09:10.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When initializing a CDK project with a custom name, run `cdk init` with a template, language, and `-n <project-name>`. The versioned source documents the long option as `--project-name` (the release note says `--project`).",
    "examples": [
      "cdk init app --language=typescript -n <project-name>"
    ],
    "gotchas": [
      "Version: 2.1101.0",
      "template (`app`, `lib`, or `sample-app`) (required): Template type for the new project.",
      "`--language`, `-l`: Language for the new project; valid values include `typescript`.",
      "`--project-name`, `-n`: Name of the new project; requires a string argument. The source gives no default value.",
      "Prerequisite: Node.js or another JavaScript runtime is required; versioned CLI README specifies Node.js v18 as the minimum supported version.",
      "Docs conflict: The release note names the long option `--project`; the versioned source defines `project-name` with alias `n`."
    ]
  },
  "why_it_matters": "Initialize a CDK project with a custom project name.",
  "sources": [
    "https://github.com/aws/aws-cdk-cli/releases/tag/aws-cdk%40v2.1101.0",
    "https://github.com/aws/aws-cdk-cli/commit/29249acbc143fcaa0080094a5d472408b6ebc4c1",
    "https://docs.aws.amazon.com/cdk/v2/guide/ref-cli-cmd-init.html",
    "https://github.com/aws/aws-cdk-cli/blob/aws-cdk%40v2.1101.0/packages/aws-cdk/README.md"
  ],
  "rank": 0.99019,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-56da5fdb6bb40722-0:gate",
    "evidence_hash": "398360fc122c78c74e39fc76a4354e86c962403da58403efa9f464ce39714f4d"
  },
  "review": {
    "draft_hash": "8c06cc466808452983cc188271b4bdcb32e5fcbc87407f5edbcf89ecee2790e8",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.99 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
