Skip to content

Fix OpenCode Data Machine instruction repair#237

Merged
chubes4 merged 3 commits into
mainfrom
fix-dm-memory-system-fallback
Jun 16, 2026
Merged

Fix OpenCode Data Machine instruction repair#237
chubes4 merged 3 commits into
mainfrom
fix-dm-memory-system-fallback

Conversation

@chubes4

@chubes4 chubes4 commented Jun 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Persist Data Machine injectable memory files through OpenCode's top-level instructions config instead of relying on a request-time prompt fallback.
  • Update fresh OpenCode config generation to prefer datamachine memory injectable-files paths.
  • Update opencode.json repair to replace only managed datamachine-files instruction entries while preserving user-added instructions.

Verification

  • bash tests/repair-opencode-json.sh
  • node --experimental-strip-types tests/dm-agent-sync.mjs
  • node tests/effective-prompt/run.mjs
  • bash -n upgrade.sh && bash -n runtimes/opencode.sh && python3 -m py_compile lib/repair-opencode-json.py
  • git diff --check

@chubes4 chubes4 changed the title Fix Kimaki Data Machine memory prompt injection Fix OpenCode Data Machine instruction repair Jun 16, 2026
@chubes4 chubes4 merged commit e3433e8 into main Jun 16, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant