paperclip/packages
lempkey e3804f792d fix: gate instructions file I/O and commandNotes on fresh sessions only
On resumed sessions, skipping --append-system-prompt-file (the original
fix) left two secondary issues:
- commandNotes still claimed the flag was injected, producing misleading
  onMeta logs on every resumed heartbeat
- The instructions file was still read from disk and a combined temp file
  written on every resume, even though effectiveInstructionsFilePath was
  never consumed

Hoist canResumeSession before the I/O block and gate both the disk
operations and commandNotes construction on !canResumeSession / !sessionId.

Adds three regression tests: commandNotes is populated on fresh sessions,
empty on resume; and no agent-instructions.md is written on resume.
2026-04-08 06:57:21 -05:00
..
adapter-utils Merge pull request #2397 from HearthCore/fix/win11-opencode-cmd-shell 2026-04-07 16:56:36 -05:00
adapters fix: gate instructions file I/O and commandNotes on fresh sessions only 2026-04-08 06:57:21 -05:00
db Generate execution policy migration 2026-04-07 17:43:10 -05:00
mcp-server fix(mcp): tighten api request validation 2026-04-06 21:56:13 -05:00
plugins fix(security): bump rollup to 4.59.0 to fix path-traversal CVE 2026-04-05 14:33:05 -07:00
shared Merge pull request #1961 from antonio-mello-ai/fix/webhook-github-sentry-signing-modes 2026-04-07 22:58:14 -05:00