JSONStorage always opens files in write mode causing data loss
JSONStorage always opens files in write mode causing data loss: a task in harness-adapters: Agentic coding environments (Harbor dataset). When using JSONStorage, the file is always opened in write mode ('w') regardless of the specified access mode parameter. This causes existing data to be…
The task
When using JSONStorage, the file is always opened in write mode ('w') regardless of the specified access_mode parameter. This causes existing data to be truncated and lost when opening an existing database file.
Part of harness-hub/harness-adapters.