Skip to content

Refactor rules - #378

Merged
zheli merged 13 commits into
mainfrom
cursor/poteto-cheap-budget-675f
Nov 19, 2026
Merged

zheli merged 13 commits into
mainfrom
cursor/poteto-cheap-budget-675f

Conversation

@zheli

@zheli zheli commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Pins poteto-mode / pstack to the official # budget: small (medium) mapping (cheap reasoning) so Cloud Agents in this repo spend medium/low effort instead of skill defaults (xhigh / high). Opus roles use non--fast slugs. The no-comments policy lives in CONTRIBUTING (humans and agents), with a link to Lauren Tan (@poteto) on comments; AGENTS.md points at CONTRIBUTING and covers agent workflow only.

Also adds a PR CI check that every commit must be GitHub-Verified, and documents how to fix Unverified (unknown_key) commits.

Changes

  • Add always-applied .cursor/rules/pstack-models.mdc with small-budget role models
  • Drop -fast from all Opus model slugs
  • Track AGENTS.md (agent workflow + pointer to CONTRIBUTING)
  • Add the no-comments keep-list to CONTRIBUTING (cite poteto rationale); drop required parity TODO(#issue) comments in favor of linked follow-up issues
  • Add scripts/ci/check-commit-verification.sh + workflow Check commit verification on ubuntu-latest (header trimmed per no-comments)
  • Document signed commits / Unverified re-sign steps in CONTRIBUTING and AGENTS

Test plan

  • Confirm .cursor/rules/pstack-models.mdc is tracked (not gitignored)
  • Local scripts/ci/check-authorship.sh origin/main HEAD passes after authorship rewrite
  • Confirm no -fast suffixes remain in pstack-models.mdc
  • Confirm AGENTS.md is tracked (not gitignored)
  • Confirm CONTRIBUTING owns the no-comments policy and cites the poteto rationale
  • Local scripts/ci/check-commit-verification.sh fails on this branch (unknown_key) and passes on a verified main commit
  • Spot-check a poteto-mode / pstack run picks medium/low models per the file instead of skill defaults
  • Spot-check agents follow CONTRIBUTING via AGENTS.md
  • Re-sign this branch with a GitHub-registered signing key so Check commit verification goes green
  • Repo ruleset: add Require signed commits and/or require status check Check commit verification (API 403 from agent)
  • make test / make lint not required (docs/config only)
Open in Web Open in Cursor 

@cursor
cursor Bot force-pushed the cursor/poteto-cheap-budget-675f branch from 7522936 to 69e8bfb Compare November 18, 2026 17:23
@zheli zheli changed the title feat(cursor): use small (cheap) pstack budget for poteto-mode Refactor rules Nov 18, 2026
@zheli
zheli force-pushed the cursor/poteto-cheap-budget-675f branch 2 times, most recently from 3216555 to 461ab32 Compare November 18, 2026 20:19
zheli added 12 commits November 18, 2026 21:19
Pin poteto-mode / pstack roles to the official small budget so cloud
agents spend medium/low reasoning instead of skill defaults (xhigh/high).
Track .cursor/rules so the always-applied rule ships with the repo.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Keep the small budget mapping but use non-fast Opus slugs throughout.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Keep the small-budget role map; drop redundant setup comments.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Drop section banners; keep .cursor/rules allowlist; mark the Vite
placeholder warning as needing a GitHub check.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Stop ignoring AGENTS.md so Cloud Agents load it. Ban narrating and
why-comments; keep license, public API docs, parity TODOs, issue links,
and external-constraint comments.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Move artifacts/ to the top-level ignore list and drop the local AI
path ignore block from this file.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Require a linked follow-up issue instead of in-code TODO comments when
CLI and Web UI cannot land in the same PR.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Treat the comment keep-list as shared project law for humans and
agents. AGENTS.md points at CONTRIBUTING and keeps agent workflow only.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Link Lauren Tan's post from the CONTRIBUTING Comments section.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Unverified badges come from Cursor SSH signatures on human-authored
commits (unknown_key). Add a CI check mirroring authorship so merges
cannot land unsigned or untrusted signatures.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Align with CONTRIBUTING no-comments; keep Usage plus the GitHub-API
platform constraint that local verify-commit cannot express.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
Use GitHub-hosted runners for the signature check instead of self-hosted.

Co-authored-by: Zhe Li <linuxcity.jn@gmail.com>
@zheli
zheli force-pushed the cursor/poteto-cheap-budget-675f branch from 461ab32 to 12fabd4 Compare November 18, 2026 20:20
One PR workflow runs both scripts so the ruleset needs a single
required status check instead of two overlapping commit gates.
@zheli
zheli merged commit e95e519 into main Nov 19, 2026
22 checks passed
@zheli
zheli deleted the cursor/poteto-cheap-budget-675f branch November 19, 2026 00:00
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