Block a user
feat(kugetsu): implement issue-driven session management
Research: OpenCode Headless CLI Patterns for Agent Orchestration
Implementation: Issue-Driven Session Management
Based on the research findings and our discussion, I have implemented the session management pattern for kugetsu.
New Architecture
**Patter…
Research: OpenCode Headless CLI Patterns for Agent Orchestration
Storage Format Comparison: YAML vs SQLite vs Directory Files
Comprehensive Comparison
Research: OpenCode Headless CLI Patterns for Agent Orchestration
Reproducible Headless Session Workflow
Step 1: Start TUI and create session
# Start TUI in background with PTY
opencode
# Then type any task in the TUI, e.g.:
# "Create /tmp/ready.…
Research: OpenCode Headless CLI Patterns for Agent Orchestration
Headless Workflow Discovery (2026-03-30)
After systematic testing, here are the key findings:
Finding 1: Sessions can be created via TUI and reused headlessly
Sessions created in…
Research: OpenCode Headless CLI Patterns for Agent Orchestration
Test 1: Plain
Test Results (2026-03-30)
Ran all 5 tests from this comment in a headless environment (SSH shell, no TTY). Results:
Test 1: Plain opencode run "task" headless
Command:…
Research: OpenCode Headless CLI Patterns for Agent Orchestration
Testing Plan: Headless PTY Behavior (2026-03-29)
Based on Issue #14 research, we identified that opencode run in headless/TTY-less environments exits immediately because the SSE stream has…
Research: OpenCode Headless CLI Patterns for Agent Orchestration
Additional Findings from kugetsu --debug Testing (2026-03-29)
Summary
Tested kugetsu --debug on the test-kugetsu-push task. Confirmed --debug works as designed (captures logs to…
feat(kugetsu): add --debug flag for real-time output capture
Phase 1: Headless/SSH Access
Research Complete: Issue #14
Deep-dived opencode v1.3.5 headless CLI patterns for programmatic agent orchestration. Key finding: opencode run -s <session-id> --continue is the recommended…
Research: OpenCode Headless CLI Patterns for Agent Orchestration
feat(kugetsu): add --debug flag for real-time output capture