Repository navigation
docs(vocabulary): author from the declared contract, not package source - #36
Merged
Merged
Conversation
A reconstruction session in another thread reached into the caption package's source to learn its parameters, because the skill told it to "read the README" and the caption-fine README is one illustrative recipe with no per-parameter reference. The declarations were already complete: inspect_svml_vocabulary returns every recipe property with its summary and admitted values. vocabulary.md now states that output is the complete authoring contract — author from it, do not read a package's source to learn its syntax; a thin README is a thin example next to a complete declaration, and the loader refuses a mistaken attribute against the declaration, not against the source. authoring.md reads the same way, framing the README as the example rather than the parameter reference.
overlordkim
pushed a commit
that referenced
this pull request
Sep 9, 2026
…-source docs(vocabulary): author from the declared contract, not package source
overlordkim
pushed a commit
that referenced
this pull request
Sep 9, 2026
…-source docs(vocabulary): author from the declared contract, not package source
This was referenced Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复另一个复刻会话滑向读包源码的问题。
问题
skill 指示"run inspect + 读 README"。caption-fine 的 README 只有 64 行、一个示例配方,没有逐参数参考。模型按指示读 README 发现不够,就滑向读包的 TypeScript 源码。
事实
inspect_svml_vocabulary的输出已经声明了全部 95 个 recipe 参数,每个带 summary 和 admitted values——参数参考是齐的,在声明里不在源码里。改动
vocabulary.md:明确 inspect 输出即完整作者契约,据此写,不要读包源码学语法;薄 README 是薄示例,不是缺文档;loader 按声明拒绝误写属性,不是按源码。authoring.md:"读 README"改为"inspect 声明 + README 当示例"。🤖 Generated with Claude Code