Skip to content

Commit efe3bc8

Browse files
Merge branch 'main' into codex/create-agi-governance-blueprint-for-2026-2030
Signed-off-by: 𝐎𝐧𝐞 𝐅𝐢𝐧𝐞 𝐒𝐭𝐚𝐫𝐬𝐭𝐮𝐟𝐟 <onefinestarstuff@gmail.com>
2 parents 4ec0ec2 + c810614 commit efe3bc8

67 files changed

Lines changed: 10115 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Artifact Validation
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths:
7+
- 'artifacts/**'
8+
- 'unit_tests/**'
9+
- 'pytest.ini'
10+
- '.github/workflows/artifact-validation.yml'
11+
pull_request:
12+
paths:
13+
- 'artifacts/**'
14+
- 'unit_tests/**'
15+
- 'pytest.ini'
16+
- '.github/workflows/artifact-validation.yml'
17+
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
22+
jobs:
23+
validate:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: Setup Python
30+
uses: actions/setup-python@v5
31+
with:
32+
python-version: '3.12'
33+
34+
- name: Install deps
35+
run: make -C artifacts deps
36+
37+
- name: Run artifact validation via Makefile
38+
run: make -C artifacts all
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Blueprint Artifact Validation
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths:
7+
- 'docs/reports/blueprint_artifacts/**'
8+
- 'docs/reports/ENTERPRISE_CIVILIZATIONAL_AGI_ASI_BLUEPRINT_2026_2030.md'
9+
- 'scripts/validate_blueprint_artifacts.py'
10+
- 'scripts/__init__.py'
11+
- 'scripts/requirements-blueprint-validator.txt'
12+
- 'scripts/run_blueprint_artifact_checks.sh'
13+
- 'tests/test_validate_blueprint_artifacts.py'
14+
- 'tests/test_run_blueprint_artifact_checks.py'
15+
- '.github/workflows/blueprint-artifacts-validation.yml'
16+
pull_request:
17+
paths:
18+
- 'docs/reports/ENTERPRISE_CIVILIZATIONAL_AGI_ASI_BLUEPRINT_2026_2030.md'
19+
- 'docs/reports/blueprint_artifacts/**'
20+
- 'scripts/validate_blueprint_artifacts.py'
21+
- 'scripts/__init__.py'
22+
- 'scripts/requirements-blueprint-validator.txt'
23+
- 'scripts/run_blueprint_artifact_checks.sh'
24+
- 'tests/test_validate_blueprint_artifacts.py'
25+
- 'tests/test_run_blueprint_artifact_checks.py'
26+
- '.github/workflows/blueprint-artifacts-validation.yml'
27+
28+
jobs:
29+
validate-artifacts:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: actions/setup-python@v5
34+
with:
35+
python-version: '3.12'
36+
cache: 'pip'
37+
cache-dependency-path: scripts/requirements-blueprint-validator.txt
38+
- name: Run consolidated artifact check script
39+
run: bash scripts/run_blueprint_artifact_checks.sh --list-checks
40+
- name: Runner interface smoke checks
41+
run: |
42+
bash scripts/run_blueprint_artifact_checks.sh --help
43+
bash scripts/run_blueprint_artifact_checks.sh --skip-install --skip-pytest --output-json /tmp/blueprint-validation-alt.json
44+
python -m json.tool /tmp/blueprint-validation-alt.json > /dev/null

.github/workflows/governance-artifacts-ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@ on:
1515
- '.github/workflows/governance-artifacts-ci.yml'
1616
- 'Makefile'
1717
- '.yamllint'
18+
name: Governance Artifacts CI
19+
20+
on:
21+
pull_request:
22+
paths:
23+
- 'ENTERPRISE_AGI_ASI_GOVERNANCE_BLUEPRINT_2026_2030.md'
24+
- 'governance_blueprint/**'
25+
- '.github/workflows/governance-artifacts-ci.yml'
26+
push:
27+
branches: [ main, master ]
28+
paths:
29+
- 'ENTERPRISE_AGI_ASI_GOVERNANCE_BLUEPRINT_2026_2030.md'
30+
- 'governance_blueprint/**'
31+
- '.github/workflows/governance-artifacts-ci.yml'
1832

1933
jobs:
2034
validate-governance-artifacts:
@@ -23,6 +37,8 @@ jobs:
2337
contents: read
2438
env:
2539
PYTHONUNBUFFERED: '1'
40+
timeout-minutes: 10
41+
2642
steps:
2743
- name: Checkout
2844
uses: actions/checkout@v4
@@ -70,9 +86,25 @@ jobs:
7086

7187
- name: Check generated artifacts are up to date
7288
run: make governance-check-generated
89+
- name: Setup Python
90+
uses: actions/setup-python@v5
91+
with:
92+
python-version: '3.11'
93+
94+
- name: Run governance validation suite
95+
run: python3 governance_blueprint/validation/run_validation_suite.py --quiet --json-report governance-artifact-validation-report.json --suite-report governance-validation-suite-report.json
96+
97+
- name: Show validation report
98+
run: |
99+
cat governance-artifact-validation-report.json
100+
cat governance-validation-suite-report.json
73101
74102
- name: Upload validation report
75103
uses: actions/upload-artifact@v4
76104
with:
77105
name: governance-validation-report
78106
path: docs/schemas/validation_run_report.json
107+
name: governance-validation-reports
108+
path: |
109+
governance-artifact-validation-report.json
110+
governance-validation-suite-report.json

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,11 @@ repos:
3333
entry: make governance-evidence-manifest && make governance-evidence-verify && make governance-evidence-schema && make governance-report-schema && make governance-check-generated
3434
language: system
3535
pass_filenames: false
36+
- repo: local
37+
hooks:
38+
- id: governance-validation-suite
39+
name: governance validation suite
40+
entry: python3 governance_blueprint/validation/run_validation_suite.py --skip-selftest --quiet
41+
language: system
42+
pass_filenames: false
43+
files: '^(governance_blueprint/|ENTERPRISE_AGI_ASI_GOVERNANCE_BLUEPRINT_2026_2030\.md)'

0 commit comments

Comments
 (0)