Skip to content

Sharing data between original PAI and PAI opencode #10

@wojteksbt

Description

@wojteksbt

Hi! I have an existing PAI setup (danielmiessler/Personal_AI_Infrastructure) where all personal data and overrides live in a separate repo using the “move out, link back” symlink pattern (https://github.com/ecielam/pai-personal-data).

Now I want to add PAI-OpenCode (Steffen025/pai-opencode) in a way that:

  • keeps a single “source of truth” personal-data repo (TELOS, identity, preferences, MEMORY, etc.)
  • lets me run both setups side-by-side:
    • Claude Code PAI in ~/.claude (hooks-based)
    • PAI-OpenCode in .opencode (plugins-based)
  • avoids collisions or semantic conflicts in shared directories (especially MEMORY/STATE and session artifacts)
  • preserves the rule “never overwrite user customizations” across upgrades/updates of either system

Questions:

  • Should WORK be shared or kept separate between Claude Code and OpenCode? Perhaps not?
  • Are there known conflict points in MEMORY (e.g., STATE/, session transcripts) when both runtimes write to the same tree, and is there a recommended convention to prevent collisions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions