Skip to content

[feature] inspect: expose per-attempt model, timing, outcome and evidence #57

Closed

Description

@smota

Split from #50 (item 6).

Problem

The store already records each attempt's harness, model_ref, started_at, ended_at and outcome (attempts table, crates/meshloop-adapters/src/store.rs:196), along with evidence rows. But inspect --json (crates/meshloop-cli/src/main.rs ~1210) only shows node state, liveness, worktree and note.

To see which model did the work, how long it took, how many retries it used, or what verification found, an operator has to query SQLite directly or read the harness transcripts. That was needed to estimate the cost of the #44/#45 run.

Proposal

  • inspect --task <id> (and inspect --json per node, or behind an --attempts flag) lists each attempt with attempt_id, harness, model_ref, started_at, ended_at, duration_s and outcome, plus its evidence rows: kind, tool, exit, and summary_redacted or the path of the on-disk log.
  • Add a run summary to status: total attempts, retries used, and total worker wall time.
  • No schema change is expected. If one turns out to be needed, it follows the forward-only migration rule.

Relations

This is the read side for evidence that other issues add:

Those issues can each write their rows independently. This one makes all rows visible in one place.

Acceptance criteria

  • Fixture test: a node with two attempts → inspect --task lists both, each with harness, model_ref, timestamps, outcome and evidence rows.
  • status --json includes an attempts and wall-time summary.
  • No redacted field is shown unredacted.

🤖 Generated with Claude Code

Activity

  1. smota commented on Oct 7, 2026

    @smota
    OwnerAuthor

    Workflow status: implemented in #69 (branch work/supervision-surface, base main @ d058307). Executor: Meshloop with Claude Sonnet workers, orchestrated and reviewed by Claude Code (Opus 5.5). Plans accepted by @smota. xtask check passes on bad9d72. Next owner: an independent reviewer (for-review:), then a human merges.

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

    drafted-by:claudeIssue, plan, or spec drafted by Claude in the current sessionenhancementNew feature or requestfor-implementation:claudeImplementation routed to Claude

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions