From 29d9511e13b2477552abb4a426bb24864e3ab953 Mon Sep 17 00:00:00 2001 From: Matteo Cherubini Date: Sun, 21 Jun 2026 15:34:38 +0200 Subject: [PATCH 1/2] feat(deploy): Add `git clean -fd` to `n8n-pi-wrap` start command --- deploy/vm101/n8n-pi-wrap | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy/vm101/n8n-pi-wrap b/deploy/vm101/n8n-pi-wrap index b0db80f..1b9f629 100755 --- a/deploy/vm101/n8n-pi-wrap +++ b/deploy/vm101/n8n-pi-wrap @@ -41,9 +41,12 @@ case "$cmd" in # Clean start on the configured base (develop), pinned to the remote. Destroys only # vm101's scratch checkout (never a shared branch, never a force-push) — this is by design. + # `clean -fd` also removes leftover UNTRACKED files (e.g. wiki/sources/* or a stale + # .ingest-manifest.json from a half-finished previous run) that `reset --hard` won't touch. git fetch -q origin \ && git switch -q "${INGEST_BASE:-main}" 2>/dev/null \ - && git reset -q --hard "origin/${INGEST_BASE:-main}" + && git reset -q --hard "origin/${INGEST_BASE:-main}" \ + && git clean -q -fd # SEMANTIC step: dedicated script drives pi to WRITE wiki pages + manifest. # (NOT `pi -p "/skill:ingest ..."`, which makes the model reply in chat and write nothing.) From acbfc8a715d0f5ae2d148f11b81b61ad5e6ba2da Mon Sep 17 00:00:00 2001 From: Matteo Cherubini Date: Sun, 21 Jun 2026 15:35:19 +0200 Subject: [PATCH 2/2] Update version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2234921..9759979 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # ============================================================================= -# Knowledge Genome - Makefile v. 1.6.1 +# Knowledge Genome - Makefile v. 1.6.2 # Orchestrates the setup and management of the knowledge base. # =============================================================================