Skip to content

Fix overlay glob scoping and make scaffolds library-CI compliant - #18

Merged
alex-16moro merged 2 commits into
mainfrom
cursor/gate-glob-scaffold-ci-3eed
Sep 20, 2026
Merged

alex-16moro merged 2 commits into
mainfrom
cursor/gate-glob-scaffold-ci-3eed

Conversation

@alex-16moro

@alex-16moro alex-16moro commented Sep 20, 2026 •

Copy link
Copy Markdown
Owner

Summary

The overlay catch-the-bad demo missed path-prefixed rules because the fork clone lives at ramp-kit/examples/.... rule_applies now also matches after stripping a leading ramp-kit/ segment (real repo paths stay exact).

Scheduler templates are ruff-clean, replace every TEMPLATE / CHANGE_ME token on copy, and /scaffold now registers the class in inits/dummies then invokes make style, make quality, and check_copies / check_dummies / check_repo until they exit 0. step() math stays TODO(engineer). Never convention_check --all on the library.

Verified on the fork: python3 ramp-kit/tools/convention_check.py ramp-kit/examples/candidate_scheduler emits TEST001, SCHED001, SCHED002, SCHED003, DEPR001, MUT001, REPRO001, DEVICE001 (8 blocking).

Convention gate

Ran make test (58 tests OK). Blocking ids still enforced: SCHED001, SCHED002, SCHED003, REPRO001, DEVICE001, DEPR001, MUT001, TEST001, TEST002.

Tests run

python3 -m unittest discover -s tests -t . -q

58 tests OK.

Open in Web Open in Cursor 

cursoragent and others added 2 commits September 20, 2026 11:49
Rules scoped to examples/**, src/diffusers/**, and tests/** missed the
fork overlay clone at ramp-kit/examples/..., so the catch-the-bad demo
only showed 4 of 8 findings. Strip only that overlay-clone prefix.

Co-authored-by: ale93.moro <ale93.moro@gmail.com>
Templates are ruff-clean with Google-style docstrings and no leftover
TEMPLATE/CHANGE_ME tokens after copy. /scaffold now registers the class
in inits/dummies and invokes make style, make quality, and check_copies/
check_dummies/check_repo until they exit 0.

Co-authored-by: ale93.moro <ale93.moro@gmail.com>
@alex-16moro
alex-16moro marked this pull request as ready for review September 20, 2026 15:20
@alex-16moro
alex-16moro merged commit ad11ff5 into main Sep 20, 2026
1 check passed
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.

2 participants