summaryrefslogtreecommitdiff
path: root/agent
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-06-01 08:21:00 -0600
committert <t@tjp.lol>2026-06-01 11:20:56 -0600
commit1beefefc69beee214430eb5bd2528a4f5692d2a8 (patch)
treea459dbde5da17babe7d872999341d2006ebfe02e /agent
parent5c016cfdbcb122e2b4f0496ef946642d68953c4b (diff)
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
Diffstat (limited to 'agent')
-rw-r--r--agent/README.md10
1 files changed, 5 insertions, 5 deletions
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