feat(verifier): polyglot check detection (issue #154) - #225
Merged
Conversation
What ships:
- cmd/sin-code/internal/orchestrator/detect.go: new file
- 4 ecosystem detectors: go.mod, package.json, Cargo.toml,
pyproject.toml
- DetectChecks(workspace) walks 1 level deep so monorepos
with nested ecosystems are covered
- matched map dedupes by name+marker
- Falls back to DefaultGoChecks for empty workspaces
- 8 race-clean unit tests in detect_test.go
Acceptance criteria (from #154):
- [x] DetectChecks picks build/test/lint based on marker files.
- [x] Multiple ecosystems in a monorepo are additively combined.
- [x] Fallback to DefaultGoChecks for Go-only repos with no
markers preserves current behavior.
- [x] No new deps (stdlib only).
Hard mandates honored:
- M2: stdlib only.
- M3: detect is a one-shot helper; the verify-gate semantics are
unchanged (operator can still override checks per-task).
- M7: 8/8 tests pass under go test -race -count=1.
Refs: #154
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown)
|
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown) Run ID:
|
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements issue #154 (Loop Engineering Lücke 5). DetectChecks picks the right build/test/lint commands based on ecosystem marker files (go.mod, package.json, Cargo.toml, pyproject.toml) so the verify-gate works on polyglot repos, not just Go.
What ships
Acceptance criteria (from #154)
Hard mandates
Closes #154