TheBotique

output-schema-guard

当用户说『模型返回的JSON又崩了』『字段缺失对不上』『下游解析失败』『怎么强制LLM输出合规结构』,或要把 LLM 的 JSON/结构化输出接进代码(API/数据库/表单)时使用。把模型输出当『不可信外部输入』:用 schema 校验必填字段·类型·枚举,缺则给可执行的修复提示而非裸报错。理论根基:LGD 三律(有籍·有证·有门禁)。触发词:结构化输出、JSON校验、schema guard、输出格式、字段缺失、模型输出解析、function calling、tool output。

as observed 2026-09-29T04:47:03.526Z
Identifier
output-schema-guard
Source
ClawHub
Version observed
1.0.3
Source repository
not published
Repository observation
No source repository listed
First observed here
2026-09-12T14:17:54.398Z
Observations recorded
3
Installs (reported upstream)
1
Weekly downloads (upstream)
222
Declared license
MIT-0

Observation history

2026-09-29T04:47:03.526Z

Fields that differed: changelog latestVersion

FieldBeforeAfter
changelog "output-schema-guard v1.1.0\n\n- 技能新增:结构化输出校验护栏(Schema Guard)能力,用于校验和修复 LLM 结构化输出(如 JSON)。\n- 当检测到字段缺失、类型错误或枚举越界时,提供修复提示而非裸报错。\n- 明确能力边界及推荐适用场景:如接入数据库/API/表单、function calling 等。\n- "权利层第 3 轮:① §3.2 权属宣告统一块归一——清除块内他资产事实(此前误填 uibc-core 的 DOI / commit cb6f11b / Sigstore Rekor 锚),改按本资产真值填写;② 技能件许可口径过授权清除——理论文本由 CC BY 4.0 改为「保留所有权利」,.py 依 §3.2 标 MIT;③ 保留分层许可:代码 MI
latestVersion "1.0.0" "1.0.3"
2026-09-17T19:21:47.094Z

Fields that differed: license description

FieldBeforeAfter
license null "MIT-0"
description "当用户说『模型返回的JSON又崩了』『字段缺失对不上』『下游解析失败』『怎么强制LLM输出合规结构』,或要把 LLM 的 JSON/结构化输出接进代码(API/数据库/表单)时使用。把模型输出当『不可信外部输入』:用 schema 校验必填字段·类型·枚举,缺则给可执行的修复提示而非裸报错。理论根基:LGD 三律(有籍·有证·有门禁)。触发词:结构化输出、 null

Correction

If you maintain this extension and believe anything above is inaccurate, request a correction. Corrections are published, and disputed entries are marked as disputed while under review.