fix(export): remove export from read-only commands to fix dirty issue clearing (#1036)
The export command was incorrectly listed in readOnlyCommands, causing the SQLite database to be opened in read-only mode. This prevented export from clearing dirty issues and updating the JSONL file hash.
This commit is contained in:
committed by
GitHub
parent
7b8c322e68
commit
a157def42d
@@ -98,7 +98,7 @@ var readOnlyCommands = map[string]bool{
|
||||
"graph": true,
|
||||
"duplicates": true,
|
||||
"comments": true, // list comments (not add)
|
||||
"export": true, // export only reads
|
||||
// NOTE: "export" is NOT read-only - it writes to clear dirty issues and update jsonl_file_hash
|
||||
}
|
||||
|
||||
// isReadOnlyCommand returns true if the command only reads from the database.
|
||||
|
||||
Reference in New Issue
Block a user