fix(engine): classify 'ci' change-kind only by real CI path segments, not any .yml/.yaml (#8873) - #8971
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
… not any .yml/.yaml objective-anchor.ts's kindsFromPath tagged any YAML file as 'ci' via a bare `.yml`/`.yaml` extension fallback, so a root `.loopover.yml` or `docs/mkdocs.yml` diluted the 'ci' change-kind dimension scoreObjectiveAnchor relies on. Drop the extension fallback -- 'ci' is now classified only via a real CI path segment (CI_SEGMENTS), the same path-segment discipline every other change-kind uses. Tests: a config YAML at the repo root and docs/mkdocs.yml no longer produce 'ci'; a YAML under a real CI path segment (.github/workflows/ci.yml) still does.
|
Caution 🛑 LoopOver review result - fixes requiredReview updated: 2026-07-26 14:58:40 UTC
Review summary Nits — 1 non-blocking
CI checks failing
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
LoopOver is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-tests)). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Problem
Closes #8873.
packages/loopover-engine/src/objective-anchor.ts'skindsFromPathclassifiedciviaCI_SEGMENTS.has(segment) || filename.endsWith('.yml') || filename.endsWith('.yaml'). The bare-extension fallback tagged any YAML file — root.loopover.yml,docs/mkdocs.yml— asci, diluting thecichange-kind dimensionscoreObjectiveAnchorrelies on.Fix
Drop the extension fallback.
ciis classified only via a real CI path segment (CI_SEGMENTS), the same path-segment discipline every other change-kind uses.Tests
.loopover.ymlanddocs/mkdocs.ymlno longer produceci;.github/workflows/ci.ymlstill does. Reverting fails the negative assertions.git diff --checkclean.