From 1788c40ad1d7c1aa5149a7b0a8bb56c41f6b2935 Mon Sep 17 00:00:00 2001 From: Matteo Cherubini Date: Fri, 19 Jun 2026 05:48:50 +0200 Subject: [PATCH] docs: Detail duplicate-slug advisory in AI ingest linting process --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 75bb232..e8891e8 100644 --- a/README.md +++ b/README.md @@ -817,7 +817,10 @@ model must not waste context on: 8. Appends the `INGEST | ` entry to `wiki/log.md` (the model name comes from the orchestrator via `INGEST_MODEL` — the agent cannot reliably know its own tag) 9. Runs scoped lint on exactly the pages touched this run (`scoped-lint.sh`, reusing - `lib/lint.sh`) + `lib/lint.sh`), including a **duplicate-slug advisory**: a slug created this run that is + highly similar to an entity/concept already in `wiki/index.md` is flagged in the PR so a + human can merge them. It is advisory only — it never fails the lint or blocks the PR + (threshold tunable via `KG_DUP_THRESHOLD`, default 70) 10. Commits **only `wiki/`** on `feat/ai-ingest-` and opens a PR against the integration base (`INGEST_BASE`, default `main`); the body matches the `templates/pr-description.md` structure (Summary / Pages / Contradictions / Scoped Lint)