Skip to content

Commit a7f93b1

Browse files
Merge branch 'main' into codex/create-agi-governance-master-reference-document-86ya7v
Signed-off-by: 𝐎𝐧𝐞 𝐅𝐢𝐧𝐞 𝐒𝐭𝐚𝐫𝐬𝐭𝐮𝐟𝐟 <onefinestarstuff@gmail.com>
2 parents 926e4bc + 0540c79 commit a7f93b1

181 files changed

Lines changed: 86730 additions & 317 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
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Governance Artifacts CI
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'ENTERPRISE_AGI_ASI_GOVERNANCE_BLUEPRINT_2026_2030.md'
7+
- 'governance_blueprint/**'
8+
- '.github/workflows/governance-artifacts-ci.yml'
9+
push:
10+
branches: [ main, master ]
11+
paths:
12+
- 'ENTERPRISE_AGI_ASI_GOVERNANCE_BLUEPRINT_2026_2030.md'
13+
- 'governance_blueprint/**'
14+
- '.github/workflows/governance-artifacts-ci.yml'
15+
16+
jobs:
17+
validate-governance-artifacts:
18+
runs-on: ubuntu-latest
19+
timeout-minutes: 10
20+
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Setup Python
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: '3.11'
29+
30+
- name: Run governance validation suite
31+
run: python3 governance_blueprint/validation/run_validation_suite.py --quiet --json-report governance-artifact-validation-report.json --suite-report governance-validation-suite-report.json
32+
33+
- name: Show validation report
34+
run: |
35+
cat governance-artifact-validation-report.json
36+
cat governance-validation-suite-report.json
37+
38+
- name: Upload validation report
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: governance-validation-reports
42+
path: |
43+
governance-artifact-validation-report.json
44+
governance-validation-suite-report.json

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ Thumbs.db
3535
# TypeScript
3636
*.tsbuildinfo
3737
next-env.d.ts
38+
__pycache__/
39+
*.patch

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: governance-validation-suite
5+
name: governance validation suite
6+
entry: python3 governance_blueprint/validation/run_validation_suite.py --skip-selftest --quiet
7+
language: system
8+
pass_filenames: false
9+
files: '^(governance_blueprint/|ENTERPRISE_AGI_ASI_GOVERNANCE_BLUEPRINT_2026_2030\.md)'

0 commit comments

Comments
 (0)