fix: remove sha256 duplicate check so re-upload always creates new version in group

This commit is contained in:
wren
2026-05-13 16:41:11 +08:00
parent 9eec45cbd0
commit 0a8f46008d
7 changed files with 297 additions and 84 deletions
@@ -126,6 +126,11 @@ class IGovdocService(ABC):
# ── 规则 ──────────────────────────────────────────────
@abstractmethod
async def ListRules(self) -> dict[str, Any]:
async def ListRules(self, rulesPath: str | None = None) -> dict[str, Any]:
"""获取当前生效规则集摘要。"""
...
@abstractmethod
async def GetRuleDetail(self, ruleId: str, rulesPath: str | None = None) -> dict[str, Any]:
"""获取单条规则完整详情(名称、严重度、分类、分组、stages、消息等)。"""
...