mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-16 08:25:14 +02:00
Both documented flags were read only for status display; every ingest path squash-committed to main unconditionally, so setting either to false was a silent no-op (the reported symptom: 'Memory ingest (external_ingest): ...' commits despite memory.auto_commit: false). Gate the commit at the squash-merge onto main — the one point where ingest work becomes a permanent commit (intermediate session-worktree commits must still happen for the squash to collapse). When auto-commit is off, apply the squash to main's working tree and leave it staged instead of committing, so the run is never silently discarded: - GitService.stageSquashMergeIntoMain: shares the merge core with squashMergeIntoMain but stops before committing and returns the staged tree SHA (a valid diff/read ref). - memory.auto_commit gates MemoryAgentService (its DB writes are eager, so the staged files stay consistent); the commit-message job is skipped. - storage.git.auto_commit gates IngestBundleRunner; the wiki index is reconciled from the staged tree via the existing syncFromCommit (git diff/show accept a write-tree ref), and SL reindex already reads from files. Config descriptions now state precisely what each flag gates and the staged semantics when false. |
||
|---|---|---|
| .. | ||
| adapters | ||
| clustering | ||
| context-candidates | ||
| context-evidence | ||
| dbt-shared | ||
| historic-sql-probes | ||
| isolated-diff | ||
| memory-flow | ||
| page-triage | ||
| stages | ||
| tools | ||
| action-identity.test.ts | ||
| artifact-gates.test.ts | ||
| canonical-pins.test.ts | ||
| diff-set.service.test.ts | ||
| final-gate-repair.test.ts | ||
| finalization-scope.test.ts | ||
| historic-sql-probes.test.ts | ||
| ingest-bundle.runner.isolated-diff.test.ts | ||
| ingest-bundle.runner.test.ts | ||
| ingest-profile.test.ts | ||
| ingest-prompts.test.ts | ||
| ingest-runtime-assets.test.ts | ||
| ingest-trace.test.ts | ||
| local-adapters.test.ts | ||
| local-bundle-ingest.test.ts | ||
| local-bundle-runtime.test.ts | ||
| local-embedding-provider.integration.test.ts | ||
| local-mapping-reconcile.test.ts | ||
| local-metabase-ingest.test.ts | ||
| local-stage-ingest.test.ts | ||
| raw-sources-paths.test.ts | ||
| repo-fetch.test.ts | ||
| report-snapshot.test.ts | ||
| reports.test.ts | ||
| semantic-layer-target-policy.test.ts | ||
| source-adapter-registry.test.ts | ||
| sqlite-bundle-ingest-store.test.ts | ||
| sqlite-local-ingest-store.test.ts | ||
| wiki-body-refs.test.ts | ||
| wiki-sl-ref-repair.test.ts | ||