Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jkrandom-sudo/opencode-plugin-loop
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b192f19
Choose a base ref
...
head repository: jkrandom-sudo/opencode-plugin-loop
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.7.2
Choose a head ref
  • 2 commits
  • 14 files changed
  • 3 contributors

Commits on Jul 26, 2026

  1. fix(loop): eval P1 fixes — prompt fidelity, multi-process task safety…

    …, tool validation (0.7.2)
    
    Addresses the three P1 findings from the OpenCode/Claude Code /loop
    comparison eval (L10/L11/L14):
    
    - LOOP-001: flags (--once/--all/--jitter=*) are parsed only in the option
      prefix before the prompt begins; `--` terminates flag parsing; prompt
      text is kept as the original substring, so flag-like text, whitespace,
      and newlines in the body survive verbatim (was: silently stripped).
    - LOOP-002: tasks now record ownerPid/ownerStartedAt. Store load drops
      only tasks whose owner process is confirmed dead (signal-0 probe,
      conservative on probe errors); tasks owned by other live OpenCode
      processes survive and stay visible via --all. The instance lock now
      only serializes same-process instances (shouldFire), so a second
      process fires its own tasks instead of starving.
    - LOOP-003: shared validateFixedInterval (>=1000ms) used by the slash
      parser, loop_schedule create, and set_fixed; tool schema gains
      .min(1000); adaptive/maintenance create with intervalMs is rejected.
    
    Also: bare `/loop stop` cancels every task in scope (current session, or
    all sessions with --all); `/loop stop <id>` stays single-task cancel.
    
    Verified end-to-end against real opencode serve instances: L14 marker
    verbatim, L11 dual-process coexistence + dead-owner cleanup, L10 tool
    rejection, and stop scoping. 164/164 unit tests pass.
    
    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    jkrandom and claude committed Jul 26, 2026
    Configuration menu
    Copy the full SHA
    fd69439 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #17 from jkrandom-sudo/fix/p1-eval-findings

    fix(loop): eval P1 fixes — prompt fidelity, multi-process safety, tool validation (0.7.2)
    jkrandom-sudo authored Jul 26, 2026
    Configuration menu
    Copy the full SHA
    639eb3d View commit details
    Browse the repository at this point in the history
Loading