Skip to content

feat(verifier): polyglot check detection (issue #154) - #225

Merged
Delqhi merged 1 commit into
mainfrom
feat/issue-154-polyglot-clean
Jun 16, 2026
Merged

feat(verifier): polyglot check detection (issue #154)#225
Delqhi merged 1 commit into
mainfrom
feat/issue-154-polyglot-clean

Conversation

@Delqhi

@Delqhi Delqhi commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

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

  • cmd/sin-code/internal/orchestrator/detect.go (new)
  • cmd/sin-code/internal/orchestrator/detect_test.go (8 race-clean tests)

Acceptance criteria (from #154)

  • DetectChecks picks build/test/lint based on marker files
  • Multiple ecosystems in a monorepo are additively combined
  • Fallback to DefaultGoChecks for Go-only repos with no markers
  • 8/8 tests pass under go test -race -count=1

Hard mandates

  • M2: stdlib only
  • M7: race-clean

Closes #154

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
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sin-code Ready Ready Preview, Comment, Open in v0 Jun 16, 2026 8:01pm

@Delqhi
Delqhi merged commit fd5c01c into main Jun 16, 2026
9 of 11 checks passed
@Delqhi
Delqhi deleted the feat/issue-154-polyglot-clean branch June 16, 2026 20:01
@github-actions

Copy link
Copy Markdown

🏆 CEO Audit — A+ (100.0/100)

Metric Value
Grade A+
Score 100.0/100
Critical findings 0
High findings 0
Profile QUICK
Min grade gate B

📥 Download full report (Markdown)
📊 Download SARIF (for Code Scanning)

Run ~/.config/opencode/skills/ceo-audit/scripts/audit.sh . --profile=QUICK locally to reproduce.

@github-actions

Copy link
Copy Markdown

🏆 CEO Audit — A+ (100.0/100)

Metric Value
Grade A+
Score 100.0/100
Critical findings 0
High findings 0
Medium findings 0
Profile QUICK
Min grade gate B

📥 Download full report (Markdown)

Run ID: 27644447291 · Commit: ${github.sha}

Run ~/.config/opencode/skills/ceo-audit/scripts/audit.sh . --profile=QUICK locally to reproduce.

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.

Verify: Sprach-agnostische Predicates (Polyglot)

1 participant