From 1beefefc69beee214430eb5bd2528a4f5692d2a8 Mon Sep 17 00:00:00 2001 From: t Date: Mon, 1 Jun 2026 08:21:00 -0600 Subject: Rename system extension layer to base for clarity Replace all references to the "system" layer with "base" to better reflect its role as the foundational extension/tool layer in panto's hierarchy. The layer hierarchy now consistently uses: project > user > base. Includes: - Update agent README and build.zig documentation - Refactor tool registry and config module to support layered lookups - Add TestHarness abstraction for cleaner test setup - Improve JSON serialization with wire-encoded tool names - Add glob pattern matching for tool/extension discovery --- agent/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'agent') diff --git a/agent/README.md b/agent/README.md index 00e6e60..44d31fe 100644 --- a/agent/README.md +++ b/agent/README.md @@ -1,14 +1,14 @@ -# panto system agent tree +# panto base agent tree Contents of this directory are embedded into the `panto` binary at build time and staged onto disk at bootstrap into `$PANTO_HOME/agent/` (i.e. `$XDG_DATA_HOME/panto/agent/`, or `~/.local/share/panto/agent/` if `XDG_DATA_HOME` is unset). -The staged tree is the "system" layer of panto's extension/tool +The staged tree is the "base" layer of panto's extension/tool search path — sitting underneath the user layer (`$XDG_CONFIG_HOME/panto/`) and the project layer -(`./.panto/`). Project shadows user shadows system. +(`./.panto/`). Project shadows user shadows base. Files are written with `writeIfDifferent` semantics: on each bootstrap, embedded contents are compared against what's on disk and @@ -16,10 +16,10 @@ only rewritten when they differ. This keeps mtimes stable across reruns. The staged tree is **panto's territory** — local edits will be -overwritten on the next bootstrap. To customize a system tool, +overwritten on the next bootstrap. To customize a base tool, override it at the user or project layer (a file with the same basename under `$XDG_CONFIG_HOME/panto/tools/` or `./.panto/tools/` -shadows the system copy). +shadows the base copy). ## Layout -- cgit v1.3