Skip to content

feat: enforce SHA256 and size checks for Paper - #46

Merged
TimInTech merged 2 commits into
mainfrom
feat/paper-sha-check
Nov 8, 2025
Merged

feat: enforce SHA256 and size checks for Paper#46
TimInTech merged 2 commits into
mainfrom
feat/paper-sha-check

Conversation

@TimInTech

Copy link
Copy Markdown
Owner

Adds SHA256 verification and minimum size gate.

Copilot AI review requested due to automatic review settings November 8, 2025 15:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the README.md documentation with enhanced installation notes and references to simulation workflow documentation. The changes clarify prerequisites (UFW, JVM memory auto-sizing) and checksum enforcement for Bedrock installations, while adding links to new Copilot CLI workflow documentation.

Key changes:

  • Added prerequisite notes for UFW installation, JVM memory auto-sizing, and Bedrock checksum enforcement
  • Enhanced Bedrock checksum enforcement documentation
  • Added reference to new COPILOT_RUN_INSTRUCTIONS.md file

Comment thread README.md
Comment on lines +168 to 170
The installer auto-sizes memory: `Xms ≈ RAM/4`, `Xmx ≈ RAM/2` (minimums: 1G/2G). You can override these in `/opt/minecraft/start.sh`.

The installer sets `Xms ≈ RAM/4` and `Xmx ≈ RAM/2` with floors `256M/448M` and an `Xmx` cap of `≤16G`. Override in `/opt/minecraft/start.sh`.

Copilot AI Nov 8, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate content describing JVM memory sizing. Line 168 states minimums as '1G/2G' while line 170 states floors as '256M/448M'. These lines should be consolidated into a single, accurate description with the correct values.

Suggested change
The installer auto-sizes memory: `Xms ≈ RAM/4`, `Xmx ≈ RAM/2` (minimums: 1G/2G). You can override these in `/opt/minecraft/start.sh`.
The installer sets `Xms ≈ RAM/4` and `Xmx ≈ RAM/2` with floors `256M/448M` and an `Xmx` cap of `≤16G`. Override in `/opt/minecraft/start.sh`.
The installer auto-sizes memory: `Xms ≈ RAM/4`, `Xmx ≈ RAM/2` (minimums: 1G/2G, maximum Xmx: 16G). You can override these in `/opt/minecraft/start.sh`.

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +221 to +222
For safe simulation workflow details, see **[SIMULATION.md](SIMULATION.md)**.

Copilot AI Nov 8, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reference to SIMULATION.md is duplicated on lines 217 and 221. Remove one of these duplicate references to improve documentation clarity.

Suggested change
For safe simulation workflow details, see **[SIMULATION.md](SIMULATION.md)**.

Copilot uses AI. Check for mistakes.
Comment thread README.md

## Contributing

Use the PR template. Do not execute anything in this workspace. See **[.github/copilot-instructions.md](.github/copilot-instructions.md)**.

Copilot AI Nov 8, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The '## Contributing' section header appears to have been removed. This sentence about PR templates should be under a '## Contributing' heading for better document structure and navigation.

Copilot uses AI. Check for mistakes.
@TimInTech
TimInTech merged commit 5762e25 into main Nov 8, 2025
22 checks passed
@TimInTech
TimInTech deleted the feat/paper-sha-check branch November 8, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants