Skip to content

Commit 9063c12

Browse files
Merge pull request #63 from OneFineStarstuff/codex/create-agi-governance-blueprint-for-2026-2030
Add governance artifact validation suite, schemas, Rego policies and CI
2 parents c810614 + 0573db2 commit 9063c12

159 files changed

Lines changed: 8684 additions & 5389 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

.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-

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

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
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'
118
name: Governance Artifacts CI
219

320
on:
@@ -16,12 +33,59 @@ on:
1633
jobs:
1734
validate-governance-artifacts:
1835
runs-on: ubuntu-latest
36+
permissions:
37+
contents: read
38+
env:
39+
PYTHONUNBUFFERED: '1'
1940
timeout-minutes: 10
2041

2142
steps:
2243
- name: Checkout
2344
uses: actions/checkout@v4
2445

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
2589
- name: Setup Python
2690
uses: actions/setup-python@v5
2791
with:
@@ -38,6 +102,8 @@ jobs:
38102
- name: Upload validation report
39103
uses: actions/upload-artifact@v4
40104
with:
105+
name: governance-validation-report
106+
path: docs/schemas/validation_run_report.json
41107
name: governance-validation-reports
42108
path: |
43109
governance-artifact-validation-report.json

.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 }}'

.pre-commit-config.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,38 @@
11
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: check-yaml
6+
- id: check-json
7+
- id: end-of-file-fixer
8+
- id: trailing-whitespace
9+
- repo: https://github.com/adrienverge/yamllint
10+
rev: v1.37.1
11+
hooks:
12+
- id: yamllint
13+
args: ["-c", ".yamllint", "docs/schemas/agi_asi_governance_profile_2026_2030.yaml"]
14+
- repo: local
15+
hooks:
16+
- id: governance-validate
17+
name: governance-validate
18+
entry: make governance-validate
19+
language: system
20+
pass_filenames: false
21+
- id: governance-policy-test
22+
name: governance-policy-test
23+
entry: make governance-policy-test
24+
language: system
25+
pass_filenames: false
26+
- id: governance-validator-test
27+
name: governance-validator-test
28+
entry: make governance-validator-test
29+
language: system
30+
pass_filenames: false
31+
- id: governance-evidence-checks
32+
name: governance-evidence-checks
33+
entry: make governance-evidence-manifest && make governance-evidence-verify && make governance-evidence-schema && make governance-report-schema && make governance-check-generated
34+
language: system
35+
pass_filenames: false
236
- repo: local
337
hooks:
438
- id: governance-validation-suite

.yamllint

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extends: default
2+
rules:
3+
line-length: disable
4+
document-start: disable
5+
truthy: disable

ABSOLUTE_FINAL_STATUS.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ Expected Outcome: $220.6M benefits, 745% ROI, regulatory leadership positioning
465465
CONCLUSION
466466
================================================================================
467467

468-
The Omni-Sentinel Global AI Governance Framework is PRODUCTION READY and
469-
represents the most comprehensive AI governance architecture ever implemented
468+
The Omni-Sentinel Global AI Governance Framework is PRODUCTION READY and
469+
represents the most comprehensive AI governance architecture ever implemented
470470
for a Global Systemically Important Financial Institution (G-SIFI).
471471

472472
This framework delivers:
@@ -478,15 +478,15 @@ This framework delivers:
478478
- 3-tier human oversight with automation bias mitigation
479479
- 95%+ governance persistence at 12 months
480480

481-
All technical work is COMPLETE. All files are COMMITTED. All documentation is
481+
All technical work is COMPLETE. All files are COMMITTED. All documentation is
482482
READY. The framework is awaiting YOUR DEPLOYMENT ACTION.
483483

484-
Your next immediate action: Download files from /home/user/webapp/ and deploy
485-
using EXECUTIVE_ONE_PAGE_SUMMARY.md or QUICK_ACTION_GUIDE.md within the next
484+
Your next immediate action: Download files from /home/user/webapp/ and deploy
485+
using EXECUTIVE_ONE_PAGE_SUMMARY.md or QUICK_ACTION_GUIDE.md within the next
486486
24 hours.
487487

488-
This framework will transform AI governance from a compliance cost center into
489-
a strategic business capability delivering measurable value and positioning
488+
This framework will transform AI governance from a compliance cost center into
489+
a strategic business capability delivering measurable value and positioning
490490
the organization as a global leader in responsible AI deployment.
491491

492492
================================================================================

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ abstract: >-
2020
The AGI Pipeline is built to facilitate seamless integration and interaction
2121
between different AI modules, enabling the development of sophisticated AI
2222
applications. Key features of the pipeline include:
23-
23+
2424
1. Natural Language Processing (NLP):
2525
- Utilizes the BART (Bidirectional and Auto-Regressive Transformers) model for text summarization and other NLP tasks.
2626
- Provides efficient and accurate text processing capabilities.

0 commit comments

Comments
 (0)