Skip to content

Commit 751ff52

Browse files
runtime: Add OpenCode mutation scope attribution
Track OpenCode tool and session lifecycle events so the SCE CLI can attribute mutations to their originating sessions and models. Forward mutation-boundary events through the new plugin and fail closed for write and shell-environment hooks while keeping cleanup best effort. Co-authored-by: SCE <sce@crocoder.dev>
1 parent f02b193 commit 751ff52

3 files changed

Lines changed: 244 additions & 16 deletions

File tree

‎.opencode/opencode.json‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.opencode/plugins/sce-mutation-scope.ts‎

Lines changed: 177 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎context/plans/opencode-mutation-scope-integration.md‎

Lines changed: 65 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)