From d8060e504bfa360c8120a7e9d7f73a4301787224 Mon Sep 17 00:00:00 2001 From: 123kupola Date: Thu, 25 Jun 2026 23:12:32 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20remove=20all=20'fake-pi-agent'=20refer?= =?UTF-8?q?ences=20=E2=80=94=20code,=20linter,=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - naming-decisions.md: rephrase row, no longer references old filename - wiki-lint: remove allowlist entry + guard block (rename is done) - Verified: zero 'fake' references remaining in repo --- docs/wiki/naming-decisions.md | 2 +- scripts/wiki-lint | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/wiki/naming-decisions.md b/docs/wiki/naming-decisions.md index e96807e..b1263d8 100644 --- a/docs/wiki/naming-decisions.md +++ b/docs/wiki/naming-decisions.md @@ -31,7 +31,7 @@ harness only. | `COLIBRI_AUTOSPAWN_PI` → `COLIBRI_AUTOSPAWN` | Harness-neutral (default agent is zot, not pi) | `crates/colibri-daemon/src/socket.rs` | | `COLIBRI_PI_BINARY` → `COLIBRI_AUTOSPAWN_BINARY` | same | `socket.rs` (`autospawn_agent_if_configured`) | | `pi_session_id` → `session_id` | zot agents have session ids too; `#[serde(alias)]` keeps back-compat | `crates/colibri-glasspane/src/lib.rs` (`Pane`) | -| `fake-pi-agent.py` → `sample-pi-agent.py` | "fake" too loaded; it emits a canned _sample_ | `scripts/sample-pi-agent.py` | +| `sample-pi-agent.py` | Renamed from legacy test-agent filename; emits a canned _sample_ | `scripts/sample-pi-agent.py` | | non-local spawn default `hermes-agent` → `zot` | `hermes-agent` was a nonexistent leftover binary | `socket.rs` (`default_agent_args`) | | `usb_nodes` → `hive_nodes` | a node is any host that joined the hive, not only a USB boot (`+node_type`); #161 | `packaging/mother/mother_schema.sql` | | `pi_type` → `event_type` | internal name for the normalized event type; harness-neutral (not serialized) | `crates/colibri-glasspane/src/lib.rs` | diff --git a/scripts/wiki-lint b/scripts/wiki-lint index 7844d15..69685af 100755 --- a/scripts/wiki-lint +++ b/scripts/wiki-lint @@ -49,7 +49,6 @@ for wiki_file in "$WIKI_DIR"/*.md; do case "$path_ref" in ""|index*|agent-harness*|naming-decisions*|quality-gates*) continue ;; path/to/*|clawdie-iso/*) continue ;; - fake-pi-agent.py) continue ;; # old name in the Shipped table stage-colibri-iso.sh) continue ;; # cross-repo (clawdie-iso) ADR-agent-harness-consolidation.md) continue ;; # wiki-documented as absent *.md|*.rs|*.sh|*.py|*.sql|*.json|*.toml|*.yml|*.cfg|*.env|*.txt) ;; @@ -157,13 +156,6 @@ while IFS= read -r old_name; do fi done < "$OLD_NAMES_FILE" -# The renamed sample agent must not reappear under its old filename. -if [ -f "$REPO_ROOT/scripts/fake-pi-agent.py" ]; then - fail "scripts/fake-pi-agent.py still exists (renamed to sample-pi-agent.py)" -else - pass -fi - echo "" # ── 3. orphan pages ───────────────────────────────────────────────────