@@ -134,3 +134,54 @@ jobs:
134134 grep -q "unit_test:" .github/config/capability_suggestions.yml
135135 grep -q "evidence:" .github/config/capability_suggestions.yml
136136 grep -q "confidence:" .github/config/capability_suggestions.yml
137+
138+ remote-install :
139+ runs-on : ubuntu-latest
140+ steps :
141+ - name : Test remote installation
142+ shell : bash
143+ run : |
144+ # Create a test directory
145+ mkdir -p remote-test && cd remote-test
146+
147+ # Test the remote curl installation
148+ bash <(curl -sSL https://raw.githubusercontent.com/Code-and-Sorts/PromptLoom/main/generate.sh) \
149+ -y --force \
150+ --project "Remote Test" \
151+ --team "Remote Team" \
152+ --stack "Python/FastAPI" \
153+ --cap-unit "pytest" \
154+ --cap-lint "ruff check"
155+
156+ # Validate core files were created
157+ test -f ".github/copilot-instructions.md" || {
158+ echo "Missing copilot-instructions.md"
159+ exit 1
160+ }
161+
162+ test -f ".github/config/capabilities.yml" || {
163+ echo "Missing capabilities.yml"
164+ exit 1
165+ }
166+
167+ # Validate capability bindings worked
168+ grep -q "Unit tests command: pytest" .github/copilot-instructions.md
169+ grep -q "Linter command: ruff check" .github/copilot-instructions.md
170+
171+ # Validate project customization worked
172+ grep -q "Remote Test - Development Instructions" .github/copilot-instructions.md
173+ grep -q "Team: Remote Team" .github/copilot-instructions.md
174+
175+ # Ensure prompts directory exists with files
176+ test -d ".github/prompts" || {
177+ echo "Missing prompts directory"
178+ exit 1
179+ }
180+
181+ count=$(ls -1 .github/prompts/*.prompt.md | wc -l)
182+ if [ "$count" -ne 16 ]; then
183+ echo "Expected 16 prompts, found $count"
184+ exit 1
185+ fi
186+
187+ echo "Remote installation test passed!"
0 commit comments