Skip to content

fix: opencode detach, matrix prompt override, persistent config defaults - #87

Merged
c-h- merged 1 commit into
mainfrom
fix/bug-sweep
Feb 28, 2026
Merged

c-h- merged 1 commit into
mainfrom
fix/bug-sweep

Conversation

@c-h-

@c-h- c-h- commented Feb 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • All 433 existing tests pass
  • TypeScript typecheck passes
  • Biome lint passes
  • New tests for config loader (4 tests: missing file, valid JSON, malformed JSON, non-object JSON)
  • Updated matrix-parser tests (prompt now optional, validates non-string prompt type)

🤖 Generated with Claude Code

- Fix opencode adapter using pipes instead of log file fd, preventing
  full process detachment (Fixes #86)
- Make -p/--prompt optional when --matrix provides a prompt; matrix
  prompt used as fallback, CLI flag overrides (Fixes #84)
- Add ~/.agentctl/config.json for persistent CLI defaults (adapter,
  model, cwd, timeout) that CLI flags override (Fixes #67)

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@c-h-
c-h- merged commit 3d83271 into main Feb 28, 2026
1 check passed
@c-h- c-h- mentioned this pull request Mar 2, 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.

Bug: opencode adapter wrapper exits immediately while opencode process continues running Bug: --matrix prompt overridden by required -p flag Enhancement: Consider ~/.agentctl/config.json for persistent defaults

1 participant