Skip to content

review: flag implicit lifecycle state - #8203

Merged
kixelated merged 2 commits into
mainfrom
quest/m1/explicit-state/rule
Nov 8, 2026
Merged

kixelated merged 2 commits into
mainfrom
quest/m1/explicit-state/rule

Conversation

@kixelated

@kixelated kixelated commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

Finishes quest/m1/explicit-state/rule.md, the first child of the explicit-state epic, so the other children's reviews apply the check.

Summary

  • REVIEW.md gains a # State section with three checks: one enum or union per lifecycle whose variants carry their data, a terminal transition after the work that can fail (or recording the failure), and one lock per value. Each names the tree's existing shape to copy: PresentState (rs/moq-net/src/lite/session.rs), State in js/net/src/ietf/join.ts, the consuming finish(self) in rs/moq-rtmp/src/server.rs, and CompletionState (rs/moq-gst/src/sink/session.rs).
  • AGENTS.md gains one Guidelines line pointing at it, kept short since it loads every session.
  • Deletes the quest and rewrites the epic README's link to it.

Prompted by the maintainer's decision recorded in the quest (both REVIEW.md and AGENTS.md). Checked against the Claude memory guidance: specific, concise, detail kept out of the always-loaded file.

Choices made without asking

  • A separate # State section between Stance and Tests rather than a Stance bullet: it needs examples, and it stays clear of the Bounds bullet moq-dev/moq#8151 adds after Completeness (git merge-tree against its head is clean).
  • The section ends by saying the fix is the redesign, not a check rejecting the bad combination, matching the existing "Not findings" entry on defensive checks.

Impact

None: docs and agent instructions only. No API or wire change.

Validation

  • quest check --base origin/main: 600 documents ok.

Models

Size: S
Implementer: Claude Code, claude-opus-5-5, medium effort

🤖 Generated with Claude Code

(Written by Claude Opus 5.5 with medium)

Review

Rewritten by quest review after each round.

  • Reviewer: Codex, gpt-6.1-sol, high effort
  • Session: 01a1b829-538e-78c3-b011-378143596eae, round 1
  • Head: 69a740b
  • Base: origin/main at d389cfb
  • Score: 10/10, The instruction-only change implements the maintainer decision, references existing patterns, and removes the completed quest without dangling references; no actionable defects were found, and no builds or tests were run.
  • Findings: none

kixelated and others added 2 commits November 7, 2026 14:36
REVIEW.md gains a State check (one enum per lifecycle, terminal after the
fallible work, one lock per value) and AGENTS.md one line pointing at it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title Review and agent rule review: flag implicit lifecycle state Nov 7, 2026
@kixelated
kixelated marked this pull request as ready for review November 7, 2026 22:41
@coderabbitai

coderabbitai Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d431c249-0843-4823-aa7d-5613545b1437
Commits

Reviewing files that changed from the base of the PR and between d389cfb and 69a740b.

Files selected for processing: 4

  • AGENTS.md
  • REVIEW.md
  • quest/m1/explicit-state/README.md
  • quest/m1/explicit-state/rule.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@kixelated kixelated left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review by review (OpenAI)

Reviewed head 69a740b against base d389cfb.

No actionable findings in this instruction-only change. The review checks cover the completed quest's lifecycle representation, fallible terminal transitions and single-lock state requirements. The detailed examples stay in REVIEW.md, AGENTS.md points there, and the epic removes its completed child link while recording the outcome.

Direction: retain the distinction between a successful terminal transition and a terminal failure; both are represented in the detailed rule.

Verification limits: GitHub-only static review of all four file patches. No quest validation or builds run; this does not certify subsequent lifecycle refactors.

Rechecked open/non-draft state, full head/base and reviews immediately before posting.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Reviewed the full diff at 69a740b, checking every pattern the new rule cites against the tree rather than taking the body's word for it.

  • REVIEW.md gains a # State section: three checks — one enum or union per lifecycle with per-phase data in its variants, a terminal transition only after the work that can fail (or recording the failure), and one lock per value. Each cites an existing pattern to copy, and all four hold up: PresentState is a single enum whose variants carry their data (rs/moq-net/src/lite/session.rs:619), State is a discriminated union (js/net/src/ietf/join.ts:10), finish(self) consumes the publisher after its fallible work (rs/moq-rtmp/src/server.rs:1546), and CompletionState is one AtomicU8 behind typed transitions (rs/moq-gst/src/sink/session.rs:173). The closing line matches the existing # Not findings entry on defensive checks.
  • AGENTS.md pointer: a single Guidelines line states the same three checks and defers the detail to REVIEW.md, keeping the always-loaded file light as the quest's Prompting section asks.
  • Epic bookkeeping: rule.md is deleted, its ## Required edge removed, and the Plan bullet records the outcome. No Markdown reference to rule.md remains, and only the epic itself, not the deleted child, is linked from quest/m1/README.md.

The change is prompted by the maintainer decision recorded in the epic, which the repository's instruction-change policy requires.

(Written by DeepSeek V4.1 Flash 1017)

Pullfrog  | View workflow run | Using deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

@kixelated
kixelated added this pull request to the merge queue Nov 7, 2026
Merged via the queue into main with commit 9937f9f Nov 8, 2026
14 checks passed
@kixelated
kixelated deleted the quest/m1/explicit-state/rule branch November 8, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant