backend
無料Backend Java — Spring Boot controllers/services, JUnit controller tests, MakeMe. Read this first for any backend work. Use when working on the Java Spring backend.
日本語の概要は準備中です。原文の説明を表示しています。
Reviews planned, completed planless quick, or quick-to-planned execution against original intent, aggregate commits, current whole-product architecture, and tests, including after cleanup. Process review is opt-in: it runs only when the project sets `skipProcessRetrospective: false` or the request asks to include it, and needs available agent history. Use for execution retrospective, product review, or backlog recommendations from current/supplied history. Supports `--skip-process` and `--skip-product`. May plan corrections, record process findings in `DearDough.md` (500-line warning, 1,000-line ceiling, recoverable lower-priority replacement on overflow), and recommend product work. Finishes quietly when settled, surfaces unresolved attention, and never implements findings.
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Review implementation and product learning by default, and process when enabled. Return evidence and needed correction plans; do not implement, commit, push, or change the backlog. Leave closure to dough-story-wrap-up.
An execution retrospective may start once implementation is delivered while its applicable CI result remains pending. Treat the retained observer, publication target, accepted revision, and pending state as input, not as a missing completion prerequisite. Review the delivered implementation while observation continues and state which conclusions remain conditional on unresolved CI. Do not invoke the CI wait, stop or replace its observer, acknowledge its events, or claim final execution/review handoff; the invoking execution owns those actions through its completion operation.
Select reviews before focus-specific actions or context, including log-location resolution.
Independent, combinable --skip-process and --skip-product omit their analysis, suggestions,
and destination access/writes. Unresolved process selection excludes that focus too. Other
reviews retain their authority, implementation planning, and direction consideration.
Read this project's optional <established-planning-directory>/open-dough.json (default:
<project-root>/.planning/open-dough.json), not a skill-local or other project's file.
Expect a JSON object with optional boolean skipProcessRetrospective: false enables process;
missing file/key or true skips it like --skip-process. Ignore unknown keys; never create,
rewrite, or repair it.
Explicit process selection overrides storage, including errors: --skip-process skips;
an include-process request enables without a new flag. Clarify contradictory instructions.
Otherwise unreadable/malformed/non-object JSON or non-boolean recognized values leave selection
unresolved: report error, omit process analysis/log access, and continue independent reviews.
Start from a capability/story phrase, correction plan, commit, or current/supplied conversation. Resolve project navigation, focused tests, cleanup lifecycle, relevant plan/story locations and statuses, and direction; backlog conventions only for dependent product recommendations. Missing decision-relevant context stops that path with a named gap, not invented conventions. Preserve worktree changes. Separate report artifacts require a request; allowed writes are correction plans, a new correction's minimal story, and process recording below. Quick inputs follow the recovery rules below.
Make every allowed write in one owned checkout. When an invoking execution supplies its execution checkout as the write location, write there; that execution commits those records in its completion commit. A landing or wrap-up running the process review of its run supplies its own checkout as that execution checkout and commits the records itself. Otherwise, immediately before the first write, select or reuse an owned workspace under prepare records in an owned workspace, write there, and report the written result's pending disposition. Do not write in the checkout the review started from unless it is that supplied execution checkout. A review that writes nothing creates no workspace. Resolve the process-log path and correction story and plan locations in the chosen checkout.
Before residue assessment, read refactoring and its checks; use the smell definitions on the aggregate result without editing. For needed correction planning, load slice planning and follow its bounded-input, proof, sizing, and destination gates. Load backlog guidance only for dependent enabled recommendations.
Search conversation, supplied history, current planning, then Git history. Establish whether work was planned, explicitly planless, quick-to-planned, or planned with normal cleanup. File absence establishes none of these. Recover original intent before judging implementation:
Completion requires every planned slice done (history proves deleted plans), or quick conversation/repository proof of delivered outcome. Quick-to-planned needs a completed remaining plan plus quick/planned proof covering the original outcome without gaps or assumed repeated work. Missing kind, continuity, contract, completion, or proof limits dependent conclusions only. Two equally plausible executions need user selection; continue independently supported review. Pending CI alone does not make delivered implementation incomplete. Preserve its explicit pending state and do not convert it into passing validation.
Manifest each related SHA with a reason from story/plan, retained published revisions, message, diff, or transcript. When those published revisions exist, they are the related set; do not attribute a whole-trunk range, interleaved sibling work, or a rewritten unpublished SHA (use its published replacement). Inspect nearby/intervening commits and exclude unrelated work with reasons. Ambiguous attribution limits claims; planning-only commits are provenance. Use a net diff only for an uncontaminated range, otherwise selected patches together and files at the last related implementation commit. Review history read-only, excluding later work.
Read direction once, prioritizing alignment/digression questions and explaining exceptions (e.g. urgent fixes). If absent, report unassessed alignment and continue; never invent, propose, or edit it. Route defects to corrections, process learning to findings, and product learning/priorities to advice. Users own constraint/outcome changes. Historical contracts stand; later direction governs future work.
Compare original intent, boundaries, approved changes, and promised proof to aggregate code, tests, docs, and proof. Assess only completed slices of unfinished plans; unexecuted work is not missing behavior, nor its temporary predecessor obsolete. Findings need evidence and plausible impact: bugs, regressions, drift/disputes, refactoring residue, architecture, or test coverage/cost.
Assess whole-product domain responsibilities, dependencies, and representations, including relevant untouched code. Check coherent rules versus successive-example cases and explain impact, such as divergent rules or coordinated edits. Delivery sequence cannot justify boundaries; helpers alone cannot prove cohesion. Apply ADR awareness with human-owned conflicts. Older weaknesses may need correction; only provenance establishes an execution regression.
Identify whether E2E tests drove development, then assess the whole suite, including older tests and executions adding no E2E tests, under behavioral test guidance. Ground retention, detail downgrades, and consolidation in coverage/cost; preserve journey information and integration proof. Use project testing guidance or the shared black-box fallback. Whole-suite assessment needs no full run; use focused read-only checks to confirm/dismiss findings.
Inspect worked-around/replaced branches, flags, callers, fixtures, compatibility paths, overlapping/ obsolete-internal tests, and historical documentation. Removed temporary behavior warrants negative proof/docs only when absence remains required. Exclude cosmetic/speculative/unsupported findings, duplicate symptoms, and approved decisions mislabelled as drift. Before planning removal of a disputed restriction, use plan-conflict handoff. Preserve genuine constraints; await human resolution of disputed corrections while independent review continues. Plan compliance alone does not settle justification.
Recheck findings against current revision/worktree; report later fixes and deduplicate by root cause. Current evidence bounds corrections, including beyond the old footprint, while preserving scope and promises. No findings means unchanged plans; broader review grants no new feature promises.
Give suite cleanup explicit correction ownership, including older redundant tests. For consolidation, name surviving meaningful coverage/integration proof (retained E2E may suffice). For detail downgrades, require replacement unit coverage before narrowing/removing E2E tests. Plan cleanup; do not perform it.
Only the designated writer changes the plan when two authorized reviews cover one execution; the other returns evidence. Continue enabled reviews; writing the follow-up neither queues nor authorizes it; a separate request executes the correction, and dough-execute-plan publishes it through increment and repair publication. This review does not publish.
Review the coordinator's existing conversation and tool results. Inspect relevant sub-agent history through available host access when needed. If required history is unavailable, report the affected process review unavailable and continue independently supported reviews. Persist supported findings under the recording rules below; execution state follows the project's plan and Git conventions.
Use that history and the user's direction to identify waste, rule-induced churn, missing stops, disproved sizing/decomposition, digression, and useful practices. Assess instruction and context usability, including this review's avoidable rereading, duplication, and reconstruction. Separate necessary investigation, observation, and inferred cost/cause. Cite recorded token counts or repeated work with qualified cost; brevity/skipped investigation alone proves no gain. Insufficient records limit conclusions: invent no events, edit no guidance, require no measurements or recursive review. Process proposals stay outside correction plans.
When enabled process review produces supported findings, read and follow process-finding recording. No findings or an identified identical rereview means no log change or reference load; skipped or unresolved process review does not access the log or its recording references.
Inspect direction and relevant queue entries/stories; unrelated urgent fixes need no queue survey. Preserve priorities; connect supported learning to recommendations or reasoned no-change. Unread entries stay unvalidated; inspirations are hypotheses. Unknown beneficiaries/outcomes warrant an exploration proposal, not discovery/decomposition. Missing conventions leave conclusions provisional: report gaps, invent no files/learning, and continue independent reviews.
Send recommendations, proposals, and unresolved choices to story wrap-up; backlog/story edits require that workflow or separately requested maintenance. Leave disputed goals/scope, conflicting priorities, and unknown beneficiaries/outcomes unresolved.
Retain work identity/completion, provenance, manifest/boundary, judged proof, impact-ordered findings and evidence limits in available review context and their existing record homes. Classify planning as amended, new, read-only, unchanged, or unavailable pending execution-boundary evidence, with any correction story and plan links. Retain enabled process proposals, recording results, and product advice/reasoned no-change; unresolved process selection contributes its error only. Distinguish evidence from hypotheses and recommendations from unresolved choices. Preserve a pending CI target/revision as pending, without a success claim. These facts support continuation, recovery and requested details; they require no separate report artifact or persistent attention ledger.
Apply shared completion attention to the current unresolved needs. A standalone review owns its response: finish quietly when settled, without a routine success/no-findings recap or completion banner. When attention remains, put the shared prominent attention phrase before the actionable issue, consequence, next action or decision, owner when known, and relevant evidence/record links. A standalone written draft awaiting keep or disposition requires attention; an already settled record does not. Requested details or an explicit review/retain stop still receive the needed review evidence. Name missing attribution, proof, requested process history or failed recording and limit completion claims to the supported review; preserve partial conclusions and the input/action needed to continue.
When invoked automatically by an active dough-execute-plan execution, return
immediately to that execution's completion operation, without a separate visible
final report or confirmation. Return the review's completion or partial state,
the retained evidence and record links, product advice/skip reasons, and current
unresolved attention. A successful return completes review, not the execution's final CI
handoff; the invoking execution owns its combined final response. Repeated or
overlapping reviews contribute each currently unresolved item once under its
current disposition and designated writer; a later successful check cannot
settle a finding. If an authorized CI repair later changes reviewed code, resume
only the affected conclusions using the retained review state.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Backend Java — Spring Boot controllers/services, JUnit controller tests, MakeMe. Read this first for any backend work. Use when working on the Java Spring backend.
日本語の概要は準備中です。原文の説明を表示しています。
Backend Java production code, Spring Boot controllers/services/repositories, controller return values, imports, schema ERD pointer. Use when editing backend production Java.
日本語の概要は準備中です。原文の説明を表示しています。
Backend Java tests, controller-level stable-boundary tests, JUnit, @Nested, MakeMe builders, @Transactional, parameterized tests. Use when writing or changing backend JUnit tests.
日本語の概要は準備中です。原文の説明を表示しています。
related to donut CLI. Use when working on donut-cli.
日本語の概要は準備中です。原文の説明を表示しています。
Set up and run the Donut dev environment on Cursor Cloud VM (no Nix). Use when working on Cloud VM, running tests on Cloud VM, or encountering command errors related to missing nix. Triggers on: cloud VM, cloud agent, no nix available, /workspace path.
日本語の概要は準備中です。原文の説明を表示しています。
Regenerate docs/database-erd.md from MySQL information_schema (Mermaid ERD: foreign keys and key columns). Use after Flyway schema changes, new migrations, or when the diagram is stale. Triggers on: database ERD, database-erd.md, export_database_erd, schema diagram, ER diagram after migration.
日本語の概要は準備中です。原文の説明を表示しています。