Commit 8b4ab90
docs(template): @requiredTags is prompt-only in verify — fix the C#/TS constant doc (#231)
The `@requiredTags` constant doc claimed "Generic — not prompt-only: any rendered artifact
(email, export, prompt) can carry a tag contract", but `verify --templates` enforces it
ONLY on the prompt path in every port (the email/document output gate deliberately does not
apply per-part slot/tag rules — the #193/#230 cross-port consensus). Corrected the comment in
both C# (TemplateConstants.cs) and TS (template-constants.ts, which carried the identical
claim) to state the actual behavior: the attr may be authored on any template, but verify
checks it for prompts only.
Doc-only; no behavior change. Resolution (b) of #231 — the prompt-only behavior is intentional
and consistent cross-port, so the doc was the thing that was wrong (not the behavior).
Closes #231.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XeGSV3StPCcJGZNNJ4ZfAb1 parent 19f29a5 commit 8b4ab90
2 files changed
Lines changed: 8 additions & 6 deletions
File tree
- server
- csharp/MetaObjects/Template
- typescript/packages/metadata/src/template
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments