Skip to content

chore(claude): give agent prompts a finish line and drop needless stops - #1572

Merged
bmc08gt merged 1 commit into
code/cashfrom
chore/agent-prompt-finish-lines
Sep 25, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
chore/agent-prompt-finish-lines

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

Several agents and skills listed steps but had no check that the result works. A few also stopped mid-run to ask about local edits that are easy to undo.

Finish lines

File Done when
test-gap-finder generated tests pass testDebugUnitTest; leftover TODO stubs are listed
module-scaffolder compileDebugKotlin passes for the module, and for the app on feature modules
dep-review the Recommended Test Plan passes after applying changes
fetch-protos the Step 4 build passes again after domain-model edits and scaffolding (it previously ran before them)
triage the brief names a root cause with .kt:NN evidence, or states confidence and what's missing
CLAUDE.md touched modules' unit tests pass and :apps:flipcash:app:compileDebugKotlin succeeds

triage also drops "follow the steps below exactly" and the 2-hop cap on reading the call chain.

Confirmation stops removed

  • module-scaffolder no longer asks which dependencies to add. It runs as a subagent and can't reach the user, so the question ended the run early. It now adds none and lists likely additions.
  • fetch-protos applies domain-model edits without asking, defaults new UserFlags fields to read-only, and scaffolds new RPCs only when invoked with scaffold (e.g. /fetch-protos flipcash scaffold).
  • dep-review applies required changes in a worktree created from the PR's headRefName, instead of asking first and running gh pr checkout in the main checkout.

Push, merge, commit, and release gates are unchanged.

Several agents and skills described steps but no check that the result
works, and a few stopped mid-run to ask about local, reversible edits.

Finish lines:
- test-gap-finder: generated tests pass testDebugUnitTest
- module-scaffolder: the module (and the app, for features) compiles
- dep-review: the recommended test plan passes after applying changes
- fetch-protos: re-run the build after domain-model edits and scaffolding;
  Step 4 ran before them
- triage: the brief names a root cause with .kt:NN evidence, or states
  confidence and what is missing; steps may be skipped, and the 2-hop cap
  on call-chain reading is gone
- CLAUDE.md: a default definition of done for code changes

Confirmation stops removed:
- module-scaffolder no longer asks for dependencies; a subagent can't
  reach the user, so it returned early
- fetch-protos applies domain-model edits, defaults new UserFlags fields
  to read-only, and scaffolds only when invoked with `scaffold`
- dep-review applies changes in a worktree instead of asking first, and
  no longer runs `gh pr checkout` in the main checkout

Push, merge, commit, and release gates are unchanged.
@bmc08gt bmc08gt self-assigned this Sep 25, 2026
@github-actions github-actions Bot added the type: chore Maintenance, config, CI/CD label Sep 25, 2026
@bmc08gt
bmc08gt merged commit 0e980db into code/cash Sep 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Maintenance, config, CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant