chore: point MSD at git.golem15.com/golem15/msd-core
Some checks failed
Tests / PR mergeability (push) Successful in 1m37s
Tests / Base branch health (push) Successful in 11s
Tests / Detect test scope (push) Successful in 17s
Tests / lint-tests (push) Failing after 2m16s
Tests / plugin-validate (push) Successful in 1m6s
Tests / test (ubuntu-latest, 24, shard 1/3) (push) Failing after 25s
Tests / test (ubuntu-latest, 24, shard 2/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24, shard 3/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24) (push) Failing after 19s
Tests / test (inert CI) (push) Has been skipped
Tests / QA loop walk (smell ratchet) (push) Failing after 19s
Tests / Coverage gate (merged shards) (push) Has been skipped
Tests / Publish emitted-baseline artifact (push) Has been skipped
Dismiss Unauthorized PR Approvals / dismiss-unauthorized-approval (push) Successful in 9s
Close Draft PRs (sweep) / Sweep open draft PRs (push) Successful in 8s
Tests / conformance test (macos-latest, 24) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 1/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 2/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 3/3) (push) Has been cancelled
Tests / Required tests (push) Has been cancelled
Some checks failed
Tests / PR mergeability (push) Successful in 1m37s
Tests / Base branch health (push) Successful in 11s
Tests / Detect test scope (push) Successful in 17s
Tests / lint-tests (push) Failing after 2m16s
Tests / plugin-validate (push) Successful in 1m6s
Tests / test (ubuntu-latest, 24, shard 1/3) (push) Failing after 25s
Tests / test (ubuntu-latest, 24, shard 2/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24, shard 3/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24) (push) Failing after 19s
Tests / test (inert CI) (push) Has been skipped
Tests / QA loop walk (smell ratchet) (push) Failing after 19s
Tests / Coverage gate (merged shards) (push) Has been skipped
Tests / Publish emitted-baseline artifact (push) Has been skipped
Dismiss Unauthorized PR Approvals / dismiss-unauthorized-approval (push) Successful in 9s
Close Draft PRs (sweep) / Sweep open draft PRs (push) Successful in 8s
Tests / conformance test (macos-latest, 24) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 1/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 2/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 3/3) (push) Has been cancelled
Tests / Required tests (push) Has been cancelled
The fork lives on the golem15 Gitea forge, not GitHub. Package identity now parses either host and derives in-place raw URLs for Gitea; the identity-drift lint accepts the new host; README drops GitHub-only badges and the npm quickstart in favour of the checkout installer.
This commit is contained in:
@@ -160,9 +160,9 @@ const INTERNAL_COMPONENT_SLUGS = new Set([
|
||||
// an external tool repo, not a user-typable slash command in this product.
|
||||
'test-runner',
|
||||
|
||||
// msd-core — GitHub repository name: "golem15com/msd-core".
|
||||
// msd-core — GitHub repository name: "golem15/msd-core".
|
||||
// docs/adr/22-plan-drift-guard.md references it as an issue tracker link:
|
||||
// golem15com/msd-core#22
|
||||
// golem15/msd-core#22
|
||||
// The regex captures "/msd-core" from the org/repo path separator. This is
|
||||
// the canonical repo name, not a user-typable slash command in this product.
|
||||
'core',
|
||||
@@ -216,7 +216,7 @@ function extractCommandTokens(content) {
|
||||
|
||||
// Negative lookbehind: only match tokens NOT preceded by a letter, digit,
|
||||
// `/`, `_`, or `-`. This prevents matching the `/msd-core` substring inside
|
||||
// the org/repo path `golem15com/msd-core` (and similar path-embedded segments)
|
||||
// the org/repo path `golem15/msd-core` (and similar path-embedded segments)
|
||||
// while still matching real invocations preceded by BOL, space, backtick, or
|
||||
// `(`. Fixes false-positive class identified in #489.
|
||||
const allSlash = (stripped.match(/(?<![A-Za-z0-9/_-])\/msd-[a-z0-9][a-z0-9-]*/g) || []);
|
||||
@@ -508,16 +508,16 @@ describe('adversarial: polarity inversion catches drift deny-list misses', () =>
|
||||
// ─── Tokenizer regression tests (#489) ───────────────────────────────────────
|
||||
|
||||
describe('extractCommandTokens() — repo-path false-positive regression (#489)', () => {
|
||||
test('golem15com/msd-core#22 repo path does NOT produce a /msd-core token', () => {
|
||||
// Before the lookbehind fix, /msd-core inside `golem15com/msd-core#22`
|
||||
test('golem15/msd-core#22 repo path does NOT produce a /msd-core token', () => {
|
||||
// Before the lookbehind fix, /msd-core inside `golem15/msd-core#22`
|
||||
// would be matched by the slash regex — a false positive.
|
||||
const { slash, colon, dollar } = extractCommandTokens(
|
||||
'see golem15com/msd-core#22 for details'
|
||||
'see golem15/msd-core#22 for details'
|
||||
);
|
||||
const all = [...slash, ...colon, ...dollar];
|
||||
assert.ok(
|
||||
!all.includes('/msd-core'),
|
||||
'repo path golem15com/msd-core#22 must not produce a /msd-core token; got: ' + all.join(', ')
|
||||
'repo path golem15/msd-core#22 must not produce a /msd-core token; got: ' + all.join(', ')
|
||||
);
|
||||
assert.strictEqual(all.length, 0, 'expected zero tokens from a bare repo-path string; got: ' + all.join(', '));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user