Skip to content

Fix dm-agent-sync OpenCode agent mutation#152

Closed
chubes4 wants to merge 1 commit into
mainfrom
fix/dm-agent-sync-rework-147
Closed

Fix dm-agent-sync OpenCode agent mutation#152
chubes4 wants to merge 1 commit into
mainfrom
fix/dm-agent-sync-rework-147

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 28, 2026

Summary

  • Narrow dm-agent-sync.ts to only recompose Data Machine memory at OpenCode session config time.
  • Stop querying all Data Machine agents, registering them into OpenCode config, or writing agent.build.prompt / agent.plan.prompt.
  • Update tests and docs to describe selected-agent instructions plus memory recomposition.

Closes #147.

Verification

  • node tests/dm-agent-sync.mjs
  • bash tests/repair-opencode-json.sh
  • ./tests/opencode-local-plugin-path.sh
  • ./tests/bridge-render.sh
  • ./tests/datamachine-kimaki-adapter.sh
  • ./tests/opencode-wrapper-removal.sh
  • bash -c 'set -e; fail=0; while IFS= read -r -d "" f; do if ! bash -n "$f"; then echo "FAIL: $f"; fail=1; fi; done < <(find . -type f -name "*.sh" -not -path "./.git/*" -print0); exit "$fail"'

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the code, test, and documentation updates for Chris to review and verify.

@chubes4
Copy link
Copy Markdown
Member Author

chubes4 commented May 28, 2026

Superseded by integration PR #162, which combines the Kimaki 0.13 cleanup work and resolves the overlapping bridge/test conflicts.

@chubes4 chubes4 closed this May 28, 2026
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.

Rework or remove dm-agent-sync OpenCode plugin

1 participant