# Allowlist of permitted Python imports in Jarvis-Agent-authored skills
# (Plan-§7.5 security lint before promote, extended by the Phase-7.5 implementation).
#
# Skills are Markdown with YAML frontmatter — Python code blocks inside
# are not executed directly; but they can be imported via `scripts/`
# resources. This lint scans every Python block via AST and
# forbids anything outside this list.
#
# Format: one module name per line, # for comments. Submodules are
# allowed automatically (e.g. `pathlib.Path` → `pathlib` in the list).

# Stdlib — data processing, no IO risk
json
re
time
datetime
math
random
collections
itertools
functools
typing
dataclasses
enum
pathlib
io
csv
hashlib
base64
uuid
urllib.parse
http.client

# Logging
logging
warnings

# Async (for skills with background tasks)
asyncio

# Jarvis's own APIs (skills are permitted to use these)
jarvis.core.protocols
jarvis.core.config
jarvis.skills.schema

# Pydantic for schema validation in skills
pydantic
