Merge origin/main into rename-knowledge-to-wiki

This commit is contained in:
Andrey Avtomonov 2026-05-13 15:57:31 +02:00
commit 5831bc0242
84 changed files with 454 additions and 503 deletions

View file

@ -129,10 +129,10 @@ function nonEnglishFixture() {
};
}
function abbreviatedLegacyFixture() {
function abbreviatedOldNamingFixture() {
return {
id: 'abbreviated_legacy_no_declared_constraints',
name: 'Abbreviated legacy naming fixture with no declared constraints',
id: 'abbreviated_old_no_declared_constraints',
name: 'Abbreviated old naming fixture with no declared constraints',
tier: 'row_bearing',
sql: [
'CREATE TABLE cust (cust_id TEXT NOT NULL, nm TEXT NOT NULL, stat_cd TEXT NOT NULL);',
@ -480,7 +480,7 @@ function scaleFixture() {
const fixtures = [
nonEnglishFixture(),
abbreviatedLegacyFixture(),
abbreviatedOldNamingFixture(),
analyticalWarehouseFixture(),
mixedCaseFixture(),
polymorphicFixture(),

View file

@ -46,15 +46,15 @@ const llmBoundaryPatterns = [
pattern: /\bembedMany\b/,
},
{
label: 'legacy context LLM provider port',
label: 'context-owned LLM provider port',
pattern: /\bLlmProviderPort\b/,
},
{
label: 'legacy scan LLM provider port',
label: 'scan-owned LLM provider port',
pattern: /\bKtxScanLlmPort\b/,
},
{
label: 'legacy gateway LLM provider helper',
label: 'context-owned gateway LLM provider helper',
pattern: /\bcreateGatewayLlmProvider\b/,
},
];

View file

@ -92,7 +92,7 @@ describe('scanFileContent', () => {
);
});
it('rejects context-owned LLM provider construction after @ktx/llm migration', () => {
it('rejects context-owned LLM provider construction outside @ktx/llm', () => {
const violations = [
...scanFileContent(
'packages/context/src/agent/local-llm-provider.ts',

View file

@ -128,7 +128,6 @@ describe('standalone example docs', () => {
.join('|'),
),
);
assert.doesNotMatch(readme, /--historic-sql-min-calls/);
});
it('lists every workspace package in the contributor docs', async () => {