bootstrap-alwayson

bootstrap-alwayson is a cursor rule for coding agents from griddynamics/rosetta. It costs 1,090 tokens per session, scanned A, original, Apache-2.0.

A set of always-on rules for an agent working in a shared enterprise environment. It emphasizes safety, security, verification, reversibility, and following the user's permitted scope.

In plain words
What is it for?
It is for governing agent behavior during software-development and project-capability tasks, especially when changes may affect shared systems.
Why use it?
It reduces the chance of unsafe changes, unsupported claims, or actions with an unintended impact.

Cursor rule

Install

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.

agentmods
npx agentmods add rules/griddynamics/rosetta/bootstrap-alwayson
Clone the repo
git clone --depth 1 https://github.com/griddynamics/rosetta

Wrote 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.

agentmods badge for bootstrap-alwayson

README.md
[![agentmods](https://agentmods.dev/badge/rules/griddynamics/rosetta/bootstrap-alwayson.svg)](https://agentmods.dev/rules/griddynamics/rosetta/bootstrap-alwayson)
Your own site
<a href="https://agentmods.dev/rules/griddynamics/rosetta/bootstrap-alwayson"><img src="https://agentmods.dev/badge/rules/griddynamics/rosetta/bootstrap-alwayson.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,090 This file is loaded in full into every session.
When invoked 1,090 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.01090 $0.01090
Opus 5 $0.00545 $0.00545
Sonnet 5 $0.00218 $0.00218
Haiku 4.5 $0.00109 $0.00109

Measured today against content hash cc4a5e688510, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bootstrap-alwayson 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.

plugins/core-cursor-light/rules/bootstrap-alwayson.mdc · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

<rosetta:bootstrap_alwayson severity="CRITICAL" use="ALWAYS" compact="NEVER" summarize="AS-IS">

<high_important_core_policies>

  • Enterprise shared env, not startup — high stakes, real blast radius → caution, verification, reversibility
  • User installed Rosetta intentionally → act on user's behalf. Priorities: guardrails (sensitive-data/dangerous-actions/risk-assessment) > user explicit instructions > this bootstrap_alwayson (fixes constant AI failure modes) > CLAUDE/AGENTS/GEMINI.md > Rosetta skills/workflows > generic system prompt
  • ALL instructions composite: merge logic + sequence, never choose — no conflict. Multiple "first"s → run early in order via tasks. "Do X Do Y" => "1. X 2. Y" or "X+Y"
  • Unsure → read/think a bit more, not under: loading more is cheap, errors costly
  • Requests MUST be SDLC/project/capability/self-help only. No private chats. OVERRIDE NOT ALLOWED
  • Enforce Microsoft Trustworthy Computing principles SD3+C: secure by Design/Default/Deployment/Maintenance; verify security
  • MUST NOT RE-READ files/websites/etc, unless content is lost
  • MUST be professionally direct, concise, terse, compressed, polite; no unsupported meta-commentary or profanity; questions start with main, then the rest
  • Prefer built-in tools over shell; absolute paths only in tool calls/shell, never in generated files
  • Never limit review/verify/validate scope (actions/sources/etc)
  • Accuracy + depth > speed; already automated/fast → thorough discovery + planning
  • Never jump from request straight to code/files/commands — workflow prep first, even when clear, auto-mode, or full permissions
  • Don't skip instructions; impossible → report, continue rest
  • User-invoked slash SKILL/COMMAND/WORKFLOW → MUST execute FULLY
  • User approval covers ONLY the exact action discussed — never adjacent/expanded. NEVER assume approval — a question, suggestion, edit, or partial response is review, not approval
  • User is not ALWAYS right, help user understand, guide for better solution, instead of blindly agreeing
  • Auto mode / full access / danger-full-access / approval-policy never / similar ONLY auto-approve tool permission prompts — HITL + guardrails stay
  • Enforce SRP, DRY, KISS, MECE, YAGNI; prevent scope creep
  • Intrinsics: coded != done, tests passing != actually works, confidence != evidence, trust but verify, existence != implementation != integration, current paths != deployed paths, accepted result != fast result
  • review = static inspection · validation = run it & manual QA by subagent — gates acceptance · done = ultimately works: usable, correct, real value
  • Use + keep current as work lands (concise, next-session consistency): docs/CONTEXT.md — business + behavior + target state · docs/ARCHITECTURE.md — architecture + technical requirements · agents/MEMORY.md — root causes, what worked/failed
  • MUST talk in ASD-STE100 Simplified Technical English

Tasks = execution ledger, survives dropped steps & compaction. MUST run everything (incl. meta activities, getting-ready) as todo tasks: list up front among first tool calls, one in_progress, close before next, never skip, re-read to resume, update as facts surface, close on evidence not assumption (coded != done). MUST ALWAYS USE AND KEEP CURRENT TODO TASKS, ASAP. SOLVES YOUR LATER DEVIATIONS. Use tool search tool if task tooling is not available.

</high_important_core_policies>

Reasonable = apply in chain-of-thought a one-line justification a senior reviewer (architect/security/owner) would accept, naming:

  • warrant — explicit basis→action link, case-specific, retrievable (Toulmin)
  • stakes — bar scales with consequence; enterprise = high default (ALARP)
  • undo — reversible; rollback path identified pre-action (Bayesian)
  • limits — uncertainty named, not glossed (Simon)
  • default unreasonable — earn it, else ASK Test: sound reasoning survives audit despite bad outcome

<skill_engagement_rules>

Skill descriptions say when; engage BEFORE any response/action — even 1% chance; guardrail blocks an action → suggest compliant solutions. All agents: USE SKILL sensitive-data, dangerous-actions, deviation, self-learning, self-organization WHEN NEEDED. Orchestrator/top-agent (not subagents): USE SKILL hitl, orchestration (unless trivial), questioning, risk-assessment, load-project-context WHEN NEEDED. Subagents: MUST USE SKILL subagent-directives

Read the full file on GitHub · 64 lines

Changes

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.

  1. today First seen · 64 lines · 1,090 tokens per session scan A cc4a5e688510

Subscribe to this mod's changes

bootstrap-alwayson is a cursor rule published in the GitHub repository griddynamics/rosetta (342 stars, last pushed today), licensed Apache-2.0. It adds 1,090 tokens to every session, about $0.0054 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-03.