-
Notifications
You must be signed in to change notification settings - Fork 0
canon: rotate METAPAT to primitive structure/action v3 #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
erinepshovel-code
wants to merge
49
commits into
main
Choose a base branch
from
research/platonic-energy-operators
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
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 afb261a
canon: replace v2 axioms with v3 core
erinepshovel-code ff99138
canon: rotate postulates for partial-domain reconstruction
erinepshovel-code d3201e8
canon: rederive v3 theorems from primitive structure
erinepshovel-code 630595c
canon: align glossary with v3 root
erinepshovel-code 4604ae9
canon: update domain restraint for v3 reconstruction
erinepshovel-code 2aac152
canon: rebuild theory layer for v3 root
erinepshovel-code 0e42dab
canon: rotate importable identity to metapat-canon-v3
erinepshovel-code 6d87e34
canon: align semantic envelope vocabulary with v3
erinepshovel-code acfc539
canon: rotate catalog doctrine declarations to v3
erinepshovel-code 7179da3
canon: rotate theory catalog declarations to v3
erinepshovel-code 9f821bd
canon: rotate semantic catalog identity to v3
erinepshovel-code fa404f4
docs: record metapat canon v3 rotation
erinepshovel-code 68182da
canon: replace v2 contract checks with v3 checks
erinepshovel-code 08f2ad0
tests: rotate canon contracts to v3
erinepshovel-code e4f1c3a
api: replace deprecated v2 validation exports
erinepshovel-code 2c8bca9
tests: rotate semantic catalog assertions to v3
erinepshovel-code 54766a1
build: rotate semantic fixtures to v3 filenames
erinepshovel-code cd9c111
build: regenerate v3 canon fixtures once
erinepshovel-code 838506a
build: generate metapat v3 semantic fixtures
github-actions[bot] ae4ab0a
fix: remove dead envelope field check
erinepshovel-code cd040b9
build: migrate v3 application bindings once
erinepshovel-code d217007
build: remove failed v3 migration workflow
erinepshovel-code 0a780d3
build: migrate live v3 consumers once
erinepshovel-code 6570e10
build: remove blocked migration workflow
erinepshovel-code e92c061
build: migrate v3 application consumers
erinepshovel-code 246ce62
migration: bind live applications to metapat v3
github-actions[bot] 6e98eeb
build: regenerate v3 application fixtures once
erinepshovel-code 9bab5eb
build: generate metapat v3 application fixtures
github-actions[bot] 94e2125
ci: verify metapat v3 fixtures
erinepshovel-code f7a9603
tests: align envelope assertions with metapat v3
erinepshovel-code 5c41c14
tests: assert v3 application root binding
erinepshovel-code cf779b7
tests: assert v3 quantum application bindings
erinepshovel-code e48d24d
docs: align quantum mapping labels with v3 bindings
erinepshovel-code 69a2f03
build: align v3 pipe semantic roles once
erinepshovel-code 5dedb76
fix: align v3 application semantic roles
github-actions[bot] c3387db
docs: replace deprecated v2 README semantics
erinepshovel-code f055ceb
docs: rotate agent doctrine to metapat v3
erinepshovel-code 7ad7492
build: sync remaining v3 application source text once
erinepshovel-code 995f8f9
docs: sync v3 application source statements
github-actions[bot] 1cdc8f3
docs: restore quantum application identity anchor
erinepshovel-code f55d20c
docs: rotate semantic catalog documentation to v3
erinepshovel-code 352ae20
docs: rotate compliance surface to metapat v3
erinepshovel-code 18e5b5d
docs: replace v2 claims ledger with v3 classifications
erinepshovel-code a0f7daa
docs: align application-module guidance with v3
erinepshovel-code 9f4b160
build: run final v3 audit once
erinepshovel-code 45a49c8
build: regenerate v3 metadata and capture final audit
github-actions[bot] 29a09de
build: repair final v3 source drift once
erinepshovel-code 711eb6c
fix(canon-v3): align affixiation application source role
erinepshovel-code File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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.", | ||
| ),''' | ||
| 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 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 1 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On every human push to
research/platonic-energy-operators, this workflow changes the executable affixiation role from the head's source-alignedintegrationvalue back toemergencewhile leaving the Markdown source atintegration. The immediately following full pytest run then failstest_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 👍 / 👎.