[PR #1880] [MERGED] Loosen discovery PR body parsing #5334

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1880
Author: @cha1latte
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/2/2026
Merged by: @Xelvanis

Base: refactor ← Head: fix/discovery-pr-body-format


📝 Commits (2)

  • 236679e Loosen discovery PR body parsing
  • 8bd1d0b Scope discovery N/A reason parsing

📊 Changes

1 file changed (+118 additions, -62 deletions)

View changed files

📝 scripts/check-discovery-metadata.mjs (+118 -62)

📄 Description

Linked issue

N/A

Why this change

The Discovery metadata PR gate was too strict about the PR body format. It only accepted checked template checkbox lines, so equivalent prose like N/A: bugfix only... could fail even when the PR body clearly documented the decision.

What changed

  • Loosened scripts/check-discovery-metadata.mjs so the Feature Discoverability parser accepts prose N/A, not applicable, no discovery metadata update needed, and prose Updated src/features/shell/discovery/ decisions.
  • Kept the original checkbox template support.
  • Changed the PR-aware gate to reject conflicting decisions instead of requiring exactly one checkbox-style decision.

Refactor impact

Primary owner:

  • docs/workflow

Impact areas reviewed:

  • Discovery metadata PR-aware CI gate
  • Discovery metadata registry validation
  • PR-body Feature Discoverability decision parsing

Boundary notes:

  • No engine, feature UI, shared API, Rust, storage, provider, or remote-runtime behavior changed.

Pressure points touched:

  • Discovery metadata CI/parser script only.

Validation

  • Focused proof or matching lane command passes locally
  • Full pnpm check passes before PR push/handoff
  • Human/manual validation completed by contributor or reviewer

Manual verification notes

Codex verification:

  • node scratch\discovery-pr-body-parser-repro.mjs passed.
  • pnpm check:discovery passed.
  • PR-aware prose N/A fixture passed with node scripts\check-discovery-metadata.mjs --pr-aware --changed-from HEAD~1.
  • PR-aware missing-decision fixture failed as expected and still blocked missing discovery metadata.
  • pnpm check passed.

Feature Discoverability

Check exactly one:

  • Updated src/features/shell/discovery/ because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.
  • N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find.

Reason:

  • CI/tooling parser bugfix only; no new user-discoverable product behavior.

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: CI/tooling parser change only.


🔄 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/1880 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 6/2/2026 **Status:** ✅ Merged **Merged:** 6/2/2026 **Merged by:** [@Xelvanis](https://github.com/Xelvanis) **Base:** `refactor` ← **Head:** `fix/discovery-pr-body-format` --- ### 📝 Commits (2) - [`236679e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/236679e8ed6ef4d9e0ccab269305d7ea4617935d) Loosen discovery PR body parsing - [`8bd1d0b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8bd1d0ba50d6e98c072cf94bb1c5e14186a94554) Scope discovery N/A reason parsing ### 📊 Changes **1 file changed** (+118 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `scripts/check-discovery-metadata.mjs` (+118 -62) </details> ### 📄 Description ## Linked issue N/A ## Why this change The Discovery metadata PR gate was too strict about the PR body format. It only accepted checked template checkbox lines, so equivalent prose like `N/A: bugfix only...` could fail even when the PR body clearly documented the decision. ## What changed - Loosened `scripts/check-discovery-metadata.mjs` so the Feature Discoverability parser accepts prose `N/A`, `not applicable`, `no discovery metadata update needed`, and prose `Updated src/features/shell/discovery/` decisions. - Kept the original checkbox template support. - Changed the PR-aware gate to reject conflicting decisions instead of requiring exactly one checkbox-style decision. ## Refactor impact Primary owner: - docs/workflow Impact areas reviewed: - Discovery metadata PR-aware CI gate - Discovery metadata registry validation - PR-body Feature Discoverability decision parsing Boundary notes: - No engine, feature UI, shared API, Rust, storage, provider, or remote-runtime behavior changed. Pressure points touched: - Discovery metadata CI/parser script only. ## Validation - [x] Focused proof or matching lane command passes locally - [x] Full `pnpm check` passes before PR push/handoff - [x] Human/manual validation completed by contributor or reviewer ### Manual verification notes Codex verification: - `node scratch\discovery-pr-body-parser-repro.mjs` passed. - `pnpm check:discovery` passed. - PR-aware prose N/A fixture passed with `node scripts\check-discovery-metadata.mjs --pr-aware --changed-from HEAD~1`. - PR-aware missing-decision fixture failed as expected and still blocked missing discovery metadata. - `pnpm check` passed. ## Feature Discoverability Check exactly one: - [ ] Updated `src/features/shell/discovery/` because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool. - [x] N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find. Reason: - CI/tooling parser bugfix only; no new user-discoverable product behavior. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [x] Updated `CONTRIBUTING.md` - [x] Updated `docs/developer/` - [x] Updated repo skills or `AGENTS.md` - [x] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence N/A: CI/tooling parser change only. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:15:20 +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#5334
No description provided.