Skip to content

docs: correct migration-era residue and stale counts - #51

Merged
Teakowa merged 1 commit into
mainfrom
docs/sync-migration-residue
Aug 22, 2026
Merged

docs: correct migration-era residue and stale counts#51
Teakowa merged 1 commit into
mainfrom
docs/sync-migration-residue

Conversation

@Teakowa

@Teakowa Teakowa commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Entropy-audit cut (2026-08-22 audit, candidate 3, Risk A/B): one pass
correcting documentation and comments that still describe the retired
"wright adapter" architecture or carry stale counts. No wire format,
provenance record, or support semantics changes.

  • docs/hir/opy-hir-v1.md — rewrite the retired "compatibility
    adapter" producer framing. The payload is produced by the native
    opy-frontend lowering stage in this repository; the clean-room boundary
    (never import the reference implementation's AST) is stated explicitly.
    §6 no longer cites reference-internal class names (__add__, …).
    Normative JSON definitions are untouched.
  • crates/opy-frontend/src/hir/types.rs — header claimed version
    1.0.0 and located the spec "in the wright repository"; both wrong.
  • crates/opy-frontend/src/lib.rs — dead in-repo path
    crates/wright-opy reworded to an explicit wright-repository provenance
    reference.
  • crates/opy-frontend/src/manifest/probes/validate.py — the
    copy-pasteable run command pointed at the pre-migration path; fixed, plus
    the stale depth-label comment.
  • compatibility/fixtures/README.md + docs/compatibility/upstream-references.md
    — the dated 2026-08-17 oracle re-run is now scoped to the 27 snapshots
    that existed at that date (verified via git ls-tree of the recording
    commit), instead of silently conflicting with the current 42. The
    synthetic count is corrected to 28 (initial ported set plus in-repo
    additions). No new verification date is fabricated.
  • compatibility/support-matrix.json (semantics/diagnostics note)
    the stale "13-code contract" is replaced by a pointer to the stable-code
    table in docs/opy/tooling-api.md (36 codes documented), which is the
    authoritative, drift-resistant source.
  • docs/opy/support-matrix.md — synthetic evidence paths were missing
    the synthetic/ path segment; all cited paths verified to exist.
  • compatibility/README.md — the diff.py example invoked a
    nonexistent opy-rs compat command; replaced with a generic placeholder
    plus a note that the native comparison runs through the Rust
    differential suite.
  • docs/opy/tooling-api.md — document the existing
    CheckOutcome.post_compile_hook field (record-only semantics, issue Integrate OPY lowering and end-to-end compatibility with workshop-rs #8).

Validation

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test --workspace --all-targets --all-features (differential suite
    re-ran with the updated support matrix; all green)
  • python3 -m unittest discover -s compatibility/tests (20 tests OK)
  • rg sweeps: zero "adapter" mentions left in the HIR spec; no stale
    crates/wright-opy in-repo paths, opy-rs compat, 13-code, or
    unscoped 27-snapshot claims remain.

- opy-hir-v1.md: rewrite the retired 'compatibility adapter' producer
  framing; the native opy-frontend lower stage produces the payload and
  the clean-room boundary forbids importing the reference AST
- hir/types.rs, opy-frontend lib.rs, probes/validate.py: fix stale
  version/location comments and the wrong runnable validate.py path
- fixtures/README + upstream-references.md: scope the dated 2026-08-17
  oracle re-run to the 27 snapshots that existed then; correct the
  synthetic count (28: initial ported set plus in-repo additions)
  without fabricating a new verification date
- support-matrix.json semantics/diagnostics note: replace the stale
  '13-code contract' with a pointer to the documented stable-code table
- support-matrix.md: fix synthetic corpus evidence paths (missing
  synthetic/ segment)
- compatibility/README.md: replace the nonexistent 'opy-rs compat'
  producer example with a generic placeholder and note diff.py has no
  in-repo producer
- tooling-api.md: document the CheckOutcome.post_compile_hook field

Entropy audit candidate 3 (migration-residue doc drift). No wire format,
provenance record, or support semantics changed.
@Teakowa
Teakowa merged commit 5586b1e into main Aug 22, 2026
4 checks passed
@Teakowa
Teakowa deleted the docs/sync-migration-residue branch August 22, 2026 06:44
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