Skip to content

Commit 33dcc7b

Browse files
Merge branch 'main' into genspark_ai_developer
2 parents c752d53 + 4c7a1a3 commit 33dcc7b

262 files changed

Lines changed: 19920 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: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name: Governance Artifact Validation
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
paths:
7+
- docs/artifacts/**
8+
- docs/reports/INSTITUTIONAL_AGI_ASI_MASTER_REFERENCE_2026_2030.md
9+
- scripts/validate_governance_artifact.py
10+
- scripts/export_governance_artifact_json.py
11+
- scripts/summarize_governance_test_results.py
12+
- scripts/generate_governance_manifest.py
13+
- scripts/governance_artifact_constants.py
14+
- test_validate_governance_artifact.py
15+
- test_export_governance_artifact_json.py
16+
- test_summarize_governance_test_results.py
17+
- test_governance_artifact_integrity.py
18+
- test_generate_governance_manifest.py
19+
- requirements-dev.txt
20+
- Makefile
21+
- .github/workflows/governance-artifact-validation.yml
22+
push:
23+
branches: ["main"]
24+
paths:
25+
- docs/artifacts/**
26+
- docs/reports/INSTITUTIONAL_AGI_ASI_MASTER_REFERENCE_2026_2030.md
27+
- scripts/validate_governance_artifact.py
28+
- scripts/export_governance_artifact_json.py
29+
- scripts/summarize_governance_test_results.py
30+
- scripts/generate_governance_manifest.py
31+
- scripts/governance_artifact_constants.py
32+
- test_validate_governance_artifact.py
33+
- test_export_governance_artifact_json.py
34+
- test_summarize_governance_test_results.py
35+
- test_governance_artifact_integrity.py
36+
- test_generate_governance_manifest.py
37+
- requirements-dev.txt
38+
- Makefile
39+
- .github/workflows/governance-artifact-validation.yml
40+
41+
permissions:
42+
contents: read
43+
44+
concurrency:
45+
group: governance-artifact-${{ github.ref }}
46+
cancel-in-progress: true
47+
48+
jobs:
49+
validate-governance-artifacts:
50+
runs-on: ubuntu-latest
51+
timeout-minutes: 10
52+
steps:
53+
- name: Checkout
54+
uses: actions/checkout@v4
55+
56+
- name: Setup Python
57+
uses: actions/setup-python@v5
58+
with:
59+
python-version: '3.11'
60+
cache: 'pip'
61+
cache-dependency-path: 'requirements-dev.txt'
62+
63+
- name: Install dependencies
64+
run: pip install -r requirements-dev.txt
65+
66+
- name: Run governance verification pipeline
67+
run: make verify-governance
68+
69+
- name: Publish test summary
70+
if: always()
71+
run: |
72+
if [ -f artifacts/test-results/governance-tests.xml ]; then
73+
SUMMARY=$(make --no-print-directory summarize-governance-tests)
74+
echo "$SUMMARY" | tee -a "$GITHUB_STEP_SUMMARY"
75+
else
76+
echo "Governance tests summary unavailable: JUnit report not found." | tee -a "$GITHUB_STEP_SUMMARY"
77+
fi
78+
79+
- name: Upload governance test results
80+
if: always() && hashFiles('artifacts/test-results/governance-tests.xml') != ''
81+
uses: actions/upload-artifact@v4
82+
with:
83+
name: governance-test-results
84+
path: artifacts/test-results/governance-tests.xml
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

0 commit comments

Comments
 (0)