Skip to content

construct_map: take paragraph->method from the translator's paragraph_methods sidecar (Part of #8488) - #8703

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8488-20261119T2157Z
Nov 19, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8488-20261119T2157Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8488 (remaining slice 2: feed stats["paragraph_methods"] into the alignment tools).

What changed

  • tests/tools/construct_map.py: det_methods(java, provenance=None) uses the translator's own map when a <Service>.paragraph_methods.json sidecar sits beside the det service (scan copies it); otherwise the Javadoc regex fallback. New read_provenance, provenance_drift; analyze records provenance_drift and unmapped_paragraphs per program (keys only when non-empty).
  • tests/cobol_mainframe/test_construct_map.py: provenance wins, fallback, drift, bad/empty sidecar, named and pN methods.
  • docs/language_status/construct_correspondence.md: one paragraph on the sidecar.

Class sweep

Class: an alignment tool re-parses det Java text for the paragraph->method map the translator already states. Same-mechanism sibling in scope: analyze silently skipping unmapped paragraphs (now reported).
Sibling gaps: none needing a burned-estate program. Nothing writes the sidecar yet: committed ports carry no stats, so det_port.py run (or port_runner) emitting it beside the service is a follow-up.

Remaining slices

  1. tests/tools/det_port.py / port_runner.py: write <Service>.paragraph_methods.json next to the service from stats["paragraph_methods"] (2 files + test), then construct_map.py scan picks it up.

Gates: pytest (construct_map + provenance_8488: 25 passed), audit_check.py all clear, ruff format. No golden change (no engine code).

Cross-repo: none.

🤖 Generated with Claude Code

…aragraph_methods sidecar (Part of #8488)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 19, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 19, 2026 22:06
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 19, 2026 22:09
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 19, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit aa8ff03 into main Nov 19, 2026
61 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8488-20261119T2157Z branch November 19, 2026 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant