Problem
Today, running /octo:review twice on the same PR treats each invocation as
independent. The reviewers see only the current diff — not what they (or the
other providers) flagged in the previous round, what was addressed, what's
still open, or what regressed.
In an iterative review workflow ("Codex flagged 3 issues, I fixed 2 and pushed,
review again"), the second pass lacks the context that would make it most
useful. The state manager tracks workflow phases (Discover → Define → Develop
→ Deliver) but not iterations of a single artefact.
Proposed shape
Per-PR state at ~/.claude-octopus/pr-state/<repo>/<pr-number>.json, populated
by /octo:review and consumed by subsequent runs:
- Round number, head SHA at time of review, findings array per provider
- On run N+1, augment the dispatch prompt with: previous findings + git diff
since round N's SHA + a brief "addressed / persistent / new / regressed"
classification
Optional companion command: /octo:review-history <pr> to print the timeline.
Why I'm asking before building
Happy to send a PR — but only if this fits the project's direction. A few open
questions:
- Is per-artefact iteration state in scope, or do you want that left to
claude-mem / external tooling?
- If in scope, should it live in the existing
state-manager.sh or as a
sibling pr-review-state.sh?
- Any concerns about extra Bash/JSON state files vs the current model?
If the answer is "yes please, here's how we'd want it shaped" — I'll fork
and submit. If it's a "no, intentional gap" — equally happy to hear that and
build it elsewhere.
Thanks for octopus, by the way — the multi-provider consensus model is the
cleanest take on this I've seen.
Problem
Today, running
/octo:reviewtwice on the same PR treats each invocation asindependent. The reviewers see only the current diff — not what they (or the
other providers) flagged in the previous round, what was addressed, what's
still open, or what regressed.
In an iterative review workflow ("Codex flagged 3 issues, I fixed 2 and pushed,
review again"), the second pass lacks the context that would make it most
useful. The state manager tracks workflow phases (Discover → Define → Develop
→ Deliver) but not iterations of a single artefact.
Proposed shape
Per-PR state at
~/.claude-octopus/pr-state/<repo>/<pr-number>.json, populatedby
/octo:reviewand consumed by subsequent runs:since round N's SHA + a brief "addressed / persistent / new / regressed"
classification
Optional companion command:
/octo:review-history <pr>to print the timeline.Why I'm asking before building
Happy to send a PR — but only if this fits the project's direction. A few open
questions:
claude-mem/ external tooling?state-manager.shor as asibling
pr-review-state.sh?If the answer is "yes please, here's how we'd want it shaped" — I'll fork
and submit. If it's a "no, intentional gap" — equally happy to hear that and
build it elsewhere.
Thanks for octopus, by the way — the multi-provider consensus model is the
cleanest take on this I've seen.