In this section
- VEDIC Modular Consumer Workflow automation · vedic- / .github/workflows/modular-consumer.yml lines 1–203
- VEDIC Release Rehearsal Workflow automation · vedic- / .github/workflows/release-rehearsal.yml lines 1–38
- Compute Receipts Workflow automation · ventus-grid-engine / .github/workflows/compute-receipts.yml lines 1–25
- Dashboard Review Workflow automation · ventus-grid-engine / .github/workflows/dashboard-review.yml lines 1–35
- Deeplink Receiver Audit Workflow automation · ventus-grid-engine / .github/workflows/deeplink-receiver-audit.yml lines 1–75
- Genome Workflow automation · ventus-grid-engine / .github/workflows/genome.yml lines 1–97
- Spider Features Workflow automation · ventus-grid-engine / .github/workflows/spider-features.yml lines 1–81
- Verify Workflow automation · ventus-grid-engine / .github/workflows/verify.yml lines 1–28
VEDIC Modular Consumer Workflow
A GitHub Actions workflow. Runs on pull requests, on a schedule and by hand.
automationvedic- / .github/workflows/modular-consumer.yml · lines 1–203 of 203 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow
- Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs
- In: JSON file estate-crib-library.json; JSON file daily-command-queue.json; JSON file source-command-candidates.json; JSON file admitted-queue-archive.json; JSON file daily-research.json; JSON file accelerator-research.json; JSON file modular-snapshot.json; JSON file proposal.json.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs VEDIC Daily Intelligence (`tools/daily_intelligence.py`), VEDIC Daily Operations (`tools/daily_operations.py`) and VEDIC Modular Snapshot (`tools/modular_snapshot.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- vedic- · .github/workflows · workflow
- Uses
- VEDIC Test Daily Accelerator (workflow run), VEDIC Test Family Pulse (workflow run), VEDIC Test Modular Snapshot (workflow run), VEDIC Test Daily Intelligence (workflow run), VEDIC Daily Intelligence (workflow run), VEDIC Daily Operations (workflow run), VEDIC Modular Snapshot (workflow run), VEDIC Test Daily Operations (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- VEDIC Modular Star consumer
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- vedic-@1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0 .github/workflows/modular-consumer.yml:1-203 · blob 68cd7ed362ed7628be48ba2c8781b1fbaf297e43 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: ingest · effects: process, storage · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: VEDIC Modular Star consumer
on:
workflow_dispatch:
inputs:
accelerator:
description: Rehearse the nightly CPU accelerator on the current verified Modular Star snapshot
type: boolean
default: false
schedule:
- cron: '37 3 * * *'
pull_request:
paths:
- 'tools/modular_snapshot.py'
- 'tools/modular_features.py'
- 'tools/estate_crib_search.py'
- 'tools/estate_domain_scan.py'
- 'tools/daily_accelerator.py'
- 'tools/test_daily_accelerator.py'
- 'data/estate-crib-library.json'
- 'tools/test_modular_snapshot.py'
- 'tools/daily_intelligence.py'
- 'tools/daily_operations.py'
- 'tools/test_daily_operations.py'
- 'tools/daily_source_policy.py'
- 'tools/test_daily_source_policy.py'
- 'tools/source_admissions.py'
- 'tools/test_source_admissions.py'
- 'tools/family_pulse.py'
- 'tools/test_family_pulse.py'
- 'tools/dictionary_shards.py'
- 'data/daily-command-queue.json'
- 'data/source-command-candidates.json'
- 'data/source-policy*.json'
- 'data/admitted-queue-archive.json'
- 'tools/test_daily_intelligence.py'
- '.github/workflows/modular-consumer.yml'
permissions:
contents: read
concurrency:
group: vedic-modular-consumer-${{ github.ref }}
cancel-in-progress: false
jobs:
snapshot:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
actions: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -m pip install duckdb==1.4.2
- name: Install CPU accelerator dependencies
if: github.event_name == 'schedule' || inputs.accelerator || github.event_name == 'pull_request'
run: python -m pip install numpy==2.4.6 pyarrow==25.0.1
- name: Test CPU accelerator and checkpoint progression
if: github.event_name == 'schedule' || inputs.accelerator || github.event_name == 'pull_request'
run: python -m unittest discover -s tools -p 'test_daily_accelerator.py' -v
- run: python -m unittest discover -s tools -p 'test_family_pulse.py' -v
- run: python -m unittest discover -s tools -p 'test_modular_snapshot.py' -v
- run: python -m unittest discover -s tools -p 'test_daily_intelligence.py' -v
- name: Historical research preview
if: github.event_name == 'workflow_dispatch'
run: python tools/daily_intelligence.py --output "$RUNNER_TEMP/receipts/daily-research.json"
- name: Compressed family pulse and CPU accelerator
id: research
shell: bash
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
env:
GH_TOKEN: ${{ github.token }}
ACCELERATOR_PREVIEW: ${{ inputs.accelerator }}
OPENBLAS_NUM_THREADS: '2'
OMP_NUM_THREADS: '2'
run: |
run=()
if [ "$GITHUB_EVENT_NAME" = "schedule" ]; then
run=(--run-id "$GITHUB_RUN_ID" --accelerator)
elif [ "$ACCELERATOR_PREVIEW" = "true" ]; then
run=(--accelerator)
fi
python tools/daily_operations.py research --output "$RUNNER_TEMP/receipts" "${run[@]}"
if [ -f "$RUNNER_TEMP/receipts/accelerator-research.json" ]; then
echo 'accelerator=true' >> "$GITHUB_OUTPUT"
fi
- name: Acquire and validate existing producer database (manual only)
if: github.event_name == 'workflow_dispatch' && !inputs.accelerator
env:
GH_TOKEN: ${{ github.token }}
run: python tools/modular_snapshot.py --output "$RUNNER_TEMP/receipts/modular-snapshot.json"
- uses: actions/upload-artifact@v4
if: always() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
with:
name: vedic-research-${{ github.run_id }}
path: |
${{ runner.temp }}/receipts/
!${{ runner.temp }}/receipts/accelerator-research.json
if-no-files-found: error
overwrite: true
retention-days: 14
- uses: actions/upload-artifact@v4
if: steps.research.outputs.accelerator == 'true'
with:
name: vedic-accelerator-${{ github.run_id }}-${{ github.run_attempt }}
path: ${{ runner.temp }}/receipts/accelerator-research.json
if-no-files-found: error
retention-days: 14
record-family-progress:
if: github.event_name == 'schedule' && github.ref == 'refs/heads/main' && github.repository == 'Ventusltd/vedic-'
needs: snapshot
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: actions/download-artifact@v4
with:
name: vedic-research-${{ github.run_id }}
path: ${{ runner.temp }}/receipts/
- run: python tools/daily_operations.py persist --output "$RUNNER_TEMP/receipts" --run-id "$GITHUB_RUN_ID"
proposal:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
actions: read
outputs:
status: ${{ steps.prepare.outputs.status }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -m unittest discover -s tools -p 'test_daily_operations.py' -v
- name: Prepare bounded source admission for review
id: prepare
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
started=$(gh run view "$GITHUB_RUN_ID" --json createdAt --jq .createdAt)
unset GH_TOKEN
python tools/daily_operations.py proposal --output "$RUNNER_TEMP/proposal" --created-at "$started"
status=$(jq -r .status "$RUNNER_TEMP/proposal/proposal.json")
echo "status=$status" >> "$GITHUB_OUTPUT"
if [ "$status" = 'ready_for_review' ]; then
echo 'A verified Git bundle is available in the VEDIC proposal artifact.' >> "$GITHUB_STEP_SUMMARY"
fi
- uses: actions/upload-artifact@v4
with:
name: vedic-proposal-${{ github.run_id }}
path: ${{ runner.temp }}/proposal/
if-no-files-found: error
overwrite: true
retention-days: 14
offer-review-pr:
if: >-
github.event_name == 'schedule' && github.ref == 'refs/heads/main' && github.repository == 'Ventusltd/vedic-' &&
needs.proposal.outputs.status == 'ready_for_review' && vars.VEDIC_REVIEW_APP_CLIENT_ID != ''
needs: proposal
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: actions/download-artifact@v4
with:
name: vedic-proposal-${{ github.run_id }}
path: ${{ runner.temp }}/proposal/
- id: review-app
uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc # v3
with:
client-id: ${{ vars.VEDIC_REVIEW_APP_CLIENT_ID }}
private-key: ${{ secrets.VEDIC_REVIEW_APP_PRIVATE_KEY }}
permission-contents: write
permission-pull-requests: write
- name: Offer independently gated review PR
env:
GH_TOKEN: ${{ steps.review-app.outputs.token }}
run: |
gh auth setup-git
python tools/daily_operations.py review-pr --output "$RUNNER_TEMP/proposal"VEDIC Release Rehearsal Workflow
A GitHub Actions workflow. Runs on pull requests and by hand.
automationvedic- / .github/workflows/release-rehearsal.yml · lines 1–38 of 38 · 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 'vedic'): 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 VEDIC Check Pages Candidate (`tools/check_pages_candidate.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- vedic- · .github/workflows · workflow
- Uses
- VEDIC Test Modular Snapshot (workflow run), VEDIC Check Pages Candidate (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- VEDIC release rehearsal
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- vedic-@1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0 .github/workflows/release-rehearsal.yml:1-38 · blob 6c91381ceab48e6fbffebd6c173ceabe767bc1e5 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: VEDIC release rehearsal
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: vedic-release-rehearsal-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
PYTHONUTF8: '1'
jobs:
windows-snapshot:
runs-on: windows-2025
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -W error::ResourceWarning -m unittest discover -s tools -p test_modular_snapshot.py -v
pages-rehearsal:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -m pip install playwright==1.56.0
- run: python -m playwright install --with-deps chromium webkit
- run: python tools/check_pages_candidate.pyCompute Receipts Workflow
A GitHub Actions workflow in Ventus Grid Engine. Runs on pull requests and by hand.
automationventus-grid-engine / .github/workflows/compute-receipts.yml · lines 1–25 of 25 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “Compute receipt owner verification”.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- ventus-grid-engine · .github/workflows · workflow
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Compute receipt owner verification
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- ventus-grid-engine@ad566356a44e006682e956483d569f31ddbb9630 .github/workflows/compute-receipts.yml:1-25 · blob 0d58003744a315643a8850e0d418e8ece59541b7 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Compute receipt owner verification
on:
pull_request:
paths:
- 'engine/**'
- 'proofs/**'
- 'tools/build-browser-observer.mjs'
- '.github/workflows/compute-receipts.yml'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: compute-receipts-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm testDashboard Review Workflow
A GitHub Actions workflow in Ventus Grid Engine. Runs on push and by hand.
automationventus-grid-engine / .github/workflows/dashboard-review.yml · lines 1–35 of 35 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Verify (`verify.mjs`), Build Dashboard (`tools/build-dashboard.py`) and `tests/dashboard-browser.cjs`.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- ventus-grid-engine · .github/workflows · workflow
- Uses
- Verify (workflow run), Build Dashboard (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Dashboard review
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- ventus-grid-engine@ad566356a44e006682e956483d569f31ddbb9630 .github/workflows/dashboard-review.yml:1-35 · blob 57ff6a18349832ff6a05d2820dcd804ca6e86af3 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Dashboard review
on:
push:
branches: [dashboard-refresh-20260925]
workflow_dispatch:
permissions:
contents: read
jobs:
dashboard:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Existing engine proofs
run: node verify.mjs
- name: Check generated dashboard
run: |
python tools/build-dashboard.py
git diff --exit-code -- index.html
- name: Install browser
run: |
npm install --no-save --package-lock=false playwright@1.63.0
npx playwright install --with-deps chromium
- name: Browser review
run: |
python -m http.server 8765 --bind 127.0.0.1 > /tmp/dashboard-http.log 2>&1 &
node tests/dashboard-browser.cjs
- uses: actions/upload-artifact@v4
if: always()
with:
name: dashboard-browser-evidence
path: browser-evidence/Deeplink Receiver Audit Workflow
A GitHub Actions workflow in Ventus Grid Engine that builds and publishes the site. Runs on push, on a schedule and by hand.
automationventus-grid-engine / .github/workflows/deeplink-receiver-audit.yml · lines 1–75 of 75 · Entry point
- What it does
- It builds and publishes its content. Side effects: starts processes.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Verify (`verify.mjs`), Deeplink Receiver Proof (`proofs/deeplink-receiver.proof.mjs`) and Audit Receivers (`tools/audit-receivers.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- ventus-grid-engine · .github/workflows · workflow
- Uses
- Verify (workflow run), Deeplink Receiver Proof (workflow run), Audit Receivers (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- deeplink receiver audit
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- ventus-grid-engine@ad566356a44e006682e956483d569f31ddbb9630 .github/workflows/deeplink-receiver-audit.yml:1-75 · blob 70d6f80e42c4520be592477f85ff6b42b44bf2e1 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: deeplink receiver audit
# Auto-update project deep links — but ONLY after they are proven offline first.
#
# "the algorithm or spiders or git via cvaa needs to auto update each of those
# links via workflows that auto run on github BUT ONLY AFTER they have been
# proven to work offline on the machine first" — the architect, 2026-09-05.
#
# That ordering is the whole design, and it is enforced by step order with no
# continue-on-error, exactly as verify.yml enforces the main gate:
#
# 1. verify, fail closed — the engine's own 9 proofs, offline
# 2. the receiver proof, offline — no socket is opened; the contract is
# asserted against itself and against
# deeplink/receivers.json
# 3. audit, read-only — the query runs over the rows and REPORTS
# what would change
# 4. (not implemented here) — any step that rewrites a consumer's links
# goes after 3, never before, and never in
# this repository: the engine publishes the
# contract, it does not edit its consumers.
#
# Step 3 is deliberately read-only today. The fault this exists to prevent was
# a link silently pointing at a receiver that carries no engine; the cure must
# not be a workflow that silently rewrites links across the estate. A human
# reads the audit first, and the rewrite lands in the consumer's own repository
# under its own governance.
on:
push:
branches: [main]
paths:
- deeplink/**
- proofs/deeplink-receiver.proof.mjs
- .github/workflows/deeplink-receiver-audit.yml
schedule:
# Daily. A receiver does not have to change for a link to it to go stale:
# the V8 overlay never changed at all, it simply never carried the engine.
- cron: '17 4 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
# 1. The engine's own gate. If this fails, nothing downstream may run.
- name: Verify, fail closed
run: node verify.mjs
# 2. The receiver contract, proven offline. No network. This is the step
# that has to pass on a machine before any link is rewritten anywhere.
- name: Prove the receiver contract offline
run: node proofs/deeplink-receiver.proof.mjs
# 3. Report what the query finds. Read-only, and it prints the numbers
# rather than a verdict.
- name: Audit the published rows, read-only
run: node tools/audit-receivers.mjs --report
- name: Publish the audit
if: always()
uses: actions/upload-artifact@v4
with:
name: deeplink-receiver-audit
path: receiver-audit.json
if-no-files-found: warnGenome Workflow
A GitHub Actions workflow in Ventus Grid Engine. Runs on push and by hand.
automationventus-grid-engine / .github/workflows/genome.yml · lines 1–97 of 97 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes.
- Inputs & outputs
- In: JSON file engine-graph.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
- The genome graph, kept honest and re-derivable.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- ventus-grid-engine · .github/workflows · workflow
- Uses
- Build Graph (workflow run), Verify (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- genome
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- ventus-grid-engine@ad566356a44e006682e956483d569f31ddbb9630 .github/workflows/genome.yml:1-97 · blob fa25cd41d1fe88e8d0d504f0e6fbc1fe511cde19 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: ingest · effects: filesystem, process · domain stage: unknown · users: none · canonical: production_core
# The genome graph, kept honest and re-derivable.
#
# genome/build-graph.mjs regenerates genome/engine-graph.json from its own
# named node/edge list — the same generator a human runs locally. This
# workflow exists so that file is never hand-edited stale: it regenerates
# on every change to the files the graph is built from, runs the SAME
# fail-closed gate (verify.mjs) that governs everything else in this
# repository, and commits the regenerated file only when it actually
# changed — a run that finds nothing new leaves no trace, same discipline
# as data-grid-gb's refresh_network_products.yml.
#
# It does NOT touch .github/workflows/verify.yml, the repo root, or
# spider/ — those are out of this workflow's scope, same as this
# repository's own write boundary.
#
# VACCINES SATISFIED (read from cvaa/vaccines/ in the estate root):
# - 202608301442-pinned-actions.md — every `uses:` below is pinned to a
# 40-character commit SHA (not a movable tag), matching the SHAs
# already used together elsewhere in the estate (gridatlas's
# 202608312212-cartridge-proof.yml, data-gridatlas's
# 202608301931-layer-fidelity.yml) so this repository names one
# checkout and one setup-node everywhere rather than adding a third
# pin nobody asked for.
# - 202608301443-least-permissions.md — an explicit `permissions:` block
# (contents: write, and nothing else — the only privileged thing this
# workflow does is commit a regenerated file), no `write-all`, a
# `timeout-minutes:` on the one job, and no `schedule:` trigger (so
# the workflow_dispatch companion that vaccine requires for a
# schedule does not apply here — this fires on push and dispatch only).
name: genome
on:
push:
branches: [main]
paths:
- 'engine/**'
- 'deeplink/**'
- 'sources/**'
- 'genome/build-graph.mjs'
- '.github/workflows/genome.yml'
workflow_dispatch:
permissions:
contents: write
concurrency:
group: ventus-grid-engine-genome
cancel-in-progress: false
jobs:
regenerate:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v4.4.0
with:
node-version: '20'
- name: Regenerate genome/engine-graph.json
run: node genome/build-graph.mjs
# The fail-closed gate, run BEFORE the step that could commit
# anything — that ordering, not the assertions themselves, is what
# stops an unverified product reaching a consumer. Copied
# deliberately from this repository's own verify.mjs header comment
# and from data-grid-gb, where the same ordering is what makes its
# fail-closed claim true.
- name: Verify, fail closed
run: node verify.mjs
# The graph is arithmetic over genome/build-graph.mjs's own node/edge
# list. If that list has not changed, neither has the derived JSON,
# and a run that changes nothing should leave no trace.
- name: Commit only if the graph changed
run: |
set -euo pipefail
git add -- genome/engine-graph.json
if git diff --cached --quiet; then
echo "the graph is unchanged; nothing to commit"
exit 0
fi
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
NODES=$(node -e "console.log(JSON.parse(require('fs').readFileSync('genome/engine-graph.json','utf8')).nodes.length)")
EDGES=$(node -e "console.log(JSON.parse(require('fs').readFileSync('genome/engine-graph.json','utf8')).edges.length)")
git commit -m "Regenerate genome graph: ${NODES} nodes, ${EDGES} edges
Derived deterministically from genome/build-graph.mjs's own
named node/edge list by node genome/build-graph.mjs. No manual
edit to genome/engine-graph.json survives the next run of this
workflow — change the generator, not the generated file."
git pushSpider Features Workflow
A GitHub Actions workflow in Ventus Grid Engine that builds and publishes the site. Runs on push, on a schedule and by hand.
automationventus-grid-engine / .github/workflows/spider-features.yml · lines 1–81 of 81 · Entry point
- What it does
- It builds and publishes its content. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs
- 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 Verify (`verify.mjs`), Update Manifest (`spider/update_manifest.py`) and Overview (`spider/overview.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- ventus-grid-engine · .github/workflows · workflow
- Uses
- Verify (workflow run), Update Manifest (workflow run), Overview (workflow run), Manifest Proof (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- spider features
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- ventus-grid-engine@ad566356a44e006682e956483d569f31ddbb9630 .github/workflows/spider-features.yml:1-81 · blob 7c47aa27fa3553dc4303300f2b9f90ecc360f2c2 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: agent_infra · users: ai_agent · canonical: production_core
name: spider features
# The Spider dashboard learns about new graphs on its own — but only graphs that are proven reachable,
# and only after the engine's own gate has passed. Same step order as verify.yml and
# deeplink-receiver-audit.yml: verify fail-closed first, then the read, then the write.
#
# 1. verify, fail closed — the engine's own proofs, offline
# 2. read the registries — spider/sources.yml lists features.yml files published by other
# repositories; each listed graph is fetched and counted
# 3. update spider/manifest.json — proven graphs are added or updated; hand-written entries are
# never changed; nothing is ever deleted; index.html is never touched;
# every entry's "measured" node/edge count is refreshed from what it serves
# 4. check the manifest — spider/manifest.proof.mjs fetches every graph and fails if a stated count
# differs from the served count or a path does not load (after first
# proving it fails its own negative fixture). Nothing is committed unless
# it passes.
#
# GitHub Pages republishes the dashboard from main, so a new graph shows on the front door within
# minutes of its publisher registering it.
on:
schedule:
- cron: '9 * * * *'
push:
branches: [main]
paths:
- spider/sources.yml
- spider/update_manifest.py
- spider/manifest.json
- spider/manifest.proof.mjs
- spider/fixtures/**
- .github/workflows/spider-features.yml
workflow_dispatch:
permissions:
contents: write
concurrency:
group: spider-features
cancel-in-progress: false
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
# 1. The engine's own gate. If this fails, nothing downstream may run.
- name: Verify, fail closed
run: node verify.mjs
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install --quiet pyyaml
# 2 and 3. Read the registries, prove each graph, update the manifest.
- name: Update the manifest from the registries
run: python spider/update_manifest.py
- name: Write the front door from the manifest
run: python spider/overview.py
# 4. Every stated count equals the served count, and every path loads. Fail closed.
- name: Check the manifest against what every graph serves
run: node spider/manifest.proof.mjs
- name: Commit if the manifest changed
run: |
git add spider/manifest.json spider/data/overview.json
if git diff --cached --quiet; then echo "Manifest unchanged."; exit 0; fi
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -qm "spider: manifest updated from registries ($(date -u +%Y-%m-%dT%H:%MZ))"
for i in 1 2 3; do git pull --rebase -q && git push -q && exit 0; sleep 5; done
exit 1Verify Workflow
A GitHub Actions workflow in Ventus Grid Engine that builds and publishes the site. Runs on push, on pull requests and by hand.
automationventus-grid-engine / .github/workflows/verify.yml · lines 1–28 of 28 · Entry point
- What it does
- It builds and publishes its content. Side effects: starts processes.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Verify (`verify.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- ventus-grid-engine · .github/workflows · workflow
- Uses
- Verify (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- verify
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- ventus-grid-engine@ad566356a44e006682e956483d569f31ddbb9630 .github/workflows/verify.yml:1-28 · blob 24840f3c12ba34ffb6f4814fd0319eaa49e42608 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: verify
# The gate. Nothing in this repository is allowed to be consumed without
# having passed it, and the ordering below is the reason that sentence is
# true rather than aspirational: "Verify, fail closed" runs as its own step,
# with no continue-on-error, before any step that could publish or commit.
#
# Copied deliberately from data-grid-gb, where the same step ordering is what
# makes its fail-closed claim real.
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Verify, fail closed
run: node verify.mjs