Skip to content

docs(tech-debt): mark CORE-01 (S1) borrow-checker Phase-3 DONE — closes #177#473

Open
hyperpolymath wants to merge 1 commit into
mainfrom
close-177-borrow-checker-phase3-done
Open

docs(tech-debt): mark CORE-01 (S1) borrow-checker Phase-3 DONE — closes #177#473
hyperpolymath wants to merge 1 commit into
mainfrom
close-177-borrow-checker-phase3-done

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Summary

Why now

#177 was the issue tracking CORE-01 Phase-3 (borrow-graph validation, S1). The stated scope — adding graph validation plus regression fixtures under tests/ — has shipped:

Build oracle

Local toolchain has an unrelated cross-installation OCaml conflict (astring.cmxa from opam vs system stdlib.cmxa); using CI-on-main as oracle instead.

CI green on main at 4f0f3ca7 (2026-05-30 15:19Z) with all CORE-01 work present.

Test plan

  • CI green on this branch
  • No code in the diff; doc-only change (no behaviour impact)
  • Closes #177 link resolves on merge

Closes #177.

🤖 Generated with Claude Code

#177

The ledger entry was stale: it listed C' (loop soundness), D (linear-capture
by closure), and ref-to-ref binding as residual, but those three slices
landed via PRs #395, #396, #397 (with #399/#400 as related follow-ups).

Refresh the CORE-01 row to:
* document the three landed slices alongside Slices A/B/C-light,
* flip the Stage D ASCII status from ACTIVE to CLOSED,
* mark the row CLOSED 2026-05-30 with the residual scoped exclusively to
  ADR-022 (true Polonius origin/region variables), filed as a separate
  workstream in docs/decisions/0022-polonius-origin-variables.adoc (PR #407).

Closes #177.

Evidence:
* lib/borrow.ml:1635-1715 documents pt1+pt2+pt3 (A/B/C-light/C'/D+ref-to-ref).
* test/test_e2e.ml "E2E Borrow Graph" suite: 28 hermetic regression tests.
* git log --oneline -- lib/borrow.ml: PR #395 ref-to-ref, #396 C' loop
  soundness, #397 Slice D, #399 whole-place assignment, #400 self-assign
  guard, #407 ADR-022 (Polonius gating).
* CI green on main at 4f0f3ca (2026-05-30 15:19Z).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath hyperpolymath enabled auto-merge (squash) May 30, 2026 20:37
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.

CORE-01: complete borrow checker Phase-3 (borrow-graph validation)

1 participant