Skip to content

Commit aead2ad

Browse files
fix: instantiate rsr-template placeholders left generic from scaffold (LICENSE/CoC/issue templates/SECURITY) (#96)
## Summary Five files retained rsr-template-repo placeholder text from when the template was used to scaffold panic-attack. Estate dogfood checks / OpenSSF Scorecard / assail self-scan now consume these files, so the placeholders surface as real audit findings. | File | Gap | Fix | |---|---|---| | `LICENSE` | Body was GNU AGPL-3.0-or-later despite Cargo.toml / README badge / 0-AI-MANIFEST.a2ml / shipped `LICENSES/MPL-2.0.txt` all declaring MPL-2.0 | Replaced with MPL-2.0 text from in-repo `LICENSES/MPL-2.0.txt` + canonical `SPDX-License-Identifier:` prefix. No carve-out memory exists for panic-attack (unlike echidna's intentional MPL-docs-over-AGPL-LICENSE split or idaptik's intentional AGPL-throughout) | | `CODE_OF_CONDUCT.md` | TEMPLATE INSTRUCTIONS block intact, `language-bridges` pledge text, broken Discussions URL, unfilled `{{CONDUCT_EMAIL}}` / `{{CONDUCT_TEAM}}` / `{{RESPONSE_TIME}}` | Stripped instructions, replaced project name, fixed URL, filled placeholders with values that match SECURITY.md (`j.d.a.jewell@open.ac.uk`, `panic-attack maintainers`, `48 hours`) | | `.github/ISSUE_TEMPLATE/bug_report.md` | Stock GitHub template prompting for iOS / browser / smartphone metadata against a Rust CLI | Domain-specific fields: panic-attack version, rustc version, target source language under scan, sub-command involved (assail/bridge/verisimdb/assault), relevant config files | | `.github/ISSUE_TEMPLATE/feature_request.md` | Stock GitHub template | Polished into detector / sub-command / schema-version impact / hypatia-vs-panic-attack layering / cross-repo wiring hints | | `.github/ISSUE_TEMPLATE/custom.md` | Empty stub with `about: Describe this issue template's purpose here.` | Deleted (no panic-attack-specific use case) | | `SECURITY.md` | Supported-versions table claimed 0.2.x / 0.1.x; actual Cargo.toml version is 2.5.0 | Updated to 2.5.x supported, < 2.5 unsupported | ## Test plan - [x] No remaining `{{PLACEHOLDER}}` markers (verified via grep) - [x] No remaining \`language-bridges\` references in CoC - [x] No remaining TEMPLATE INSTRUCTIONS blocks - [x] LICENSE body matches \`LICENSES/MPL-2.0.txt\` verbatim - [x] Issue templates compile (valid YAML frontmatter) - [x] SECURITY.md version table matches \`Cargo.toml\` package.version 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0707f3e commit aead2ad

6 files changed

Lines changed: 426 additions & 738 deletions

File tree

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,37 @@
11
---
22
name: Bug report
3-
about: Create a report to help us improve
3+
about: Report a panic-attack defect (false-positive rule, runtime crash, schema breakage, missed detection)
44
title: ''
5-
labels: ''
5+
labels: bug
66
assignees: ''
77

88
---
99

1010
**Describe the bug**
11-
A clear and concise description of what the bug is.
11+
A clear and concise description of what went wrong. If this is a detector firing where it shouldn't (false positive) or NOT firing where it should (false negative), say so explicitly.
1212

13-
**To Reproduce**
14-
Steps to reproduce the behavior:
15-
1. Go to '...'
16-
2. Click on '....'
17-
3. Scroll down to '....'
18-
4. See error
13+
**Reproduction**
14+
Minimal steps to reproduce:
15+
1. `panic-attack <subcommand> <args>`
16+
2. Against fixture / repo at … (link or attach minimal sample)
17+
3. Observed: …
18+
4. Expected: …
1919

20-
**Expected behavior**
21-
A clear and concise description of what you expected to happen.
20+
**Sample output**
21+
If applicable, paste the JSON / A2ML report excerpt that demonstrates the issue:
2222

23-
**Screenshots**
24-
If applicable, add screenshots to help explain your problem.
23+
```
24+
<paste output here>
25+
```
2526

26-
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
30-
31-
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Version [e.g. 22]
27+
**Environment**
28+
- panic-attack version: `panic-attack --version`
29+
- Rust toolchain: `rustc --version`
30+
- OS / arch:
31+
- Target source language(s) under scan (Rust / Haskell / Idris2 / Coq / Lean / Agda / Isabelle / Chapel / …):
32+
- Sub-command involved (`assail` / `bridge` / `verisimdb` / `assault` / …):
3633

3734
**Additional context**
38-
Add any other context about the problem here.
35+
- Has the same input run cleanly in a prior version? If so, which?
36+
- Any relevant config (`.hypatia-ignore`, `.trusted-base-ignore`, `audits/assail-classifications.a2ml`)?
37+
- Suspected detector / file in `src/assail/analyzer.rs` or similar?

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
11
---
22
name: Feature request
3-
about: Suggest an idea for this project
3+
about: Propose a new detector, sub-command, output schema, or integration for panic-attack
44
title: ''
5-
labels: ''
5+
labels: enhancement
66
assignees: ''
77

88
---
99

10-
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10+
**What problem does this solve?**
11+
Describe the gap or pain point — what does panic-attack currently miss / get wrong / make awkward? Cite a real-world finding or workflow where possible.
1212

13-
**Describe the solution you'd like**
14-
A clear and concise description of what you want to happen.
13+
**Proposed solution**
14+
What would the new behaviour look like? If this is a new detector, what does it match, and what's the false-positive avoidance plan? If a new sub-command, what's its surface (`panic-attack <name> [args]`)?
1515

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
16+
**Alternatives considered**
17+
- Could this be expressed by an existing detector + classification?
18+
- Could it live downstream in hypatia (rule layer) instead of panic-attack (detector layer)?
19+
- Could `audits/assail-classifications.a2ml` cover it via classification entries?
20+
21+
**Impact / scope**
22+
- Estate repos likely to benefit:
23+
- Schema / output changes (would this bump `schema_version`?):
24+
- Cross-repo wiring (hypatia#358 fact-source consumption, bridge-classifier downstream, etc.):
1825

1926
**Additional context**
20-
Add any other context or screenshots about the feature request here.
27+
Links to motivating findings, related issues, or upstream tooling that informs the design.

CODE_OF_CONDUCT.md

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,8 @@
11
# Code of Conduct
22

3-
<!--
4-
============================================================================
5-
TEMPLATE INSTRUCTIONS (delete this block before publishing)
6-
============================================================================
7-
Replace all {{PLACEHOLDER}} values:
8-
language-bridges - Your project name
9-
hyperpolymath - GitHub/GitLab username or org
10-
language-bridges - Repository name
11-
{{CONDUCT_EMAIL}} - Email for conduct reports
12-
{{CONDUCT_TEAM}} - Name of conduct team/committee
13-
{{RESPONSE_TIME}} - Initial response SLA (e.g., 48 hours)
14-
2026 - Current year
15-
16-
Review and customise:
17-
- Adjust enforcement ladder for your community size
18-
- Add/remove examples based on your context
19-
- Ensure contact methods work for your team
20-
============================================================================
21-
-->
22-
233
## Our Pledge
244

25-
We as members, contributors, and leaders pledge to make participation in language-bridges a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, colour, religion, or sexual identity and orientation.
5+
We as members, contributors, and leaders pledge to make participation in panic-attack a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, colour, religion, or sexual identity and orientation.
266

277
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
288

@@ -136,7 +116,7 @@ If you experience or witness unacceptable behaviour, or have any other concerns,
136116

137117
| Method | Details | Best For |
138118
|--------|---------|----------|
139-
| **Email** | {{CONDUCT_EMAIL}} | Detailed reports, sensitive matters |
119+
| **Email** | j.d.a.jewell@open.ac.uk | Detailed reports, sensitive matters |
140120
| **Private Message** | Contact any maintainer directly | Quick questions, minor issues |
141121
| **Anonymous Form** | [Link to form if available] | When you need anonymity |
142122

@@ -152,8 +132,8 @@ If you experience or witness unacceptable behaviour, or have any other concerns,
152132

153133
**What Happens Next**
154134

155-
1. You will receive acknowledgment within **{{RESPONSE_TIME}}**
156-
2. The {{CONDUCT_TEAM}} will review the report
135+
1. You will receive acknowledgment within **48 hours**
136+
2. The panic-attack maintainers will review the report
157137
3. We may ask for additional information
158138
4. We will determine appropriate action
159139
5. We will inform you of the outcome (respecting others' privacy)
@@ -169,7 +149,7 @@ All reports will be handled with discretion:
169149

170150
### Conflicts of Interest
171151

172-
If a {{CONDUCT_TEAM}} member is involved in an incident:
152+
If a panic-attack maintainers member is involved in an incident:
173153

174154
- They will recuse themselves from the process
175155
- Another maintainer or external party will handle the report
@@ -179,7 +159,7 @@ If a {{CONDUCT_TEAM}} member is involved in an incident:
179159

180160
## Enforcement Guidelines
181161

182-
The {{CONDUCT_TEAM}} will follow these guidelines in determining consequences:
162+
The panic-attack maintainers will follow these guidelines in determining consequences:
183163

184164
### 1. Correction
185165

@@ -231,13 +211,13 @@ For contributors with elevated access (Perimeter 2 or 1):
231211
If you believe an enforcement decision was made in error:
232212

233213
1. **Wait 7 days** after the decision (cooling-off period)
234-
2. **Email** {{CONDUCT_EMAIL}} with subject line "Appeal: [Original Report ID]"
214+
2. **Email** j.d.a.jewell@open.ac.uk with subject line "Appeal: [Original Report ID]"
235215
3. **Explain** why you believe the decision should be reconsidered
236216
4. **Provide** any new information not previously available
237217

238218
**Appeals Process**
239219

240-
- Appeals are reviewed by a different {{CONDUCT_TEAM}} member than the original
220+
- Appeals are reviewed by a different panic-attack maintainers member than the original
241221
- You will receive a response within 14 days
242222
- The appeals decision is final
243223
- You may only appeal once per incident
@@ -310,8 +290,8 @@ We thank these communities for their leadership in creating welcoming spaces.
310290

311291
If you have questions about this Code of Conduct:
312292

313-
- Open a [Discussion](https://github.com/hyperpolymath/language-bridges/discussions) (for general questions)
314-
- Email {{CONDUCT_EMAIL}} (for private questions)
293+
- Open a [Discussion](https://github.com/hyperpolymath/panic-attack/discussions) (for general questions)
294+
- Email j.d.a.jewell@open.ac.uk (for private questions)
315295
- Contact any maintainer directly
316296

317297
---

0 commit comments

Comments
 (0)