Skip to content

Commit c3da504

Browse files
authored
Merge branch 'main' into fix/ci-missing-gov-and-spec-pipeline
2 parents cc77559 + 2e92dd3 commit c3da504

1,560 files changed

Lines changed: 41815 additions & 622 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/workflows/release-smoke.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ jobs:
1717
- name: Install
1818
run: |
1919
python -m pip install --upgrade pip
20-
pip install -r requirements.txt || true
20+
python -m pip install -e .
21+
python -m pip install pytest
22+
- name: Verify import
23+
run: |
24+
python -c "import importlib, sys; importlib.import_module('shieldcraft'); print('shieldcraft import OK')"
2125
- name: Generate release manifest
2226
run: |
2327
python -c "from shieldcraft.release import generate_release_manifest; generate_release_manifest()"

.github/workflows/spec-pipeline.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,21 @@ jobs:
2929
continue-on-error: false
3030

3131
- name: Run self-host tests specifically
32+
env:
33+
SHIELDCRAFT_SELFBUILD_ALLOW_DIRTY: '1'
3234
run: pytest -q tests/selfhost -q
3335

3436
- name: Ensure critical tests exist
3537
run: |
3638
python - <<PY
3739
import pathlib, sys
3840
repo = pathlib.Path('.').resolve()
39-
txt = repo.read_text()
41+
txt = ''
42+
for p in repo.rglob('*.py'):
43+
try:
44+
txt += p.read_text()
45+
except Exception:
46+
pass
4047
required = [
4148
'test_selfhost_roundtrip_identity',
4249
'test_selfhost_closed_loop_determinism',

RELEASE_MANIFEST.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"artifacts": [
33
{
44
"path": "src/shieldcraft/observability/__init__.py",
5-
"sha256": "0dd1049f6ca9bb20cbbae92b02571426f81429fc4bbce84c714f7592cce686b6"
5+
"sha256": "4e7c6d6ee8a124adbf88dbb952a2b2dca2134961cf160b98882be01bab03c403"
66
},
77
{
88
"path": "src/shieldcraft/persona/__init__.py",
99
"sha256": "83d9f0efbda45198c8e4c0db773222af09363ae7ce65335579edcd2897353153"
1010
},
1111
{
1212
"path": "src/shieldcraft/persona/persona_event_v1.schema.json",
13-
"sha256": "5ae47a563d0679f08a20f8d371e36bd0f4069a8396e38a9c7f8ca07f1763484f"
13+
"sha256": "0bc40af4652094fffc1e382c23aa419b322b9bed737a7f5b3cf38a399ab7951a"
1414
},
1515
{
1616
"path": "src/shieldcraft/persona/persona_v1.schema.json",

SE_BOOTSTRAP_COMPLETE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Bootstrap completion marker
2+
3+
commit: 2e3d704
4+
5+
CI runs confirming green state:
6+
- Reproducibility Check: run 20209621019 — success
7+
- Spec Pipeline CI: run 20209620978 — success
8+
- Self-Build Verification: run 20209620973 — success
9+
10+
self-host deterministic from clean repo

SE_V1_CLOSED.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ShieldCraft Engine v1.0.0 release finalized.
2+
Tag: v1.0.0

demo_runs/errors_run1.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"errors": [
3+
{
4+
"code": "sections_empty",
5+
"details": {
6+
"expected": "non-empty array",
7+
"governance_source": {
8+
"description": "Sections are recommended for author ergonomics",
9+
"enforcement": "soft",
10+
"file": "docs/CONTRACTS.md",
11+
"file_hash": "41a2737d658693c60cb949f66051137e791e3cf7594fb4df54fefd6114e0c307",
12+
"section": "Sections and layout"
13+
},
14+
"rationale": "Sections is required by schema and empty in normalized skeleton"
15+
},
16+
"location": "/sections",
17+
"message": "spec must declare a non-empty 'sections' array"
18+
}
19+
]
20+
}

demo_runs/errors_run2.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"errors": [
3+
{
4+
"code": "sections_empty",
5+
"details": {
6+
"expected": "non-empty array",
7+
"governance_source": {
8+
"description": "Sections are recommended for author ergonomics",
9+
"enforcement": "soft",
10+
"file": "docs/CONTRACTS.md",
11+
"file_hash": "41a2737d658693c60cb949f66051137e791e3cf7594fb4df54fefd6114e0c307",
12+
"section": "Sections and layout"
13+
},
14+
"rationale": "Sections is required by schema and empty in normalized skeleton"
15+
},
16+
"location": "/sections",
17+
"message": "spec must declare a non-empty 'sections' array"
18+
}
19+
]
20+
}

demo_runs/errors_run3.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"errors": [
3+
{
4+
"code": "sections_empty",
5+
"details": {
6+
"expected": "non-empty array",
7+
"governance_source": {
8+
"description": "Sections are recommended for author ergonomics",
9+
"enforcement": "soft",
10+
"file": "docs/CONTRACTS.md",
11+
"file_hash": "41a2737d658693c60cb949f66051137e791e3cf7594fb4df54fefd6114e0c307",
12+
"section": "Sections and layout"
13+
},
14+
"rationale": "Sections is required by schema and empty in normalized skeleton"
15+
},
16+
"location": "/sections",
17+
"message": "spec must declare a non-empty 'sections' array"
18+
}
19+
]
20+
}

0 commit comments

Comments
 (0)