凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:见平台质量门禁规范
English
When to use
- Before AI-generated government documents, policy interpretations or decision reports, when the output must contain mandatory fields such as "decision basis", "responsible department" and "remedy channel".
- When the system handles information-disclosure requests, for real-time checks that data sources and publication deadlines meet legal requirements.
- When auditing historical government-interaction data for compliance, auto-scanning missing key disclosures and generating a remediation list.
- Before cross-platform data migration or API-document integration, running one completeness check so deliverables stay traceable.
Usage
Call the core script gov_disclosure_check.py for local build verification; dependencies are expected under __pycache__. The CLI -i flag points at the text to check (JSON or Markdown), and -l enables logging. In document mode, read the input file directly and run gov_disclosure_check.py --validate in the console — no extra dependency installation needed. Pass the target data object through the agent interface to trigger the internal check engine.
Workflow
- Confirm the completeness of the raw input — government text or system data.
- Run the
gov_disclosure_check.pyloader to extract the mandatory disclosure fields (decision basis, responsible department, etc.). - Compare against the LGD three-laws standard on both field-missing-ness and format compliance.
- Generate a structured report with pass/fail status and details of each violation.
- If the check fails, auto-flag the anomalous entries and output actionable fix suggestions.
- Confirm the final compliance status — either allow publication, or enter the fix loop and re-run the script.
Evidence & safety statement
- Evidence: TBD (no evaluation / badge link yet; update here once it is produced)
- Version: 1.0.1
- Security: no independent security scan has been performed (TBD); the conclusion is pending and no endorsement is given until it is completed.
中文
何时用
- AI 生成政务公文、政策解读或决策报告前,需确保输出内容包含“决策依据”、“责任部门”及“救济渠道”等强制字段。
- 当系统处理信息公开申请时,用于实时校验数据来源与发布时限是否符合法律三律要求。
- 在对政务交互历史数据进行合规审计时,自动扫描缺失的关键披露信息并生成整改清单。
- 在进行跨平台数据迁移或 API 文档集成前,执行一次完整性检查以保证交付物可溯源。
用法
调用核心脚本 gov_disclosure_check.py 进行本地编译环境验证,确保依赖环境在 __pycache__ 目录下已就绪。命令行参数 -i 指定待校验的文本内容(如 JSON、Markdown 格式),参数 -l 开启日志记录模式。若技能处于文档型模式,需直接读取输入文件并在控制台执行 gov_disclosure_check.py --validate,无需手动安装额外依赖库。通过 Agent 接口传入目标数据对象即可触发脚本内部校验引擎。
流程
- 确认待处理政务文本或系统数据的原始输入完整性。
- 执行
gov_disclosure_check.py加载器,提取强制披露字段(决策依据、责任部门等)。 - 对照 LGD 三律标准进行字段缺失度与格式合规性双重比对。
- 生成包含通过/失败状态及具体违规项详情的结构化报告。
- 若校验失败,自动标记异常条目并输出可执行修改建议。
- 确认最终合规状态,允许发布或进入修正流程后重新调用脚本。
证据与安全声明
- 证据:TBD(暂无评测/徽章链接;产生后在此更新实际链接)
- 版本:1.0.1
- 安全:未做独立安全扫描(TBD),结论待补;补全前不作推荐背书。
