local-ai-lifecycle-authority

local-ai-lifecycle-authority is a cursor rule for Cursor from Elumenotion/GuideAnts. It costs 809 tokens per session, scanned A, original, Apache-2.0.

A set of project rules that makes GuideAntsApi the only authority for local AI model lifecycle decisions. It defines where model selection, service routing, installation state, and runtime execution decisions belong.

In plain words
What is it for?
Use it to guide changes involving local model installation, quant selection, service modes, ga-admin execution, startup behavior, engine diagnostics, and runtime verification.
Why use it?
It prevents multiple files or services from making conflicting decisions about which local model or auxiliary service should be enabled or loaded.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

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/elumenotion/guideants/local-ai-lifecycle-authority
Clone the repo
git clone --depth 1 https://github.com/Elumenotion/GuideAnts

Made for: Cursor.

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 local-ai-lifecycle-authority

README.md
[![agentmods](https://agentmods.dev/badge/rules/elumenotion/guideants/local-ai-lifecycle-authority.svg)](https://agentmods.dev/rules/elumenotion/guideants/local-ai-lifecycle-authority)
Your own site
<a href="https://agentmods.dev/rules/elumenotion/guideants/local-ai-lifecycle-authority"><img src="https://agentmods.dev/badge/rules/elumenotion/guideants/local-ai-lifecycle-authority.svg" alt="Measured on agentmods" height="20"></a>
Per session 809 This file is loaded in full into every session.
When invoked 809 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.1 $0.00809 $0.00809
Opus 5 $0.00404 $0.00404
Sonnet 5 $0.00162 $0.00162
Haiku 4.5 $0.00081 $0.00081

Measured 6d ago against content hash 09673c8386a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

local-ai-lifecycle-authority 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 6d ago.

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.

src/.cursor/rules/local-ai-lifecycle-authority.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.

Local AI lifecycle authority

  • GuideAntsApi alone decides enabled/disabled state and model/bundle selection.
  • ServiceModes is authoritative for auxiliary service routing and selections.
  • For local chat models, active quant / artifact selection for an alias is owned by API installation provenance (LocalModelInstallations and the change-quant / install flows that write it). Router INI, loaded --model args, llama-admin journals, and files under the model store are apply outputs only — never a second source of “which quant is selected.”
  • ga-admin only validates and executes a complete plan explicitly submitted by the API. It must start empty/idle and must not load engines on boot.
  • Engine folders, inventory endpoints, status, and marker files are diagnostic outputs. Never use them to populate ServiceModes or choose what loads.
  • Do not add a persisted desired-state plan or startup replay.
  • Do not add auxiliary engine autoload environment flags or startup load calls.
  • Do not add revision noop, runtime drift checks, or transition diffing in warmup_orchestrator.py — that file is a dumb executor only; verification lives in LocalAiRuntimeAlignmentVerifier (GuideAntsApi).
  • Cloud-active routing must produce enabled: false for the corresponding local engine and must skip load-specific setup such as SD bundle projection.
  • Missing API-owned local selections are errors. Do not guess from disk or engine state.
  • Each local stack uses one holistic host URL: LlamaCpp:BaseUrl for chat, LocalServiceHosts:*BaseUrl for aux. Lifecycle apply must target that same host (via per-stack plan split), not always the llama host.

Read docs/local-ai-lifecycle/ARCHITECTURE.md before changing local AI startup, routing, warmup, model selection, engine admin, or compose behavior.

Debugging and incident investigation (same severity as design)

“Only diagnosing” is not an exception. Inspecting the AI container to learn what is selected is the same failure mode as autoloading from inventory.

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. 6d ago First seen · 64 lines · 809 tokens per session scan A 09673c8386a0

Subscribe to this mod's changes

local-ai-lifecycle-authority is a cursor rule published in the GitHub repository Elumenotion/GuideAnts (57 stars, last pushed 2d ago), licensed Apache-2.0. It adds 809 tokens to every session, about $0.0040 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-08-30.