Skip to content

chore: Add supply-chain provenance guidance to agent skills - #6644

Merged
antonis merged 4 commits into
mainfrom
feat/agents-skills-supply-chain
Sep 2, 2026
Merged

chore: Add supply-chain provenance guidance to agent skills#6644
antonis merged 4 commits into
mainfrom
feat/agents-skills-supply-chain

Conversation

@antonis

@antonis antonis commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Stacked on #6643 — please review/merge that first. This PR's base is feat/extend-agents-skills, so its diff shows only the supply-chain slice.

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Adds supply-chain / dependency-provenance guidance to the agent skills:

  • code-guidelines/references/supply-chain.md — new reference: the rule (a newly added/changed reference must be a real artifact and under a trusted namespace), a trust hierarchy (Sentry scope → official publisher → pinned ref), a per-surface table (npm, .vscode extensions, GitHub Actions, iOS/Android native, Ruby), verification commands, and what existing checks (Dependabot / CodeQL / Warden) do and don't cover.
  • code-guidelines/SKILL.md — an "Adding dependencies" rule pointing at the reference.
  • review/SKILL.md — a "Supply-chain / dependency provenance" bullet in the Correctness axis.

💡 Motivation and Context

Catch issues like #6640, where a recommended VS Code extension (nickelpack.oxlint) pointed at a publisher namespace that isn't the tool's owner (oxc). The additive value over the shared getsentry/skills coverage is provenance of newly introduced references and the surfaces those miss — chiefly editor extensions.

💚 How did you test it?

Not runtime-testable (Markdown). Verified links resolve, the .vscode/Dependabot claims match the repo, and the reference is cited from both code-guidelines and review.

📝 Checklist

  • I added tests to verify changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.
  • No breaking changes.

🔮 Next steps

Once #6643 merges, this PR's base auto-retargets to main.

antonis and others added 2 commits September 1, 2026 11:34
Model the agent setup on sentry-dart: register the shared getsentry/skills
and getsentry/sdk-skills, and add six local path skills tailored to the RN
SDK (spec, design-first, code-guidelines, test-guidelines, diagnosing-bugs,
review). The skills cover the JS/native/bridge threat model, codegen gotchas,
Jest test conventions, and RN-specific usage-tracking and privacy rules.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add a reference doc plus a code-guidelines rule and a review Correctness
bullet so newly added or changed third-party references — npm deps, VS Code
extension recommendations, GitHub Actions, and native deps — are verified as
real artifacts under a trusted namespace before landing. Complements the
shared getsentry/skills supply-chain coverage and adds the surface those miss
(chiefly editor extensions), motivated by the nickelpack.oxlint case in #6640.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore: Add supply-chain provenance guidance to agent skills by antonis in #6644
  • fix(tracing): Keep launch-screen TTID/TTFD anchored to navigation on delayed first navigation by antonis in #6626
  • chore: Extend agents.toml and .agents/skills (Extend Warden setup #6637) by antonis in #6643
  • chore(sample): Bump React Native sample to 0.87.0 by antonis in #6617
  • fix(core): Resolve Metro from project root for source map generation by antonis in #6625
  • docs(sdk-versions): Add 8.14.3 row to SDK-VERSIONS.md by antonis in #6649
  • chore(deps): update Maestro to v2.10.0 by github-actions in #6641
  • chore(deps): update JavaScript SDK to v10.73.0 by github-actions in #6642
  • test(ios): Speed up sentry-xcode-scripts tests by antonis in #6633
  • fix: Update recommended vscode extensions by antonis in #6640
  • chore(deps): bump actions/setup-java from 5.7.0 to 6.0.0 by dependabot in #6636
  • chore(deps): bump the codeql-action group with 3 updates by dependabot in #6635
  • chore(deps): update JavaScript SDK to v10.72.0 by github-actions in #6634
  • chore(e2e): Bump E2E tests to React Native 0.87.0 by antonis in #6616
  • chore(deps): update CLI to v3.7.0 by github-actions in #6632
  • feat(tracing): Copy app start vitals onto standalone children by buenaflor in #6631
  • chore(deps): update Cocoa SDK to v9.26.1 by github-actions in #6623
  • fix(ios): Force-load the Sentry static archive to keep ObjC category methods by antonis in #6615
  • feat(core): Forward feature flag evaluations to the native SDKs by antonis in #6613
  • chore(deps): update Android SDK to v8.54.0 by github-actions in #6624
  • chore(deps): update Sentry Android Gradle Plugin to v6.20.0 by github-actions in #6627

🤖 This preview updates automatically when you update the PR.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against 4b26912

@antonis
antonis marked this pull request as ready for review September 1, 2026 10:05
Comment thread .agents/skills/code-guidelines/SKILL.md Outdated
Base automatically changed from feat/extend-agents-skills to main September 2, 2026 06:44
antonis and others added 2 commits September 2, 2026 09:03
Provenance (namespace/publisher) is necessary but not sufficient: a
legitimate owner's account or CI can be compromised and ship a malicious
version. Add version-integrity mitigations (pin + lockfile hash, advisory
check on the specific version, wariness of fresh bumps) rather than an
unbounded 'check the news'.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…pply-chain

# Conflicts:
#	.agents/skills/code-guidelines/SKILL.md
#	.agents/skills/review/SKILL.md
@antonis
antonis merged commit 6bbd2c7 into main Sep 2, 2026
54 of 59 checks passed
@antonis
antonis deleted the feat/agents-skills-supply-chain branch September 2, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants