# DEVX-171: create_dependency_pr uses target-project task ID + generated spec ## Problem Dep PRs fail target-repo validation: infra requires `OBL-INFRA-N` in the branch name and `docs/specs/.md` in the diff. The tool created the Vikunja task in the *producer's* project and named the branch `deps/-` with no task ID, and wrote no spec. ## Approach REQ-1: Create the tracking task before branch creation, in the target repo's Vikunja project via `--task-project-id` (default: DEVX_VIKUNJA_PROJECT_ID). Embed the returned identifier in the branch name (`deps/--`) and PR title, and commit a generated `docs/specs/.md` with the required sections alongside the pin bump. ## Test Plan - Branch name and PR title carry the target task ID; spec file added. - `create_vikunja_task(project_id=N)` passes N to VikunjaClient. - Existing no-task behavior preserved when Vikunja is unreachable. ## Deploy Plan devx release tag; producer workflows pass `--task-project-id` for infra (project 3). ## Rollback Plan Revert; dep PRs keep failing target validation (status quo). ## Acceptance Criteria - [x] REQ-1: `--task-project-id` supported; branch/spec/PR title embed the target task ID; covered by unit tests at 100% coverage.