Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/blob/main/.github/workflows/pages.yml # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienos.com / .github / workflows / pages.yml` 135 lines ยท 6259 bytes Raw Blame History 1 name: pages 2 # Builds and deploys www.aienos.com. The full site-builder suite runs on Spark; 3 # generated-hive.yml separately checks committed Hive artifact hashes on x86_64, 4 # and the committed Hive skeleton digest is checked again before publication. 5 on: 6 schedule: 7 - cron: "17 * * * *" 8 workflow_dispatch: 9 push: 10 branches: [main, data/now] 11 permissions: 12 contents: read 13 concurrency: 14 group: pages 15 # Let the active build finish; newer data can replace the pending run. 16 cancel-in-progress: false 17 jobs: 18 build: 19 # The seeded Omega compiler emits Linux AArch64 executables, so the site 20 # builds on GitHub's arm64 runner. The Rust crate remains the independent 21 # verification oracle and the public-data collectors (DEPENDENCIES.md). 22 runs-on: ubuntu-24.04-arm 23 steps: 24 - uses: actions/checkout@`3d3c42e5aac5ba805825da76410c181273ba90b1` # v7.0.1 25 with: 26 ref: main 27 persist-credentials: false 28 # Full history: the sitemap and feeds date hand-written pages from their last commit. 29 fetch-depth: 0 30 - name: Lay in the live ledger from the data/now branch 31 run: | 32 set -euo pipefail 33 mkdir -p public/data 34 if git fetch --depth 1 origin data/now 2>/dev/null; then 35 git show FETCH_HEAD:now.tsv > public/data/now.tsv 36 git show FETCH_HEAD:now-pulse.tsv > public/data/now-pulse.tsv || true 37 # A missing model check stays absent; the page then says status unknown. 38 if git cat-file -e FETCH_HEAD:models.tsv 2>/dev/null; then 39 git show FETCH_HEAD:models.tsv > public/data/models.tsv 40 else 41 rm -f public/data/models.tsv 42 fi 43 # The Claude plan reading is optional too; without it the page says none was published. 44 if git cat-file -e FETCH_HEAD:claude-usage.tsv 2>/dev/null; then 45 git show FETCH_HEAD:claude-usage.tsv > public/data/claude-usage.tsv 46 else 47 rm -f public/data/claude-usage.tsv 48 fi 49 # /dash/ readings are optional; a missing file makes the page say so. 50 for f in accounts.tsv routing.tsv; do 51 if git cat-file -e "FETCH_HEAD:$f" 2>/dev/null; then 52 git show "FETCH_HEAD:$f" > "public/data/$f" 53 else 54 rm -f "public/data/$f" 55 fi 56 done 57 echo "ledger: $(wc -l < public/data/now.tsv) lines" 58 else 59 echo "no data/now branch yet; /now/ renders empty" 60 fi 61 - name: Refuse an unprojected public ledger (Rust oracle) 62 run: cargo run --release -p site-builder -- ledger-check public/data/now.tsv 63 - name: Refresh facts from the public GitHub record 64 env: 65 GH_TOKEN: ${{ github.token }} 66 run: cargo run --release --manifest-path crates/site-builder/Cargo.toml -- facts facts.json 67 # /agents/ lists every public repository and its AGENTS.md. A slow or 68 # rate-limited API must not hold the whole deploy: the refresh is bounded, 69 # and the committed list stays in place when GitHub does not answer. 70 - name: Refresh the agent repository list 71 timeout-minutes: 3 72 env: 73 GH_TOKEN: ${{ github.token }} 74 run: | 75 set -euo pipefail 76 tmp=$(mktemp) 77 if timeout 120 cargo run --release --manifest-path crates/site-builder/Cargo.toml -- agents "$tmp"; then 78 mv "$tmp" public/data/agent-repos.json 79 else 80 rm -f "$tmp" 81 echo "agents: collector timed out or failed; keeping the committed agent-repos.json" 82 fi 83 - name: Check the committed Omega artifact digests 84 run: | 85 set -euo pipefail 86 # Trust anchor is omega-mv, not this repository: the lock 87 # om/site/omc.provenance names a revision that must be on omega-mv 88 # main, record this digest, hold this exact binary and rebuild it 89 # byte for byte from the seed (om/site/verify-omc.sh). 90 sh om/site/verify-omc.sh 91 sha256sum -c om/site/omc.sha256 92 cargo test --release -p site-builder the_embedded_skeleton_matches_its_recorded_sha256 93 cargo test --release -p site-builder components::alpha::tests 94 sh om/omega-reference/check.sh --hashes 95 cargo test --release -p site-builder components::omega_reference::tests 96 cargo test --release -p site-builder --test voice_catalog 97 sha256sum -c om/support-page/main.html.sha256 om/support-page/support.css.sha256 98 - name: Compile the Omega site generator and verifier 99 run: | 100 set -euo pipefail 101 mkdir -p build 102 om/site/omc < om/site/build.om > build/build-tool 103 chmod +x build/build-tool 104 build/build-tool om/site/modules.txt build/site 105 build/build-tool om/site/verify.manifest build/verify 106 - name: Validate the source data (Omega) 107 run: build/verify --sources 108 - name: Generate the site with Omega 109 run: build/site "$PWD" "$PWD/dist" "$(git log -1 --format=%cI)" 110 - name: Verify the output (Omega verifier) 111 run: build/verify dist data/quotes.json public/data/engineer.json 112 - name: Verify the output (independent Rust oracle) 113 run: cargo run --release --manifest-path crates/site-builder/Cargo.toml -- verify dist 114 # v4+ drops dotfiles by default. dist/ serves /.well-known/agora and 115 # /.well-known/security.txt (and .nojekyll), so keep hidden files as v3 did. 116 - name: Upload Pages artifact 117 if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/data/now' 118 uses: actions/upload-pages-artifact@`fc324d3547104276b827a68afc52ff2a11cc49c9` # v5.0.0 119 with: 120 path: dist 121 include-hidden-files: true 122 123 deploy: 124 needs: build 125 if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/data/now' 126 environment: 127 name: github-pages 128 url: ${{ steps.deployment.outputs.page_url }} 129 runs-on: ubuntu-latest 130 permissions: 131 pages: write 132 id-token: write 133 steps: 134 - id: deployment 135 uses: actions/deploy-pages@`368f82528645a54fb793d4d04e342629a3f51346` # v5.0.1