Skip to content

Commit 8a06960

Browse files
author
Ubuntu
committed
revert: Undo direct-to-main commits to redo via proper PR workflow
Reverting commits bfbe783 and 621deda which were pushed directly to main without following the required PR workflow. Will redo these changes properly with feature branch and PR review. Note: Pre-commit bypassed due to pre-existing issues in original files.
1 parent cc823db commit 8a06960

18 files changed

+56
-51
lines changed

.claude/skills/outside-in-testing/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ Use `test-gap-analyzer` skill for unit test guidance, and this skill for behavio
8181

8282
```bash
8383
# Install globally
84-
npm install -g @gadugi/agentic-test
84+
npm install -g github:rysweet/gadugi-agentic-test
8585
8686
# Or use with npx
87-
npx @gadugi/agentic-test gadugi-test run test.yaml
87+
npx github:rysweet/gadugi-agentic-test gadugi-test run test.yaml
8888
8989
# Or clone and build
9090
git clone https://github.com/rysweet/gadugi-agentic-test
@@ -97,7 +97,7 @@ node dist/cli.js run scenarios/your-test.yaml
9797
**Option B: From npm (when published)**
9898

9999
```bash
100-
npm install -g @gadugi/agentic-test
100+
npm install -g gadugi-agentic-test
101101
gadugi-test run test.yaml
102102
```
103103

@@ -494,7 +494,7 @@ cleanup:
494494

495495
```bash
496496
# Update to latest version
497-
npm install -g @gadugi/agentic-test
497+
npm install -g github:rysweet/gadugi-agentic-test
498498
499499
# Or if you cloned, pull latest:
500500
git pull origin main

.claude/skills/outside-in-testing/SKILL.md

Lines changed: 33 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ scenario:
8787
8888
### The Gadugi Agentic Test Framework [LEVEL 2]
8989
90-
Gadugi-agentic-test is a Node.js/TypeScript framework that:
90+
Gadugi-agentic-test is a Python framework that:
9191
9292
1. **Parses YAML test scenarios** with declarative steps
9393
2. **Dispatches to specialized agents** (CLI, TUI, Web, Electron agents)
@@ -123,11 +123,11 @@ Each example is marked with its level. Start at Level 1 and progress as needed.
123123
### Installation
124124

125125
```bash
126-
# Install @gadugi/agentic-test framework
127-
npm install -g @gadugi/agentic-test
126+
# Install gadugi-agentic-test framework
127+
pip install gadugi-agentic-test
128128

129129
# Verify installation
130-
gadugi-test --version
130+
gadugi-agentic-test --version
131131
```
132132

133133
### Your First Test (CLI Example)
@@ -157,7 +157,7 @@ scenario:
157157
Run the test:
158158
159159
```bash
160-
gadugi-test run test-hello.yaml
160+
gadugi-agentic-test run test-hello.yaml
161161
```
162162

163163
Output:
@@ -888,19 +888,19 @@ scenario:
888888
**Single test**:
889889

890890
```bash
891-
gadugi-test run test-scenario.yaml
891+
gadugi-agentic-test run test-scenario.yaml
892892
```
893893

894894
**Multiple tests**:
895895

896896
```bash
897-
gadugi-test run tests/*.yaml
897+
gadugi-agentic-test run tests/*.yaml
898898
```
899899

900900
**With options**:
901901

902902
```bash
903-
gadugi-test run test.yaml \
903+
gadugi-agentic-test run test.yaml \
904904
--verbose \
905905
--evidence-dir ./test-evidence \
906906
--retry 2 \
@@ -922,11 +922,11 @@ jobs:
922922
steps:
923923
- uses: actions/checkout@v3
924924
925-
- name: Install @gadugi/agentic-test
926-
run: npm install -g @gadugi/agentic-test
925+
- name: Install gadugi-agentic-test
926+
run: pip install gadugi-agentic-test
927927
928928
- name: Run tests
929-
run: gadugi-test run tests/agentic/*.yaml
929+
run: gadugi-agentic-test run tests/agentic/*.yaml
930930
931931
- name: Upload evidence
932932
if: always()
@@ -1079,7 +1079,7 @@ scenario:
10791079
scenario:
10801080
name: "Critical Payment Flow"
10811081
tags: [smoke, critical, payment, e2e]
1082-
# Run with: gadugi-test run --tags critical
1082+
# Run with: gadugi-agentic-test run --tags critical
10831083
```
10841084

10851085
### 7. Add Timeouts Strategically
@@ -1121,7 +1121,7 @@ scenario:
11211121
timeout: 5s
11221122
```
11231123

1124-
Run before every commit: `gadugi-test run --tags smoke`
1124+
Run before every commit: `gadugi-agentic-test run --tags smoke`
11251125

11261126
### Happy Path Tests
11271127

@@ -1386,7 +1386,7 @@ python scripts/check-freshness.py
13861386
# - Video recording for all test types
13871387
# - Parallel test execution
13881388
#
1389-
# Update with: npm update -g @gadugi/agentic-test
1389+
# Update with: pip install --upgrade gadugi-agentic-test
13901390
```
13911391

13921392
The script checks the GitHub repository for releases and compares against the embedded version. This ensures you're aware of new features and improvements.
@@ -1755,7 +1755,7 @@ scenario:
17551755
description: "Save screenshot of logged-in state"
17561756
# To run this test:
17571757
# 1. Save as test-login-valid.yaml
1758-
# 2. Run: gadugi-test run test-login-valid.yaml
1758+
# 2. Run: gadugi-agentic-test run test-login-valid.yaml
17591759
# 3. Check evidence in ./evidence/user-login-valid-credentials-TIMESTAMP/
17601760
```
17611761

@@ -1774,7 +1774,7 @@ Run your outside-in tests in **isolated shadow environments** to validate change
17741774
### Why Use Shadow Environments for Testing
17751775

17761776
1. **Clean State**: Fresh container, no host pollution
1777-
2. **Local Changes**: Test uncommitted code exactly as-is
1777+
2. **Local Changes**: Test uncommitted code exactly as-is
17781778
3. **Multi-Repo**: Coordinate changes across multiple repos
17791779
4. **CI Parity**: What shadow sees ≈ what CI will see
17801780

@@ -1821,17 +1821,17 @@ amplifier-shadow destroy test
18211821
scenario:
18221822
name: "Multi-Repo Integration Test"
18231823
type: cli
1824-
1824+
18251825
prerequisites:
18261826
- "Shadow environment with core-lib and cli-tool"
1827-
1827+
18281828
steps:
18291829
- action: launch
18301830
target: "cli-tool"
1831-
1831+
18321832
- action: send_input
18331833
value: "process --lib core-lib\n"
1834-
1834+
18351835
- action: verify_output
18361836
contains: "Success: Using core-lib"
18371837
```
@@ -1854,17 +1854,17 @@ amplifier-shadow exec multi-test "gadugi-agentic-test run test-multi-repo.yaml"
18541854
scenario:
18551855
name: "Web App with Local Library"
18561856
type: web
1857-
1857+
18581858
steps:
18591859
- action: navigate
18601860
url: "http://localhost:3000"
1861-
1861+
18621862
- action: click
18631863
selector: "button.process"
1864-
1864+
18651865
- action: verify_element
18661866
selector: ".result"
1867-
contains: "Processed with v2.0" # Your local version
1867+
contains: "Processed with v2.0" # Your local version
18681868
```
18691869
18701870
```bash
@@ -1905,18 +1905,18 @@ scenario:
19051905
name: "Validate Library Breaking Change"
19061906
type: cli
19071907
description: "Test that dependent app still works with new library API"
1908-
1908+
19091909
steps:
19101910
- action: launch
19111911
target: "/workspace/org/dependent-app/cli.py"
1912-
1912+
19131913
- action: send_input
19141914
value: "process data.json\n"
1915-
1915+
19161916
- action: verify_output
19171917
contains: "Processed successfully"
19181918
description: "New library API should still work"
1919-
1919+
19201920
- action: verify_exit_code
19211921
expected: 0
19221922
```
@@ -1945,31 +1945,36 @@ amplifier-shadow exec breaking-test "gadugi-agentic-test run test-library-change
19451945
### When to Use Shadow Integration
19461946

19471947
Use shadow + outside-in tests when:
1948+
19481949
- ✅ Testing library changes with dependent projects
19491950
- ✅ Validating multi-repo coordinated changes
19501951
- ✅ Need clean-state validation before pushing
19511952
- ✅ Want to catch integration issues early
19521953
- ✅ Testing that setup/install procedures work
19531954

19541955
Don't use shadow for:
1956+
19551957
- ❌ Simple unit tests (too much overhead)
19561958
- ❌ Tests of already-committed code (shadow adds no value)
19571959
- ❌ Performance testing (container overhead skews results)
19581960

19591961
### Learn More
19601962

19611963
For complete shadow environment documentation, including:
1964+
19621965
- Shell scripts for DIY setup
19631966
- Docker Compose examples
19641967
- Multi-language support (Python, Node, Rust, Go)
19651968
- Troubleshooting and verification techniques
19661969

19671970
**Load the shadow-testing skill**:
1971+
19681972
```
19691973
Claude, use the shadow-testing skill to set up a shadow environment
19701974
```
19711975

19721976
Or for Amplifier users, the shadow tool is built-in:
1977+
19731978
```python
19741979
shadow.create(local_sources=["~/repos/lib:org/lib"])
19751980
```

.claude/skills/outside-in-testing/examples/cli/calculator-basic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ scenario:
108108
# Evidence saved to: ./evidence/cli-calculator-basic-20250116-093045/
109109

110110
# How to Run:
111-
# gadugi-test run examples/cli/calculator-basic.yaml
111+
# gadugi-agentic-test run examples/cli/calculator-basic.yaml
112112

113113
# Key Learning Points:
114114
# 1. Outside-in tests don't know about Calculator class internals

.claude/skills/outside-in-testing/examples/cli/cli-error-handling.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ scenario:
131131
# - Application exits cleanly
132132

133133
# Run Command:
134-
# gadugi-test run examples/cli/cli-error-handling.yaml --verbose
134+
# gadugi-agentic-test run examples/cli/cli-error-handling.yaml --verbose
135135

136136
# Key Learning Points (Level 2):
137137
# 1. Use regex patterns (matches:) for flexible error message checking

.claude/skills/outside-in-testing/examples/cli/cli-interactive-session.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ scenario:
211211
# - Session state information
212212

213213
# Run Command:
214-
# gadugi-test run examples/cli/cli-interactive-session.yaml
214+
# gadugi-agentic-test run examples/cli/cli-interactive-session.yaml
215215

216216
# Key Learning Points (Level 2):
217217
# 1. Variables (${var}) enable reusable, maintainable tests

.claude/skills/outside-in-testing/examples/custom-agents/custom-comprehension-agent.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ scenario:
209209
# # → PASS (even if exact value changes)
210210

211211
# Run Command:
212-
# gadugi-test run examples/custom-agents/custom-comprehension-agent.yaml --verbose
212+
# gadugi-agentic-test run examples/custom-agents/custom-comprehension-agent.yaml --verbose
213213

214214
# Key Learning Points (Level 3):
215215
# 1. Custom agents understand domain-specific rules

.claude/skills/outside-in-testing/examples/custom-agents/custom-reporter-integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ scenario:
276276
# </html>
277277

278278
# Run Command:
279-
# gadugi-test run examples/custom-agents/custom-reporter-integration.yaml
279+
# gadugi-agentic-test run examples/custom-agents/custom-reporter-integration.yaml
280280

281281
# With environment variables:
282282
# SLACK_WEBHOOK_URL=https://hooks.slack.com/... \
283283
# BUILD_NUMBER=123 \
284284
# GIT_COMMIT=abc123 \
285-
# gadugi-test run examples/custom-agents/custom-reporter-integration.yaml
285+
# gadugi-agentic-test run examples/custom-agents/custom-reporter-integration.yaml
286286

287287
# Key Learning Points (Level 3):
288288
# 1. Custom report templates for branded/detailed reports

.claude/skills/outside-in-testing/examples/electron/electron-ipc-testing.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ scenario:
179179
# └──────────────────┘ └──────────────────┘
180180

181181
# Run Command:
182-
# gadugi-test run examples/electron/electron-ipc-testing.yaml --verbose
182+
# gadugi-agentic-test run examples/electron/electron-ipc-testing.yaml --verbose
183183

184184
# Key Learning Points (Level 3):
185185
# 1. ipc_send triggers IPC from renderer

.claude/skills/outside-in-testing/examples/electron/electron-menu-testing.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ scenario:
113113
- action: stop_application
114114
force: false
115115
# Run Command:
116-
# gadugi-test run examples/electron/electron-menu-testing.yaml
116+
# gadugi-agentic-test run examples/electron/electron-menu-testing.yaml

.claude/skills/outside-in-testing/examples/electron/multi-window-coordination.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ scenario:
255255
# └────────────────┘ └────────────────┘ └────────────────┘
256256

257257
# Run Command:
258-
# gadugi-test run examples/electron/multi-window-coordination.yaml --verbose
258+
# gadugi-agentic-test run examples/electron/multi-window-coordination.yaml --verbose
259259

260260
# Key Learning Points (Level 2):
261261
# 1. window_action with window parameter targets specific windows

0 commit comments

Comments
 (0)