[PR #1670] [MERGED] Document intentional Knip public exports #5199

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

📋 Pull Request Information

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

Base: refactor ← Head: knip/export-policy


📝 Commits (1)

  • ba65d21 Document intentional Knip public exports

📊 Changes

1 file changed (+31 additions, -0 deletions)

View changed files

📝 knip.json (+31 -0)

📄 Description

## Linked issue

Closes #

Why this change

  • Completes the Knip cleanup follow-up by documenting the remaining engine contract, capability, and Mari exported surfaces as intentional public API/tooling surfaces.
  • Keeps the previous mechanical cleanup intact while making knip --exports clean without narrowing TypeScript contracts or changing runtime behavior.

What changed

  • Added narrow knip.json ignoreIssues entries for the remaining public-surface export/type findings.
  • Preserved the existing duplicate-export ignore.
  • Did not change runtime source, contract exports, feature code, or generated behavior.

Refactor impact

Primary owner:

  • engine tooling / repository maintenance

Impact areas reviewed:

  • src/engine/contracts
  • src/engine/capabilities
  • src/engine/mari
  • Knip export policy

Boundary notes:

  • Engine contracts/capability/Mari exports are preserved as public surfaces.
  • No engine/shared-api/feature/Rust/remote-runtime behavior changed.

Pressure points touched:

  • none

Validation

  • pnpm check passes locally
  • 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
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Codex ran pnpm typecheck.
  • Codex ran pnpm build; it passed with the existing Vite large-chunk warning.
  • Codex ran pnpm exec knip --files --no-config-hints.
  • Codex ran pnpm exec knip --dependencies --no-config-hints.
  • Codex ran pnpm exec knip --exports --no-config-hints; it now reports no findings.
  • Codex ran git diff --check.
  • UI/manual runtime verification was not applicable because this is a tooling-policy-only change.

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 PR only updates Knip configuration.

Summary by CodeRabbit

  • Chores
    • Updated development tooling configuration settings.

Review Change Stack


🔄 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/1670 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/30/2026 **Status:** ✅ Merged **Merged:** 5/30/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `knip/export-policy` --- ### 📝 Commits (1) - [`ba65d21`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ba65d21d94af0b746a076bb73b78e581c1544606) Document intentional Knip public exports ### 📊 Changes **1 file changed** (+31 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `knip.json` (+31 -0) </details> ### 📄 Description ## Linked issue Closes # ## Why this change - Completes the Knip cleanup follow-up by documenting the remaining engine contract, capability, and Mari exported surfaces as intentional public API/tooling surfaces. - Keeps the previous mechanical cleanup intact while making `knip --exports` clean without narrowing TypeScript contracts or changing runtime behavior. ## What changed - Added narrow `knip.json` `ignoreIssues` entries for the remaining public-surface export/type findings. - Preserved the existing duplicate-export ignore. - Did not change runtime source, contract exports, feature code, or generated behavior. ## Refactor impact Primary owner: - engine tooling / repository maintenance Impact areas reviewed: - `src/engine/contracts` - `src/engine/capabilities` - `src/engine/mari` - Knip export policy Boundary notes: - Engine contracts/capability/Mari exports are preserved as public surfaces. - No engine/shared-api/feature/Rust/remote-runtime behavior changed. Pressure points touched: - none ## Validation - [ ] `pnpm check` passes locally - [ ] `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 - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Codex ran `pnpm typecheck`. - Codex ran `pnpm build`; it passed with the existing Vite large-chunk warning. - Codex ran `pnpm exec knip --files --no-config-hints`. - Codex ran `pnpm exec knip --dependencies --no-config-hints`. - Codex ran `pnpm exec knip --exports --no-config-hints`; it now reports no findings. - Codex ran `git diff --check`. - UI/manual runtime verification was not applicable because this is a tooling-policy-only change. ## 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 PR only updates Knip configuration. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated development tooling configuration settings. <!-- review_stack_entry_start --> [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/Pasta-Devs/Marinara-Engine/pull/1670?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- 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:08 +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#5199
No description provided.