AGENTS.md
Project-specific guidance for AI coding and research agents working in this public GitHub Pages repository. Use this file as the main entry point. Open deeper docs only when the task needs them.
Last updated: 2026-10-05. The repository uses product-level navigation, stable deep URLs, and a deterministic sitewide content-quality and AI-search-readiness pipeline.
Repository Purpose
This is the public personal technical lab and structured knowledge system of Dzmitryi Kharlanau, an SAP consultant at EPAM Systems focused on SAP operations, logistics, integration, data, diagnostics, enterprise engineering, and practical AI. The site is personal and independent; it is not an EPAM Systems publication or a commercial consulting channel.
The site has six product areas:
- Profile — public identity, experience, certifications, and professional evidence.
- Knowledge — reviewed and working human-readable knowledge: Atlas, Scenarios, Research, Journal, and Notes.
- Labs — active SAP, AI, operational, and assessment workspaces.
- Frameworks — reusable reasoning and execution methods that can be applied across domains.
- Machine layer — datasets, AI-readable exports, skills, tools, discovery files, and MCP source packages.
- Practice — problem-led playbooks and exercises kept under stable legacy
/services/URLs; they are not commercial offers.
Everything committed to this repository is public. Treat every file accordingly.
High-Level Site Structure
| Area | Primary path | Purpose |
|---|---|---|
| Profile | /, about.md, cv/ |
Positioning, identity, experience, trust signals |
| Knowledge | knowledge/ |
Product hub for Atlas, Scenarios, Research, Journal, and Notes |
| Knowledge Atlas | atlas/ |
Curated diagnostic, conceptual, and SAP-specific content |
| Scenarios | scenarios/ |
Business pain mapped to SAP process context and diagnostic workflows |
| Research / Radar | research/, _radar/, _news/ |
Briefs, comparisons, watchlists, signal tracking |
| Labs | labs/ |
SAP Enterprise, AI Ready, Business AI, operational protocols, assessment practice |
| Frameworks | frameworks/ |
Product hub for TRIZ, Decision Design, Reusable Data Procedures, operational protocols |
| Machine layer | machine/ |
Product hub for datasets, AI exports, skills, tools, and MCP |
| Datasets | datasets/ |
Canonical machine-readable dataset collections |
| AI-readable exports | ai/ |
JSON/YAML machine endpoints and generated indexes |
| Agent Skills | agent-skills/ |
Portable agent skill packages for Codex, Claude Code, and similar tools |
| Agent Tools | agent-tools/ |
Static public tool descriptions |
| Practice | services/ |
Stable legacy routes for problem-led practice playbooks and technical exercises; not a commercial catalogue |
| Quality pipeline | scripts/content_quality.py, config/content-quality.yml |
Publication safety, link graph, search, quality, and AI-retrieval checks |
| Quality reports | reports/ |
Locally generated audit and review outputs; normally ignored/generated |
| Legal | legal/ |
Privacy, terms, disclosure, responsible AI, accessibility |
Structural Routing Rules
- Global navigation is product-level. Do not add every new domain or collection to the header.
- Keep established deep URLs stable. Prefer hubs, aliases, redirects, metadata, and graph links over mass directory moves.
/labs/enterprise-context/remains the stable physical route for the SAP Enterprise workspace. The UI may use the broader SAP Enterprise name./lab/is the canonical Enterprise Engineering Toolkit launcher. Keep it task-oriented and executable: browser surfaces where available, reproducible quick runs for CLI-first tools, and GitHub source as a secondary route./labs/remains the learning and assessment hub./labs/reusable-data-procedures/is a compatibility route; canonical content lives at/reusable-data-procedures/./triz/,/ddd/, and/reusable-data-procedures/are canonical framework routes and are grouped by/frameworks/without being physically moved.- A topic can belong to several domains. Do not duplicate source content to make the directory tree look like a graph.
- Before creating a new root directory, decide whether the work belongs to Profile, Knowledge, Labs, Frameworks, Machine layer, or Practice.
- Read
PROJECT_MAP.mdandARCHITECTURE.mdbefore sitewide structure changes. - Structural work is not complete until the Jekyll build and local-link checks pass in CI.
Agent Skills Purpose
agent-skills/ contains portable, installable agent skill packages that complement the human-readable Skill Hub pages. Each skill is a compact operational instruction set for AI agents (Claude Code, Codex, and similar tools).
Key principles:
- Source of truth:
agent-skills/skills/<skill-name>/is the source of truth..agents/skills/and.claude/skills/are generated exports. - Do not edit generated exports by hand. Edit the source and re-run the exporter.
- Use profiles: Install only the skills relevant to your current role or project.
- Validate before commit: Run
python3 agent-skills/exporters/validate_agent_skills.pybefore committing changes.
Export commands:
# For Codex
python3 agent-skills/exporters/export_codex_skills.py --profile sap-ams
# For Claude Code
python3 agent-skills/exporters/export_claude_skills.py --profile sap-ams
Read agent-skills/README.md for full documentation.
Atlas Purpose
The Atlas is a curated working knowledge base for concepts that matter during SAP support, process analysis, operational memory work, and side-by-side AI design. It is intentionally conservative: reviewed pages first, raw research notes kept private or noindex.
Atlas sections:
atlas/concepts/— Durable concept explanations (order-to-cash, ATP vs inventory, etc.)atlas/diagnostics/— Support-oriented diagnostic patterns for repeat incidentsatlas/sap/— SAP configuration and support explanations with conservative boundariesatlas/maps/— Process, document-flow, data dependency, and cross-domain navigation mapsatlas/ai-operations/— AI-assisted support, operational memory, governance, human reviewatlas/data-quality/— Master data, quality signals, governance failure modesatlas/automation/— Support automation, agentic workflows, developer automationatlas/research-notes/— Noindex working area — useful but not polished expert contentatlas/links/— Reference routes to profile, practice playbooks, datasets
Scenarios Purpose
Scenarios connect business pain to SAP diagnostic workflows. Each scenario follows a consistent pattern:
- Business pain
- Process context
- SAP touchpoints
- Root causes (master data / configuration / integration)
- Cost drivers
- Diagnostic workflow
- Solution patterns
- AI / automation opportunity (with conservative boundaries)
- Related Atlas links
Scenarios are complementary to Atlas: Atlas pages are diagnostic deep-dives; Scenarios are workflow lenses showing why those diagnostics matter to business outcomes.
Research / Radar Purpose
research/briefs/— Short research briefs on emerging topicsresearch/comparisons/— Side-by-side technology comparisonsresearch/watchlists/— Tracking lists for emerging signals_radar/— Signal radar entries (dated, collection-driven)_news/— News and signal updates
Research content is opinionated but conservative. It does not claim official SAP endorsement.
Content Quality and AI Search Readiness
The primary quality entry point is:
python3 scripts/content_quality.py audit --site-dir _site
Supported commands:
python3 scripts/content_quality.py audit
python3 scripts/content_quality.py check
python3 scripts/content_quality.py check --changed-from origin/main
python3 scripts/content_quality.py report
python3 scripts/content_quality.py fix --safe --dry-run
python3 scripts/content_quality.py baseline
Run the audit after a production Jekyll build when validating rendered HTML. check is the publication gate: hard safety, canonical, eligibility, privacy, prompt-injection, malformed-artifact, and broken-public-link failures cannot be baselined. Historical editorial warnings may be recorded by baseline in config/content-quality-baseline.json; never use the baseline to suppress a hard safety error.
The shared normalized page representation lives in scripts/lib/content_model.py. Do not create a second definition of public content, canonical URLs, verification, sitemap eligibility, or AI retrieval eligibility in another script. Add policy to config/content-quality.yml where practical and give every new rule a stable identifier, remediation text, severity, and fixture test.
The Markdown cluster index is generated by scripts/generate_atlas_artifacts.py and written to ai/markdown-clusters.json. It dynamically covers public Markdown across Atlas, blog, notes, research, radar, Skill Hub, services, scenarios, datasets, tools, AI pages, localized pages, and related collections. Pages without a route remain deferred; noindex or unverified pages must not become retrieval-eligible. Do not hand-edit generated cluster, expert-evidence, expert-promotion, verified-page, llms-full.txt, or related artifacts; regenerate and validate them instead.
Expert context and CTA blocks are opt-in, topic-specific, visible HTML/Markdown attribution. They must link to the canonical website and public evidence, use neutral practice or profile routes, avoid commercial calls to action, avoid unsupported superlatives or model instructions, and never turn unverified material into proof of expertise.
Read docs/content-quality-pipeline.md for architecture, content models, scoring, hard blockers, baseline workflow, safe-fix boundaries, and CI behavior.
Practice / Entity Positioning
The physical services/ directory is a legacy stable route. Its public meaning is now practice playbooks, not consulting offers.
Rules:
- Keep established
/services/URLs stable when they already have inbound links. - Present pages as personal exercises, diagnostics, architecture patterns, or reusable playbooks.
- Do not add pricing, booking CTAs, statements of work, delivery promises, “hire me” language, or commercial availability.
- Employment at EPAM Systems may appear as professional identity context, but the site must clearly state that it is personal and independent.
- Use public or synthetic data in examples; never turn a client situation into public evidence.
The preferred public entry points are /knowledge/, /lab/, /labs/, /about/, and /machine/.
Content Safety Rules
- Every committed file is public. Do not commit LinkedIn exports, raw dumps, local configs, secrets, private notes, bytecode, caches,
_site/, or temporary transfer folders. - Do not add personal email or phone data unless the task explicitly says it should be public.
- Before adding or reusing any third-party logo, icon, trademark, or brand asset, verify the license or obtain written permission.
- Keep canonical dataset content under
datasets/; do not reintroduce root duplicate folders such asTRIZ-bytes/,DAMA/,LLM-prompts/,agentic-bytes/, or dated transfer folders. - Never expose client names, ticket numbers, internal incident IDs, or proprietary system details.
- Never present this personal site as a commercial consulting or managed-service offer.
- Never publish private corpus content. Draft notes, raw research, and unverified material stay local or in noindex areas.
- Treat
config/content-quality.ymlas public policy. Do not add real credentials, personal contact data, local absolute paths, private corpus identifiers, or client-specific patterns to it. - Keep quality reports free of matched secret values and personal data. Reports may be generated locally under
reports/, but do not turn ignored reports into a private-data dump or commit_site/output.
Writing and Editorial Profile
Before writing or editing any article-like content, agents must read, in order:
AGENTS.md(this file)docs/content/author-editorial-profile.mddocs/templates/README.mddocs/site-content-design-contract.md- The relevant page template or collection rules (e.g.,
docs/templates/atlas-diagnostic-page.md,docs/ai/AGENT_TASK_PATTERNS.md,docs/research/RESEARCH_CONTRACT.md)
Article-like content includes Atlas pages, Skill Hub pages, scenarios, diagnostics pages, blog/articles, glossary expansions with explanatory prose, public-facing guides, content clusters, and SEO/AI-readable educational pages.
The profile is mandatory input, not optional style advice. Apply it as a decision system for practical expert framing, clear problem → diagnostic → action structure, sober non-hype language, optional author perspective, and avoiding generic AI-written prose.
Rules:
- The profile is a decision system, not a fixed article template. Do not mechanically copy phrases, examples, or prior article patterns.
- Do not use the profile to invent personal claims, add unverifiable experience, over-personalize technical pages, replace source-backed facts, change indexing policy, stuff keywords, or paste the same author comment into every article.
- Apply strong informational editing: remove filler, vague wording, decorative language, and claims that do not help the reader act.
- An author perspective may appear near the end of an article when it adds useful judgment, caution, or interpretation. It must be natural, integrated, and restrained. Do not force it, do not use cliché labels such as “My take” or “Author’s note” by default, and do not invent personal stories.
Verification / Indexing Rules
The repository uses a three-level content verification system:
| Level | Status | Frontmatter | Indexing |
|---|---|---|---|
| 1 — Review candidate | needs_verification |
verified: false, robots: noindex,follow, sitemap: false |
Noindex |
| 2 — Verified | reviewed |
verified: true, robots: index,follow, sitemap: true |
Indexable |
| 3 — Flagship | reviewed + source-backed |
verified: true, strong internal links, cited sources |
Strong signal |
- Only Level 2+ pages appear in
llms-full.txt. - Only Level 2+ pages appear in section sitemaps.
- The
scenarios/index.mdis currently Level 1 (needs_verification,noindex). Scenario pages default to Level 1 and are promoted to Level 2 individually after human review (e.g., the executive decision-cluster scenarios are Level 2). - Do not mark any page verified without human review.
- Do not add unverified pages to sitemap or
llms-full.txt.
Read docs/ai/CONTENT_VERIFICATION_POLICY.md for the full policy.
UI Component Maintenance
For any request that changes layout, typography, tables, cards, FAQ, sources, diagrams, navigation rows, spacing, borders, or reusable visual patterns, read docs/ui-agent-workflow.md, docs/ui-component-catalog.md, and config/ui-components.json before editing CSS.
Reuse-first rule: before introducing a new renderer, diagram library, graph model, or reusable visual component, inspect both the site’s registered components and the relevant public sibling repositories under dkharlanau. For relationship, process, lineage, architecture, mapping, or dependency work, the first candidates are visual-workbench, data-relationship-map, transformation-graph, process-as-code, mapping-as-code, enterprise-change-graph, and enterprise-architecture-composer. Reuse a semantic contract, projection, adapter, renderer, or generated artifact when it fits; do not create a second source of truth or copy a whole engine into the site without a concrete need.
Use this loop:
- Name the reader task: read, compare, navigate, verify, answer, trace, or remember.
- Select a registered stable or domain component by intent. Inspect its reference route and owner files.
- When the task involves a visual model or reusable behavior, inspect the relevant sibling repositories before inventing a new implementation. Record what was inspected and why the chosen reuse boundary is appropriate.
- Diagnose whether the failure is typography, density, layout, affordance, boundary, cascade, or wrong content shape.
- Change the smallest correct owner layer. Do not fix a shared-component problem with a route-local override.
- If the reusable contract changes, update CSS/include + registry + catalog in the same commit.
- Run
python3 scripts/validate_ui_components.py, build the site, then inspect the affected rendered route at desktop and mobile sizes. Use the visual smoke tooling or equivalent browser screenshots and check the actual page, not only source code.
New components begin as candidate. They need a semantic name, owner layer, real route, responsive behavior, accessibility behavior, registry entry, and catalog entry before they can be promoted. Repeated page-specific variants are treated as design-system debt.
Visual Detail Checks
- The visual system is defined in
docs/editorial-design-system.md(tokens, typography, spacing, components, page templates). Read it before changing shared CSS; update it in the same commit when the system changes. - Reuse named components from
docs/editorial-design-system.mdbefore inventing route-local UI. For educational comparison/reference matrices, use the documented.study-tablepattern instead of creating another table treatment. - For shared CSS changes, inspect the homepage, a profile, a hub, and a long article at desktop and mobile widths. Compare screenshots at the same viewport and state.
- Check portrait/photo corners against their frames, media clipping, straight divider ends, spacing, text wrapping, and keyboard focus. A passing build does not establish visual quality.
- Keep border radii on components, not universal selectors. Give a framed photo one clipping owner so inset image corners do not expose the frame background.
- Run the visual smoke audit on the affected routes before publication; it includes checks for mismatched corners on framed portraits. Preserve existing URLs, content, and unrelated local work.
Common Commands
# Setup
./bin/setup
# Full validation sequence (run before publishing)
PYTHONDONTWRITEBYTECODE=1 python3 -m pytest tests
python3 scripts/check_public_repo.py
bundle exec jekyll build
python3 scripts/check_links.py _site
python3 scripts/check_seo.py _site
# Dataset generators
python3 bin/enrich_datasets.py
python3 bin/generate_dataset_pages.py
node scripts/generate_dama_pages.js
# Atlas artifact generation
python3 scripts/generate_atlas_artifacts.py
# Sitewide quality and AI-search readiness
python3 scripts/content_quality.py audit --site-dir _site
python3 scripts/content_quality.py check --site-dir _site
python3 scripts/generate_atlas_artifacts.py --check
# Local preview
bundle exec jekyll serve
What Agents May Edit
_data/*.yml— repeatable content (resume, home, certifications, etc.)atlas/**/*.md— new or existing Atlas pages (follow verification rules)scenarios/*.md— new or existing Scenario pages (default to Level 1)research/**/*.md— research briefs, comparisons, watchlistslabs/**/*— Lab working material; preserve verification and publication rulesframeworks/index.mdand existing framework source directories — structure and method work when explicitly in scopedatasets/**/*.json— dataset entries (follow schema)ai/*.json,ai/*.yml— machine-readable exports when not generator-ownedconfig/content-quality.yml— quality policy and discovery configurationconfig/content-quality-baseline.json— generated non-critical warning baseline; update intentionally withcontent_quality.py baselinescripts/lib/*.py— shared content-model and quality support logicscripts/content_quality.py— primary quality pipeline entry pointdocs/content-quality-pipeline.md— pipeline documentationdocs/ai/*.md— AI readiness documentation_includes/atlas/*.html— Atlas components (author block, disclaimer, status badge)_includes/sections/*.html— section partialsscripts/*.py,bin/*.py— generators and validatorstests/*.py— test files
What Agents Must Not Edit
index.md(homepage) — unless explicitly instructedabout.md(profile) — unless explicitly instructedservices/*.md— unless explicitly instructedlegal/*.md— unless explicitly instructed_site/— generated; never edit directlyllms-full.txt— generated byscripts/generate_atlas_artifacts.pyai/markdown-clusters.json,ai/expert-evidence.json,ai/expert-promotion-inventory.json,ai/verified-pages.json,ai/rag/related.json, and other generated AI artifacts — regenerate; do not hand-editreports/content-quality*.{md,json},reports/content-link-graph.json,reports/content-review-queue.md— generated audit outputs; do not hand-editsitemap-*.xml— generated; never edit directlyrobots.txt— unless explicitly instructed- Any file containing private corpus, client data, or unverified draft material
- Any verified page’s
verified: truestatus — agents may not promote content
Validation Commands
Before any PR that touches content, structure, datasets, or config:
PYTHONDONTWRITEBYTECODE=1 python3 -m pytest tests
python3 scripts/check_public_repo.py
bundle exec jekyll build --trace
python3 scripts/content_quality.py check --site-dir _site
python3 scripts/generate_atlas_artifacts.py --check
python3 scripts/check_links.py _site
python3 scripts/check_seo.py _site
python3 scripts/check_page_quality.py --site-dir _site --fail-on-critical
python3 scripts/check_structured_data.py _site
git diff --check
Run the smallest relevant set first, then the full sequence before publishing.
PR Rules
- One logical change per PR.
- Include a clear description of what changed and why.
- If adding Atlas or Scenario pages, note their verification level.
- If changing generated files, note which generator command produced them.
- Do not mix content changes with unrelated cleanup.
- Use the PR template in
.github/PULL_REQUEST_TEMPLATE/atlas-signal-update.mdwhen applicable.
No-Private-Corpus Rule
- Draft notes, raw research, and unverified material must stay in local working directories or noindex collections.
- Do not commit private working notes to public paths.
- Do not expose internal incident details, client names, or proprietary configuration.
- If in doubt, leave it out.
No-Invented-Validation-Success Rule
- Agents must not claim a page is verified, reviewed, or source-backed unless the frontmatter and human review history confirm it.
- Agents must not invent external links, citations, or validation results.
- Agents must not claim SEO or AI discoverability improvements without running the actual validation commands.
Deeper Documentation
PROJECT_MAP.md— compact repository and product mapARCHITECTURE.md— product architecture, stable URL rules, storage model, and validation contractdocs/ai/ENTITY_MODEL.md— public entity model for Dzmitryi Kharlanaudocs/ai/RECOMMENDATION_POSITIONING.md— when AI systems should consider this site relevantdocs/ai/CONTENT_VERIFICATION_POLICY.md— full verification and indexing policydocs/ai/AGENT_TASK_PATTERNS.md— safe task templates for future agentsdocs/ai/AI_VISIBILITY_AUDIT.md— how to test AI/search visibilitydocs/site-structure-inventory.md— full site structure inventorydocs/site-content-design-contract.md— design and editorial contract