Skip to content

feat(sdk): bootstrap plugin SDK core and repository hygiene#1

Closed
mwaldheim wants to merge 4 commits into
mainfrom
feat/sdk-bootstrap-adr001
Closed

feat(sdk): bootstrap plugin SDK core and repository hygiene#1
mwaldheim wants to merge 4 commits into
mainfrom
feat/sdk-bootstrap-adr001

Conversation

@mwaldheim
Copy link
Copy Markdown
Contributor

Summary

This PR bootstraps the first usable SDK baseline for out-of-process semrel plugins and aligns repository hygiene with the main project standards.

What’s included

  1. Added a minimal SDK core for plugin authors:
  • Shared go-plugin handshake configuration (protocol + magic cookie)
  • Logger helpers with stderr-first defaults (stdout remains handshake-only)
  • Local plugin discovery path builder matching ADR-001 layout
  • Stable plugin type constants for the supported categories
  1. Added initial SDK tests:
  • Handshake config contract checks
  • Discovery path shape checks
  • Plugin type constant stability checks
  1. Fixed module baseline:
  • Removed broken dependency reference to a non-resolvable module
  • Added required go-plugin and logging dependencies
  • Regenerated module lock data via tidy
  1. Added repository hygiene baseline:
  • CI workflow (build + test + lint)
  • DCO workflow
  • REUSE compliance workflow
  • OpenSSF Scorecard workflow
  • Renovate workflow + Renovate config
  • Standard .gitignore for Go SDK repository needs

Validation

  1. go test ./... passes

Notes

  1. CI in this repository currently uses direct Go commands instead of Make targets to keep the setup minimal and immediately runnable.
  2. This PR is intentionally scoped as SDK/repo bootstrap so host-side ADR-001 transport integration can follow cleanly in the semrel repository.

mwaldheim added 3 commits May 24, 2026 14:46
Signed-off-by: Markus Waldheim <markus@waldheim.dev>
Signed-off-by: Markus Waldheim <markus@waldheim.dev>
Signed-off-by: Markus Waldheim <markus@waldheim.dev>
@mwaldheim mwaldheim force-pushed the feat/sdk-bootstrap-adr001 branch from 0b11f76 to 47fa59d Compare May 24, 2026 13:02
@mwaldheim mwaldheim requested a review from tboerger May 24, 2026 13:03
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mwaldheim
Copy link
Copy Markdown
Contributor Author

Closing: commits lack DCO sign-off, Go version references 1.24 (we're on 1.25+), and the registry rename is already done on main. Will re-open with fresh commits if the SDK bootstrap work is needed.

@mwaldheim mwaldheim closed this May 26, 2026
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.

1 participant