Skip to content

docs: add Signed commits section to CONTRIBUTING (#71) #7

docs: add Signed commits section to CONTRIBUTING (#71)

docs: add Signed commits section to CONTRIBUTING (#71) #7

# This workflow is managed by gh actions-lock.
# SPDX-License-Identifier: MPL-2.0
name: "ℹ️ ADVISORY: Dogfooding Compliance Scorecard"
on:
pull_request:
branches: ['**']
push:
branches: [main, master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
dogfood-summary:
name: "Dogfooding compliance summary"
runs-on: ubuntu-latest
timeout-minutes: 15
if: always()
steps:
- name: Checkout repository
uses: actions/checkout@v7.0.1
- name: Generate dogfooding scorecard
run: |
SCORE=0
MAX=6
# DEED manifest present? (.a2ml legacy extension accepted during standards #837 migration)
if find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | head -1 | grep -q .; then
SCORE=$((SCORE + 1))
DEED_STATUS=":white_check_mark:"
else
DEED_STATUS=":x:"
fi
# K9 contracts present?
if find . \( -name '*.k9' -o -name '*.k9.ncl' \) -not -path './.git/*' | head -1 | grep -q .; then
SCORE=$((SCORE + 1))
K9_STATUS=":white_check_mark:"
else
K9_STATUS=":x:"
fi
# .editorconfig present?
if [ -f ".editorconfig" ]; then
SCORE=$((SCORE + 1))
EC_STATUS=":white_check_mark:"
else
EC_STATUS=":x:"
fi
# Groove manifest or code?
if [ -f "www/.well-known/groove/manifest.json" ] || [ -f ".well-known/groove/manifest.json" ] || grep -rl 'well-known/groove' --include='*.rs' --include='*.ex' --include='*.zig' . 2>/dev/null | head -1 | grep -q .; then
SCORE=$((SCORE + 1))
GROOVE_STATUS=":white_check_mark:"
else
GROOVE_STATUS=":ballot_box_with_check:"
fi
# VeriSimDB integration?
if grep -rl 'verisimdb\|VeriSimDB' --include='*.toml' --include='*.yaml' --include='*.yml' --include='*.json' --include='*.rs' --include='*.ex' . 2>/dev/null | head -1 | grep -q .; then
SCORE=$((SCORE + 1))
VSDB_STATUS=":white_check_mark:"
else
VSDB_STATUS=":ballot_box_with_check:"
fi
# eclexiaiser energy tracking?
if [ -f "eclexiaiser.toml" ]; then
SCORE=$((SCORE + 1))
ECLEX_STATUS=":white_check_mark:"
else
ECLEX_STATUS=":ballot_box_with_check:"
fi
cat <<EOF >> "$GITHUB_STEP_SUMMARY"
## Dogfooding Scorecard
**Score: ${SCORE}/${MAX}**
| Tool/Format | Status | Notes |
|-------------|--------|-------|
| DEED manifest (repo deed `*_chora.deed`) | ${DEED_STATUS} | Required for all RSR repos |
| K9 contracts | ${K9_STATUS} | Required for repos with config files |
| .editorconfig | ${EC_STATUS} | Required for all repos |
| Groove endpoint | ${GROOVE_STATUS} | Required for service repos |
| VeriSimDB integration | ${VSDB_STATUS} | Required for stateful repos |
| eclexiaiser | ${ECLEX_STATUS} | Energy/carbon budgets for container services |
---
*Generated by the Dogfooding Compliance workflow.*
*Dogfooding is guinea pig fooding — we test our tools on ourselves.*
EOF