Skip to content

fix: reject empty artifact link labels (cloud parity)#97

Merged
claude-dataviking merged 1 commit into
mainfrom
fix/artifact-label-minlength
Jul 17, 2026
Merged

fix: reject empty artifact link labels (cloud parity)#97
claude-dataviking merged 1 commit into
mainfrom
fix/artifact-label-minlength

Conversation

@claude-dataviking

Copy link
Copy Markdown
Contributor

Follow-up from the adversarial review of traitprint-cloud#1718 (finding F2): the cloud validator rejects label: "" on artifact links; this model accepted it, so a locally-authored empty label would fail cloud ingest on push. ArtifactLink.label now has min_length=1 and the vault-v1 JSON schema pins minLength: 1 — a label is meaningful text or absent.

Gates: full suite 1056 passed (one known environment-only failure in a scratch worktree), ruff + mypy clean.

🤖 Generated with Claude Code

Cross-repo review of the cloud mirror (traitprint-cloud#1718) found
the cloud validator rejects label: '' while this model accepted it —
a locally-written empty label would fail cloud ingest on push. A label
is now meaningful text or absent; the JSON schema pins minLength: 1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@claude-dataviking
claude-dataviking merged commit b748a5d into main Jul 17, 2026
4 checks passed
@claude-dataviking
claude-dataviking deleted the fix/artifact-label-minlength branch July 17, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants