clawforge-cli 1.5.1__tar.gz → 1.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/CHANGELOG.md +9 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/Formula/clawforge.rb +2 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/PKG-INFO +1 -1
- clawforge_cli-1.5.2/VERSION +1 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/package.json +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/pyproject.toml +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-ci-loop.sh +2 -2
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-clean.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-cli.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-conflicts.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-cost.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-dx.sh +4 -4
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-eval.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-history.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-init.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-learn.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-management.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-memory.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-merge.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-modes.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-multi-repo.sh +2 -2
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-notify.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-observability.sh +2 -2
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-openclaw.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-power.sh +2 -2
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-practical.sh +2 -2
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-reliability.sh +2 -2
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-review.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-routing.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-scope.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-spawn.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-templates.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-tui.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-watch.sh +1 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-web.sh +2 -2
- clawforge_cli-1.5.1/VERSION +0 -1
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/.github/workflows/ci.yml +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/.github/workflows/publish-npm.yml +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/.github/workflows/publish-pypi.yml +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/.github/workflows/update-homebrew.yml +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/.github/workflows/version-sync.yml +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/.gitignore +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/LICENSE +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/PRD-v05.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/PRD-v06.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/PRD-v07.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/README.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/SKILL.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/attach.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/check-agents.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/clawforge +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/clawforge-web +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/clean.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/completions.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/config.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/conflicts.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/cost.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/dashboard.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/deps.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/diff.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/doctor.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/eval.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/export.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/history.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/init.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/learn.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/logs.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/memory.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/merge-helper.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/multi-review.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/notify.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/on-complete.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/parse-cost.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/pr.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/profile.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/replay.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/resume.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/review-mode.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/review-pr.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/routing.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/scope-task.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/spawn-agent.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/sprint.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/steer.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/stop.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/summary.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/swarm.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/templates.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/bin/web.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/clawforge/__init__.py +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/clawforge/cli.py +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/completions/_clawforge +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/completions/clawforge.bash +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/completions/clawforge.fish +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/config/defaults.json +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/config/prompt-templates/default.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/config/routing-defaults.json +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/IMPLEMENTATION-v04.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/PRD-v04.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/PUBLISHING-CHECKLIST.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/README.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/RELEASE.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/architecture.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/command-reference.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/configuration.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/dashboard.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/evaluation.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/faq.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/fleet-ops.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/getting-started.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/scenarios.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/troubleshooting.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/docs/workflow-modes.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/evals/run-log.example.jsonl +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/evals/run-log.schema.json +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/evals/scorecard.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/install.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/lib/common.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/lib/templates/bugfix.json +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/lib/templates/migration.json +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/lib/templates/refactor.json +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/lib/templates/security-audit.json +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/lib/templates/test-coverage.json +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/registry/conflicts.jsonl +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/registry/costs.jsonl +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/run-all-tests.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-dashboard.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-deps.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-foundation.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tests/test-registry.sh +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/PRD.md +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/agent.go +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/animation.go +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/dashboard.go +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/filter.go +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/go.mod +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/go.sum +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/keybindings.go +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/main.go +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/model.go +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/steer.go +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/tui/styles.go +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/web/go.mod +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/web/index.html +0 -0
- {clawforge_cli-1.5.1 → clawforge_cli-1.5.2}/web/main.go +0 -0
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.5.2 — Test Harness Stability
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- Replaced fragile `echo ... | grep -q` checks in test scripts with here-string checks (`grep -q <<< ...`).
|
|
7
|
+
- Avoids intermittent broken-pipe behavior under `set -o pipefail` on GitHub Actions.
|
|
8
|
+
|
|
9
|
+
### Result
|
|
10
|
+
- Stabilizes observability/web/dashboard-related suites on clean macOS runners.
|
|
11
|
+
|
|
3
12
|
## v1.5.1 — CI Test Flake Fix
|
|
4
13
|
|
|
5
14
|
### Fixed
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
class Clawforge < Formula
|
|
2
2
|
desc "Multi-mode coding workflow CLI for orchestrating AI coding agents"
|
|
3
3
|
homepage "https://github.com/cyperx84/clawforge"
|
|
4
|
-
url "https://github.com/cyperx84/clawforge/archive/refs/tags/v1.5.
|
|
4
|
+
url "https://github.com/cyperx84/clawforge/archive/refs/tags/v1.5.1.tar.gz"
|
|
5
|
+
sha256 "27cca187828366d138dbde81f99f313e065c656be7073452ccc016eb5dba16db"
|
|
5
6
|
sha256 "ce9da13357fc54d20e59da5851ac04a4ebbff071ec5a7ce1b17b0cbe877b3416"
|
|
6
7
|
sha256 "050e1745af5f64fe017ecc8d533a7f653935b572f45f4c9766f5746a4b58b54e"
|
|
7
8
|
sha256 "4ff8f36c599e81f03291210a6044bd0cce78a953f53eb360f47ce375706104d9"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clawforge-cli
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.2
|
|
4
4
|
Summary: Multi-mode coding workflow CLI for orchestrating AI coding agents
|
|
5
5
|
Project-URL: Homepage, https://github.com/cyperx84/clawforge
|
|
6
6
|
Project-URL: Repository, https://github.com/cyperx84/clawforge
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.5.2
|
|
@@ -34,7 +34,7 @@ assert_contains() {
|
|
|
34
34
|
local desc="$1" expected="$2"; shift 2
|
|
35
35
|
local output
|
|
36
36
|
output=$("$@" 2>&1 || true)
|
|
37
|
-
if
|
|
37
|
+
if grep -q "$expected" <<< "$output"; then
|
|
38
38
|
echo " ✅ $desc"
|
|
39
39
|
((PASS++)) || true
|
|
40
40
|
else
|
|
@@ -113,7 +113,7 @@ assert_ok "check-agents runs on empty registry" "$CHECK" --dry-run
|
|
|
113
113
|
echo "Test 6: check with task"
|
|
114
114
|
output=$("$CHECK" --dry-run 2>&1 || true)
|
|
115
115
|
# Should find our task
|
|
116
|
-
if
|
|
116
|
+
if grep -q "ci-test-1\|Agent Status" <<< "$output"; then
|
|
117
117
|
echo " ✅ check-agents finds registered task"
|
|
118
118
|
PASS=$((PASS+1))
|
|
119
119
|
else
|
|
@@ -33,7 +33,7 @@ TMPDIR=$(mktemp -d)
|
|
|
33
33
|
# Test 1: --help
|
|
34
34
|
echo "Test 1: --help flag"
|
|
35
35
|
help_output=$("$BIN_DIR/clean.sh" --help 2>&1 || true)
|
|
36
|
-
if
|
|
36
|
+
if grep -q "Usage:" <<< "$help_output"; then
|
|
37
37
|
assert_eq "help shows usage" "true" "true"
|
|
38
38
|
else
|
|
39
39
|
assert_eq "help shows usage" "true" "false"
|
|
@@ -10,7 +10,7 @@ PASS=0 FAIL=0
|
|
|
10
10
|
|
|
11
11
|
assert_contains() {
|
|
12
12
|
local desc="$1" needle="$2" haystack="$3"
|
|
13
|
-
if
|
|
13
|
+
if grep -qF -- "$needle" <<< "$haystack"; then
|
|
14
14
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
15
15
|
else
|
|
16
16
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -134,10 +134,10 @@ assert_contains "help shows Developer Experience" "Developer Experience" "$cli_h
|
|
|
134
134
|
# Test 11: version
|
|
135
135
|
echo "Test 11: version"
|
|
136
136
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
137
|
-
if [[ "$version" == "1.5.
|
|
138
|
-
echo " ✅ version is 1.5.
|
|
137
|
+
if [[ "$version" == "1.5.2" ]]; then
|
|
138
|
+
echo " ✅ version is 1.5.2"; PASS=$((PASS+1))
|
|
139
139
|
else
|
|
140
|
-
echo " ❌ version is $version, expected 1.5.
|
|
140
|
+
echo " ❌ version is $version, expected 1.5.2"; FAIL=$((FAIL+1))
|
|
141
141
|
fi
|
|
142
142
|
|
|
143
143
|
echo ""
|
|
@@ -17,7 +17,7 @@ assert_eq() {
|
|
|
17
17
|
|
|
18
18
|
assert_contains() {
|
|
19
19
|
local desc="$1" needle="$2" haystack="$3"
|
|
20
|
-
if
|
|
20
|
+
if grep -qF -- "$needle" <<< "$haystack"; then
|
|
21
21
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
22
22
|
else
|
|
23
23
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -27,7 +27,7 @@ assert_eq() {
|
|
|
27
27
|
|
|
28
28
|
assert_contains() {
|
|
29
29
|
local desc="$1" needle="$2" haystack="$3"
|
|
30
|
-
if
|
|
30
|
+
if grep -qF "$needle" <<< "$haystack"; then
|
|
31
31
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
32
32
|
else
|
|
33
33
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -29,7 +29,7 @@ assert_eq() {
|
|
|
29
29
|
|
|
30
30
|
assert_contains() {
|
|
31
31
|
local desc="$1" needle="$2" haystack="$3"
|
|
32
|
-
if
|
|
32
|
+
if grep -qF "$needle" <<< "$haystack"; then
|
|
33
33
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
34
34
|
else
|
|
35
35
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -26,7 +26,7 @@ assert_eq() {
|
|
|
26
26
|
|
|
27
27
|
assert_contains() {
|
|
28
28
|
local desc="$1" needle="$2" haystack="$3"
|
|
29
|
-
if
|
|
29
|
+
if grep -qF "$needle" <<< "$haystack"; then
|
|
30
30
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
31
31
|
else
|
|
32
32
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -27,7 +27,7 @@ assert_eq() {
|
|
|
27
27
|
|
|
28
28
|
assert_contains() {
|
|
29
29
|
local desc="$1" needle="$2" haystack="$3"
|
|
30
|
-
if
|
|
30
|
+
if grep -qF "$needle" <<< "$haystack"; then
|
|
31
31
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
32
32
|
else
|
|
33
33
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -24,7 +24,7 @@ assert_eq() {
|
|
|
24
24
|
|
|
25
25
|
assert_contains() {
|
|
26
26
|
local desc="$1" needle="$2" haystack="$3"
|
|
27
|
-
if
|
|
27
|
+
if grep -qF "$needle" <<< "$haystack"; then
|
|
28
28
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
29
29
|
else
|
|
30
30
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -56,7 +56,7 @@ assert_contains() {
|
|
|
56
56
|
local desc="$1" expected="$2"; shift 2
|
|
57
57
|
local output
|
|
58
58
|
output=$("$@" 2>&1 || true)
|
|
59
|
-
if
|
|
59
|
+
if grep -q "$expected" <<< "$output"; then
|
|
60
60
|
echo " ✅ $desc"
|
|
61
61
|
PASS=$((PASS+1))
|
|
62
62
|
else
|
|
@@ -173,7 +173,7 @@ echo '{"tasks":[]}' > "$REGISTRY_FILE"
|
|
|
173
173
|
output=$("$BIN_DIR/swarm.sh" "$TMPDIR/repo-api" "Migrate tests" --dry-run 2>&1 || true)
|
|
174
174
|
assert_contains "normal swarm dry-run works" "Decomposition" echo "$output"
|
|
175
175
|
# Should NOT have Multi-Repo in output
|
|
176
|
-
if
|
|
176
|
+
if grep -q "Multi-Repo" <<< "$output"; then
|
|
177
177
|
echo " ❌ normal swarm should not show Multi-Repo"
|
|
178
178
|
FAIL=$((FAIL+1))
|
|
179
179
|
else
|
|
@@ -24,7 +24,7 @@ assert_eq() {
|
|
|
24
24
|
|
|
25
25
|
assert_contains() {
|
|
26
26
|
local desc="$1" needle="$2" haystack="$3"
|
|
27
|
-
if
|
|
27
|
+
if grep -qF "$needle" <<< "$haystack"; then
|
|
28
28
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
29
29
|
else
|
|
30
30
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -11,7 +11,7 @@ PASS=0 FAIL=0
|
|
|
11
11
|
|
|
12
12
|
assert_contains() {
|
|
13
13
|
local desc="$1" needle="$2" haystack="$3"
|
|
14
|
-
if
|
|
14
|
+
if grep -qF -- "$needle" <<< "$haystack"; then
|
|
15
15
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
16
16
|
else
|
|
17
17
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -77,7 +77,7 @@ assert_contains "dashboard help shows p key" "preview" "$tui_help"
|
|
|
77
77
|
# Test 7: version
|
|
78
78
|
echo "Test 7: version"
|
|
79
79
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
80
|
-
assert_eq "version is 1.5.
|
|
80
|
+
assert_eq "version is 1.5.2" "1.5.2" "$version"
|
|
81
81
|
|
|
82
82
|
echo ""
|
|
83
83
|
echo "Results: $PASS passed, $FAIL failed"
|
|
@@ -10,7 +10,7 @@ PASS=0 FAIL=0
|
|
|
10
10
|
|
|
11
11
|
assert_contains() {
|
|
12
12
|
local desc="$1" needle="$2" haystack="$3"
|
|
13
|
-
if
|
|
13
|
+
if grep -qF -- "$needle" <<< "$haystack"; then
|
|
14
14
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
15
15
|
else
|
|
16
16
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -121,7 +121,7 @@ assert_contains "help shows Power Features" "Power Features" "$cli_help"
|
|
|
121
121
|
# Test 13: version
|
|
122
122
|
echo "Test 13: version"
|
|
123
123
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
124
|
-
assert_eq "version is 1.5.
|
|
124
|
+
assert_eq "version is 1.5.2" "1.5.2" "$version"
|
|
125
125
|
|
|
126
126
|
echo ""
|
|
127
127
|
echo "Results: $PASS passed, $FAIL failed"
|
|
@@ -10,7 +10,7 @@ PASS=0 FAIL=0
|
|
|
10
10
|
|
|
11
11
|
assert_contains() {
|
|
12
12
|
local desc="$1" needle="$2" haystack="$3"
|
|
13
|
-
if
|
|
13
|
+
if grep -qF -- "$needle" <<< "$haystack"; then
|
|
14
14
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
15
15
|
else
|
|
16
16
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -96,7 +96,7 @@ assert_contains "watch checks terminal states" "done|failed|timeout|cancelled" "
|
|
|
96
96
|
# Test 9: version
|
|
97
97
|
echo "Test 9: version"
|
|
98
98
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
99
|
-
assert_eq "version is 1.5.
|
|
99
|
+
assert_eq "version is 1.5.2" "1.5.2" "$version"
|
|
100
100
|
|
|
101
101
|
echo ""
|
|
102
102
|
echo "Results: $PASS passed, $FAIL failed"
|
|
@@ -10,7 +10,7 @@ PASS=0 FAIL=0
|
|
|
10
10
|
|
|
11
11
|
assert_contains() {
|
|
12
12
|
local desc="$1" needle="$2" haystack="$3"
|
|
13
|
-
if
|
|
13
|
+
if grep -qF -- "$needle" <<< "$haystack"; then
|
|
14
14
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
15
15
|
else
|
|
16
16
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -96,7 +96,7 @@ assert_contains "help shows Reliability" "Reliability" "$cli_help"
|
|
|
96
96
|
# Test 11: version bump
|
|
97
97
|
echo "Test 11: version"
|
|
98
98
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
99
|
-
assert_eq "version is 1.5.
|
|
99
|
+
assert_eq "version is 1.5.2" "1.5.2" "$version"
|
|
100
100
|
|
|
101
101
|
# Test 12: doctor --fix runs without errors
|
|
102
102
|
echo "Test 12: doctor --fix"
|
|
@@ -24,7 +24,7 @@ echo "=== test-review.sh ==="
|
|
|
24
24
|
# Test 1: --help flag
|
|
25
25
|
echo "Test 1: --help flag"
|
|
26
26
|
help_output=$("$BIN_DIR/review-pr.sh" --help 2>&1 || true)
|
|
27
|
-
if
|
|
27
|
+
if grep -q "Usage:" <<< "$help_output"; then
|
|
28
28
|
assert_eq "help shows usage" "true" "true"
|
|
29
29
|
else
|
|
30
30
|
assert_eq "help shows usage" "true" "false"
|
|
@@ -25,7 +25,7 @@ assert_eq() {
|
|
|
25
25
|
|
|
26
26
|
assert_contains() {
|
|
27
27
|
local desc="$1" needle="$2" haystack="$3"
|
|
28
|
-
if
|
|
28
|
+
if grep -qF "$needle" <<< "$haystack"; then
|
|
29
29
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
30
30
|
else
|
|
31
31
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -58,7 +58,7 @@ echo '{"tasks":[]}' > "$REGISTRY_FILE"
|
|
|
58
58
|
# Test 1: --help flag
|
|
59
59
|
echo "Test 1: --help flag"
|
|
60
60
|
help_output=$("$BIN_DIR/spawn-agent.sh" --help 2>&1 || true)
|
|
61
|
-
if
|
|
61
|
+
if grep -q "Usage:" <<< "$help_output"; then
|
|
62
62
|
assert_eq "help shows usage" "true" "true"
|
|
63
63
|
else
|
|
64
64
|
assert_eq "help shows usage" "true" "false"
|
|
@@ -74,7 +74,7 @@ assert_eq "dead session detected as failed" "failed" "$detected_status"
|
|
|
74
74
|
# Test 4: --help flag
|
|
75
75
|
echo "Test 4: --help flag"
|
|
76
76
|
help_output=$("$BIN_DIR/check-agents.sh" --help 2>&1 || true)
|
|
77
|
-
if
|
|
77
|
+
if grep -q "Usage:" <<< "$help_output"; then
|
|
78
78
|
assert_eq "help shows usage" "true" "true"
|
|
79
79
|
else
|
|
80
80
|
assert_eq "help shows usage" "true" "false"
|
|
@@ -10,7 +10,7 @@ PASS=0 FAIL=0
|
|
|
10
10
|
|
|
11
11
|
assert_contains() {
|
|
12
12
|
local desc="$1" needle="$2" haystack="$3"
|
|
13
|
-
if
|
|
13
|
+
if grep -qF -- "$needle" <<< "$haystack"; then
|
|
14
14
|
echo " ✅ $desc"; PASS=$((PASS+1))
|
|
15
15
|
else
|
|
16
16
|
echo " ❌ $desc (missing: $needle)"; FAIL=$((FAIL+1))
|
|
@@ -107,7 +107,7 @@ assert_contains "help shows Web Dashboard" "Web Dashboard" "$cli_help"
|
|
|
107
107
|
# Test 7: version
|
|
108
108
|
echo "Test 7: version"
|
|
109
109
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
110
|
-
assert_eq "version is 1.5.
|
|
110
|
+
assert_eq "version is 1.5.2" "1.5.2" "$version"
|
|
111
111
|
|
|
112
112
|
echo ""
|
|
113
113
|
echo "Results: $PASS passed, $FAIL failed"
|
clawforge_cli-1.5.1/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.5.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|