From 4b5c5841ce00300ced463715fb6cacf7caa74c57 Mon Sep 17 00:00:00 2001 From: m3taversal Date: Thu, 26 Mar 2026 14:57:11 +0000 Subject: [PATCH] doc: mixed PR classification priority note (Ganymede review) Pentagon-Agent: Epimetheus <3D35839A-7722-4740-B93D-51157F7D5E70> --- lib/merge.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/merge.py b/lib/merge.py index 9a9a31c..0e4205e 100644 --- a/lib/merge.py +++ b/lib/merge.py @@ -414,6 +414,10 @@ def _classify_commit_type(diff: str) -> str: Knowledge: claims, decisions, core, foundations (full CI weight) Pipeline: inbox, entities, agents, archive (zero CI weight) + + Mixed PRs (knowledge + pipeline files) classify as 'knowledge' — + if a PR adds a claim, it gets attribution even if it also moves + source files. Knowledge takes priority. (Ganymede review) """ knowledge_prefixes = ("domains/", "core/", "foundations/", "decisions/") pipeline_prefixes = ("inbox/", "entities/", "agents/")