mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
test(cli): drop stale auto commit fixtures
This commit is contained in:
parent
450bfa1dfa
commit
5253814f29
7 changed files with 3 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ storage:
|
|||
state: sqlite
|
||||
search: sqlite-fts5
|
||||
git:
|
||||
auto_commit: true
|
||||
author: "ktx <ktx@example.com>"
|
||||
ingest:
|
||||
adapters: []
|
||||
|
|
|
|||
|
|
@ -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:',
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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-');
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue