In this section
- Microbuild Worker Workflow automation · solar-electrical-topology-analysis-engine-text-based / .github/workflows/microbuild-worker.yml lines 1–143
- Programme State Sync Workflow automation · solar-electrical-topology-analysis-engine-text-based / .github/workflows/programme-state-sync.yml lines 1–51
- V10 Validation Workflow automation · solar-electrical-topology-analysis-engine-text-based / .github/workflows/v10-validation.yml lines 1–160
- V8 Tests Workflow test · solar-electrical-topology-analysis-engine-text-based / .github/workflows/v8-tests.yml lines 1–46
- 60x Program Proof Workflow automation · spiders / .github/workflows/20260904-60x-program-proof.yml lines 1–44
- Estate Survey Workflow automation · spiders / .github/workflows/20260904-estate-survey.yml lines 1–118
- Llama Advisory Workflow automation · spiders / .github/workflows/20260904-llama-advisory.yml lines 1–105
Microbuild Worker Workflow
A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based. Runs on push, on pull requests and by hand.
automationsolar-electrical-topology-analysis-engine-text-based / .github/workflows/microbuild-worker.yml · lines 1–143 of 143 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- In: JSON file microbuild-plan.json; JSON file authority-response.schema.json.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Check Microbuild Plan (`scripts/check_microbuild_plan.py`), Build Authority Bundle (`scripts/build_authority_bundle.py`) and Run Microbuild (`scripts/run_microbuild.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- solar-electrical-topology-analysis-engine-text-based · .github/workflows · workflow
- Uses
- Check Microbuild Plan (workflow run), Build Authority Bundle (workflow run), Run Microbuild (workflow run), Microbuild Evidence (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Microbuild Worker
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- solar-electrical-topology-analysis-engine-text-based@d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9 .github/workflows/microbuild-worker.yml:1-143 · blob 2424b790a965c83282d4382af3c5b76c0ca458f4 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: ingest · effects: filesystem, process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
name: Microbuild Worker
on:
workflow_dispatch:
pull_request:
paths:
- ".microbuild/**"
- "microbuild-plan.json"
- "scripts/check_microbuild_plan.py"
- "scripts/run_microbuild.py"
- "scripts/advance_microbuild.py"
- "scripts/microbuild_*.py"
- "scripts/build_authority_bundle.py"
- "scripts/reference_block_command.py"
- "scripts/local_authority_bridge.py"
- "scripts/run_authority_slice.py"
- "scripts/validate_clean_wheel.py"
- "scripts/validate_inverter_block_wheel.py"
- "tests/test_microbuild*.py"
- "tests/test_reference_block_command.py"
- "tests/test_authority_bundle.py"
- "tests/test_local_authority_bridge.py"
- "tests/test_end_to_end_authority_slice.py"
- "schemas/authority-response.schema.json"
- "authority-bundles/**"
- "src/solar_topology/**"
- "v10-development/topology-studio.html"
- "v10-development/authority/**"
- "v10-development/tests/studio-authority.test.mjs"
- "v10-development/tests/studio-authority-evidence.test.mjs"
- ".github/workflows/microbuild-worker.yml"
push:
branches:
- main
paths:
- ".microbuild/**"
- "microbuild-plan.json"
- "scripts/check_microbuild_plan.py"
- "scripts/run_microbuild.py"
- "scripts/advance_microbuild.py"
- "scripts/microbuild_*.py"
- "scripts/build_authority_bundle.py"
- "scripts/reference_block_command.py"
- "scripts/local_authority_bridge.py"
- "scripts/run_authority_slice.py"
- "scripts/validate_clean_wheel.py"
- "scripts/validate_inverter_block_wheel.py"
- "tests/test_microbuild*.py"
- "tests/test_reference_block_command.py"
- "tests/test_authority_bundle.py"
- "tests/test_local_authority_bridge.py"
- "tests/test_end_to_end_authority_slice.py"
- "schemas/authority-response.schema.json"
- "authority-bundles/**"
- "src/solar_topology/**"
- "v10-development/topology-studio.html"
- "v10-development/authority/**"
- "v10-development/tests/studio-authority.test.mjs"
- "v10-development/tests/studio-authority-evidence.test.mjs"
- ".github/workflows/microbuild-worker.yml"
permissions:
contents: read
concurrency:
group: microbuild-worker-${{ github.ref }}
cancel-in-progress: false
jobs:
active-step:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out full repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install package and test tools
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[test]" "build>=1.2"
- name: Validate microbuild manifest
id: manifest
run: |
summary="$(python scripts/check_microbuild_plan.py --check)"
echo "$summary"
programme_status="$(python -c 'import json,sys; print(json.load(sys.stdin)["programme_status"])' <<< "$summary")"
echo "programme_status=$programme_status" >> "$GITHUB_OUTPUT"
- name: Generate authority-bundle candidate
run: |
python scripts/build_authority_bundle.py \
--write \
--output .microbuild/candidates/reference-inverter-block.json
- name: Run active allowlisted test
if: steps.manifest.outputs.programme_status != 'completed'
run: python scripts/run_microbuild.py --execute
- name: Confirm completed programme
if: steps.manifest.outputs.programme_status == 'completed'
run: python scripts/run_microbuild.py
- name: Upload authority-bundle candidate
if: always()
uses: actions/upload-artifact@v4
with:
name: authority-bundle-candidate-${{ github.sha }}
if-no-files-found: ignore
retention-days: 90
path: .microbuild/candidates/reference-inverter-block.json
- name: Write canonical microbuild evidence
if: success() && steps.manifest.outputs.programme_status != 'completed'
run: |
python scripts/microbuild_evidence.py \
--tested-commit "$GITHUB_SHA" \
--result pass \
--workflow-run-id "$GITHUB_RUN_ID" \
--output .microbuild/evidence/latest.json
- name: Upload microbuild evidence
if: success() && steps.manifest.outputs.programme_status != 'completed'
uses: actions/upload-artifact@v4
with:
name: microbuild-evidence-${{ github.sha }}
if-no-files-found: error
retention-days: 90
path: .microbuild/evidence/latest.jsonProgramme State Sync Workflow
A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based. Runs on push and by hand.
automationsolar-electrical-topology-analysis-engine-text-based / .github/workflows/programme-state-sync.yml · lines 1–51 of 51 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- In: JSON file programme-state.json. Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Sync Programme State (`scripts/sync_programme_state.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- solar-electrical-topology-analysis-engine-text-based · .github/workflows · workflow
- Uses
- Sync Programme State (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Programme State Projection
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- solar-electrical-topology-analysis-engine-text-based@d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9 .github/workflows/programme-state-sync.yml:1-51 · blob 954ae056a25bdd6037bd72f07eea8adf373dfbd3 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
name: Programme State Projection
on:
push:
branches:
- main
paths:
- "programme-state.json"
- "scripts/sync_programme_state.py"
- ".github/workflows/programme-state-sync.yml"
workflow_dispatch:
permissions:
contents: write
concurrency:
group: programme-state-projection-main
cancel-in-progress: false
jobs:
project:
if: github.actor != 'github-actions[bot]' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check out main
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Generate public projections
run: python scripts/sync_programme_state.py --write
- name: Commit projection changes
run: |
if git diff --quiet -- README.md progress-dashboard.html; then
echo "Programme projections already current"
exit 0
fi
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add README.md progress-dashboard.html
git commit -m "docs: project programme state"
git push origin HEAD:mainV10 Validation Workflow
A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based. Runs on push, on pull requests and by hand.
automationsolar-electrical-topology-analysis-engine-text-based / .github/workflows/v10-validation.yml · lines 1–160 of 160 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- In: JSON file programme-state.json; JSON file programme-state.schema.json; JSON file V10_VALIDATION_LATEST.json.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Build Authority Bundle (`scripts/build_authority_bundle.py`), Check Capsule Links (`scripts/check_capsule_links.py`) and Sync Programme State (`scripts/sync_programme_state.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- solar-electrical-topology-analysis-engine-text-based · .github/workflows · workflow
- Uses
- Build Authority Bundle (workflow run), Check Capsule Links (workflow run), Sync Programme State (workflow run), Run V10 Validation (workflow run), Validate Clean Wheel (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- V10 Engine Validation
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- solar-electrical-topology-analysis-engine-text-based@d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9 .github/workflows/v10-validation.yml:1-160 · blob 66eef9b7584da4eda33b9550bf0c4201dd588a29 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: ingest · effects: filesystem, process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
name: V10 Engine Validation
on:
workflow_dispatch:
pull_request:
paths:
- ".gitignore"
- "programme-state.json"
- "schemas/programme-state.schema.json"
- "README.md"
- "progress-dashboard.html"
- "docs/quantum-spawn/**"
- "docs/trueself/**"
- "pyproject.toml"
- "src/solar_topology/**"
- "tests/**"
- "scripts/build_authority_bundle.py"
- "scripts/check_capsule_links.py"
- "scripts/local_authority_bridge.py"
- "scripts/run_authority_slice.py"
- "scripts/run_v10_validation.py"
- "scripts/validate_authority_bundle.py"
- "scripts/validate_clean_wheel.py"
- "scripts/validate_inverter_block_wheel.py"
- "scripts/sync_programme_state.py"
- "v8-leapfrog/**"
- "v9-sandbox/debug/**"
- "v10-development/src/**"
- "v10-development/tests/**"
- "v10-development/package.json"
- ".github/workflows/v10-validation.yml"
push:
branches:
- main
paths:
- ".gitignore"
- "programme-state.json"
- "schemas/programme-state.schema.json"
- "README.md"
- "progress-dashboard.html"
- "docs/quantum-spawn/**"
- "docs/trueself/**"
- "pyproject.toml"
- "src/solar_topology/**"
- "tests/**"
- "scripts/build_authority_bundle.py"
- "scripts/check_capsule_links.py"
- "scripts/local_authority_bridge.py"
- "scripts/run_authority_slice.py"
- "scripts/run_v10_validation.py"
- "scripts/validate_authority_bundle.py"
- "scripts/validate_clean_wheel.py"
- "scripts/validate_inverter_block_wheel.py"
- "scripts/sync_programme_state.py"
- "v8-leapfrog/**"
- "v9-sandbox/debug/**"
- "v10-development/src/**"
- "v10-development/tests/**"
- "v10-development/package.json"
- ".github/workflows/v10-validation.yml"
permissions:
contents: read
concurrency:
group: v10-engine-validation-${{ github.ref }}
cancel-in-progress: false
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Install Python package and tests
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[test]"
- name: Generate authority-bundle candidate
run: >-
python scripts/build_authority_bundle.py
--write
--output .microbuild/candidates/reference-inverter-block.json
- name: Enforce capsule-link integrity
run: python scripts/check_capsule_links.py --check
- name: Enforce programme-state manifest and public-page drift gate
run: python scripts/sync_programme_state.py --check
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Run all declared suites and write execution evidence
id: validation
continue-on-error: true
run: python scripts/run_v10_validation.py
- name: Upload validation execution envelope
if: always()
uses: actions/upload-artifact@v4
with:
name: v10-validation-${{ github.sha }}
if-no-files-found: error
retention-days: 90
path: |
v10-development/recovery/validation/V10_VALIDATION_LATEST.md
v10-development/recovery/validation/V10_VALIDATION_LATEST.json
- name: Enforce validation gate
if: always()
run: |
python - <<'PY'
import json
from pathlib import Path
path = Path("v10-development/recovery/validation/V10_VALIDATION_LATEST.json")
payload = json.loads(path.read_text(encoding="utf-8"))
if not payload["pass"]:
failed = [item["name"] for item in payload["results"] if not item["pass"]]
raise SystemExit("V10 validation failed: " + ", ".join(failed))
print("V10 validation passed")
PY
clean-wheel:
name: Clean installed wheel authority
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Install wheel build tool
run: |
python -m pip install --upgrade pip
python -m pip install "build>=1.2"
- name: Build, install and probe outside repository
run: python scripts/validate_clean_wheel.pyV8 Tests Workflow
A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based. Runs on push and on pull requests.
testsolar-electrical-topology-analysis-engine-text-based / .github/workflows/v8-tests.yml · lines 1–46 of 46 · Entry point
- What it does
- It tests its inputs. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “V8 leapfrog regression tests”; runs Check V8 Source Width (`tests/check_v8_source_width.py`) and V8 Model Test (`tests/v8-model.test.js`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- solar-electrical-topology-analysis-engine-text-based · .github/workflows · workflow
- Uses
- Check V8 Source Width (workflow run), Model (workflow run), Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog (workflow run), V8 Model Test (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- V8 leapfrog regression tests
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- solar-electrical-topology-analysis-engine-text-based@d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9 .github/workflows/v8-tests.yml:1-46 · blob bd7503b93061d58d15c4d633c9de71a1b8891347 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
name: V8 leapfrog regression tests
on:
push:
branches: [main]
paths:
- 'v8-leapfrog/**'
- 'tests/v8-model.test.js'
- 'tests/check_v8_source_width.py'
- '.github/workflows/v8-tests.yml'
pull_request:
paths:
- 'v8-leapfrog/**'
- 'tests/v8-model.test.js'
- 'tests/check_v8_source_width.py'
- '.github/workflows/v8-tests.yml'
permissions:
contents: read
jobs:
test-v8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Enforce readable source width
run: python tests/check_v8_source_width.py
- name: Syntax check model
run: node --check v8-leapfrog/model.js
- name: Syntax check browser application
run: node --check v8-leapfrog/app.js
- name: Run V8 regression tests
run: node tests/v8-model.test.js60x Program Proof Workflow
A GitHub Actions workflow in Spiders. Runs on push, on pull requests and by hand.
automationspiders / .github/workflows/20260904-60x-program-proof.yml · lines 1–44 of 44 · version 2026-09-04 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Test Cloud Workflows (`tools/test-cloud-workflows.mjs`) and Validate 60x Program (`tools/validate-60x-program.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- spiders · .github/workflows · workflow
- Uses
- Test Cloud Workflows (workflow run), Validate 60x Program (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- 60x program proof
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/20260904-60x-program-proof.yml:1-44 · blob d7e2817e8c316547752caf59f9e3a87e0b91d8cd · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: 60x program proof
on:
workflow_dispatch:
push:
branches:
- main
paths:
- control/20260904-60x-program.json
- tools/validate-60x-program.mjs
- tools/test-cloud-workflows.mjs
- .github/workflows/20260904-60x-program-proof.yml
pull_request:
paths:
- control/20260904-60x-program.json
- tools/validate-60x-program.mjs
- .github/workflows/20260904-60x-program-proof.yml
permissions:
contents: read
concurrency:
group: 60x-program-proof-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Validate data-only program and write receipt
run: |
node tools/test-cloud-workflows.mjs
node tools/validate-60x-program.mjs --receipt artifacts/60x-program-receipt.json
- name: Upload deterministic receipt
if: always()
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
with:
name: 60x-program-receipt
path: artifacts/60x-program-receipt.json
if-no-files-found: errorEstate Survey Workflow
A GitHub Actions workflow in Spiders. Runs on push, on pull requests and by hand.
automationspiders / .github/workflows/20260904-estate-survey.yml · lines 1–118 of 118 · version 2026-09-04 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “Bounded public estate survey”; runs Test Estate Survey (`tools/test-estate-survey.mjs`), Test Cloud Workflows (`tools/test-cloud-workflows.mjs`) and Estate Survey (`tools/estate-survey.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- spiders · .github/workflows · workflow
- Uses
- Test Estate Survey (workflow run), Test Cloud Workflows (workflow run), Estate Survey (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Bounded public estate survey
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/20260904-estate-survey.yml:1-118 · blob 4cd852854a73af704878f40f76a760cf148eacec · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: Bounded public estate survey
on:
workflow_dispatch:
push:
branches:
- main
- 'codex/**'
paths:
- control/20260904-estate-survey-registry.json
- control/ESTATE_SURVEY.md
- tools/estate-survey.mjs
- tools/test-estate-survey.mjs
- tools/test-cloud-workflows.mjs
- .github/workflows/20260904-estate-survey.yml
pull_request:
paths:
- control/20260904-estate-survey-registry.json
- control/ESTATE_SURVEY.md
- tools/estate-survey.mjs
- tools/test-estate-survey.mjs
- tools/test-cloud-workflows.mjs
- .github/workflows/20260904-estate-survey.yml
permissions:
contents: read
concurrency:
group: spiders-estate-survey-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
prepare:
name: Validate immutable local registry
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Prove observer and workflow policy
run: |
node tools/test-estate-survey.mjs
node tools/test-cloud-workflows.mjs
node tools/estate-survey.mjs registry \
--registry control/20260904-estate-survey-registry.json \
--out artifacts/estate-survey-local.json
- name: Upload local registry receipt
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: estate-survey-local
path: artifacts/estate-survey-local.json
if-no-files-found: error
retention-days: 30
survey:
name: Survey shard ${{ matrix.shard }}
needs: prepare
runs-on: ubuntu-24.04
timeout-minutes: 10
strategy:
fail-fast: false
max-parallel: 4
matrix:
shard: [0, 1, 2, 3]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Read public repository state
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
node tools/estate-survey.mjs survey
--registry control/20260904-estate-survey-registry.json
--shard ${{ matrix.shard }}
--out artifacts/estate-survey-shard-${{ matrix.shard }}.json
- name: Upload shard receipt
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: estate-survey-shard-${{ matrix.shard }}
path: artifacts/estate-survey-shard-${{ matrix.shard }}.json
if-no-files-found: error
retention-days: 30
aggregate:
name: Compare cloud observations with local registry
needs: [prepare, survey]
if: always()
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Download local and cloud receipts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
with:
pattern: estate-survey-*
path: artifacts/downloaded
merge-multiple: true
- name: Aggregate and fail closed on observer faults
run: >-
node tools/estate-survey.mjs aggregate
--registry control/20260904-estate-survey-registry.json
--local artifacts/downloaded/estate-survey-local.json
--shards artifacts/downloaded/estate-survey-shard-0.json,artifacts/downloaded/estate-survey-shard-1.json,artifacts/downloaded/estate-survey-shard-2.json,artifacts/downloaded/estate-survey-shard-3.json
--out artifacts/estate-survey-aggregate.json
- name: Upload aggregate receipt
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: estate-survey-aggregate
path: artifacts/estate-survey-aggregate.json
if-no-files-found: error
retention-days: 30Llama Advisory Workflow
A GitHub Actions workflow in Spiders. Runs on push and by hand.
automationspiders / .github/workflows/20260904-llama-advisory.yml · lines 1–105 of 105 · version 2026-09-04 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow
- Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs
- In: JSON file pre-validation.json; JSON file post-validation.json.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “Manual Llama advisory fault finding”; runs Test Cloud Workflows (`tools/test-cloud-workflows.mjs`), Validate 60x Program (`tools/validate-60x-program.mjs`) and Llama Advisory (`tools/llama-advisory.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- spiders · .github/workflows · workflow
- Uses
- Test Cloud Workflows (workflow run), Validate 60x Program (workflow run), Llama Advisory (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Manual Llama advisory fault finding
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/20260904-llama-advisory.yml:1-105 · blob b71292383e7c0da7ac2995106560f433d37efb80 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: ingest · effects: filesystem, network, process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: Manual Llama advisory fault finding
on:
workflow_dispatch:
inputs:
enable_advisory:
description: Run the pinned CPU model after deterministic validation
required: true
default: false
type: boolean
push:
branches:
- main
paths:
- control/20260904-60x-program.json
- tools/validate-60x-program.mjs
- tools/llama-advisory.mjs
- tools/test-cloud-workflows.mjs
- .github/workflows/20260904-llama-advisory.yml
permissions:
contents: read
concurrency:
group: spiders-llama-advisory
cancel-in-progress: true
jobs:
advisory:
runs-on: ubuntu-24.04
timeout-minutes: 25
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Authoritative pre-validation
run: |
node tools/test-cloud-workflows.mjs
node tools/validate-60x-program.mjs --receipt artifacts/pre-validation.json
node tools/llama-advisory.mjs prepare --program control/20260904-60x-program.json --validation artifacts/pre-validation.json --out artifacts/prompt.txt
- name: Optional bounded CPU advisory
env:
ENABLE_ADVISORY: ${{ github.event_name == 'push' || inputs.enable_advisory }}
LLAMA_COMMIT: ff067f76dd8e9e05f0528056f1274adf01a54d70
MODEL_REVISION: 9217f5db79a29953eb74d5343926648285ec7e67
MODEL_SHA256: 74a4da8c9fdbcd15bd1f6d01d621410d31c6fc00986f5eb687824e7b93d7a9db
run: |
set +e
output=artifacts/advisory.txt
status=artifacts/runtime-status.txt
if [ "$ENABLE_ADVISORY" != "true" ]; then
printf '%s\n' 'advisory disabled by dispatch input' > "$output"
printf '%s\n' 'disabled' > "$status"
exit 0
fi
git init -q /tmp/llama.cpp
git -C /tmp/llama.cpp remote add origin https://github.com/ggml-org/llama.cpp.git
git -C /tmp/llama.cpp fetch -q --depth 1 origin "$LLAMA_COMMIT"
git -C /tmp/llama.cpp checkout -q --detach FETCH_HEAD
if [ "$(git -C /tmp/llama.cpp rev-parse HEAD)" != "$LLAMA_COMMIT" ]; then
printf '%s\n' 'runtime commit mismatch; inference refused' > "$output"
printf '%s\n' 'runtime-integrity-failed' > "$status"
exit 0
fi
cmake -S /tmp/llama.cpp -B /tmp/llama.cpp/build -DLLAMA_CURL=OFF -DGGML_NATIVE=OFF -DGGML_OPENMP=ON -DCMAKE_BUILD_TYPE=Release
cmake --build /tmp/llama.cpp/build --config Release -j 2 --target llama-cli
cli=$(find /tmp/llama.cpp/build -type f -name llama-cli | head -1)
model=/tmp/qwen2.5-0.5b-instruct-q4_k_m.gguf
curl --fail --location --retry 2 --max-time 240 -o "$model" "https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct-GGUF/resolve/$MODEL_REVISION/qwen2.5-0.5b-instruct-q4_k_m.gguf?download=true"
if [ "$(sha256sum "$model" | cut -d' ' -f1)" != "$MODEL_SHA256" ] || [ ! -x "$cli" ]; then
printf '%s\n' 'model or runtime integrity failed; inference refused' > "$output"
printf '%s\n' 'dependency-integrity-failed' > "$status"
exit 0
fi
timeout 180 "$cli" -m "$model" -f artifacts/prompt.txt --ctx-size 4096 --threads 4 --n-predict 384 --temp 0 > /tmp/advisory-full.txt 2>/tmp/advisory-runtime.txt
rc=$?
head -c 32768 /tmp/advisory-full.txt > "$output"
printf 'inference-rc=%s\n' "$rc" > "$status"
exit 0
- name: Seal advisory receipt
if: always()
run: |
test -f artifacts/prompt.txt
test -f artifacts/advisory.txt
test -f artifacts/runtime-status.txt
node tools/llama-advisory.mjs seal --prompt artifacts/prompt.txt --output artifacts/advisory.txt --runtime-status artifacts/runtime-status.txt --receipt artifacts/llama-advisory-receipt.json
- name: Authoritative post-validation
run: |
node tools/test-cloud-workflows.mjs
node tools/validate-60x-program.mjs --receipt artifacts/post-validation.json
test "$(python3 -c 'import json;print(json.load(open("artifacts/pre-validation.json"))["program_sha256"])')" = "$(python3 -c 'import json;print(json.load(open("artifacts/post-validation.json"))["program_sha256"])')"
node tools/llama-advisory.mjs validate --prompt artifacts/prompt.txt --output artifacts/advisory.txt --runtime-status artifacts/runtime-status.txt --receipt artifacts/llama-advisory-receipt.json
- name: Upload bounded advisory evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: llama-advisory-${{ github.sha }}
path: artifacts/
if-no-files-found: error
retention-days: 30