[PR #1737] [MERGED] Clarify pre-PR check gate #5247

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

📋 Pull Request Information

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

Base: refactor ← Head: docs/pre-pr-check-gate


📝 Commits (4)

  • 7eb1db3 Clarify pre-PR check gate
  • d2f9c8b Merge remote-tracking branch 'upstream/refactor' into docs/pre-pr-check-gate
  • dc5ea06 Fix AgentEditor test mock credit label
  • 31185c2 Merge remote-tracking branch 'upstream/refactor' into docs/pre-pr-check-gate

📊 Changes

6 files changed (+25 additions, -2 deletions)

View changed files

📝 .github/agents/chai-workflow.md (+7 -0)
📝 .github/pull_request_template.md (+1 -0)
📝 AGENTS.md (+6 -0)
📝 skills/marinara-agent-workflow/references/workflows/bugfix.md (+5 -0)
📝 skills/marinara-agent-workflow/references/workflows/review-and-pr.md (+5 -1)
📝 src/features/catalog/agents/components/AgentEditor.test.tsx (+1 -1)

📄 Description

Linked issue

N/A

Why this change

  • Clarifies the workflow split between ordinary local bugfixes and PR/shipping work.
  • Makes it explicit that pnpm check is the pre-PR gate and includes the unused-code check.
  • Helps contributors and agents catch unused-code failures before CI is the first place they appear.

What changed

  • Added PR-boundary pnpm check guidance to AGENTS.md.
  • Updated the PR template with a dedicated pnpm check checkbox that mentions unused-code checks.
  • Clarified in agent workflow docs that ordinary fix the bug work stays focused/local, while shipping/PR work runs the full pre-PR gate.

Refactor impact

Primary owner:

docs/workflow

Impact areas reviewed:

  • Bugfix workflow
  • PR/shipping workflow
  • PR template validation wording
  • Root agent guidance

Boundary notes:

  • Documentation/workflow-only change.
  • No product, engine, shared API, feature UI, Rust command, storage, or remote-runtime behavior changed.

Pressure points touched:

  • None.

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 check passes locally before PR push/handoff, including the unused-code check
  • 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

  • pnpm check:docs passed.
  • pnpm typecheck passed after removing a duplicate agentCreditLabel mock property from AgentEditor.test.tsx.
  • pnpm build passed.
  • pnpm check passed, including the unused-code check.

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

UI evidence

N/A


🔄 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/1737 **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/pre-pr-check-gate` --- ### 📝 Commits (4) - [`7eb1db3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7eb1db3e3b6a9d5e5f3a29c49ba7cc4c720bf0a7) Clarify pre-PR check gate - [`d2f9c8b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d2f9c8b9fb0bdb81779709cf797a3df9444d50b0) Merge remote-tracking branch 'upstream/refactor' into docs/pre-pr-check-gate - [`dc5ea06`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dc5ea06ce774e000300b81b8ba8f6018ee9cea76) Fix AgentEditor test mock credit label - [`31185c2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/31185c2cc8d28c637644785189c2a06b27d9569b) Merge remote-tracking branch 'upstream/refactor' into docs/pre-pr-check-gate ### 📊 Changes **6 files changed** (+25 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.github/agents/chai-workflow.md` (+7 -0) 📝 `.github/pull_request_template.md` (+1 -0) 📝 `AGENTS.md` (+6 -0) 📝 `skills/marinara-agent-workflow/references/workflows/bugfix.md` (+5 -0) 📝 `skills/marinara-agent-workflow/references/workflows/review-and-pr.md` (+5 -1) 📝 `src/features/catalog/agents/components/AgentEditor.test.tsx` (+1 -1) </details> ### 📄 Description ## Linked issue N/A ## Why this change - Clarifies the workflow split between ordinary local bugfixes and PR/shipping work. - Makes it explicit that `pnpm check` is the pre-PR gate and includes the unused-code check. - Helps contributors and agents catch unused-code failures before CI is the first place they appear. ## What changed - Added PR-boundary `pnpm check` guidance to `AGENTS.md`. - Updated the PR template with a dedicated `pnpm check` checkbox that mentions unused-code checks. - Clarified in agent workflow docs that ordinary `fix the bug` work stays focused/local, while shipping/PR work runs the full pre-PR gate. ## Refactor impact Primary owner: docs/workflow Impact areas reviewed: - Bugfix workflow - PR/shipping workflow - PR template validation wording - Root agent guidance Boundary notes: - Documentation/workflow-only change. - No product, engine, shared API, feature UI, Rust command, storage, or remote-runtime behavior changed. Pressure points touched: - None. ## 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 check` passes locally before PR push/handoff, including the unused-code check - [ ] `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 - `pnpm check:docs` passed. - `pnpm typecheck` passed after removing a duplicate `agentCreditLabel` mock property from `AgentEditor.test.tsx`. - `pnpm build` passed. - `pnpm check` passed, including the unused-code check. ## 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 ## UI evidence N/A --- <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:35 +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#5247
No description provided.