Skip to content

remove(parser): retire dispatch.julia parser compatibility arm - #969

Closed
odvcencio wants to merge 8 commits into
mainfrom
codex/campaign-v7-julia-decision-20260823
Closed

remove(parser): retire dispatch.julia parser compatibility arm#969
odvcencio wants to merge 8 commits into
mainfrom
codex/campaign-v7-julia-decision-20260823

Conversation

@odvcencio

Copy link
Copy Markdown
Owner

Summary

This change removes the legacy dispatch.julia compatibility layer. That layer contained repair functions that injected errors into valid trees or matched no current grammar patterns. Deleting the layer aligns the Julia output with the locked C oracle.

Changes

  • Delete parser_result_julia.go and remove the case julia arm from the dispatcher. Keep the separate incremental fastpath case for line comment reuse.
  • Set the dispatch.julia registry entry to status retired. Record the retirement commit hash and attach receipt links. Preserve the row in historical records.
  • Update the counter numbers in docs/compat-tier.md and compat_ownership_provenance_test.go. Decrease active arms and languages by one each.
  • Add parser_result_julia_retirement_test.go. This test pins raw trees against the C oracle. It also verifies production output matches raw output for all fixtures.
  • Ship twenty four Julia test files in testdata/julia_retirement_corpus/. These files cover clean blocks and recovered syntax shapes.
  • Add decision documents and a census probe. They record the parity proof and list conditions to reopen the retirement.

Testing

  • go test . -run '^TestResultCompatibilityOwnershipRegistry$' -count=1
  • go test . -run '^TestJuliaRetirement' -v -count=1
  • go build ./... && go vet ./...

- Record the locked-C parity verdict and draft the retirement plan for `dispatch.julia`.
- Add the census probe to measure `dispatch.julia` pass activity across targeted Julia witnesses.
- Provide a three-way dump test to compare C-oracle, raw Go, and production Go trees for parity checks.

Buckley-Change-Hash: sha256:4f22c9a33f5fb5db4a09cf1cdd9ace67153e35d4fdc12a3eec38c862adff2447
Buckley-Change-Stats: files=3 insertions=389 deletions=0 binaries=0
- Remove `parser_result_julia.go` and its dispatcher case from `parser_result_compat.go`.
- Install a retirement receipt test suite to pin raw and production digests across a 24-witness corpus.
- Add a three-way dump test to compare raw Go, production Go, and the locked C oracle for decision verification.
- Record the probe verdict and a pre-deletion defect filing for the trailing-comma assignment tuple divergence.

Buckley-Change-Hash: sha256:44331e915995b75a94036dc4c7b3d1456d82407de07ed8469cf1046a257f38e1
Buckley-Change-Stats: files=7 insertions=567 deletions=817 binaries=0
- Update `docs/compat-tier.md` with the new registry counts.
- Lower the dispatcher arm count to thirty.
- Lower the dispatcher language count to thirty-two.
- Lower the live entry count to thirty-one.
- Raise the retired entry count to fifty-seven.
- Mark the Julia entry as retired in the JSON registry.
- Remove live witnesses and link to the retirement receipts.

Buckley-Change-Hash: sha256:85c36bccbec0063c35fdf09140275d2f622eefdee52a3c8163323f0337ca0ecf
Buckley-Change-Stats: files=2 insertions=22 deletions=17 binaries=0
- Delete zz_julia_decision_dump_test.go from the cgo harness.
- This test printed three parse trees for a single Julia source sample.
- Engineers used it to evaluate the campaign wave 3 retirement plan.
- The investigation completed and the scratch code needs removal.

Buckley-Change-Hash: sha256:f502c7be275d285116a9b69ed001af7fbee3430e03d19bbc13a90ddbd30a9285
Buckley-Change-Stats: files=1 insertions=0 deletions=144 binaries=0
- Ship the julia regression corpus as committed fixtures so receipts stay re-runnable
- Refactor the retirement test to read witnesses from disk instead of inline strings
- Add corpus completeness gate that pins the exact witness count and rejects stray files
- Add post-deletion firing census gate that fails if any normalization pass records again
- Update the decision record to document execution status, scope honesty, and registry metrics

Buckley-Change-Hash: sha256:ca12867d40a21311ce7430e80d7665c2ef353df58d6c369aed76d8a7e50c38d1
Buckley-Change-Stats: files=28 insertions=387 deletions=61 binaries=0
- Document removal of the Julia parser compatibility arm and its five sub-repairs.
- Record ledger updates setting the dispatch row to retired with exact receipt proofs.
- List the 25-witness regression corpus and validation gates confirming locked-C parity.
- Preserve incremental fastpath rationale and define audit reopen conditions.

Buckley-Change-Hash: sha256:2856da4a96eef3a3d55a7b8017d22745758faff03a41f09963c27630eb5e4f52
Buckley-Change-Stats: files=1 insertions=159 deletions=0 binaries=0
- Relocate the 24-witness corpus and census documents to the standard test data path.
- Update parser tests to reference the relocated fixture directory.
- Enforce C-oracle parity and error-free production parsing in decision dump tests.
- Refresh the compatibility registry hash and dispatch routing entries.
- Align campaign receipts and defect logs with the new data layout.

Buckley-Change-Hash: sha256:02ee97cb070b6d9d344dcaeda4a297fa5397238900c88816f4f2091a33d81d4b
Buckley-Change-Stats: files=31 insertions=30 deletions=17 binaries=0
- Move regression corpus to the testdata directory.
- Update campaign documents to match the new path.
- Update census receipt headers to reflect the new location.

Buckley-Change-Hash: sha256:b5e7c97efe046828801f2164e80f9b25f3a7eb03d5e27cbaeebb4fc21645a6b6
Buckley-Change-Stats: files=3 insertions=9 deletions=9 binaries=0
@odvcencio

Copy link
Copy Markdown
Owner Author

Closing this mixed archival and correctness pull request. Put durable campaign evidence in Hyphae. A replacement must contain only the verified Julia retirement code, required tests, registry changes, changelog, and concise documentation. Keep the branch for reference.

@odvcencio odvcencio closed this Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant