Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.78 KB

AGENTS.md

File metadata and controls

58 lines (43 loc) · 1.78 KB

AGENTS

Scope

This file defines agent behavior for this repository.

Source of Truth

  1. Upstream contract: docs/CHARTER.md (NaNLABS Lab Charter v1).
  2. Follow this file for agent-specific behavior within this repo.
  3. Follow .github/skills/lab-module-sync/SKILL.md for module sync and validation rules.
  4. If instructions conflict, prefer this file for agent behavior and the SKILL file for content rules.

Sibling Labs

Repository Conventions

  • Canonical topic structure:
    • README.md
    • examples/example_basic.py
    • exercise/exercise_01.py
    • tests/test_basic.py
    • references/links.md
    • my_solution/.gitkeep
  • Language policy:
    • All repository documentation and code comments must be English.
  • Exercise policy:
    • exercise/exercise_01.py must be English-only and must not contain TODO placeholders.
  • README policy:
    • Topic README schema is validated with a minimum of 17 markdown headings.

Validation Commands

Use the project virtual environment:

# Activate the project venv and run validators
source .venv/bin/activate
python scripts/validate_all_modules.py
python scripts/run_topic_tests.py

Or with uv run (does not require manual activation):

uv run scripts/validate_all_modules.py
uv run scripts/run_topic_tests.py

Safety

  • Do not run destructive git commands (reset --hard, checkout --) unless explicitly requested.
  • Do not revert unrelated user changes.
  • Keep changes minimal and scoped to the requested task.