L
LGD 徽章签发器
作者:注册老炮@MedXpert I SynomosAIv4
lgd-badge-issuer — 三律全过才签发 lgd-certified 徽章证书(SHA-256 指纹 + 签发台账),未过拒绝并留痕。 适用场景:当需要LGD 徽章签发器能力时使用本技能;触发词:lgd-badge-issuer。
下载量
292
点赞
73
价格
免费
技能文档
--- name: lgd-badge-issuer title: LGD 徽章签发器 description: lgd-badge-issuer — 三律全过才签发 lgd-certified 徽章证书(SHA-256 指纹 + 签发台账),未过拒绝并留痕。 适用场景:当需要LGD 徽章签发器能力时使用本技能;触发词:lgd-badge-issuer。 slug: lgd-badge-issuer version: 1.0.1 display_name: LGD 徽章签发器 display_name_en: LGD Badge Issuer agent_created: true author: XLGD · 诺声(Logos)@SynomosAI license: MIT license_scope: 代码(.py 文件)MIT;本 SKILL.md 与其中理论文本不在 MIT 覆盖范围内(见文末「License & attribution」) allowed-tools: Read, Glob, Grep, Bash, Write, WebFetch category: AI 治理 platforms: [windows, macos, linux] copyright: XLGD · SynomosAI description_zh: "lgd-badge-issuer — 三律全过才签发 lgd-certified 徽章证书(SHA-256 指纹 + 签发台账),未过拒绝并留痕。" description_en: "Issue lgd-certified badge certificates only when all three laws pass: SHA-256 fingerprint plus issuance ledger; failures are rejected and logged." classification: internal: ["LGD theory system"] skillhub: ["ai-governance"] clawhub: ["search", "development"] iso_25010: ["Security", "Maintainability"] risk_tier: medium risk_rationale: "门禁批量补丁默认 medium(内部约定:本 skill 设计为中等风险):调用 API/读写文件/本地执行,最小权限,密钥走 Secret;若实际涉对外代执行(push/发布/发送/上架)须人工复评,改 high 并走负责人批准。" tags: [lgd-badge-issuer, AI 治理, LGD徽章, 证书签发] read_when: - 用户完成三律考核并申请 lgd-certified 徽章证书时 - 自动化审核流程要核验资格合规性并生成电子证书前 - 审计要求输出含 SHA-256 指纹及签发记录的合规凭证时 - 用户说「通过三律考核了,发个徽章」 ai_protocol: true --- > 凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate ## English ### When to use - When a user has passed the "three laws" assessment and applies for an `lgd-certified` badge certificate. - In an automated review flow, before verifying qualification compliance and generating an e-certificate. - When an audit requires a compliance credential carrying a SHA-256 fingerprint and issuance record. ### Usage - Run the Python script `badge_issuer.py` from the current environment. - Core parameters: `--user_id` (user identifier) and `--three_laws_status` (pass status, e.g. `"all_pass"`). - Example: `python badge_issuer.py --user_id "U001" --three_laws_status "all_pass"`. - The skill handles dependencies and returns the certificate object or an error code. ### Workflow 1. The system receives the application data and the corresponding "three laws" verification status. 2. Internally call `badge_issuer.py` for pre-qualification and compliance check. 3. If the three laws do not all pass, trigger the refusal and log the failure to the ledger. 4. If all pass, generate the certificate content and compute its SHA-256 fingerprint. 5. Write the `lgd-certified` badge certificate to the designated output path and return it. ### 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. ## 中文 ### 何时用 - 用户完成“三律”考核并申请 `lgd-certified` 徽章证书时。 - 自动化审核流程中需要核验资格合规性并生成电子证书前。 - 审计需求要求输出包含 SHA-256 指纹及签发记录的合规凭证时。 ### 用法 - 调用技能需执行 Python 脚本 `badge_issuer.py`,路径位于当前环境。 - 核心参数包含:`--user_id`(用户标识)、`--three_laws_status`(三律通过状态),示例为 `"all_pass"`。 - 命令执行格式参考:`python badge_issuer.py --user_id "U001" --three_laws_status "all_pass"`。 - 技能会自动处理依赖并返回证书对象或错误码。 ### 流程 1. 系统接收用户申请数据及对应的“三律”验证状态。 2. 内部调用 `badge_issuer.py` 进行资格预审与合规校验。 3. 若“三律”未全过,触发拒绝机制并在台账记录失败日志。 4. 若“三律”全过,生成证书内容并计算 SHA-256 哈希指纹。 5. 将 `lgd-certified` 徽章证书写入指定输出路径并完成返回。 ### 证据与安全声明 - 证据:TBD(暂无评测/徽章链接;产生后在此更新实际链接) - 版本:1.0.1 - 安全:未做独立安全扫描(TBD),结论待补;补全前不作推荐背书。
使用说明
# LGD 徽章签发器 / LGD Badge Issuer
[](https://github.com/zhaoxinghua09-cell/lgd-theory)
## English
Issue an lgd-certified badge certificate only when all three laws pass (SHA-256 fingerprint + issuance ledger); refuse and log otherwise.
**Pain point**: the last loop step "badge" had no executor — passing the three laws led nowhere without an authoritative issuance act.
Part of the **LGD moat loop**: Passport (registered) → Evidence chain (evidenced) → Gate (gated) → **Badge (issued/verified)**.
Zero-dependency (stdlib only). See `scripts/` for CLI usage (`--help`).
© XLGD · SynomosAI Governance Line · LGD-Powered
## 中文
三律全过才签发 lgd-certified 徽章证书(SHA-256 指纹 + 签发台账),未过拒绝并留痕。
**痛点**:闭环最后一环「徽章」没有执行者——三律过了却没有权威签发动作,闭环落空。
属于 **LGD 闭环**:护照(有籍)→ 证据链(有证)→ 门禁(有门禁)→ **徽章(签发/核验)**。
零依赖(仅 stdlib)。CLI 用法见 `scripts/`(`--help`)。
---
© XLGD · SynomosAI Governance Line · LGD-Powered
## License & attribution
**分层许可(务必并读;代码许可不覆盖文档与理论文本)**
- **代码**(本包 `.py` 文件):**MIT**
- **本 `README.md` / `SKILL.md` 及其中的理论文本、方法论与一切理论表述**:**不在 MIT 覆盖范围内**,保留所有权利(All rights reserved)
```
© 2026 SynomosAI · China. All rights reserved.
理论署名 (attribution) : LGD(Lifecycle Governance Doctrine / 全程治理论)— SynomosAI initiative
名称状态 (name status) : "SynomosAI" — 未申请实体注册、未申请商标注册
(not a registered legal entity; no trademark registered)
生产参考部署 (production reference, self-reported) : 无(未声明外部生产参考部署)
← 非认证、非背书、非监管认可(not a certification or endorsement)
代码许可 (code license) : 本包未附 LICENSE 文件(许可待定)
本文本与理论表述不在任何代码许可覆盖范围内
引用格式 (cite as) : 本资产无 DOI
```
(上列为《LGD 对外表述规范》§3.2 统一块,**整体复制、未删改**;发布/重提前须照最新版本复核。)支持平台:Qoder · QoderWork · Claude · Codex 等 AI 编程助手