aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-19 11:49:06 +0200
committerDanilo M. <danix@danix.xyz>2026-10-19 11:49:06 +0200
commita150177a95ab576532559a1d8bf97d1cb17086e4 (patch)
treeb9631753be42c909963f443f5a4ed76e2f1bd4bc /docs
parent18a589cb4ad8f42e5190318fd1b912abf017ea0d (diff)
downloaddesktop-assistant-a150177a95ab576532559a1d8bf97d1cb17086e4.tar.gz
desktop-assistant-a150177a95ab576532559a1d8bf97d1cb17086e4.zip
project tool: start a new project and open an agent on it
project.sh makes a folder in ~/Programming/GIT with AGENTS.md, CLAUDE.md, README.md and LICENSE (GPLv2 only, GPLv2+, GPLv3 or MIT, texts shipped in licenses/), commits it signed, and opens Claude Code or opencode in a kitty tab, or a new window when no kitty listens. The tool description asks the model to confirm before calling. Check: test-project.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/superpowers/plans/2026-10-19-project-tool.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/superpowers/plans/2026-10-19-project-tool.md b/docs/superpowers/plans/2026-10-19-project-tool.md
index 5aad3c3..9e2b95f 100644
--- a/docs/superpowers/plans/2026-10-19-project-tool.md
+++ b/docs/superpowers/plans/2026-10-19-project-tool.md
@@ -124,7 +124,13 @@ dir=$root/$name
[ -e "$dir" ] && { echo "$dir already exists" >&2; exit 1; }
mkdir -p "$dir" && cd "$dir" || exit 1
-sed "s/<year>/$year/; s/<copyright holders>/$author/" "$here/licenses/$text" > LICENSE
+# Only MIT has its holder filled in: the GPL texts carry <year> in their
+# how-to-apply appendix, which must stay as published.
+if [ $text = mit.txt ]; then
+ sed "s/<year> <copyright holders>/$year $author/" "$here/licenses/$text" > LICENSE
+else
+ cp "$here/licenses/$text" LICENSE
+fi
cat > CLAUDE.md <<'EOF'
# CLAUDE.md