Generalize Local Connector Bounded Reads
completetasks10/10generalize-local-connector-bounded-reads
openspec/changes/generalize-local-connector-bounded-reads/View on GitHub →
Artifacts
Official change artifacts tracked under openspec/.
Proposal
The Codex and Claude Code local collectors now avoid whole-file and whole-result-set memory spikes, but the same source-size-to-heap hazard remains in peer filesystem and local-DB connectors. Heavy local exports such as Twitter archives, iMessage chat.db, and Slack dump databases can be hundreds of megabytes or larger. A connector-wide contract is needed so bounded memory is not a one-off property of two agent connectors.
Design
bound-codex-collector-memory fixed the incident class that caused a Codex collector to peak around 1.4-1.8 GB RSS. The same audit found the fix is complete for codex and claude_code, but the class-level problem remains:
Tasks (10/10)
Spec Deltas (1)
Affected capabilities
Capability specs this change proposes to modify.