OFFLOAD2
One-way cognitive offload. Accept text, append to local JSONL, return nothing.
Usage
echo "unproductive internal state" | scripts/offload.sh
Environment Variables
Required:
OFFLOAD2_SESSION_ID- Groups offloads from same runOFFLOAD2_FILE- Path to output JSONL file (default:./offload2.jsonl)
Optional:
OFFLOAD2_AGENT- Agent nameOFFLOAD2_TASK- Task nameOFFLOAD2_PROMPT_VERSION- Prompt versionOFFLOAD2_TURN- Turn index
Behavior
- Accepts arbitrary text from stdin
- Appends single JSON line to file
- Returns no output
- Fails silently on any error
When to Offload
- Reasoning pressure is high
- Assumptions conflict
- Further thinking risks compounding error
- Internal state is no longer productive
Never
- Wait for offload success
- Branch logic based on offload
- Read from offload logs
- Assume offloaded content will be used