ci: the PR template asks the five questions, Weakens among them

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-11-29 10:28:05 -08:00
1 parent b0b0a6ebb7
commit c0b8242b1f
1 file changed
+10
+10
View File
@@ -4,6 +4,13 @@ Model: <Module.Action; OtherModule.Action, or NONE (pure function of Module) for
Red-first: <commit + test that failed on the base, or NONE: reason>
Simplest: <the simplest version, and what this PR did not add>
Five questions, answered in plain words before review:
Serves: <which statement of the specification or the docs this change serves>
Decided by: <whose decision this is, and where it is recorded>
Layer use: <conventional: the layer below is used the usual way; or the deviation>
Deviation buys: <what the deviation buys, measured; or none: no deviation>
Weakens: <which existing guarantee this weakens (its cost, the way it fails, a mode it leaves out, whether its proof runs on the production type), or none and why>
<!--
The spec-trace check reads the lines above.
@@ -24,6 +31,9 @@ DOCS may still change contract text (docs/design/invariants.md): the reviewer is
NONE needs a reason of at least 10 characters. Simplest is required when the PR
changes non-test Go under core/ or cmd/.
Weakens is required on every PR that changes product code: a review is refused
without it. "none" needs its reason.
Mapped files in .github/model-code-trace.tsv require a listed Module.Action
or NONE (pure function of Module). Separate citations for multiple modules
with semicolons. Unmapped files retain the existing Model trace policy.