Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add rules/hmj1026/dhpk/execution-policygit clone --depth 1 https://github.com/hmj1026/dhpkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/hmj1026/dhpk/execution-policy)<a href="https://agentmods.dev/rules/hmj1026/dhpk/execution-policy"><img src="https://agentmods.dev/badge/rules/hmj1026/dhpk/execution-policy.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00002 | $0.10577 |
| Opus 5 | $0.00001 | $0.05289 |
| Sonnet 5 | $0.00000 | $0.02115 |
| Haiku 4.5 | $0.00000 | $0.01058 |
Grade A, and why
execution-policy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 472 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Execution Policy
dhpk's default execution policy for projects that adopt the harness. Read the
always-visible kernel first (.cursor/rules/execution-policy-kernel.mdc),
then load the conditional sections below as the selected route requires.
Resource-layer markdown — referenced from the flow-guide skill and
consumable directly by a project's own CLAUDE.md via the
.cursor/dhpk/policies/execution-policy.md path. Not auto-loaded; opt-in.
Project overrides: projects that adopt this policy should keep their own short
.claude/rules/execution-policy.md(orCLAUDE.mdsection) that only encodes deltas — e.g. extra sentinels, project-specific hot tables for performance reviewer, hook profile choice. Avoid copying the body wholesale; cross-link instead.Resolution order for any reference to this file: use the project's
.claude/rules/execution-policy.mdfirst if present (it carries only deltas — extra sentinels, hot tables, hook profile), otherwise resolve to.cursor/dhpk/policies/execution-policy.md(the plugin SSOT). Projects should keep their local copy short and cross-link rather than copying the body wholesale.
Glossary (inline)
- back-stop: hook pattern did not match but the AI semantically recognises the trigger should fire → AI proactively invokes the matching reviewer (and still clears the sentinel if present).
- append-only exemption: pure additions may skip
gitnexus_impactonly when they add a new function/method/class, change no existing body/signature/docblock/typehint, and change no module-level state (imports or top-level constants); label the changeappend-only — gitnexus_impact skipped. - reviewer dispatch: when multiple sentinels coexist, triage out false positives → dispatch the rest in parallel →
code-reviewermerges/dedups (see "Reviewer dispatch"). - resumed review obligation: a session-scoped record created before reusing an existing sentinel-backed reviewer through
SendMessage; it binds the final result to one generated reviewer slot, exact sentinel basename, session, dispatch, and freshness baseline. - lifecycle clearance: reconciliation and removal of a review sentinel after its lifecycle evidence is satisfied; it is not reviewer approval or completion.
- Parallel Dispatch: two or more workers operating in one checkout under explicit, non-overlapping assigned scopes.
- Assigned Scope: the exact repo-relative file list a worker may write, diff, and verify; it is not the whole working tree and cannot be expanded by the worker.
- Worker-Owned Edit: a change within the assigned scope attributable to that worker's dispatch.
- Out-of-Scope Observation: a sibling or unrelated change outside assigned scope that the worker reports but does not modify or clean.
- Shared-State Reconciliation: the single sequential orchestrator pass that validates and updates shared ratchet/configuration state (a monotonic baseline file, e.g. a coverage or size-budget allowlist) after all parallel workers finish.
- Judgment-Dense Standardizable Batch: a bounded, repeatable implementation step touching at least three files that requires consistent content judgment but has an exact file scope and verification contract; unresolved design and unknown root cause are excluded.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 472 lines · 2 tokens per session scan A 9dc374a7ee06
execution-policy is a cursor rule published in the GitHub repository hmj1026/dhpk (2 stars, last pushed yesterday), licensed MIT. It adds 2 tokens to every session and 10,577 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other cursor rules, from other repositories
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.
family-instance-domain-actions
Family instance domain action implementation patterns.