Skip to content

Commit 5fcebc1

Browse files
Merge branch 'main' into codex/develop-comprehensive-agi-governance-blueprint
Signed-off-by: 𝐎𝐧𝐞 𝐅𝐢𝐧𝐞 𝐒𝐭𝐚𝐫𝐬𝐭𝐮𝐟𝐟 <onefinestarstuff@gmail.com>
2 parents 83023c1 + 917dde1 commit 5fcebc1

224 files changed

Lines changed: 15925 additions & 5347 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.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ body:
4747
label: Steps to Reproduce
4848
description: How can we reproduce the bug?
4949
placeholder: |
50-
Example:
50+
Example:
5151
1. Go to "Upload"
5252
2. Click on "Select File"
5353
3. Choose a large file (over 100MB)
5454
4. Click "Upload"
5555
5. See error
5656
value: |
57-
1.
57+
1.
5858
validations:
5959
required: true
6060

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/cmake-single-platform.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ jobs:
3636
# Execute tests defined by the CMake configuration.
3737
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
3838
run: ctest -C ${{env.BUILD_TYPE}}
39-

.github/workflows/datadog-synthetics.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,3 @@ jobs:
3434
api_key: ${{secrets.DD_API_KEY}}
3535
app_key: ${{secrets.DD_APP_KEY}}
3636
test_search_query: 'tag:e2e-tests' #Modify this tag to suit your tagging strategy
37-
38-

.github/workflows/go-ossf-slsa3-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,3 @@ jobs:
3535
# =============================================================================================================
3636
# Optional: For more options, see https://github.com/slsa-framework/slsa-github-generator#golang-projects
3737
# =============================================================================================================
38-
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
name: governance-artifacts-ci
2+
3+
on:
4+
push:
5+
paths:
6+
- 'docs/schemas/**'
7+
- 'docs/reports/ENTERPRISE_CIVILIZATIONAL_AGI_ASI_BLUEPRINT_2026_2030.md'
8+
- '.github/workflows/governance-artifacts-ci.yml'
9+
- 'Makefile'
10+
- '.yamllint'
11+
pull_request:
12+
paths:
13+
- 'docs/schemas/**'
14+
- 'docs/reports/ENTERPRISE_CIVILIZATIONAL_AGI_ASI_BLUEPRINT_2026_2030.md'
15+
- '.github/workflows/governance-artifacts-ci.yml'
16+
- 'Makefile'
17+
- '.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'
32+
33+
jobs:
34+
validate-governance-artifacts:
35+
runs-on: ubuntu-latest
36+
permissions:
37+
contents: read
38+
env:
39+
PYTHONUNBUFFERED: '1'
40+
timeout-minutes: 10
41+
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v4
45+
46+
- name: Set up Python
47+
uses: actions/setup-python@v5
48+
with:
49+
python-version: '3.12'
50+
cache: 'pip'
51+
cache-dependency-path: docs/schemas/requirements-governance.txt
52+
53+
- name: Install Python deps (pinned)
54+
run: |
55+
python -m pip install --upgrade pip
56+
pip install -r docs/schemas/requirements-governance.txt
57+
58+
- name: Validate governance YAML/JSON artifacts
59+
run: make governance-validate
60+
61+
- name: Setup OPA (pinned)
62+
uses: open-policy-agent/setup-opa@v2
63+
with:
64+
version: v1.15.2
65+
66+
- name: Rego format and tests
67+
run: make governance-policy-test
68+
69+
- name: Validator and evidence bundle unit tests
70+
run: make governance-validator-test
71+
72+
- name: Build evidence manifest
73+
run: make governance-evidence-manifest
74+
75+
- name: Verify evidence manifest integrity
76+
run: make governance-evidence-verify
77+
78+
- name: Validate evidence manifest schema
79+
run: make governance-evidence-schema
80+
81+
- name: Generate machine-readable validation report
82+
run: make governance-report
83+
84+
- name: Validate run report schema
85+
run: make governance-report-schema
86+
87+
- name: Check generated artifacts are up to date
88+
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
101+
102+
- name: Upload validation report
103+
uses: actions/upload-artifact@v4
104+
with:
105+
name: governance-validation-report
106+
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
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Governance Reports Validation
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
paths:
7+
- 'docs/reports/**'
8+
- 'docs/schemas/governance_reports_manifest.schema.json'
9+
- 'tools/validate_governance_reports.py'
10+
- 'tool_tests/**'
11+
- 'Makefile'
12+
- '.pre-commit-config.yaml'
13+
- '.github/workflows/governance-reports.yml'
14+
push:
15+
paths:
16+
- 'docs/reports/**'
17+
- 'docs/schemas/governance_reports_manifest.schema.json'
18+
- 'tools/validate_governance_reports.py'
19+
- 'tool_tests/**'
20+
- 'Makefile'
21+
- '.pre-commit-config.yaml'
22+
- '.github/workflows/governance-reports.yml'
23+
24+
concurrency:
25+
group: governance-reports-${{ github.ref }}
26+
cancel-in-progress: true
27+
28+
jobs:
29+
validate-governance-reports:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
35+
- name: Setup Python
36+
uses: actions/setup-python@v5
37+
with:
38+
python-version: '3.11'
39+
cache: 'pip'
40+
41+
- name: Cache pre-commit environments
42+
uses: actions/cache@v4
43+
with:
44+
path: ~/.cache/pre-commit
45+
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
46+
47+
- name: Install pre-commit
48+
run: python3 -m pip install --upgrade pre-commit
49+
50+
- name: Run pre-commit hooks
51+
run: pre-commit run --all-files
52+
53+
- name: Run governance validation suite
54+
run: make governance-check

.github/workflows/octopusdeploy.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by separate terms of service,
2+
# They are provided by a third-party and are governed by separate terms of service,
33
# privacy policy, and support documentation.
44
#
55
# This workflow will build and publish a Docker container which is then deployed through Octopus Deploy.
@@ -12,13 +12,13 @@
1212
#
1313
# To configure this workflow:
1414
#
15-
# 1. Decide where you are going to host your image.
15+
# 1. Decide where you are going to host your image.
1616
# This template uses the GitHub Registry for simplicity but if required you can update the relevant DOCKER_REGISTRY variables below.
1717
#
18-
# 2. Create and configure an OIDC credential for a service account in Octopus.
18+
# 2. Create and configure an OIDC credential for a service account in Octopus.
1919
# This allows for passwordless authentication to your Octopus instance through a trust relationship configured between Octopus, GitHub and your GitHub Repository.
20-
# https://octopus.com/docs/octopus-rest-api/openid-connect/github-actions
21-
#
20+
# https://octopus.com/docs/octopus-rest-api/openid-connect/github-actions
21+
#
2222
# 3. Configure your Octopus project details below:
2323
# OCTOPUS_URL: update to your Octopus Instance Url
2424
# OCTOPUS_SERVICE_ACCOUNT: update to your service account Id
@@ -42,14 +42,14 @@ jobs:
4242
packages: write
4343
contents: read
4444
env:
45-
DOCKER_REGISTRY: ghcr.io # TODO: Update to your docker registry uri
45+
DOCKER_REGISTRY: ghcr.io # TODO: Update to your docker registry uri
4646
DOCKER_REGISTRY_USERNAME: ${{ github.actor }} # TODO: Update to your docker registry username
4747
DOCKER_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} # TODO: Update to your docker registry password
4848
outputs:
4949
image_tag: ${{ steps.meta.outputs.version }}
5050
steps:
5151
- uses: actions/checkout@v4
52-
52+
5353
- name: Set up Docker Buildx
5454
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
5555

@@ -64,7 +64,7 @@ jobs:
6464
id: meta
6565
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
6666
with:
67-
images: ${{ env.DOCKER_REGISTRY }}/${{ github.repository }}
67+
images: ${{ env.DOCKER_REGISTRY }}/${{ github.repository }}
6868
tags: type=semver,pattern={{version}},value=v1.0.0-{{sha}}
6969

7070
- name: Build and push Docker image
@@ -74,7 +74,7 @@ jobs:
7474
context: .
7575
push: true
7676
tags: ${{ steps.meta.outputs.tags }}
77-
labels: ${{ steps.meta.outputs.labels }}
77+
labels: ${{ steps.meta.outputs.labels }}
7878
deploy:
7979
name: Deploy
8080
permissions:
@@ -89,9 +89,9 @@ jobs:
8989
OCTOPUS_ENVIRONMENT: 'your-environment' # TODO: update to the name of the environment to recieve the first deployment
9090

9191
steps:
92-
- name: Login to Octopus Deploy
92+
- name: Login to Octopus Deploy
9393
uses: OctopusDeploy/login@34b6dcc1e86fa373c14e6a28c5507d221e4de629 #v1.0.2
94-
with:
94+
with:
9595
server: '${{ env.OCTOPUS_URL }}'
9696
service_account_id: '${{ env.OCTOPUS_SERVICE_ACCOUNT }}'
9797

@@ -104,7 +104,7 @@ jobs:
104104
packages: '*:${{ needs.build.outputs.image_tag }}'
105105

106106
- name: Deploy Release
107-
uses: OctopusDeploy/deploy-release-action@b10a606c903b0a5bce24102af9d066638ab429ac #v3.2.1
107+
uses: OctopusDeploy/deploy-release-action@b10a606c903b0a5bce24102af9d066638ab429ac #v3.2.1
108108
with:
109109
project: '${{ env.OCTOPUS_PROJECT }}'
110110
space: '${{ env.OCTOPUS_SPACE }}'

0 commit comments

Comments
 (0)