Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
54a1836
canon: rebuild Chapter Zero from primitive structure and action
erinepshovel-code Sep 13, 2026
afb261a
canon: replace v2 axioms with v3 core
erinepshovel-code Sep 13, 2026
ff99138
canon: rotate postulates for partial-domain reconstruction
erinepshovel-code Sep 13, 2026
d3201e8
canon: rederive v3 theorems from primitive structure
erinepshovel-code Sep 13, 2026
630595c
canon: align glossary with v3 root
erinepshovel-code Sep 13, 2026
4604ae9
canon: update domain restraint for v3 reconstruction
erinepshovel-code Sep 13, 2026
2aac152
canon: rebuild theory layer for v3 root
erinepshovel-code Sep 13, 2026
0e42dab
canon: rotate importable identity to metapat-canon-v3
erinepshovel-code Sep 13, 2026
6d87e34
canon: align semantic envelope vocabulary with v3
erinepshovel-code Sep 13, 2026
acfc539
canon: rotate catalog doctrine declarations to v3
erinepshovel-code Sep 13, 2026
7179da3
canon: rotate theory catalog declarations to v3
erinepshovel-code Sep 13, 2026
9f821bd
canon: rotate semantic catalog identity to v3
erinepshovel-code Sep 13, 2026
fa404f4
docs: record metapat canon v3 rotation
erinepshovel-code Sep 13, 2026
68182da
canon: replace v2 contract checks with v3 checks
erinepshovel-code Sep 13, 2026
08f2ad0
tests: rotate canon contracts to v3
erinepshovel-code Sep 13, 2026
e4f1c3a
api: replace deprecated v2 validation exports
erinepshovel-code Sep 13, 2026
2c8bca9
tests: rotate semantic catalog assertions to v3
erinepshovel-code Sep 13, 2026
54766a1
build: rotate semantic fixtures to v3 filenames
erinepshovel-code Sep 13, 2026
cd9c111
build: regenerate v3 canon fixtures once
erinepshovel-code Sep 13, 2026
838506a
build: generate metapat v3 semantic fixtures
github-actions[bot] Sep 13, 2026
ae4ab0a
fix: remove dead envelope field check
erinepshovel-code Sep 13, 2026
cd040b9
build: migrate v3 application bindings once
erinepshovel-code Sep 13, 2026
d217007
build: remove failed v3 migration workflow
erinepshovel-code Sep 13, 2026
0a780d3
build: migrate live v3 consumers once
erinepshovel-code Sep 13, 2026
6570e10
build: remove blocked migration workflow
erinepshovel-code Sep 13, 2026
e92c061
build: migrate v3 application consumers
erinepshovel-code Sep 13, 2026
246ce62
migration: bind live applications to metapat v3
github-actions[bot] Sep 13, 2026
6e98eeb
build: regenerate v3 application fixtures once
erinepshovel-code Sep 13, 2026
9bab5eb
build: generate metapat v3 application fixtures
github-actions[bot] Sep 13, 2026
94e2125
ci: verify metapat v3 fixtures
erinepshovel-code Sep 13, 2026
f7a9603
tests: align envelope assertions with metapat v3
erinepshovel-code Sep 13, 2026
5c41c14
tests: assert v3 application root binding
erinepshovel-code Sep 13, 2026
cf779b7
tests: assert v3 quantum application bindings
erinepshovel-code Sep 13, 2026
e48d24d
docs: align quantum mapping labels with v3 bindings
erinepshovel-code Sep 13, 2026
69a2f03
build: align v3 pipe semantic roles once
erinepshovel-code Sep 13, 2026
5dedb76
fix: align v3 application semantic roles
github-actions[bot] Sep 13, 2026
c3387db
docs: replace deprecated v2 README semantics
erinepshovel-code Sep 13, 2026
f055ceb
docs: rotate agent doctrine to metapat v3
erinepshovel-code Sep 13, 2026
7ad7492
build: sync remaining v3 application source text once
erinepshovel-code Sep 13, 2026
995f8f9
docs: sync v3 application source statements
github-actions[bot] Sep 13, 2026
1cdc8f3
docs: restore quantum application identity anchor
erinepshovel-code Sep 13, 2026
f55d20c
docs: rotate semantic catalog documentation to v3
erinepshovel-code Sep 13, 2026
352ae20
docs: rotate compliance surface to metapat v3
erinepshovel-code Sep 13, 2026
18e5b5d
docs: replace v2 claims ledger with v3 classifications
erinepshovel-code Sep 13, 2026
a0f7daa
docs: align application-module guidance with v3
erinepshovel-code Sep 13, 2026
9f4b160
build: run final v3 audit once
erinepshovel-code Sep 13, 2026
45a49c8
build: regenerate v3 metadata and capture final audit
github-actions[bot] Sep 13, 2026
29a09de
build: repair final v3 source drift once
erinepshovel-code Sep 13, 2026
711eb6c
fix(canon-v3): align affixiation application source role
erinepshovel-code Sep 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Verify every canon-bearing file byte identity
run: python -c "from pathlib import Path; import metapat; metapat.assert_canon_files_match(Path('.'))"
- name: Verify packaged root-spine fixture
run: python -c "from importlib.resources import files; import metapat; assert files('metapat').joinpath('fixtures/root-spine-envelope-v2.json').read_text(encoding='utf-8').strip() == metapat.root_spine_module_envelope().to_json()"
run: python -c "from importlib.resources import files; import metapat; assert files('metapat').joinpath('fixtures/root-spine-envelope-v3.json').read_text(encoding='utf-8').strip() == metapat.root_spine_module_envelope().to_json()"

exact-ucns-integration:
name: Exact post-reset UCNS profile / pinned producer
Expand Down Expand Up @@ -174,10 +174,10 @@ jobs:
import metapat
assert version("metapat") == metapat.__version__ == "0.7.0"
assert files("metapat").joinpath("py.typed").is_file()
root_fixture = files("metapat").joinpath("fixtures/root-spine-envelope-v2.json")
catalog_fixture = files("metapat").joinpath("fixtures/semantic-module-catalog-v2.json")
application_fixture = files("metapat").joinpath("fixtures/quantum-magnetism-application-v2.json")
pipe_fixture = files("metapat").joinpath("fixtures/three-phase-electromagnetic-pipe-v2.json")
root_fixture = files("metapat").joinpath("fixtures/root-spine-envelope-v3.json")
catalog_fixture = files("metapat").joinpath("fixtures/semantic-module-catalog-v3.json")
application_fixture = files("metapat").joinpath("fixtures/quantum-magnetism-application-v3.json")
pipe_fixture = files("metapat").joinpath("fixtures/three-phase-electromagnetic-pipe-v3.json")
envelope = metapat.root_spine_module_envelope()
catalog = metapat.canonical_semantic_catalog()
application = metapat.quantum_magnetism_application_module(catalog)
Expand Down
55 changes: 55 additions & 0 deletions .github/workflows/v3-final-repair-once.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Final v3 repair once
on:
push:
branches: [research/platonic-energy-operators]
permissions:
contents: write
jobs:
repair:
if: github.actor != 'github-actions[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
with:
ref: research/platonic-energy-operators
- uses: actions/setup-python@v7.0.0
with:
python-version: '3.12'
- run: python -m pip install -e .[dev]
- name: Repair affixiation role and regenerate
shell: python
run: |
from pathlib import Path
p = Path('src/metapat/affixiation_harmonics.py')
s = p.read_text()
old = ''' (
"metapat.theory.8.emergence",
"integration",
"Affixiation may integrate a declared relation as a higher-scale object-whole while retaining the addressable identities of its participants.",
),'''
new = ''' (
"metapat.theory.8.emergence",
"emergence",
"Affixiation may integrate a declared relation as a higher-scale object-whole while retaining the addressable identities of its participants.",
),'''
Comment on lines +30 to +34

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the obsolete self-repair workflow

On every human push to research/platonic-energy-operators, this workflow changes the executable affixiation role from the head's source-aligned integration value back to emergence while leaving the Markdown source at integration. The immediately following full pytest run then fails test_application_source_is_current, so the workflow can never reach its self-deletion or commit steps and leaves that branch with a permanently failing write-enabled job.

Useful? React with 👍 / 👎.

if old not in s:
raise SystemExit('expected affixiation integration role not found')
p.write_text(s.replace(old, new))
for temporary in (Path('.v3-pytest.log'), Path('.v3-pytest.status')):
if temporary.exists(): temporary.unlink()
- name: Regenerate metadata and verify
shell: bash
run: |
python tools/generate_msdmd.py
python -m pytest -q
python tools/check_contract_graph.py
python tools/generate_catalog.py --check
python tools/generate_application_fixtures.py --check
rm -f .github/workflows/v3-final-repair-once.yml
- name: Commit verified repair
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add -A
git commit -m 'fix: close final metapat v3 source drift'
git push origin HEAD:research/platonic-energy-operators
28 changes: 28 additions & 0 deletions .v3-pytest.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.....F.................................................................. [ 74%]
......................... [100%]
=================================== FAILURES ===================================
______________________ test_application_source_is_current ______________________

def test_application_source_is_current() -> None:
application = affixiation_harmonics_application_module()
> metapat.assert_application_sources_match(Path(__file__).resolve().parents[1], application)

tests/test_affixiation_harmonics.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

root = PosixPath('/home/runner/work/metapat/metapat')
application = MetapatApplicationModule(application_id='metapat.application.affixiation_harmonics', application_version='affixiation-...module', schema_version='1.0.0', application_digest='77fdce04bb59fe34e510221fd051be289681016b40997a83a903d35998eb1e7a')

def assert_application_sources_match(
root: Path,
application: MetapatApplicationModule,
) -> None:
mismatches = application_source_mismatches(root, application)
if mismatches:
> raise ValueError("application source mismatch: " + "; ".join(mismatches))
E ValueError: application source mismatch: source statement mismatch: docs/applications/affixiation-harmonics.md#catalog-bindings::statement-11

src/metapat/application.py:499: ValueError
=========================== short test summary info ============================
FAILED tests/test_affixiation_harmonics.py::test_application_source_is_current - ValueError: application source mismatch: source statement mismatch: docs/applications/affixiation-harmonics.md#catalog-bindings::statement-11
1 failed, 96 passed in 0.83s
1 change: 1 addition & 0 deletions .v3-pytest.status
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
Loading