Commit 2c8e7ea
docs(metadata-protocol): re-state row 6's trim justification on its live basis (#16131)
The face-inventory docstring argued that `duplicatePackage` has "no response
schema in `packages/spec` at all". That clause has expired:
`DuplicatePackageResponseSchema` exists in
`packages/spec/src/api/package-lifecycle.zod.ts` and
`packages/runtime/src/route-ledger.ts` binds `POST /packages/:id/duplicate`
to it.
The verdict does not change, but its axis does. The schema is a describe-only
transcription of the inline return: its `failed[]` element declares exactly
`type`, `name` and `error` and no `issues`. The comparator that separates row 6
from `publishPackageDrafts` is therefore the declared SHAPE, not the schema's
existence -- `PublishPackageDraftsResponseSchema`'s `failed[]` does declare
`issues: z.array(RuntimeAuthoringIssueSchema).optional()`, and that declared
channel is what the message was trimmed against there.
So the declare-then-trim order is still unsatisfied on row 6, and the bar is
higher than the old wording implied: declaring `issues` now moves a published,
route-bound spec schema with its own conformance pin, not just an inline type.
Prose only. No assertion changed.
Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ
Co-authored-by: Claude <noreply@anthropic.com>1 parent b5f0836 commit 2c8e7ea
1 file changed
Lines changed: 32 additions & 6 deletions
Lines changed: 32 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 62 | + | |
66 | 63 | | |
67 | | - | |
68 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
69 | 95 | | |
70 | 96 | | |
71 | 97 | | |
| |||
0 commit comments