Config schema, example config and validating loader

config/schema.json mirrors design §5 (terminals, executors, projects with routing,
retry, timeouts). agentd/config.py loads YAML, validates with jsonschema when
available or a small built-in draft-07 subset, adds cross-reference checks, and
maps token_key to the environment variable injected by agent-access exec.
This commit is contained in:
jj.wang
2026-10-21 07:04:32 +00:00
parent df4b873d0b
commit 28e71f3ba7
4 changed files with 421 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
"""plane-agentd: Plane-driven dispatcher for CLI agents (see docs/design.md)."""
from pathlib import Path
ROOT = Path(__file__).resolve().parent.parent