Skip to content

Commit a8bcad5

Browse files
tamirdresherCopilot
andcommitted
fix: harden release and workflow inputs
Relates to #2538 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 02f5738 commit a8bcad5

20 files changed

Lines changed: 219 additions & 108 deletions

‎.github/workflows/squad-standalone-release.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
steps:
117117
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7
118118
with:
119-
ref: ${{ inputs.source_sha }}
119+
ref: ${{ github.sha }}
120120
fetch-depth: 0
121121
- name: Validate inputs
122122
id: validate
@@ -231,7 +231,7 @@ jobs:
231231
steps:
232232
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7
233233
with:
234-
ref: ${{ inputs.source_sha }}
234+
ref: ${{ github.sha }}
235235
fetch-depth: 0
236236

237237
- name: Verify exact source checkout
@@ -363,7 +363,7 @@ jobs:
363363
steps:
364364
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7
365365
with:
366-
ref: ${{ inputs.source_sha }}
366+
ref: ${{ github.sha }}
367367
fetch-depth: 0
368368
- name: Verify exact source checkout
369369
env:
@@ -514,7 +514,7 @@ jobs:
514514
steps:
515515
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7
516516
with:
517-
ref: ${{ inputs.source_sha }}
517+
ref: ${{ github.sha }}
518518
fetch-depth: 0
519519

520520
- name: Verify exact source checkout
@@ -587,7 +587,7 @@ jobs:
587587
steps:
588588
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7
589589
with:
590-
ref: ${{ inputs.source_sha }}
590+
ref: ${{ github.sha }}
591591
fetch-depth: 0
592592
path: release-source
593593
- name: Verify exact source checkout
@@ -770,7 +770,7 @@ jobs:
770770
steps:
771771
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7
772772
with:
773-
ref: ${{ inputs.source_sha }}
773+
ref: ${{ github.sha }}
774774
fetch-depth: 0
775775
path: release-source
776776
- name: Verify exact source checkout

‎.github/workflows/squad-workflow-lint.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,18 @@ jobs:
5353
if: github.event_name == 'workflow_dispatch'
5454
env:
5555
SOURCE_SHA: ${{ inputs.sha }}
56+
DISPATCH_SHA: ${{ github.sha }}
5657
run: |
5758
[[ "$SOURCE_SHA" =~ ^[0-9a-f]{40}$ ]] || { echo "::error::sha must be a full lowercase 40-hex SHA, got '$SOURCE_SHA'"; exit 1; }
59+
[ "$SOURCE_SHA" = "$DISPATCH_SHA" ] || { echo "::error::sha must match the selected workflow ref"; exit 1; }
5860
5961
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7
6062
if: github.event_name != 'workflow_dispatch'
6163

6264
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7
6365
if: github.event_name == 'workflow_dispatch'
6466
with:
65-
ref: ${{ inputs.sha }}
67+
ref: ${{ github.sha }}
6668
fetch-depth: 0
6769

6870
- name: Assert checkout is exactly the requested SHA

‎docs/src/content/docs/reference/host-feature-matrix.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -667,9 +667,9 @@ Depends on: **a, b, c** · docs: [features/dual-mode-deployment](/squad/docs/fea
667667
| Host | Capability | Validation | Mechanism | Evidence |
668668
|------|------------|------------|-----------|----------|
669669
| `copilot` | ✅ supported | 🧪 validated-test | CLI writes `config.json.teamRoot`; state-mcp resolves `mode: remote`; canonical step 3 loads `team.md` from the team root; the digest's **Linked team** rule reads team files only through `squad_state`. | `validated-test:test/resolution.test.ts::*`<br>`validated-test:test/claude-linked-team.test.ts::every coordinator digest reads a linked team through squad_state`<br>`validated-test:test/squad-20-host-feature-matrix.test.ts::state-mcp follows config.json teamRoot from a satellite repo (remote mode)`<br>`validated-test:test/clients.test.ts::coordinator digest vs. host feature matrix`<br>`static-only` |
670-
| `claude` | ✅ supported | 🖥️ validated-live | `squad link` / `init --mode remote` write `config.json.teamRoot`; `squad init` and `squad upgrade` then scaffold no local roster, routing, charters or casting, and project the member subagents from the linked team (they read their charters with `squad_state_read`). The state bridge follows `teamRoot`, and the digest's **Linked team** rule reads team files only through `squad_state`. _Live (2026-11-13): roster and routing read from the linked team via `squad_state_read`, API work routed to Dallas, and the projected `dallas` subagent read its charter through `squad_state`; no local team files, no denials. Earlier run: roster served from `..\\base`; no casting attempted._ | `validated-test:test/claude-linked-team.test.ts::init and upgrade use the linked team: no local roster, members projected from the team`<br>`validated-test:test/resolution.test.ts::*`<br>`validated-test:test/claude-linked-team.test.ts::every coordinator digest reads a linked team through squad_state`<br>`validated-manual:lab:satellite-remote@2026-10-22`<br>`validated-test:test/squad-20-host-feature-matrix.test.ts::state-mcp follows config.json teamRoot from a satellite repo (remote mode)`<br>`validated-test:test/clients.test.ts::coordinator digest vs. host feature matrix`<br>`static-only`<br>`validated-manual:lab:satellite-linked-members@2026-11-13` |
670+
| `claude` | ✅ supported | 🖥️ validated-live | `squad link` / `init --mode remote` write `config.json.teamRoot`; `squad init` and `squad upgrade` then scaffold no local roster, routing, charters or casting, and project the member subagents from the linked team (they read their charters with `squad_state_read`). The state bridge follows `teamRoot`, and the digest's **Linked team** rule reads team files only through `squad_state`. _Live (2026-11-13): roster and routing read from the linked team via `squad_state_read`, API work routed to Dallas, and the projected `dallas` subagent read its charter through `squad_state`; no local team files, no denials. Earlier run: roster served from `..\\\\base`; no casting attempted._ | `validated-test:test/claude-linked-team.test.ts::init and upgrade use the linked team: no local roster, members projected from the team`<br>`validated-test:test/resolution.test.ts::*`<br>`validated-test:test/claude-linked-team.test.ts::every coordinator digest reads a linked team through squad_state`<br>`validated-manual:lab:satellite-remote@2026-10-22`<br>`validated-test:test/squad-20-host-feature-matrix.test.ts::state-mcp follows config.json teamRoot from a satellite repo (remote mode)`<br>`validated-test:test/clients.test.ts::coordinator digest vs. host feature matrix`<br>`static-only`<br>`validated-manual:lab:satellite-linked-members@2026-11-13` |
671671
| `kiro` | ✅ supported | 🧪 validated-test | State tools follow `teamRoot` transparently, but the digest reads `.squad/team.md` literally and never mentions `teamRoot`/`stateLocation`, so a satellite repo may look like Init Mode to the host coordinator; the digest's **Linked team** rule reads team files only through `squad_state`. _Finding F4 candidate — validate. Live run blocked on 2026-10-22: kiro quota/usage limit reached on the reference machine. Expected-fail digest gap (per-host it.fails in test/clients.test.ts): unsupported on this host until the section ships._ | `validated-test:test/resolution.test.ts::*`<br>`validated-test:test/claude-linked-team.test.ts::every coordinator digest reads a linked team through squad_state`<br>`validated-test:test/squad-20-host-feature-matrix.test.ts::state-mcp follows config.json teamRoot from a satellite repo (remote mode)`<br>`validated-test:test/clients.test.ts::coordinator digest vs. host feature matrix`<br>`static-only` |
672-
| `opencode` | ✅ supported | 🧪 validated-test | The state bridge follows `config.json.teamRoot`, so the host coordinator read the team-root roster via `squad_state_read` and did not enter Init Mode, even though the digest has no team-root section; the digest's **Linked team** rule reads team files only through `squad_state`. _Live: roster served from `..\base`; no casting attempted._ | `validated-test:test/resolution.test.ts::*`<br>`validated-test:test/claude-linked-team.test.ts::every coordinator digest reads a linked team through squad_state`<br>`validated-manual:lab:satellite-remote@2026-10-22`<br>`validated-test:test/squad-20-host-feature-matrix.test.ts::state-mcp follows config.json teamRoot from a satellite repo (remote mode)`<br>`validated-test:test/clients.test.ts::coordinator digest vs. host feature matrix`<br>`static-only` |
672+
| `opencode` | ✅ supported | 🧪 validated-test | The state bridge follows `config.json.teamRoot`, so the host coordinator read the team-root roster via `squad_state_read` and did not enter Init Mode, even though the digest has no team-root section; the digest's **Linked team** rule reads team files only through `squad_state`. _Live: roster served from `..\\base`; no casting attempted._ | `validated-test:test/resolution.test.ts::*`<br>`validated-test:test/claude-linked-team.test.ts::every coordinator digest reads a linked team through squad_state`<br>`validated-manual:lab:satellite-remote@2026-10-22`<br>`validated-test:test/squad-20-host-feature-matrix.test.ts::state-mcp follows config.json teamRoot from a satellite repo (remote mode)`<br>`validated-test:test/clients.test.ts::coordinator digest vs. host feature matrix`<br>`static-only` |
673673
| `cursor` | ✅ supported | 🧪 validated-test | State tools follow `teamRoot` transparently, but the digest reads `.squad/team.md` literally and never mentions `teamRoot`/`stateLocation`, so a satellite repo may look like Init Mode to the host coordinator; the digest's **Linked team** rule reads team files only through `squad_state`. _Finding F4 candidate — validate. Live run blocked on 2026-10-22: cursor quota/usage limit reached on the reference machine. Expected-fail digest gap (per-host it.fails in test/clients.test.ts): unsupported on this host until the section ships._ | `validated-test:test/resolution.test.ts::*`<br>`validated-test:test/claude-linked-team.test.ts::every coordinator digest reads a linked team through squad_state`<br>`validated-test:test/squad-20-host-feature-matrix.test.ts::state-mcp follows config.json teamRoot from a satellite repo (remote mode)`<br>`validated-test:test/clients.test.ts::coordinator digest vs. host feature matrix`<br>`static-only` |
674674
| `codex` | ✅ supported | 🧪 validated-test | State tools follow `teamRoot` transparently, but the digest reads `.squad/team.md` literally and never mentions `teamRoot`/`stateLocation`, so a satellite repo may look like Init Mode to the host coordinator; the digest's **Linked team** rule reads team files only through `squad_state`. _Finding F4 candidate — validate. No Codex binary or ChatGPT/API auth on the reference machine; static-only. Expected-fail digest gap (per-host it.fails in test/clients.test.ts): unsupported on this host until the section ships._ | `validated-test:test/resolution.test.ts::*`<br>`validated-test:test/claude-linked-team.test.ts::every coordinator digest reads a linked team through squad_state`<br>`validated-test:test/squad-20-host-feature-matrix.test.ts::state-mcp follows config.json teamRoot from a satellite repo (remote mode)`<br>`validated-test:test/clients.test.ts::coordinator digest vs. host feature matrix`<br>`static-only` |
675675
| `antigravity` | ✅ supported | 🧪 validated-test | State tools follow `teamRoot` transparently, but the digest reads `.squad/team.md` literally and never mentions `teamRoot`/`stateLocation`, so a satellite repo may look like Init Mode to the host coordinator; the digest's **Linked team** rule reads team files only through `squad_state`. _Finding F4 candidate — validate. Live run blocked on 2026-10-22: antigravity quota/usage limit reached on the reference machine. Expected-fail digest gap (per-host it.fails in test/clients.test.ts): unsupported on this host until the section ships._ | `validated-test:test/resolution.test.ts::*`<br>`validated-test:test/claude-linked-team.test.ts::every coordinator digest reads a linked team through squad_state`<br>`validated-test:test/squad-20-host-feature-matrix.test.ts::state-mcp follows config.json teamRoot from a satellite repo (remote mode)`<br>`validated-test:test/clients.test.ts::coordinator digest vs. host feature matrix`<br>`static-only` |
@@ -1021,7 +1021,7 @@ Headless real-CLI runs behind the `validated-manual:lab:<scenario>` evidence ent
10211021
| 2026-10-22 | `claude` | upstream | ✅ pass | `mcp__squad_state__squad_state_read`, `Bash` | Found SEVEN-SECOND-TIMEOUT decision and ORG-LOG-PREFIX skill by reading the upstream path from upstream.json. |
10221022
| 2026-10-22 | `claude` | cross-squad | ✅ pass | `Read`, `Bash` | Loaded cross-squad + cross-squad-communication skills, read squad-registry.json and peer manifest, prepared `squad delegate peer-b …`, no issue created, no ad-hoc subagents. |
10231023
| 2026-10-22 | `claude` | mono-subfolder | ✅ pass | `mcp__squad_state__squad_state_read` | From packages/api with --mcp-config <root>/.mcp.json; natively the server is "Pending approval" (F5). |
1024-
| 2026-10-22 | `claude` | satellite-remote | ✅ pass | `mcp__squad_state__squad_state_read`, `Read` | Roster served from teamRoot ..\base; no Init Mode. |
1024+
| 2026-10-22 | `claude` | satellite-remote | ✅ pass | `mcp__squad_state__squad_state_read`, `Read` | Roster served from teamRoot ..\\base; no Init Mode. |
10251025
| 2026-10-22 | `claude` | ado-platform | ✅ pass | `Bash`, `Read` | Detected Azure DevOps from the remote; consulted issue-lifecycle.md; proposed az boards/az repos commands; ran only read-only checks. |
10261026
| 2026-10-22 | `claude` | github-issues-readonly | ✅ pass | `Bash`, `mcp__squad_state__squad_state_read` | gh prerequisites checked; 5 squad-labelled issues listed read-only and routed via routing.md (Lead triages unknown squad:* labels). |
10271027
| 2026-10-22 | `claude` | state-orphan | ✅ pass | `mcp__squad_state__squad_state_health`, `mcp__squad_state__squad_decide`, `mcp__squad_state__squad_state_list` | Decision committed to the squad-state orphan branch; working tree untouched; health reported the storage class, not "orphan" (F6). |
@@ -1037,7 +1037,7 @@ Headless real-CLI runs behind the `validated-manual:lab:<scenario>` evidence ent
10371037
| 2026-10-22 | `opencode` | upstream | ⚠️ partial | `squad_state_squad_state_read`, `Bash` | Found the upstream decision; missed the `.copilot/skills` skill living beside the upstream `.squad/`. |
10381038
| 2026-10-22 | `opencode` | cross-squad | ✅ pass | `Read`, `Bash` | Loaded cross-squad + cross-squad-communication skills, read squad-registry.json and peer manifest, prepared `squad delegate peer-b …`, no issue created, no ad-hoc subagents. |
10391039
| 2026-10-22 | `opencode` | mono-subfolder | ✅ pass | `squad_state_squad_state_read` | From packages/api; opencode.json and agent resolved from the repo root. |
1040-
| 2026-10-22 | `opencode` | satellite-remote | ✅ pass | `squad_state_squad_state_read`, `Read` | Roster served from teamRoot ..\base; no Init Mode. |
1040+
| 2026-10-22 | `opencode` | satellite-remote | ✅ pass | `squad_state_squad_state_read`, `Read` | Roster served from teamRoot ..\\base; no Init Mode. |
10411041
| 2026-10-22 | `opencode` | ado-platform | ✅ pass | `Bash`, `Read` | Detected Azure DevOps from the remote; consulted issue-lifecycle.md; proposed az boards/az repos commands; ran only read-only checks. |
10421042
| 2026-10-22 | `opencode` | github-issues-readonly | ✅ pass | `Bash`, `squad_state_squad_state_read` | gh prerequisites checked; 5 squad-labelled issues listed read-only and routed via routing.md (Lead triages unknown squad:* labels). |
10431043
| 2026-10-22 | `opencode` | state-orphan | ✅ pass | `squad_state_squad_state_health`, `squad_state_squad_decide`, `squad_state_squad_state_list` | Decision committed to the squad-state orphan branch; working tree untouched; health reported the storage class, not "orphan" (F6). |

0 commit comments

Comments
 (0)