Files
iptvnator/docs/maintenance/agent-context-map.md
T
4gray faad8fd8fd docs(agents): compact root guidance and preserve task-specific knowledge (#1645)
* docs(agents): compact root guidance and preserve task-specific knowledge

* fix(agents): parse guidance navigation with Markdown tokens

* fix(agents): validate generic literal repository paths

* fix(agents): distinguish code symbols and shortcut images

* fix(agents): recognize SCSS filename literals

* fix(agents): handle fenced imports and encoded paths

* fix(agents): parse prose and rendered HTML anchors

* fix(agents): validate rendered HTML navigation

* fix(agents): use GitHub-compatible heading slugs

* fix(agents): require standalone top-level Claude import

* fix(agents): exclude HTML-contained guidance imports

* fix(agents): handle image fragments and quoted imports

* fix(agents): validate visible HTML and image source sets

* fix(agents): recognize package scopes and route source work

* fix(agents): parse JSONC and constrain package exemptions

* fix(agents): decode link entities and allow package subpaths

* fix(agents): route source work and check extensionless files

* fix(agents): support package versions and source fragments

* fix(agents): accept qualified package prose

* fix(agents): retain rendered context for Markdown references

* fix(agents): validate visible headings and spaced paths

* fix(agents): validate media and hyphenated literal paths

* fix(agents): decode full HTML entities and media assets

* fix(agents): recognize possessive package mentions

* fix(agents): validate extensionless imports and version comparators

* fix(agents): retain visible backticks and explicit path punctuation

* fix(agents): validate image-map navigation targets

* fix(agents): count all Markdown line endings in budgets

* fix(agents): delimit package prose at Unicode punctuation

* fix(agents): normalize punctuation for extensionless imports

* fix(agents): preserve filenames across prose punctuation

* fix(agents): validate iframe document references

* fix(agents): inspect document suffix before URL fragments

* fix(agents): unify Markdown suffix and encoded import guards

* fix(agents): handle wildcard versions and alternate documents

* fix(agents): validate document formats and trim HTML URLs

* fix(agents): cover document families and guidance basenames

* fix(agents): require files for media references

* fix(agents): preserve block boundaries and validate embeds

* fix(agents): normalize internal HTML URL whitespace

* fix(agents): reject empty media and ignore URL at-signs

* fix(agents): validate srcdoc references and empty srcset

* fix(agents): honor HTML bases and preserve adjacent imports

* fix(agents): convert base file URLs to native paths

* fix(agents): preserve imports after bare URL punctuation

* fix(agents): exclude opaque URI prose from import scans

* fix(agents): keep import tokens outside URI scheme matches

* fix(agents): restrict opaque URI exemptions to parsed links

* fix(agents): handle opening prose delimiters

* fix(agents): scan nested imports and share document suffixes

* fix(agents): reject pathless media and direct file URLs

* fix(agents): reject file bases and preserve quoted URL boundaries

* fix(agents): distinguish URL quotes and cover guidance variants

* fix(agents): validate SVG images and conventional guides

* fix(agents): handle declared package names handles and SVG use

* fix(agents): normalize closing punctuation on federated handles

* fix(agents): normalize Unicode punctuation on handles

* fix(agents): normalize possessive federated handles

* fix(agents): separate parenthetical prose from handles

* fix(agents): exclude www autolinks from import scanning

* ci: allow manual CodeQL validation of PR branches

* fix(agents): reject nonportable Windows drive links
2026-09-21 18:07:14 +02:00

7.5 KiB

Agent context map

Read the row for your task before editing. For a cross-domain change, read each affected contract. This is navigation, not a request to load every linked file. Common constraints remain in AGENTS.md; Claude imports it. Repository skill frontmatter defines triggers. If your client does not discover a listed skill automatically, read its SKILL.md directly. Optional global tools are not prerequisites for reading repository contracts.

Development and maintenance

Area / code ownership Canonical documents Repository skill
Bootstrap, project placement, dependencies, aliases and lint configuration; root Nx config and project-local project.json files Nx boundaries, security overrides Nx architecture
Angular conventions; docs and skills maintenance Agent workflow Use the area's skill below
Unit, E2E, lint and coverage; tools/coverage Validation map Use the area's validation section
Electron entry/events/preload and CDP; apps/electron-backend Debugging and trace flags, Electron security Use the available global electron skill for automation
Releases, notes, screenshots, native assets, Linux manager metadata; tools/release Release pipeline, note format Release notes, release cut

Data, sources and networking

Area / code ownership Required contracts Repository skill
SQLite schema/startup; libs/shared/database; Electron DB events/workers/operations DB worker, migration ownership and tests SQLite worker
M3U import/state/player, XMLTV, source lifecycle, startup readiness and OS file opening; libs/m3u-state, libs/playlist, libs/epg M3U module, adding sources across layers Read both contracts when adding a source
Xtream API/store/data sources and routed views; libs/portal/xtream Xtream compatibility, category management, detail navigation Xtream
Stalker/Ministra protocol, identity, sessions and routed views; libs/portal/stalker Stalker portal, Stalker EPG for EPG work, store API baseline for store API changes Stalker
Browser runtime, HTTP proxies, redirects and backend networking; apps/web-backend, libs/shared/host-health PWA/self-hosting, connectivity guard, Electron security for desktop boundary changes Read the affected runtime contract
Source health and selective cleanup; portal shared data access Desktop source health, subscription expiry Read the affected provider skill
Backup and restore; playlist persistence Backup/restore, database migrations Read the affected persistence skill

Playback, navigation and UI

Area / code ownership Required contracts Repository skill
Web engines, controls, tracks, PiP, radio and display sleep; libs/ui/playback Player controls, inline playback/diagnostics/recovery Read the contract directly
Embedded MPV, platform engines, addon, pinned runtime and packaging; Electron native services, tools/embedded-mpv Native MPV, runtime build and licensing Read the contract directly
Live panels, keyboard focus, grid/layout conventions; shared UI and portal views UI guidelines, detail navigation UI design, theme/style
Workspace routes, title bar, switcher, collections and dashboard; libs/workspace Workspace shell, dashboard, collection/detail navigation UI/theme skills for visible changes
Remote control, playback queue, channel return and shortcuts; libs/ui/remote-control, apps/remote-control-web Remote control Provider skill when queue ownership changes
Downloads, offline details, catch-up and file availability; libs/portal/downloads Download manager, provider contract for URL resolution Read the affected provider skill
VOD source discovery, factual metadata and failover; libs/portal/shared/data-access VOD multi-source Xtream
TMDB enrichment, artwork, actors and recommendations; libs/services/src/lib/tmdb TMDB contracts, dashboard UI skill for rendering changes
Timezones, catch-up formatting and EPG display offsets Date handling, Xtream compatibility, M3U EPG Affected provider skill
Website, blog and download pages; apps/website Website README Use an available website skill
Mock servers and fictional release fixtures; apps/stalker-mock-server, apps/xtream-mock-server Stalker mock, Xtream mock, release screenshot contract Release-cut for release captures

Maintenance rules

Keep unique behavior contracts in the authoritative document, procedures in a skill or development guide, and universal constraints in AGENTS.md. Update this map when ownership or a canonical destination changes. Preserve release skill mirrors; do not create extra copies of other contracts for individual agents. Use normal Markdown links for document destinations so pnpm run agents:validate can check them. Do not add root imports for the linked documents.

The migration ledger explains how the original root instructions were accounted for. It is historical audit evidence, not another source of current runtime policy or required task context.