Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Executes implementation plans by dispatching isolated subagents per task with two-stage spec and code quality review.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
scripts/sdd-workspace
1#!/usr/bin/env bash2# Resolve and ensure the working-tree directory SDD uses for its short-lived3# artifacts: task briefs, implementer reports, review packages, and the4# progress ledger. Print the directory's absolute path.5#6# The workspace lives in the working tree (not under .git/) because Claude Code7# treats .git/ as a protected path and denies agent writes there — which blocks8# an implementer subagent from writing its report file. A self-ignoring9# .gitignore keeps the workspace out of `git status` and out of accidental10# commits without modifying any tracked file.11#12# Single source of truth for the workspace location, so task-brief and13# review-package cannot drift to different directories.14#15# Usage: sdd-workspace16set -euo pipefail1718root=$(git rev-parse --show-toplevel)19dir="$root/.superpowers/sdd"20mkdir -p "$dir"21printf '*\n' > "$dir/.gitignore"22cd "$dir" && pwd23