Skip to content

fix(cli): distinguish review outcomes and expose scoped recovery metadata #97

Closed

Description

@abruption

Goal

Address the four Rebut findings from the source review against main 3c3cd34. Give automation a way to require a completed review body, expose unresolved Worker requests to their owner, and clarify profile timing and output-v2 compatibility.

Scope

  • Add opt-in strict exit handling for rebut review. Preserve the default exit and JSON contracts. Strict success requires a completed outcome with a valid review body.
  • Support Worker status --pending for the authenticated principal, cap it at 100 rows with a truncation indicator, and align status reservation/accounting metadata with local mode.
  • Document model and rate resolution at first submission, the ordered output-v2 hash contract, and client/backend compatibility in the packaged guides. Leave revision pinning, default-output rollout, and profile caps outside this change.

Acceptance criteria

  • Regress fresh success, incomplete/unknown/refused results, bodyless replays, and MCP tool errors without extra paid dispatches.
  • Verify Worker isolation between two principals, the 101-row boundary, metadata parity, and no provider calls from status tools.
  • Verify the documented legacy and extended hashes and compatibility with mocked local and Worker paths.
  • Independently review the design and implementation before opening a Draft PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions