Skip to content

fix: bridge Kimaki session attribution - #351

Merged
chubes4 merged 1 commit into
mainfrom
fix/149-kimaki-attribution-bridge
Aug 7, 2026
Merged

fix: bridge Kimaki session attribution#351
chubes4 merged 1 commit into
mainfrom
fix/149-kimaki-attribution-bridge

Conversation

@chubes4

@chubes4 chubes4 commented Aug 7, 2026

Copy link
Copy Markdown
Member

Summary

  • install a temporary OpenCode shell.env adapter that resolves a Kimaki session to its originating Discord thread
  • preserve native KIMAKI_THREAD_ID, cache concurrent lookups per session, fail closed, and evict deleted sessions
  • include the adapter in managed install, repair, upgrade, and restart verification paths
  • remove this compatibility bridge after Expose Discord thread attribution to OpenCode shell commands remorses/kimaki#184 ships and is installed

Verification

  • kimaki session discord-url ses_02da14c3affeIJafZTxyXkq1tA resolved the current Discord thread
  • bun tests/kimaki-session-attribution.mjs
  • bash tests/opencode-local-plugin-path.sh
  • bash tests/repair-opencode-json.sh
  • bash tests/post-upgrade-restore.sh
  • bash tests/kimaki-managed-plugin-rig.sh
  • bash tests/ci-coverage.sh
  • shell and Python syntax checks

Closes #149.

AI assistance: OpenAI gpt-5.6-sol via OpenCode implemented and verified the adapter, lifecycle wiring, tests, commit, and PR text. Chris Huber reviewed and remains responsible for the change.

Install a temporary OpenCode shell.env adapter that resolves each Kimaki session to its Discord thread until native attribution ships.

AI assistance: OpenAI gpt-5.6-sol via OpenCode implemented and verified the adapter, lifecycle wiring, and regression coverage. Chris Huber reviewed and remains responsible for the change.
@chubes4
chubes4 merged commit 0c0f84b into main Aug 7, 2026
45 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.

Fix or remove stale Kimaki runtime-signature env-var registrations

1 participant