[PR #1724] [MERGED] Reduce agent workflow credit burn #5238

Closed
opened 2026-10-22 04:14:30 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1724
Author: @cha1latte
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @cha1latte

Base: refactor ← Head: docs/credit-budget-workflow


📝 Commits (1)

  • 5bba43f Reduce agent workflow credit burn

📊 Changes

7 files changed (+70 additions, -10 deletions)

View changed files

📝 .github/agents/chai-workflow.md (+15 -2)
📝 .github/pull_request_template.md (+2 -2)
📝 AGENTS.md (+6 -0)
📝 skills/marinara-agent-workflow/SKILL.md (+18 -1)
📝 skills/marinara-agent-workflow/references/marinara-overrides.md (+12 -2)
📝 skills/marinara-agent-workflow/references/workflows/bugfix.md (+8 -1)
📝 skills/marinara-agent-workflow/references/workflows/feature-build.md (+9 -2)

📄 Description

## Linked issue

No linked issue; requested directly by maintainer.

Why this change

Agents using the repo workflow were spending credits unnecessarily by treating ordinary bugfix requests as full shipping loops and by escalating too quickly to browser proof, full validation, CodeRabbit, CI polling, and PR readiness work.

What changed

  • Added repo-level credit/workflow budget guidance to keep coding reasoning strong while avoiding unnecessary agents, browser proof, and PR loops.
  • Updated the agent workflow overlay and workflow cards so ordinary bugfix language defaults to local fix + verification only.
  • Clarified that commit, push, PR creation, CodeRabbit, CI polling, ready marking, and merge require explicit shipping language.
  • Updated UI proof guidance to use cheaper proof first and reserve browser proof for browser-state claims.
  • Updated the PR template validation wording from mandatory pnpm check to the matching validation command.

Refactor impact

Primary owner:

docs/workflow

Impact areas reviewed:

  • Root agent guidance
  • GitHub agent workflow overlay
  • PR template validation guidance
  • Marinara agent workflow skill and workflow cards

Boundary notes:

  • No runtime behavior changed.
  • No engine/shared API/feature/Rust/remote-runtime boundary changes.

Pressure points touched:

  • None; workflow guidance only.

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Browser screenshot/recording evidence added when UI/browser state is the claim
  • Remote runtime smoke checked when relevant

Manual verification notes

Codex verification:

  • pnpm check:docs passed.
  • pnpm check:line-endings passed.
  • git diff --check passed.
  • Searched tracked guidance for old expensive autopilot phrases such as small-bug autopilot, full automated bugfix ship loop, and Playwright, screenshot, or recording evidence; no matches remained in the shipped tracked guidance.
  • pnpm check:agent-workflow was not run because that script is not present on current upstream/refactor.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

Docs/release impact:

  • Updated repo agent/workflow guidance and PR template.
  • No user-facing runtime docs or release notes needed.

UI evidence

N/A; workflow guidance only.

Summary by CodeRabbit

  • Documentation
    • Updated workflow documentation with refined verification guidelines emphasizing resource-efficient proof methods.
    • Enhanced PR validation template with more specific checkpoints for type checking, builds, and architecture validation.
    • Clarified agent workflow guidance with staged proof requirements and credit preservation rules.
    • Added shipping request protocol documentation for workflow execution clarity.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/1724 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/31/2026 **Status:** ✅ Merged **Merged:** 5/31/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `docs/credit-budget-workflow` --- ### 📝 Commits (1) - [`5bba43f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5bba43fd7277c7c21d4a24debced517c8b00cc74) Reduce agent workflow credit burn ### 📊 Changes **7 files changed** (+70 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `.github/agents/chai-workflow.md` (+15 -2) 📝 `.github/pull_request_template.md` (+2 -2) 📝 `AGENTS.md` (+6 -0) 📝 `skills/marinara-agent-workflow/SKILL.md` (+18 -1) 📝 `skills/marinara-agent-workflow/references/marinara-overrides.md` (+12 -2) 📝 `skills/marinara-agent-workflow/references/workflows/bugfix.md` (+8 -1) 📝 `skills/marinara-agent-workflow/references/workflows/feature-build.md` (+9 -2) </details> ### 📄 Description ## Linked issue No linked issue; requested directly by maintainer. ## Why this change Agents using the repo workflow were spending credits unnecessarily by treating ordinary bugfix requests as full shipping loops and by escalating too quickly to browser proof, full validation, CodeRabbit, CI polling, and PR readiness work. ## What changed - Added repo-level credit/workflow budget guidance to keep coding reasoning strong while avoiding unnecessary agents, browser proof, and PR loops. - Updated the agent workflow overlay and workflow cards so ordinary bugfix language defaults to local fix + verification only. - Clarified that commit, push, PR creation, CodeRabbit, CI polling, ready marking, and merge require explicit shipping language. - Updated UI proof guidance to use cheaper proof first and reserve browser proof for browser-state claims. - Updated the PR template validation wording from mandatory `pnpm check` to the matching validation command. ## Refactor impact Primary owner: docs/workflow Impact areas reviewed: - Root agent guidance - GitHub agent workflow overlay - PR template validation guidance - Marinara agent workflow skill and workflow cards Boundary notes: - No runtime behavior changed. - No engine/shared API/feature/Rust/remote-runtime boundary changes. Pressure points touched: - None; workflow guidance only. ## Validation - [ ] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [ ] `pnpm typecheck` passes locally - [ ] `pnpm build` passes locally - [ ] `pnpm check:architecture` passes locally - [ ] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Browser screenshot/recording evidence added when UI/browser state is the claim - [ ] Remote runtime smoke checked when relevant ### Manual verification notes Codex verification: - `pnpm check:docs` passed. - `pnpm check:line-endings` passed. - `git diff --check` passed. - Searched tracked guidance for old expensive autopilot phrases such as `small-bug autopilot`, `full automated bugfix ship loop`, and `Playwright, screenshot, or recording evidence`; no matches remained in the shipped tracked guidance. - `pnpm check:agent-workflow` was not run because that script is not present on current `upstream/refactor`. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims Docs/release impact: - Updated repo agent/workflow guidance and PR template. - No user-facing runtime docs or release notes needed. ## UI evidence N/A; workflow guidance only. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated workflow documentation with refined verification guidelines emphasizing resource-efficient proof methods. * Enhanced PR validation template with more specific checkpoints for type checking, builds, and architecture validation. * Clarified agent workflow guidance with staged proof requirements and credit preservation rules. * Added shipping request protocol documentation for workflow execution clarity. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:14:30 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5238
No description provided.