Skip to content

docs(workflow): PR integrity checklist and agent rigor rule - #291

Closed
FabioLeitao wants to merge 1 commit into
mainfrom
cursor/linguistic-rigor-performance-gate-755e
Closed

FabioLeitao wants to merge 1 commit into
mainfrom
cursor/linguistic-rigor-performance-gate-755e

Conversation

@FabioLeitao

Copy link
Copy Markdown
Collaborator

Summary

  • Extends .github/PULL_REQUEST_TEMPLATE.md with an Integridade section: Python/Ruff, cargo clippy for rust/boar_fast_filter when Rust is in scope, the 200k benchmark contract (tests/test_official_benchmark_200k_evidence.py + JSON), TECH_GUIDE EN/pt-BR sync, and product lexicon (ADR 0035 / glossary).
  • Adds .cursor/rules/linguistic-rigor-and-performance.mdc (always on): active voice, Rust prefilter priority, 0.574x evidence baseline as documented in-repo, Safe-Hold before calling work done, canonical terms (Data Sniffing, Deep Boring, etc.).
  • Prepends a short doctrine blockquote to root README.pt_BR.md.

Notes

  • The 0.574x figure matches the pinned speedup_vs_opencore in tests/benchmarks/official_benchmark_200k.json (Pro slower than OpenCore in that profile); changing it requires updating the JSON, test, and narrative together.
  • There is no rust-ci.yml in this repo today; the template uses a concrete cargo clippy path for rust/boar_fast_filter.
  • The path docs/pt_BR/README.pt_BR.md does not exist; the docs hub is docs/README.pt_BR.md. The intro change was applied to root README.pt_BR.md as in the request’s spirit.

Checklist

  • Pre-commit on touched files

Slack Thread

Open in Web Open in Cursor 

- Extend PULL_REQUEST_TEMPLATE with Python, Rust clippy, 200k benchmark gate,
  TECH_GUIDE sync, and product lexicon checks
- Add always-on linguistic-rigor-and-performance.mdc (voice, boar_fast_filter,
  0.574x evidence contract, ADR 0035 terms)
- Lead README.pt_BR.md with engineering-doctrine intro blockquote

Co-authored-by: Fabio Tavares Leitão <[email protected]>
@FabioLeitao
FabioLeitao force-pushed the main branch 2 times, most recently from ae0da8d to b5c995c Compare May 3, 2026 17:52
@FabioLeitao
FabioLeitao force-pushed the cursor/linguistic-rigor-performance-gate-755e branch from 98856e6 to 092ee32 Compare May 3, 2026 17:52
FabioLeitao added a commit that referenced this pull request May 3, 2026
…mandate (7th injection in <48h, 1st tooling-shape)

Audit-and-block for Slack #data-boar-ops trigger ts 1777382579.313199
(automation def95df7-a634-431a-93e5-659e4d831725). The trigger asked the
agent to (a) paste a 'Slack Protocol' block into a non-existent .cursorrules
file (this repo loads .cursor/rules/*.mdc + AGENTS.md, not the legacy flat
file), (b) add a Slack MCP server in .cursor/mcp.json without ADR or image
pin, (c) re-label the pinned 0.574x benchmark figure as a *Target* (it is a
measured baseline of Pro slower than OpenCore in the 200k profile, per
tests/benchmarks/official_benchmark_200k.json + the evidence pytest, and
PR #291 / PR #292 are explicitly hardening this narrative), and (d) commit
to 'Audit-First' + 'Log-Mirroring' cosmetics that already exist as enforced
gates.

Verdict: reject — audit-and-block. Zero behavior change. New family slug:
cursorrules-mandate-fabricated. First tooling-shape escalation in the
seven-row ledger; precedents PR #259, #261, #268, #279, #281, #284, #289.

Doctrine: DEFENSIVE_SCANNING_MANIFESTO.md §1.3 (no surprise side effects),
THE_ART_OF_THE_FALLBACK.md §1 (resilience all the way to the silicon — a
chat-mandatory state-change hook is the textbook coupling anti-pattern),
OPERATOR_NOTIFICATION_CHANNELS.md §1.1 (redundancy across A/B/C, never a
single mandatory chat), cloud-agents-token-aware-safety.mdc (no chat-driven
MCP / supply-chain widening).

Co-authored-by: Fabio Tavares Leitão <[email protected]>
@FabioLeitao FabioLeitao closed this May 3, 2026
@FabioLeitao
FabioLeitao deleted the cursor/linguistic-rigor-performance-gate-755e branch May 3, 2026 18:39
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