feat: add output contract enforcement for all skill stages#48
Merged
Conversation
5c057c9 to
b9e9340
Compare
- Add output-contract.md (ZH + EN) as shared reference document defining required sections, table column rules, conditional enhancement triggers with DO/DON'T guidelines, and pre-output self-check for all output stages (analyze/design/develop/consult) - Add reference lines to 6 SKILL.md files (3 skills × 2 languages) - Add §2.6 pre-output self-check to develop-rules.md (ZH + EN) - Add 16 new test assertions: 10 template structure checks + 6 three-host inline verification tests - Update 4 golden snapshot hashes - Include plan package for traceability Release-Sync: yes Release-Version: 2026-05-28.102531 Release-Date: 2026-05-28
b9e9340 to
e793a7c
Compare
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.
Summary
Add a shared output contract reference document (
output-contract.md) that defines required sections, table column rules, conditional enhancement triggers (with DO/DON'T guidelines), and pre-output self-check for all Sopify output stages.Changes
references/output-contract.md(ZH + EN) — 4-section contract covering output path responsibilities, required sections, conditional enhancement & format selection, and pre-output self-check20260528_output_contract_enforcement/for traceabilityKey Design Decisions
reason_code=—in success) may be omitted from display; internal verification logic unaffectedTest Results
655 passed, 49 subtests passed