Skip to content

Commit faadcfe

Browse files
security: standardize secret scanning on TruffleHog (#80)
Standardizing on TruffleHog.
2 parents 9c0c76d + 47cc8d9 commit faadcfe

99 files changed

Lines changed: 1000 additions & 2150 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/CLAUDE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
SPDX-License-Identifier: MPL-2.0
3+
Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
4+
-->
15
## Machine-Readable Artefacts
26

37
The following files in `.machine_readable/` contain structured project metadata:
@@ -43,7 +47,7 @@ The following files in `.machine_readable/` contain structured project metadata:
4347
| Bun | Deno |
4448
| pnpm/yarn | Deno |
4549
| Go | Rust |
46-
| Python | Julia/Rust/ReScript |
50+
| Python | Julia/Rust/AffineScript |
4751
| Java/Kotlin | Rust/Tauri/Dioxus |
4852
| Swift | Tauri/Dioxus |
4953
| React Native | Tauri/Dioxus |
@@ -61,7 +65,7 @@ Both are FOSS with independent governance (no Big Tech).
6165
### Enforcement Rules
6266

6367
1. **No new TypeScript files** - Convert existing TS to AffineScript
64-
2. **No package.json for runtime deps** - Use deno.json imports
68+
2. **No package.json - use deno.json deps** - Use deno.json imports
6569
3. **No node_modules in production** - Deno caches deps automatically
6670
4. **No Go code** - Use Rust instead
6771
5. **No Python anywhere** - Use Julia for data/batch, Rust for systems, AffineScript for apps

.claude/PROJECT.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
SPDX-License-Identifier: MPL-2.0
3+
Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
4+
-->
15
# Universal Chat Extractor - Claude Code Instructions
26

37
This repository contains the Universal Chat Extractor tool.

.github/CODEOWNERS

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# CODEOWNERS - Define code review assignments for GitHub
3+
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
4+
5+
# Default: sole maintainer for all files
6+
* @hyperpolymath
7+
8+
# Security-sensitive files require explicit ownership
9+
SECURITY.md @hyperpolymath
10+
.github/workflows/ @hyperpolymath
11+
.machine_readable/ @hyperpolymath
12+
contractiles/ @hyperpolymath
13+
14+
# License files
15+
LICENSE @hyperpolymath
16+
LICENSES/ @hyperpolymath
17+
18+
# Configuration
19+
.gitignore @hyperpolymath
20+
.github/ @hyperpolymath
21+
22+
# Documentation
23+
README* @hyperpolymath
24+
CONTRIBUTING* @hyperpolymath
25+
CODE_OF_CONDUCT* @hyperpolymath
26+
GOVERNANCE* @hyperpolymath
27+
MAINTAINERS* @hyperpolymath
28+
CHANGELOG* @hyperpolymath
29+
ROADMAP* @hyperpolymath
30+
31+
# Build and CI
32+
Justfile @hyperpolymath
33+
Makefile @hyperpolymath
34+
*.sh @hyperpolymath

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
SPDX-License-Identifier: MPL-2.0
3+
Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
4+
-->
15
---
26
name: Bug report
37
about: Create a report to help us improve

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
SPDX-License-Identifier: MPL-2.0
3+
Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
4+
-->
15
---
26
name: Custom issue template
37
about: Describe this issue template's purpose here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
SPDX-License-Identifier: MPL-2.0
3+
Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
4+
-->
15
---
26
name: Feature request
37
about: Suggest an idea for this project

.github/copilot/coding-agent.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mcp_servers:
2+
boj-server:
3+
command: npx
4+
args: ["-y", "@hyperpolymath/boj-server@latest"]
5+
env:
6+
BOJ_URL: http://localhost:7700

.github/workflows/boj-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
trigger-boj:
99
runs-on: ubuntu-latest
10+
timeout-minutes: 15
1011
steps:
1112
- name: Checkout
1213
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/casket-pages.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,33 @@
11
# SPDX-License-Identifier: MPL-2.0
22
name: GitHub Pages
3-
43
on:
54
push:
65
branches: [main, master]
76
workflow_dispatch:
8-
97
permissions:
108
contents: read
119
pages: write
1210
id-token: write
13-
1411
concurrency:
1512
group: "pages"
1613
cancel-in-progress: false
17-
1814
jobs:
1915
build:
2016
runs-on: ubuntu-latest
17+
timeout-minutes: 15
2118
steps:
2219
- name: Checkout
2320
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
24-
2521
- name: Checkout casket-ssg
2622
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
2723
with:
2824
repository: hyperpolymath/casket-ssg
2925
path: .casket-ssg
30-
3126
- name: Setup GHCup
3227
uses: haskell-actions/setup@cd0d9bdd65b20557f41bea4dbe43d0b5fbbfe553 # v2
3328
with:
3429
ghc-version: '9.8.2'
3530
cabal-version: '3.10'
36-
3731
- name: Cache Cabal
3832
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3933
with:
@@ -42,11 +36,9 @@ jobs:
4236
~/.cabal/store
4337
.casket-ssg/dist-newstyle
4438
key: ${{ runner.os }}-casket-${{ hashFiles('.casket-ssg/casket-ssg.cabal') }}
45-
4639
- name: Build casket-ssg
4740
working-directory: .casket-ssg
4841
run: cabal build
49-
5042
- name: Prepare site source
5143
shell: bash
5244
run: |
@@ -89,26 +81,23 @@ jobs:
8981
echo "Project-specific site content can be added later under site/."
9082
} > .site-src/index.md
9183
fi
92-
9384
- name: Build site
9485
run: |
9586
mkdir -p _site
9687
cd .casket-ssg && cabal run casket-ssg -- build ../.site-src ../_site
9788
touch ../_site/.nojekyll
98-
9989
- name: Setup Pages
10090
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
101-
10291
- name: Upload artifact
10392
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
10493
with:
10594
path: '_site'
106-
10795
deploy:
10896
environment:
10997
name: github-pages
11098
url: ${{ steps.deployment.outputs.page_url }}
11199
runs-on: ubuntu-latest
100+
timeout-minutes: 15
112101
needs: build
113102
steps:
114103
- name: Deploy to GitHub Pages

.github/workflows/codeql.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,25 @@
11
# SPDX-License-Identifier: MPL-2.0
22
name: CodeQL Security Analysis
3-
43
on:
54
push:
65
branches: [main, master]
76
pull_request:
87
branches: [main, master]
98
schedule:
109
- cron: '0 6 * * 1'
11-
1210
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
1311
# updates do not pile up queued runs against the shared account-wide
1412
# Actions concurrency pool. Applied only to read-only check workflows
1513
# (no publish/mutation), so cancelling a superseded run is always safe.
1614
concurrency:
1715
group: ${{ github.workflow }}-${{ github.ref }}
1816
cancel-in-progress: true
19-
2017
permissions:
2118
contents: read
22-
2319
jobs:
2420
analyze:
2521
runs-on: ubuntu-latest
22+
timeout-minutes: 15
2623
permissions:
2724
contents: read
2825
security-events: write
@@ -32,17 +29,14 @@ jobs:
3229
include:
3330
- language: javascript-typescript
3431
build-mode: none
35-
3632
steps:
3733
- name: Checkout
3834
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
39-
4035
- name: Initialize CodeQL
4136
uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3
4237
with:
4338
languages: ${{ matrix.language }}
4439
build-mode: ${{ matrix.build-mode }}
45-
4640
- name: Perform CodeQL Analysis
4741
uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3
4842
with:

0 commit comments

Comments
 (0)