Skip to content

refactor(session): destroy Instruction facade#22089

Merged
kitlangton merged 1 commit intodevfrom
worktree-agent-ab37d084
Apr 12, 2026
Merged

refactor(session): destroy Instruction facade#22089
kitlangton merged 1 commit intodevfrom
worktree-agent-ab37d084

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • Removed makeRuntime and facade functions (clear, systemPaths, resolve) from Instruction
  • Converted test callers to effectful style with Effect.provide(Instruction.defaultLayer)
  • Kept loaded as a pure function (no runtime needed)

Verification

  • bun run typecheck — clean
  • bun run test test/session/instruction.test.ts — 9/9

@kitlangton kitlangton marked this pull request as ready for review April 12, 2026 00:04
@kitlangton kitlangton merged commit eea4253 into dev Apr 12, 2026
11 of 13 checks passed
@kitlangton kitlangton deleted the worktree-agent-ab37d084 branch April 12, 2026 00:04
mrsimpson pushed a commit to mrsimpson/opencode that referenced this pull request Apr 14, 2026
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant