Commit 4ec8927
## Summary
Addresses all open Hypatia security scan findings reported in PR #34.
**Workflow fixes (high + medium severity):**
- Add `timeout-minutes` to all 9 affected jobs (`hypatia-scan`,
`mirror`, `rust-ci`, `scorecard`, `secret-scanner`, `release` ×4,
`scorecard-enforcer` ×3)
- `scorecard-enforcer.yml`: split the combined scorecard-publish+run job
into two separate jobs (`scorecard-publish` and `scorecard-enforce`) —
resolves `scorecard_publish_with_run_step`
- `scorecard.yml`: add explicit job-level permissions to the `analysis`
caller job — resolves `scorecard_wrapper_missing_job_permissions`
- `instant-sync.yml`: add `FARM_DISPATCH_TOKEN` presence gate step
before `peter-evans/repository-dispatch` — resolves
`secret_action_without_presence_gate`
- `rsr-antipattern.yml`: anchor TypeScript Exemptions heading regex to
`^[#=]+\s+` — resolves `unanchored_heading_regex`
**SD022 structural drift fixes (`src/abi/` → `src/interface/Abi/`):**
- `docs/RSR_OUTLINE.adoc`
- `docs/developer/ABI-FFI-README.adoc`
- `docs/governance/MAINTENANCE-CHECKLIST.adoc`
- `docs/practice/AI-CONVENTIONS.adoc`
- `src/interface/ffi/src/main.zig`
**SD009 template placeholder fix:**
- `src/interface/ffi/src/main.zig`: replace `{{PROJECT}}`/`{{project}}`
with `nextgen_typing`
## Test plan
- [ ] Hypatia scan re-run shows no new high/critical findings for the
fixed rules
- [ ] `scorecard-enforcer` jobs are properly split and publish runs in
isolation
- [ ] `instant-sync` skips dispatch when `FARM_DISPATCH_TOKEN` is absent
(notices logged)
- [ ] All `src/interface/Abi/` paths resolve correctly against the
actual directory tree
https://claude.ai/code/session_01S7PoiLxheftavnuFPE7Uq4
---
_Generated by [Claude
Code](https://claude.ai/code/session_01S7PoiLxheftavnuFPE7Uq4)_
Co-authored-by: Claude <noreply@anthropic.com>
1 parent b158d66 commit 4ec8927
14 files changed
Lines changed: 86 additions & 38 deletions
File tree
- .github/workflows
- docs
- developer
- governance
- practice
- src/interface/ffi/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
19 | 31 | | |
| 32 | + | |
20 | 33 | | |
21 | 34 | | |
22 | 35 | | |
| |||
31 | 44 | | |
32 | 45 | | |
33 | 46 | | |
| 47 | + | |
34 | 48 | | |
35 | 49 | | |
36 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
47 | 69 | | |
48 | 70 | | |
49 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
0 commit comments