Repository navigation
Commit 1d4c99b
committed
test: the constant-carried manifest id the new pattern refuses moves to reverse-domain
`protocol.package-publish-audit-rows.test.ts` declared `const PKG =
'pkg_helpdesk'`, which reaches `manifest: { id: PKG, namespace: NS }` on the
`registry.getPackage` stub and is refused by `MANIFEST_ID_PATTERN`. The value
becomes `com.example.helpdesk`.
Every use reads the constant -- the three `toContain(PKG)` assertions included
-- so each case keeps its meaning; the sibling assertion on the namespace
prefix (`helpdesk_`) is unaffected, since the new value does not contain it.
Verified against the BUILT `ManifestSchema.shape.id` after a spec build, with a
lit control on the judge: 'pkg_helpdesk' refused, 'com.example.helpdesk'
accepted.
Claude-Session: https://claude.ai/code/session_012GcsUbuqFGBibkEDMRC1eE
Co-authored-by: Claude <noreply@anthropic.com>1 parent 866c8cf commit 1d4c99b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| |||
0 commit comments