Prototype: project scripts as a DAG¶
A source
This page is a source of edakit – a concept, a prompt or the rules of a session –, shown as it is in the repository. Read it as such; the guides say what edakit does.
The prototype behind project-scripts.md, section "Checking the TOML", written on
2026-10-27 outside edakit. It checks the [scripts.*] and [agents.*] entries of an edakit.toml against the
rules R1–R11 and prints the resolved order:
python3 verify.py glocke-main.toml --root <checkout of the Christmas bell>
glocke-main.toml,glocke-esp32.tomlandpytree.tomlare the Christmas bell and the reference project as the concept wrote them on 2026-10-27.test_verify.pysees every rule red, one fault per copy of the pytree TOML;test_after.pycovers chains withafter,test_agents.pythe rules for agents. They are scripts, not pytest tests, and need a checkout of the reference project:PYTREE_ROOT=<path> python3 test_verify.py. edakit's pytest does not collect them.
The prototype predates the decisions of 2026-10-28. Step 1.2 of the implementation plan builds the real check from it, with these differences:
- The board file stays one file (decision 4): an
inputscript may writeboard:<b>, which R3 here still reports, andpytree.tomlstill splits the board file withfile = […]. - An
easyedascript changesproject-library:<b>(decision 12, step 1.3).pytree.tomlandglocke-esp32.tomlstill writefootprints:<b>, which edakit reports under R3. - edakit's messages are English; the prototype's are German.
art_assumedis a key of the prototype only. It stands in for the[[silk.art]]of a board file that does not exist yet.
Step 3.2 built the agent rules of test_agents.py into tests/test_agents.py (agents in edakit/scripts.py), with
these differences:
- The scope
fabjoinscircuitandlayout. A sign-off of its own reviews by its scope:circuitat the circuit review,layoutat the round review,fabbetween the first and the second gate run – the prototype putlayoutthere. afteris a list of agent names, as for scripts; rule 7 also refuses anafterthat names an agent reviewing only later, at a hook point after this one's.- edakit checks more than the prototype: the
namein the agent file's front matter is the entry's, no project agent is named like an edakit reviewer, edakit's review takes neitherscopenor phaseacceptance, andsignsis a sign-off,M-<number>.