Skip to content

Record unsafe-migration lessons in the workflow skills - #862

Open
julerex wants to merge 1 commit into
cursor:mainfrom
julerex:cursor/reflect-gate-lessons
Open

julerex wants to merge 1 commit into
cursor:mainfrom
julerex:cursor/reflect-gate-lessons

Conversation

@julerex

@julerex julerex commented Oct 24, 2026 •

Copy link
Copy Markdown

Summary

  • A public function that takes an arbitrary raw pointer is not a smaller unsafe surface, even when the unsafe block sits in the callee.
  • A compile that stays quiet under forbid(unsafe_code) shows the call site is lint-quiet. It does not show that a maintainer should extend that shape.
  • An allowlist that freezes today's offenders is interim anti-growth. An opened pull request is not handback while the done predicate is still open.
  • Pull request titles should match that predicate. A check excerpt that already names the failing files is enough for a local fix.

Test plan

  • Read the Phase A and Phase E lines in pstack/skills/figure-it-out/SKILL.md and confirm an allowlist freeze is labeled interim.
  • Read the arena pick and verify lines and confirm a compiler-behavior criterion requires a local compile before the cross-judge decides it.
  • Confirm verify-this, fix-ci, and deslop descriptions now name the unsafe-count, excerpt-first, and title-versus-predicate triggers.

Made with Cursor


Note

Low Risk
Documentation-only updates to agent skill markdown; no production code, config, or CI behavior changes.

Reviewed by Cursor Bugbot for commit 2fb771a. Bugbot is set up for automated code reviews on this repo. Configure here.

Agents treated a hidden raw pointer, a quiet macro lint, and an allowlist freeze as the finished boundary. The notes say what to measure instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
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