diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..f386e5c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,42 @@ +name: Bug report +description: Report a reproducible problem using disposable data +labels: [bug] +body: + - type: markdown + attributes: + value: | + For vulnerabilities, use [private vulnerability reporting](https://github.com/facadefish/prune-skill/security/advisories/new). Do not post real review plans, private skill text, local paths, tokens, or credentials. Use disposable fixtures and redact logs or screenshots. + - type: input + id: version + attributes: + label: Prune version or commit + placeholder: v1.0.1 + validations: + required: true + - type: textarea + id: environment + attributes: + label: Environment + description: Operating system, Node.js version, and Agent host/version if relevant. + validations: + required: true + - type: textarea + id: steps + attributes: + label: Steps to reproduce + description: Use a minimal disposable fixture. Include the exact command only if it contains no private paths or tokens. + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected behavior + validations: + required: true + - type: textarea + id: actual + attributes: + label: Actual behavior and safe evidence + description: Include a sanitized error or screenshot if useful. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..d7f6ae4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Report a vulnerability privately + url: https://github.com/facadefish/prune-skill/security/advisories/new + about: Use this channel for security reports; do not disclose them in a public issue. diff --git a/.github/ISSUE_TEMPLATE/proposal.yml b/.github/ISSUE_TEMPLATE/proposal.yml new file mode 100644 index 0000000..5a12c3f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/proposal.yml @@ -0,0 +1,27 @@ +name: Improvement proposal +description: Suggest a focused improvement to Prune +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + Please describe the user task and expected benefit. Do not include private skills, review plans, local paths, or tokens. + - type: textarea + id: problem + attributes: + label: Task and current problem + description: What are you trying to do, and what happens today? + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed change + description: Describe the smallest useful behavior change. + validations: + required: true + - type: textarea + id: boundaries + attributes: + label: Impact on review and Apply boundaries + description: Explain whether this changes what Prune may suggest, apply, or restore. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..a3ad602 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,15 @@ +## Change + +Describe the problem, the smallest change, and the related issue (for example, `Closes #123`). + +## Verification + +- `npm run check`: +- Standalone Chinese and English package build, if runtime or packaging changed: +- Browser Apply and Restore with disposable objects, if the workbench changed: +- Operating systems and Agent host integrations actually tested: + +## Review boundaries + +- Does this affect real file writes, Restore, path or fingerprint checks, user selection and Apply, plugin host controls, or the execution contract? If so, explain the behavior and request a maintainer decision. +- Confirm that the PR contains no real review plans, private skills, local paths, tokens, credentials, or generated run directories. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..84e7d1b --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,9 @@ +# Contributing and maintenance + +Bug reports should include a minimal reproduction with disposable objects. Use the issue forms for defects and proposals. Report vulnerabilities through the private channel in [SECURITY.md](SECURITY.md). Never publish real review plans, skill contents, session URLs, local paths, or credentials. + +Keep pull requests focused and link the relevant issue. Follow [AGENTS.md](AGENTS.md) for source layout and required checks. State which operating systems, browsers, and Agent host integrations were actually tested; do not treat an unrun check as passed. + +Maintainers triage issues, ask for missing reproduction details, and prepare fixes without requiring a decision for each routine step. A maintainer decision is required for changes to Prune's user authority, real file writes, Restore, path and fingerprint validation, plugin host controls, execution contract, public security handling, and releases. These changes need evidence appropriate to their behavior, including disposable browser checks when the workbench changes. + +Every merge is a deliberate maintainer action. Passing CI or an automated review never merges a pull request. Maintainers do not automatically close issues because they are old.