--- name: sdd-forge description: Use when projecting software-development phases, milestones, and tasks to a hosted repository; creating or reconciling GitHub labels, milestones, and task issues; finding an issue for a task ID; or closing verified task issues and milestones, reopening invalidated milestones, or recovering interrupted hosted transitions. Also use for provider-independent complete release-message preparation, Git release highlights and incremental highlights drafts, GitHub release package assessment, release workflow preparation or dispatch, release creation and interrupted release recovery. GitHub is the available backend. Ordinary local Git and SDD work does not require hosting access. --- # Git release preparation and hosted operations For Markdown output or document work within this skill's scope, apply the shared [Markdown style](../sdd-conventions/references/markdown-style.md): blank lines after headings and around top-level lists and code blocks, plus four-space structural indentation, including nested lists, with exactly one space after each list marker. This applies to direct calls as well as coordinated work; it does not expand editing or review authority. ## Shared protocol - **Feature preparation:** For selected preparation tracking use [GitHub feature preparation](references/github-feature-preparation.md), through the backend prerequisites: campaign-specific milestone/nine FDOCS issues, exact source/readback, mapped pass reset and published integration before milestone closure. FEATURE_DOCS_TASKS holds checkoffs; FEATURE_PREPARATION owns control/evidence. Existing docs-main utilities are not feature projection tools. - **Main preparation:** Before enabled main documentation repository writes, use [GitHub main preparation](references/github-docs-preparation.md), after its parent backend prerequisites, for `sdd-docs-main` and nine issues from the bundled JSON definitions. DOCS_TASKS contains task definitions/checkoffs; DOCS_PREPARATION supplies active-pass approval/control evidence; explicit cursor reset reopens the same DOCS-002–009 issues under that lifecycle. Autodoc stops leave package QC/milestone completion pending; final milestone closure follows verified published documentation integration. Product PLAN/TASKS and implementation-phase activation are not prerequisites for this separate preparation operation. - **Scope:** Run only for a requested hosted operation or release/package preparation, including local Git release highlights. Route shared highlights before provider selection; identify the provider before loading a hosted backend; report ambiguous remotes or unsupported providers without guessing. Local preparation/inspection and workflows without selected tracking need no hosted activation; requested/confirmed tracking retains the manager's phase execution gates. - **Release artifacts:** **Version numbers in the name of any release artifact are absolutely prohibited, regardless of type.** Before tagging, publishing triggers, uploads or publication, enforce the independent [artifact-name gate and repair](references/github-packaging.md#artifact-name-gate-and-repair). Require stable version-free actual names, project-local direct/CI checks and current passing evidence; route failing scripts/related code/tests/docs through authorized repair, source publication, rebuild and recheck, then finish the requested release/readback. Correct every conflicting active project naming policy/template/example even when previous releases used it; never carry prohibited legacy aliases into the new release. Preserve narrower stops and existing-tag/immutable recovery. - **Hierarchy:** For implementation task tracking, use the **sdd-conventions** task hierarchy to read phase, milestone, and task IDs and names from TASKS or the active FEATURE-TASKS and preserve their parentage in the host projection. The selected backend defines its concrete objects. - **Coordination:** Before a local draft edit or hosted mutation, **sdd-manage** coordinates the user's request and a current **sdd-orient** handoff establishing the eligible Git worktree and governing instructions. Read-only inspection needs no Git mutation gate. - **Credentials:** Use the available authenticated client or a suitable supplied token. **sdd-manage** discovers, accepts, and persists tokens under **sdd-conventions**' **Hosting tokens** rules and recovers the affected client's authentication when needed. A direct caller may supply a token to **sdd-forge**. Consume it through a protected mechanism without ordinary handoff/output exposure; Git shell authentication does not prove API-client access. The selected backend defines provider-specific checks and permission requirements. - **Access failure:** For a backend access-related 403, request a suitable token from **sdd-manage** and return the endpoint, required access, and any provider-indicated non-credential cause without exposing the credential. The coordinator checks credential suitability and identifies any policy or other restriction requiring a different remedy; escalation does not require substituting a token when the existing credential is suitable. For direct use without **sdd-manage**, ask the user. Recheck access before retrying; a replacement token does not establish permission by itself. - **Operational failure:** Let the selected backend distinguish access failures, rate limits, service/transport outages, invalid requests, and uncertain writes. Preserve successful independent results and return pending/unknown effects with bounded retry or deferred-reconciliation context; do not route every 403 to credential replacement. - **Handoff:** Return the repository, requested operation, changed objects, checks, access failures and remaining differences. Tracking returns task/issue associations; release work returns package/source/tag, workflow/run, release/assets/URLs and actual latest state. Local file preparation returns changed files to sdd-manage for Git persistence. Hosted state does not itself establish task completion or downloaded-byte verification. Do not create commits, push branches, or create or merge pull requests here. Add a backend only when it supports a concrete hosted operation with its own repository resolution, authentication, object mapping, and reconciliation rules. Give it a focused reference and explicit trigger; do not advertise a provider before its workflow is defined. ## Shared release preparation For requested release creation/completion or a publishing workflow run, apply sdd-manage's shared [advisory prerelease review reminder](../sdd-manage/references/prerelease-review.md#advisory-release-reminder), including direct calls. Reuse its handoff disposition when already covered by the coordinator. For requests to prepare, draft, assemble or update a release message or release notes, load [complete release-message preparation](references/release-message.md). Coordinate source/output ownership through manage, collect Git highlights, and use report to assemble the full message with applicable compatibility, installation and limitation sections. Retain the complete message, normally finalized at root `RELEASE-NOTES.md`; an active revision campaign may stage it within its directory for placement in the release commit. Preparation stops before publication. Editing-only requests remain scoped to supplied text. For “collect key changes since the latest release,” highlights-only preparation or incremental highlights, load [Git release highlights](references/release-highlights.md). Pin the release-tag baseline and target, collect complete range identities/parents/subjects, read integration summaries first (latest adequate cumulative summary for reopened campaigns) and resolve direct/uncovered changes with targeted evidence, curate an ignored YAML-checkpointed draft and return body-only notes. No provider, token, tracking or TASKS is required. Release creation consumes this shared workflow; preparation alone stops before publication. Keep draft cleanup tied to verified published-body consumption. ## Available backends - **GitHub:** Read [GitHub backend](references/github.md) when the requested operation targets a GitHub repository. It resolves repository identity and access, then routes tracking, package/workflow preparation and release lifecycle operations. An available [GitHub CLI](references/github.md#github-cli) may perform supported operations with suitable existing or provided/saved-token authentication. Apply the shared backend object lifecycle for tracking; standalone release requests need no task hierarchy or tracking activation. Package preparation does not implicitly publish a release. For hosted operations, carry the confirmed request scope, destination/object identity and explicit limits through the [coordination handoff](../sdd-manage/references/coordination.md#coordinate-execution). Keep credentials protected and optional tracking activation separate from access capability. ## Optional local tracking utilities For canonical-list input authoring and eligible phase or main-preparation projection with local Node 22+ and Git, select the [input-authoring workflow](scripts/forge-project-input.md) and [projection utility](scripts/forge-project.md). Phase drafting extracts structure for agent-authored dependencies/briefs and retains an explicit reviewed request. For routine `docs-main`, prefer the single-call projection entry with repository DOCS_TASKS and origin defaults; its guide defines bootstrap template fallback, explicit overrides and the required apply eligibility confirmation. The agent reviews outgoing content and the coordinator establishes actual eligibility. Preparation drafting before its pre-write gate keeps files outside the target repository. Exact conflicts/unsupported scopes retain the existing backend procedures. For eligible completed implementation task/milestone reconciliation with local Node 22+, Git and an eligible ignored repository token, the backend can select [forge-close.mjs](scripts/forge-close.mjs) under its [CLI and handoff contract](scripts/forge-close.md). Load the backend and selected lifecycle first; the utility performs bounded mechanics, while execution/coordination establishes actual acceptance/publication and exclusive ownership. Consume known/unknown effects and use reconcile-only for uncertain prior writes. Other clients and unsupported scopes retain their existing backend procedures. ## Supporting modules Load the [GitHub backend](references/github.md) first for these operations; it supplies identity/access prerequisites and routes the selected module. Load only the relevant support module and its stated dependencies, including for a direct request. Shared local highlights and release-message preparation keep their routes above. | Module | Purpose and boundary | Route through | Load when | | --- | --- | --- | --- | | [github-packaging.md](references/github-packaging.md) | Package contents, archive assessment and names; preparation only | [github.md](references/github.md) | Assessing or developing GitHub release packaging | | [github-release-workflows.md](references/github-release-workflows.md) | Workflow authoring, dispatch and monitoring within requested effects | [github.md](references/github.md); package contract as required | Preparing, inspecting or running a release workflow | | [github-releases.md](references/github-releases.md) | Release reconciliation, upload, publication and readback | [github.md](references/github.md); accepted package contract | Creating, completing, inspecting or recovering a release | | [github-projection.md](references/github-projection.md) | Eligible-phase labels, native milestones and task issues | [github.md](references/github.md) | Creating or reconciling the selected task hierarchy | | [github-feature-preparation.md](references/github-feature-preparation.md) | Campaign-specific feature preparation milestone/nine FDOCS issues, completion/reset and integration-before-closure | [github.md](references/github.md) | Projecting/reconciling selected feature documentation preparation | | [github-docs-preparation.md](references/github-docs-preparation.md) | Main preparation milestone/nine issues, current-pass closure, explicit reset reopening and merge-before-milestone completion | [github.md](references/github.md) | Projecting or reconciling main documentation preparation, including its early pre-write gate | | [github-milestone-lifecycle.md](references/github-milestone-lifecycle.md) | Milestone closure, reopening and backlog reconciliation | [github.md](references/github.md) | Reconciling milestone completion or invalidation | | [github-issue-lifecycle.md](references/github-issue-lifecycle.md) | Exact task/issue identity and verified issue-state changes | [github.md](references/github.md) | Resolving a task issue or closing/reopening it |