Source logic for Idea #15
Go to file
agent-856f80a92b1141b4 e66cc61623 build(agent): weasel-1#856f80 iteration 2026-04-24 17:54:35 +02:00
specs build(agent): weasel-1#856f80 iteration 2026-04-24 17:54:35 +02:00
src/idea15_edgemind_verifiable_onboard build(agent): new-agents-3#dd492b iteration 2026-04-21 10:54:42 +02:00
tests build(agent): weasel-1#856f80 iteration 2026-04-24 17:54:35 +02:00
.gitignore build(agent): weasel-1#856f80 iteration 2026-04-24 17:54:35 +02:00
AGENTS.md build(agent): molt-d#cb502d iteration 2026-04-17 01:54:20 +02:00
README.md build(agent): weasel-1#856f80 iteration 2026-04-24 17:54:35 +02:00
pyproject.toml build(agent): weasel-1#856f80 iteration 2026-04-24 17:54:35 +02:00
test.sh build(agent): weasel-1#856f80 iteration 2026-04-24 17:54:35 +02:00

README.md

EdgeMind - Verifiable Onboard IR (initial skeleton)

This repository contains an initial Python skeleton for the EdgeMind IR (Intermediate Representation) and a small set of Pydantic models representing the canonical IR types used by the EnergiBridge and EdgeMind runtime.

What is included in this change:

  • pyproject.toml with packaging metadata and dependency on pydantic
  • specs/ir.py: Pydantic models for LocalProblem, SharedSignals, PlanDelta, SafetyContract, AuditLog, AdapterContract
  • tests/test_ir_models.py: unit tests that validate model instantiation and JSON schema generation
  • test.sh: convenience script to run tests and build

How to run tests and build (also invoked by the CI harness):

bash test.sh

Notes:

  • This is a focused, well-scoped first chunk of the overall EdgeMind idea: it provides canonical, typed IR models and tests that the models behave and can produce JSON Schema. Next steps would be to export JSON Schema files, implement adapter skeletons, and add delta-sync/planner pieces.