Skip to content

Commit 260a97b

Browse files
authored
Merge branch 'master' into fix/loopback-mcp-client-timeout
2 parents f89fa9e + ed59e22 commit 260a97b

67 files changed

Lines changed: 2711 additions & 467 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/skills/bat-story-eval/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ If `$ARGUMENTS` is `--help` or missing `--baseline`, show usage and stop:
3333
### 0a. Compute Diff
3434

3535
```bash
36-
cd /home/julien/github/ha-mcp/worktree/uat-stories
36+
cd "$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")/worktree/uat-stories"
3737
git diff <baseline>..HEAD -- src/ha_mcp/ --stat
3838
git diff <baseline>..HEAD -- src/ha_mcp/ --name-only
3939
```
@@ -112,7 +112,7 @@ For EACH agent, run all stories against the **baseline** version. One container
112112
### 1a. Start container with first story
113113
114114
```bash
115-
cd /home/julien/github/ha-mcp/worktree/uat-stories
115+
cd "$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")/worktree/uat-stories"
116116
uv run python tests/uat/stories/run_story.py \
117117
catalog/<first_story>.yaml \
118118
--agents <agent> --keep-container \
@@ -370,4 +370,4 @@ Flag >5% total size increase (directly impacts token cost per turn).
370370
- Reuse containers: first story starts it (`--keep-container`), rest use `--ha-url`
371371
- Custom story YAMLs go to `/tmp/` (ephemeral); full details reported in Step 6
372372
- See "Metrics" section in Step 4 for primary vs secondary metric classification
373-
- The working directory MUST be `/home/julien/github/ha-mcp/worktree/uat-stories` for `uv run`
373+
- The working directory MUST be the `worktree/uat-stories` worktree root (where `pyproject.toml` lives) for `uv run`

.claude/skills/bat-story-eval/references/evaluation-protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ uv run python tests/uat/stories/scripts/ha_query.py \
3232
Check the exit code first. `ha_query.py` exits non-zero when the agent CLI
3333
itself failed, and prints `[exit N]` (plus stderr, when there is any) after
3434
whatever text the CLI managed to produce — `[exit 124]` for a query that hung
35-
past its timeout. The one non-zero exit without a marker is `Error: <agent>
35+
past its timeout. The one non-zero exit without a marker is `Error: {agent}
3636
CLI not found`, which means the agent is not installed: fix the environment
3737
rather than re-running. A failed query is **not a measurement**: do not score
3838
it as any of the three outcomes below — re-run it, and if it keeps failing,

.github/workflows/_build-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
python-version: '3.13'
5252

5353
- name: Install uv
54-
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
54+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
5555
with:
5656
version: "latest"
5757

.github/workflows/addon-publish-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
submodules: true
108108

109109
- name: Set up Docker Buildx
110-
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
110+
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
111111

112112
- name: Log in to GitHub Container Registry
113113
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4

.github/workflows/addon-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
ref: ${{ inputs.version && format('v{0}', inputs.version) || github.sha }}
5151

5252
- name: Set up Docker Buildx
53-
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
53+
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
5454

5555
- name: Log in to GitHub Container Registry
5656
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4

.github/workflows/build-binary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
python-version: '3.13'
6464

6565
- name: Install uv
66-
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
66+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
6767
with:
6868
version: "latest"
6969

.github/workflows/e2e-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343
submodules: true
4444

4545
- name: Set up Docker Buildx
46-
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
46+
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
4747
with:
4848
cache-binary: true
4949

5050
- name: Install uv
51-
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
51+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
5252
with:
5353
version: "latest"
5454

@@ -134,12 +134,12 @@ jobs:
134134
submodules: true
135135

136136
- name: Set up Docker Buildx
137-
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
137+
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
138138
with:
139139
cache-binary: true
140140

141141
- name: Install uv
142-
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
142+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
143143
with:
144144
version: "latest"
145145

@@ -231,12 +231,12 @@ jobs:
231231
fi
232232
233233
- name: Set up Docker Buildx
234-
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
234+
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
235235
with:
236236
cache-binary: true
237237

238238
- name: Install uv
239-
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
239+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
240240
with:
241241
version: "latest"
242242

.github/workflows/haos-e2e-embedded-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ jobs:
228228
# in conftest.py) — never on the cached base.
229229

230230
- name: Install uv
231-
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
231+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
232232
with:
233233
version: "latest"
234234

.github/workflows/haos-e2e-inaddon-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234
# gets cached.
235235

236236
- name: Install uv
237-
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
237+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
238238
with:
239239
version: "latest"
240240

.github/workflows/haos-e2e-stdio-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
# race it with a second cache save.
161161

162162
- name: Install uv
163-
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
163+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
164164
with:
165165
version: "latest"
166166

0 commit comments

Comments
 (0)