Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .agents/skills/dotnet-codestyle/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ Shared MSBuild configuration is centralized at the repository root, never duplic
sets a singular `TargetFramework`, the multi-targeted `.csproj` clears it, since a singular value
wins and builds one framework only. Its test projects run each framework under that framework's
own runtime. So the repository passes the hub's `validate-task.yml` a `dotnet-versions` input
naming every line, the `global.json` line first, such as `'["11.0", "10.0"]'`. That installs
each line beside the selected one in the one unit-test job. An entry leading with another line
fails the run.
naming every line, the `global.json` line first, such as `'["11.0", "10.0"]'`. Each line then
runs as its own unit-test leg, with every line installed beside the selected one. An entry
leading with another line fails the run.

A developer host now needs a release SDK on the repository's line, 10.0.x for the fleet default
today. A host holding only another major, or only a 10.0 preview, fails with a clear error. It
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ D1.7 is read in the build job. A step after the default leaf plans the declared

D1.8 is read in the build job. A step after the default leaf runs the consume check. It receives the build's computed version and the `python-versions` list. Empty becomes the one line the root `.python-version` selects, or the hub's fallback line where there is none. It uploads nothing.

D1.9 is read in the validate task's job list. The `Build test matrix job` outputs one matrix per kind, and each unit-test job's `matrix` reads its output. The .NET job's `dotnet test` carries `--framework` for its matrix line, and the Python job holds no .NET step. Each job's `if:` reads the output that says its kind exists.

Cite what each verdict rests on. That is `file:line` for a file in the audited repo. It is the evidence's own name where a setting, a ruleset, or a secret name rather than a file is the evidence. Where the guarantee binds a workflow or composite action the audited repo only reaches, it is `<owner>/<repo>@<sha>` plus the `file:line` in that repo. The callee is read at the SHA the caller pins. An **N/A** verdict names the absent construct instead, there being no line to cite.

### 5B. End-to-End Trace Scenarios (No Execution, Deterministic from the YAML)
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4220137c3ae914a3
f3639b6ba86a32a6
Original file line number Diff line number Diff line change
@@ -1 +1 @@
750bae5d66dc9c1d
48bde8411845cb66
6 changes: 3 additions & 3 deletions .claude-plugin/fleet-skills/skills/dotnet-codestyle/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ Shared MSBuild configuration is centralized at the repository root, never duplic
sets a singular `TargetFramework`, the multi-targeted `.csproj` clears it, since a singular value
wins and builds one framework only. Its test projects run each framework under that framework's
own runtime. So the repository passes the hub's `validate-task.yml` a `dotnet-versions` input
naming every line, the `global.json` line first, such as `'["11.0", "10.0"]'`. That installs
each line beside the selected one in the one unit-test job. An entry leading with another line
fails the run.
naming every line, the `global.json` line first, such as `'["11.0", "10.0"]'`. Each line then
runs as its own unit-test leg, with every line installed beside the selected one. An entry
leading with another line fails the run.

A developer host now needs a release SDK on the repository's line, 10.0.x for the fleet default
today. A host holding only another major, or only a 10.0 preview, fails with a clear error. It
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ D1.7 is read in the build job. A step after the default leaf plans the declared

D1.8 is read in the build job. A step after the default leaf runs the consume check. It receives the build's computed version and the `python-versions` list. Empty becomes the one line the root `.python-version` selects, or the hub's fallback line where there is none. It uploads nothing.

D1.9 is read in the validate task's job list. The `Build test matrix job` outputs one matrix per kind, and each unit-test job's `matrix` reads its output. The .NET job's `dotnet test` carries `--framework` for its matrix line, and the Python job holds no .NET step. Each job's `if:` reads the output that says its kind exists.

Cite what each verdict rests on. That is `file:line` for a file in the audited repo. It is the evidence's own name where a setting, a ruleset, or a secret name rather than a file is the evidence. Where the guarantee binds a workflow or composite action the audited repo only reaches, it is `<owner>/<repo>@<sha>` plus the `file:line` in that repo. The callee is read at the SHA the caller pins. An **N/A** verdict names the absent construct instead, there being no line to cite.

### 5B. End-to-End Trace Scenarios (No Execution, Deterministic from the YAML)
Expand Down
16 changes: 16 additions & 0 deletions .github/actions/dotnet-sdk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ inputs:
required: false
default: 'true'

outputs:
lines:
description: JSON array of the X.Y lines the caller's tests run under, the versions input where set, else the one line global.json selects, else the fallback line as X.0.
value: ${{ steps.sdk-line.outputs.lines }}

runs:
using: composite
steps:
Expand Down Expand Up @@ -68,13 +73,24 @@ runs:
sdk = document.get("sdk")
selected = isinstance(sdk, dict) and isinstance(sdk.get("version"), str)
extra = lines
# The lines a caller tests under, one dotnet test leg each, are the entries it names, else the one line global.json selects, else the fallback.
reported = lines
if not lines and selected:
line = re.match(r"[0-9]+\.[0-9]+", sdk["version"])
if line is None:
print("::error::The global.json sdk.version must start with an X.Y line, such as 10.0.100.")
sys.exit(1)
reported = [line.group(0)]
elif not lines:
reported = [fallback.replace(".x", ".0")]
if selected and lines:
line = re.match(r"[0-9]+\.[0-9]+", sdk["version"])
if line is None or lines[0] != line.group(0):
print("::error::The first versions entry differs from the X.Y line the root global.json selects, which the release builds on.")
sys.exit(1)
extra = lines[1:]
with open(os.environ["GITHUB_OUTPUT"], "a", encoding="utf-8") as output:
output.write("lines=" + json.dumps(reported) + "\n")
if selected:
output.write("global-json-file=global.json\n")
if extra:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/validate-default/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The hub default for the validate hook, used when a caller carries no .github/actions/validate/action.yml of its own.
# A repo with no domain checks of its own has nothing for this hook to run.
# These domain checks include an ESPHome compile, a Hugo build, a KiCad ERC, codegen drift, and PowerShell tests.
# The fleet doc-lint block plus the generic unit-test job already cover everything else validate-task.yml checks.
# The fleet doc-lint block plus the generic unit-test jobs already cover everything else validate-task.yml checks.
name: Validate repository (default)
description: No-op default for the validate hook.

Expand Down
6 changes: 3 additions & 3 deletions .github/skills/dotnet-codestyle/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ Shared MSBuild configuration is centralized at the repository root, never duplic
sets a singular `TargetFramework`, the multi-targeted `.csproj` clears it, since a singular value
wins and builds one framework only. Its test projects run each framework under that framework's
own runtime. So the repository passes the hub's `validate-task.yml` a `dotnet-versions` input
naming every line, the `global.json` line first, such as `'["11.0", "10.0"]'`. That installs
each line beside the selected one in the one unit-test job. An entry leading with another line
fails the run.
naming every line, the `global.json` line first, such as `'["11.0", "10.0"]'`. Each line then
runs as its own unit-test leg, with every line installed beside the selected one. An entry
leading with another line fails the run.

A developer host now needs a release SDK on the repository's line, 10.0.x for the fleet default
today. A host holding only another major, or only a 10.0 preview, fails with a clear error. It
Expand Down
Loading
Loading