Skip to content

Module edges: make the boundary rule absolute (merge last) - #2083

Merged
r3dbars merged 1 commit into
mainfrom
cleanup/module-edges/absolute-rule
Oct 8, 2026
Merged

r3dbars merged 1 commit into
mainfrom
cleanup/module-edges/absolute-rule

Conversation

@r3dbars

@r3dbars r3dbars commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Merge this last. It only goes green once every cleanup/module-edges/* PR has landed and main has zero module-boundary crossings. Until then check-module-boundaries.py fails on whatever's left. That's on purpose; it's the point of this PR.

What changes:

  • scripts/dev/check-module-boundaries.py drops the baseline. Every crossing fails, and --shrink and --write-baseline are gone. If an edge is legit, the fix is a reviewed mayDependOn / Core tier edit in .agents/modules.json, same as before.
  • Self-test now checks that any crossing fails and a clean tree passes.
  • .agents/module-boundary-baseline.json is deleted.
  • Docs that pointed at the baseline (root AGENTS.md, Sources/TranscriptedCore, UI/Overlay and UI/Settings AGENTS.md, docs/repo-layout.md, scripts/README.md, the modules.json comment) now say nothing is grandfathered. check-doc-paths.py needed these.

Before merging:

Checks on this head (before the edge PRs land):

  • check-module-boundaries.py --self-test: pass.
  • bash check.sh: all passed except the expected boundary failures (37 crossings still on main).
  • swift test: failed once while 7 other worktrees were building, then passed on rerun (1040 tests). This PR changes no Swift.
  • source-stability flagged a source change during the proof run; I couldn't explain it.

check-module-boundaries.py now fails on every crossing. The baseline file,
--shrink and --write-baseline are gone, and the docs that pointed at the
baseline say nothing is grandfathered. Merge this after every
cleanup/module-edges PR has landed; until then the check fails on main's
remaining crossings.
@r3dbars r3dbars added cleanup One-time repo cleanup waiting-on-human Needs a human (Justin) to look before anything else happens labels Oct 7, 2026
@r3dbars

r3dbars commented Oct 8, 2026

Copy link
Copy Markdown
Owner Author

The auto-merge gate can't merge this on its own (touches protected files: .agents/modules.json, AGENTS.md, Sources/TranscriptedCore/AGENTS.md; files outside lane module-edges: docs/repo-layout.md, scripts/README.md, scripts/dev/check-module-boundaries.py), so it's labeled waiting-on-human for a human review. See docs/auto-merge-gate.md.

@r3dbars
r3dbars merged commit 1d30e2e into main Oct 8, 2026
18 of 22 checks passed
@r3dbars
r3dbars deleted the cleanup/module-edges/absolute-rule branch October 8, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup One-time repo cleanup waiting-on-human Needs a human (Justin) to look before anything else happens

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant