test(cli): drop stale auto commit fixtures

This commit is contained in:
Andrey Avtomonov 2026-06-09 23:00:58 +02:00
parent 450bfa1dfa
commit 5253814f29
7 changed files with 3 additions and 12 deletions

View file

@ -5,7 +5,6 @@ storage:
state: sqlite
search: sqlite-fts5
git:
auto_commit: true
author: "ktx <ktx@example.com>"
ingest:
adapters:
@ -18,5 +17,3 @@ agent:
- sl_query
- wiki_search
- sl_read_source
memory:
auto_commit: true

View file

@ -6,7 +6,6 @@ storage:
state: sqlite
search: sqlite-fts5
git:
auto_commit: true
author: "ktx <ktx@example.com>"
ingest:
adapters: []

View file

@ -66,7 +66,6 @@ function demoConfig(databasePath: string): string {
' state: sqlite',
' search: sqlite-fts5',
' git:',
' auto_commit: true',
' author: ktx <ktx@example.com>',
'llm:',
' provider:',

View file

@ -165,7 +165,6 @@ async function writeHistoricSqlProject(project: KtxLocalProject): Promise<KtxLoc
' state: sqlite',
' search: sqlite-fts5',
' git:',
' auto_commit: false',
' author: KTX Test <system@ktx.local>',
'',
].join('\n'),

View file

@ -521,7 +521,6 @@ describe('canonical local ingest', () => {
' state: sqlite',
' search: sqlite-fts5',
' git:',
' auto_commit: false',
' author: KTX Test <system@ktx.local>',
'',
].join('\n'),
@ -683,7 +682,6 @@ describe('canonical local ingest', () => {
' state: sqlite',
' search: sqlite-fts5',
' git:',
' auto_commit: false',
' author: KTX Test <system@ktx.local>',
'',
].join('\n'),
@ -767,7 +765,6 @@ describe('canonical local ingest', () => {
' state: sqlite',
' search: sqlite-fts5',
' git:',
' auto_commit: false',
' author: KTX Test <system@ktx.local>',
'',
].join('\n'),
@ -811,7 +808,6 @@ describe('canonical local ingest', () => {
' state: sqlite',
' search: sqlite-fts5',
' git:',
' auto_commit: false',
' author: KTX Test <system@ktx.local>',
'',
].join('\n'),

View file

@ -133,6 +133,8 @@ describe('demo assets', () => {
const config = await readFile(join(projectDir, 'ktx.yaml'), 'utf-8');
expect(config).toContain('backend: anthropic');
expect(config).toContain('api_key: env:ANTHROPIC_API_KEY');
expect(config).not.toContain('auto_commit');
expect(config).not.toContain('memory:');
expect(config).not.toContain('sk-ant-');
});

View file

@ -66,10 +66,9 @@ describe('buildProjectStackSnapshotFields', () => {
storage: {
state: 'sqlite',
search: 'sqlite-fts5',
git: { auto_commit: true, author: 'ktx <ktx@example.com>' },
git: { author: 'ktx <ktx@example.com>' },
},
agent: { run_research: { enabled: false, max_iterations: 20, default_toolset: [] } },
memory: { auto_commit: true },
},
});