docs-vision

A set of project rules for keeping PoolAI documentation and code maps in sync. It describes which files record concepts, code locations, relationships, and the current development sprint.

In plain words
What is it for?
Use it when changing concept documents, handoff notes, sprint records, or files under the documentation vision directory.
Why use it?
It reduces the chance that documentation maps become outdated after a sprint or architecture change. It also explains when each map or viewer file needs updating.

Cursor rule for 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/platinoff/poolai/docs-vision
Clone the repo
git clone --depth 1 https://github.com/platinoff/poolAI

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,361 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.01361
Opus 5 $0.00000 $0.00681
Sonnet 5 $0.00000 $0.00272
Haiku 4.5 $0.00000 $0.00136

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

Security

Grade A, and why

docs-vision 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 yesterday.

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.

.cursor/rules/docs-vision.mdc · 71 lines

How it starts

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

Docs vision (PoolAI)

Карта зв’язків документації та коду: docs/vision/ · правило застосовується при зміні концепт-доків, HANDOFF, FM §5.12 або файлів у docs/vision/.

Канонічні артефакти

Файл Коли оновлювати
docs/vision/manifest.json новий doc/code вузол, ребро, закритий PH-S*, зміна next_sprint
docs/vision/extensions.json зміна scope спринту, globs, extension_policy
docs/vision/vision.svg новий шар або центральний concept-doc у схемі
docs/vision/index.html нова панель / зміна UX перегляду (рідко)
docs/vision/README.md зміна способу відкриття або структури каталогу

Ітерація одного PH-S* (разом із VDT)

Після закриття спринту в FM §5.12 + HANDOFF + NEXT_SESSION:

  1. manifest.json: revision++, updated_at (ISO date), last_sprint_closed = PH-S*, next_sprint = наступний з §5.12.
  2. Додати/оновити nodes для змінених docs/ і src/ (поля path, layer, sprints[], sections[] за потреби).
  3. Додати edges concept-ref | implements | session-tracks | sprint-scope.
  4. extensions.json: active_sprint = наступний; у scopesdocs, code_globs, extensions, also_update для закритого спринту.
  5. vision.svg: оновити footer text (last sprint / next) якщо змінився зріз черги.
  6. poolai-vision-sync: cargo run --bin poolai-vision-sync + --check (FM §5.12 + enterprise queue — band секції → sprint_queue / feed.json / last_sprint_closed; manifest ↔ .mdc cross-links).
  7. Sprint queue + Feed: після sync Sprint queue показує відкриті (+ опційно queued через eye 👁); closed PH-S* з serial ≤2000 prune з manifest.sprint_queue (meta/feed лишають last_closed з повного FM).
  8. Не дублювати повний текст концепту в vision — лише посилання та шари.

Актуальність extensions (етеншени)

Extension Синхронізувати коли
.md HANDOFF, FM, NEXT_SESSION, concept § змінені в scope спринту
.rs файли з code_globs у extensions.json для активного scope
.json manifest.json, extensions.json після кроків вище
.svg major node/layer у схемі
.html зміна панелей index.html
.mdc це правило або VDT-посилання на vision

Read the full file on GitHub · 71 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. yesterday First seen · 71 lines · 0 tokens per session scan A 54e8d121b3ca

Subscribe to this mod's changes

docs-vision is a cursor rule published in the GitHub repository platinoff/poolAI (4 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,361 tokens. 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-31.