Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
389 commits
Select commit Hold shift + click to select a range
3bc88ba
remove secret
DeveloperAlly Jan 19, 2026
c4fd763
remove from git
DeveloperAlly Jan 19, 2026
fbbb1c2
Update Livepeer YouTube videos - 2026-01-19T11:18:24.988Z
DeveloperAlly Jan 19, 2026
92ab39f
Update Livepeer YouTube videos - 2026-01-19T11:24:35.317Z
DeveloperAlly Jan 19, 2026
44cb743
Update Livepeer YouTube videos - 2026-01-19T11:40:42.960Z
DeveloperAlly Jan 19, 2026
d4d4087
youtube ingest
DeveloperAlly Jan 20, 2026
3e25953
manual pull
DeveloperAlly Jan 20, 2026
8449d34
finalise trending page
DeveloperAlly Jan 20, 2026
637bc09
remove tests
DeveloperAlly Jan 20, 2026
7674c70
Update forum data - 2026-01-20T14:00:14.116-05:00
DeveloperAlly Jan 20, 2026
b382233
add discord announcements automation
DeveloperAlly Jan 21, 2026
b3d55c0
chore: update Discord announcements from workflow
DeveloperAlly Jan 21, 2026
9f3a5db
commitMessage: `chore: create Discord announcements file from workflo…
DeveloperAlly Jan 21, 2026
276a84c
discord announcements integrated
DeveloperAlly Jan 21, 2026
a8d96fe
tweak
DeveloperAlly Jan 21, 2026
2428594
tweak
DeveloperAlly Jan 21, 2026
5d6044e
tweak
DeveloperAlly Jan 21, 2026
010fa59
added socials links to community
DeveloperAlly Jan 21, 2026
9fbcf58
add luma automation
DeveloperAlly Jan 21, 2026
25e8575
Rename lumaEvents.jsx to lumaEventsData.jsx
DeveloperAlly Jan 21, 2026
e9efd63
`Chore: Update Livepeer events from Luma - ${new Date().toISOString()}`
DeveloperAlly Jan 21, 2026
104d5fb
fix luma calendar style
DeveloperAlly Jan 21, 2026
f57f0f5
`Chore: Update Livepeer events from Luma - ${new Date().toISOString()}`
DeveloperAlly Jan 21, 2026
f81ce1f
`Chore: Update Livepeer events from Luma - ${new Date().toISOString()}`
DeveloperAlly Jan 21, 2026
d21d4e6
clean up console.logs
DeveloperAlly Jan 21, 2026
327fe70
Update forum data - 2026-01-21T14:00:13.974-05:00
DeveloperAlly Jan 21, 2026
ae12a56
commitMessage: `chore: create Discord announcements file from workflo…
DeveloperAlly Jan 22, 2026
c8e9e5b
Update forum data - 2026-01-22T14:00:13.728-05:00
DeveloperAlly Jan 22, 2026
550af11
Update forum data - 2026-01-23T14:00:14.163-05:00
DeveloperAlly Jan 23, 2026
f92d178
updating pages
DeveloperAlly Jan 23, 2026
1a67f24
finishing Livepeer section
DeveloperAlly Jan 23, 2026
6912819
Home > Livepeer Section content
DeveloperAlly Jan 24, 2026
d88527c
update ecosystem page
DeveloperAlly Jan 24, 2026
f03fcc3
add a quote component
DeveloperAlly Jan 24, 2026
39abb81
home cleanup
DeveloperAlly Jan 24, 2026
8a8b7e4
commitMessage: `chore: create Discord announcements file from workflo…
DeveloperAlly Jan 24, 2026
95e04f2
fix discord automation
DeveloperAlly Jan 24, 2026
face906
im tired now goodnight
DeveloperAlly Jan 24, 2026
085cab9
Update forum data - 2026-01-24T14:00:41.219-05:00
DeveloperAlly Jan 24, 2026
2f08e77
Update Livepeer YouTube videos - 2026-01-25T05:00:25.250Z
DeveloperAlly Jan 25, 2026
938379f
`Chore: Update Livepeer events from Luma - ${new Date().toISOString()}`
DeveloperAlly Jan 25, 2026
1401aeb
Update Blog Data 2026-01-25T00:00:46.631-05:00
DeveloperAlly Jan 25, 2026
a2d6876
primer
DeveloperAlly Jan 25, 2026
f1a2e06
add embody section
DeveloperAlly Jan 25, 2026
12b9806
resolve merge conflict
DeveloperAlly Jan 25, 2026
97cca96
basic embody page
DeveloperAlly Jan 25, 2026
3c782d9
products updates
DeveloperAlly Jan 25, 2026
d010c04
product IA merge
DeveloperAlly Jan 25, 2026
ab5acc9
socialscomponent, primer
DeveloperAlly Jan 25, 2026
b80cb1b
tweaks
DeveloperAlly Jan 25, 2026
f32bcdf
continuing ecosystem
DeveloperAlly Jan 25, 2026
052dd07
refining ecosystem
DeveloperAlly Jan 25, 2026
f178936
refining ecosystem
DeveloperAlly Jan 25, 2026
1106d84
split org and eco
DeveloperAlly Jan 25, 2026
e134c04
Update forum data - 2026-01-25T14:00:41.121-05:00
DeveloperAlly Jan 25, 2026
db69804
script to create a glossary, updating socials links, finalising organ…
DeveloperAlly Jan 26, 2026
6023185
finalise section
DeveloperAlly Jan 26, 2026
7a31b91
Update forum data - 2026-01-26T14:00:41.280-05:00
DeveloperAlly Jan 26, 2026
e964a7d
Update forum data - 2026-01-27T14:00:41.077-05:00
DeveloperAlly Jan 27, 2026
572fa04
primitives for showcase
DeveloperAlly Jan 28, 2026
332fab4
starting orchestrators
DeveloperAlly Jan 28, 2026
f26e954
wading through the orchestrator docs
DeveloperAlly Jan 28, 2026
c97afb1
Update forum data - 2026-01-28T14:00:42.617-05:00
DeveloperAlly Jan 28, 2026
a0daf01
gpus and protocol
DeveloperAlly Jan 29, 2026
b0e4e92
fix docs.json
DeveloperAlly Jan 29, 2026
fdb1a45
Update forum data - 2026-01-29T14:00:42.661-05:00
DeveloperAlly Jan 29, 2026
1ef535e
pools complete
DeveloperAlly Jan 30, 2026
b9269f8
orchestrator setup
DeveloperAlly Jan 30, 2026
259f30e
Update forum data - 2026-01-30T14:00:41.546-05:00
DeveloperAlly Jan 30, 2026
eb0f86c
Update forum data - 2026-01-31T14:00:46.521-05:00
DeveloperAlly Jan 31, 2026
b076c70
Update Livepeer YouTube videos - 2026-02-01T05:00:25.179Z
DeveloperAlly Feb 1, 2026
6557e86
`Chore: Update Livepeer events from Luma - ${new Date().toISOString()}`
DeveloperAlly Feb 1, 2026
3049050
Update Blog Data 2026-02-01T00:00:46.630-05:00
DeveloperAlly Feb 1, 2026
2024d35
Update forum data - 2026-02-01T14:00:41.121-05:00
DeveloperAlly Feb 1, 2026
0d6f130
Update forum data - 2026-02-02T14:00:40.838-05:00
DeveloperAlly Feb 2, 2026
399c16e
protocol section
DeveloperAlly Feb 3, 2026
6488015
Update forum data - 2026-02-03T14:00:41.180-05:00
DeveloperAlly Feb 3, 2026
dc69e67
finishing home tab, protocol section
DeveloperAlly Feb 4, 2026
5fd28da
showcase setup
DeveloperAlly Feb 4, 2026
36125e7
Update forum data - 2026-02-04T14:00:40.899-05:00
DeveloperAlly Feb 4, 2026
192847b
Update forum data - 2026-02-05T14:00:41.086-05:00
DeveloperAlly Feb 5, 2026
0a37765
bloody time consuming styling showcase XD
DeveloperAlly Feb 6, 2026
1507052
showcase
DeveloperAlly Feb 6, 2026
a9db451
Rename nytvlive.mp4 to nytvlivepromo.mp4
DeveloperAlly Feb 6, 2026
0877269
Update forum data - 2026-02-06T14:00:41.075-05:00
DeveloperAlly Feb 6, 2026
34e3e13
Update forum data - 2026-02-07T14:00:40.814-05:00
DeveloperAlly Feb 7, 2026
ad71d86
Update Livepeer YouTube videos - 2026-02-08T05:00:25.051Z
DeveloperAlly Feb 8, 2026
4192c9e
`Chore: Update Livepeer events from Luma - ${new Date().toISOString()}`
DeveloperAlly Feb 8, 2026
dde9bc6
Update Blog Data 2026-02-08T00:00:51.907-05:00
DeveloperAlly Feb 8, 2026
71bff7c
Update forum data - 2026-02-08T14:00:40.966-05:00
DeveloperAlly Feb 8, 2026
f395b8d
showcase looking good
DeveloperAlly Feb 6, 2026
446dca9
showcase automation
DeveloperAlly Feb 7, 2026
98af84d
showcase data validation
DeveloperAlly Feb 10, 2026
42148f5
rename
DeveloperAlly Feb 10, 2026
40b2ff2
showcase pipeline
DeveloperAlly Feb 10, 2026
1c3ef21
showcase logos
DeveloperAlly Feb 10, 2026
398cdb6
Update forum data - 2026-02-10T14:00:40.841-05:00
DeveloperAlly Feb 10, 2026
1085f85
data
DeveloperAlly Feb 11, 2026
a884924
Update showcase data from Google Sheet
DeveloperAlly Feb 11, 2026
2014e64
Update showcase data from Google Sheet
DeveloperAlly Feb 11, 2026
78e8d94
Update showcase: 1 approved projects
DeveloperAlly Feb 11, 2026
1578436
Update showcase: 1 approved projects
DeveloperAlly Feb 11, 2026
4ece830
edit component
DeveloperAlly Feb 11, 2026
1bde874
4606384596324074 mediaSrc
DeveloperAlly Feb 11, 2026
72781bc
4606384596324074 logo
DeveloperAlly Feb 11, 2026
6fd47ab
Update {{ $json.title }} MediaSrc
DeveloperAlly Feb 11, 2026
0d68686
4606384596324074 mediaSrc
DeveloperAlly Feb 11, 2026
eec0682
Update {{ $json.title }} MediaSrc
DeveloperAlly Feb 11, 2026
b324f5f
4606384596324074 mediaSrc
DeveloperAlly Feb 11, 2026
9e5aebb
4606384596324074 mediaSrc
DeveloperAlly Feb 11, 2026
515e6e4
Update {{ $json.title }} Logo
DeveloperAlly Feb 11, 2026
53ec2d0
logo
DeveloperAlly Feb 11, 2026
df95731
4606384596324074 logo
DeveloperAlly Feb 11, 2026
880d3fa
Update {{ $json.title }} Logo
DeveloperAlly Feb 11, 2026
3ac3636
Update {{ $json.title }} MediaSrc
DeveloperAlly Feb 11, 2026
91b0517
update logo: nytv.live
DeveloperAlly Feb 11, 2026
5a48ba3
Update {{ $json.title }} MediaSrc
DeveloperAlly Feb 11, 2026
a8dcee5
update media: nytv.live
DeveloperAlly Feb 11, 2026
454f045
update logo: nytv.live
DeveloperAlly Feb 11, 2026
277c38f
Update {{ $json.title }} MediaSrc
DeveloperAlly Feb 11, 2026
c1f51f8
update media: nytv.live
DeveloperAlly Feb 11, 2026
e512d95
Update showcase: 1 approved projects
DeveloperAlly Feb 11, 2026
bf15593
showcase complete
DeveloperAlly Feb 11, 2026
b954dff
update about
DeveloperAlly Feb 11, 2026
a5bb1ca
Update forum data - 2026-02-11T14:00:40.976-05:00
DeveloperAlly Feb 11, 2026
56877ac
protocol & network pages
DeveloperAlly Feb 12, 2026
0700e4f
Update forum data - 2026-02-12T14:00:40.933-05:00
DeveloperAlly Feb 12, 2026
a02523b
IA review protocol/netowrk
DeveloperAlly Feb 13, 2026
a6b8449
IA pages
DeveloperAlly Feb 13, 2026
c45ba44
updating protocol
DeveloperAlly Feb 13, 2026
002f69d
governance page
DeveloperAlly Feb 13, 2026
8d9e1da
Update forum data - 2026-02-13T14:00:40.725-05:00
DeveloperAlly Feb 13, 2026
7604bfa
governance page
DeveloperAlly Feb 14, 2026
dea52a0
governance complete
DeveloperAlly Feb 14, 2026
0d4e4e7
reorg community, job-lifecycle addition, protocol overview
DeveloperAlly Feb 14, 2026
cab2f4c
core mechanisms
DeveloperAlly Feb 14, 2026
0f22ce5
Update forum data - 2026-02-14T14:00:40.932-05:00
DeveloperAlly Feb 14, 2026
e18da75
Update Livepeer YouTube videos - 2026-02-15T05:00:24.966Z
DeveloperAlly Feb 15, 2026
d9f1ebd
`Chore: Update Livepeer events from Luma - ${new Date().toISOString()}`
DeveloperAlly Feb 15, 2026
04646e6
Update Blog Data 2026-02-15T00:00:46.621-05:00
DeveloperAlly Feb 15, 2026
7ab932e
token
DeveloperAlly Feb 15, 2026
7de387a
token comprehensive
DeveloperAlly Feb 15, 2026
1e02920
treasury info
DeveloperAlly Feb 15, 2026
97a869d
treasury complete
DeveloperAlly Feb 15, 2026
12222a0
Update forum data - 2026-02-15T14:00:41.020-05:00
DeveloperAlly Feb 15, 2026
e1c5ded
updating assets
DeveloperAlly Feb 16, 2026
4e592a1
Docs v2 preview updates from fork (#752)
DeveloperAlly Feb 16, 2026
223babc
Merge docs-v2-preview updates from fork (#753)
DeveloperAlly Feb 16, 2026
b133755
Update forum data - 2026-02-16T14:00:40.753-05:00
DeveloperAlly Feb 16, 2026
450acea
Update forum data - 2026-02-17T14:00:40.875-05:00
DeveloperAlly Feb 17, 2026
c29e804
Merge fork updates: Enhanced hooks, structure improvements, and upstr…
DeveloperAlly Feb 17, 2026
ac85951
Update README.md
DeveloperAlly Feb 17, 2026
dc6a50a
commitMessage: `chore: create Discord announcements file from workflo…
DeveloperAlly Feb 18, 2026
d2875b8
Restructure (#755)
DeveloperAlly Feb 18, 2026
dede28f
make v1 the default docs for now
DeveloperAlly Feb 18, 2026
683e02e
update openapi path
DeveloperAlly Feb 18, 2026
20bb2d9
update readme
DeveloperAlly Feb 18, 2026
2f2fe52
restructure docs.json to ensure v1 displays as default. add ASSISTANT…
DeveloperAlly Feb 18, 2026
30efa75
Merge origin/main into docs-v2 to resolve PR conflicts
DeveloperAlly Feb 18, 2026
ab25260
assistant update
DeveloperAlly Feb 18, 2026
7e6cd3c
fix image link path
DeveloperAlly Feb 18, 2026
8caba75
Merge branch 'docs-v2-dev' into docs-v2
DeveloperAlly Feb 18, 2026
8388918
Add workflow to sync large assets to docs-v2-assets branch
DeveloperAlly Feb 18, 2026
6e603ce
whitelist update
DeveloperAlly Feb 18, 2026
d2651b5
chore: sync docs-v2 branch updates and assistant filename casing
DeveloperAlly Feb 18, 2026
4f88f1e
reports
DeveloperAlly Feb 19, 2026
cea125e
reports
DeveloperAlly Feb 19, 2026
337b529
chore: add mintlify assistant instructions file
DeveloperAlly Feb 19, 2026
f2b0224
chore: rename root Assistant.md to ASSISTANT.md
DeveloperAlly Feb 19, 2026
0ecdbf8
responsive portal work
DeveloperAlly Feb 19, 2026
a85a400
responsive portal work
DeveloperAlly Feb 19, 2026
58a3150
Add domain page audit with version scoping and pre-commit integration
DeveloperAlly Feb 19, 2026
01ca0da
homogenising scripts across the repo and enforcing documentation requ…
DeveloperAlly Feb 19, 2026
715119d
Enforce script doc headers with autofill and add script generator
DeveloperAlly Feb 19, 2026
4daeaf3
report
DeveloperAlly Feb 19, 2026
c288834
chore: checkpoint pending repository changes
DeveloperAlly Feb 19, 2026
7e8ca12
chore: sync script index and placeholder patterns
DeveloperAlly Feb 19, 2026
0a87b52
docs: update hook README targets and copilot script paths
DeveloperAlly Feb 19, 2026
f559c75
chore: sync post-hook script index and lp launcher updates
DeveloperAlly Feb 19, 2026
78f2f2d
fix: restore trending topics automation data contracts
DeveloperAlly Feb 19, 2026
5198f8f
added a CLI for the repo for setup, tests and dev work
DeveloperAlly Feb 19, 2026
a38af88
gitignore ai task plans, add docs-guide to whitelist
DeveloperAlly Feb 19, 2026
3d8bff1
hooks: add trailer-based human override flags
DeveloperAlly Feb 19, 2026
1df78cd
feat: automate v2 pages index generation
DeveloperAlly Feb 19, 2026
0b96962
your message
DeveloperAlly Feb 19, 2026
43dd16c
update github workflows branch and hooks info
DeveloperAlly Feb 19, 2026
68d75ab
styling
DeveloperAlly Feb 19, 2026
465f929
polish home
DeveloperAlly Feb 19, 2026
91ddb28
home upgrades
DeveloperAlly Feb 19, 2026
3fc2d73
todo lists
DeveloperAlly Feb 19, 2026
b318c3c
chore(v2-move): add home/home duplicate and update section references
DeveloperAlly Feb 19, 2026
9b811c4
update mission control links
DeveloperAlly Feb 19, 2026
9145d94
chore(v2-home): update home/home links and add section matrix
DeveloperAlly Feb 19, 2026
4641406
Add v2 link-audit workflow and apply canonical link remaps
DeveloperAlly Feb 19, 2026
a059c2f
Fix invalid GitHub issue template YAML
DeveloperAlly Feb 19, 2026
1232272
Overhaul public issue templates and auto-label workflow
DeveloperAlly Feb 20, 2026
4733dc5
Add SECURITY.md to root whitelist
DeveloperAlly Feb 20, 2026
381cda0
fix: resolve copilot workflow and automation review findings
DeveloperAlly Feb 20, 2026
b9d944f
Fix CI startup failures and scope broken-links checks
DeveloperAlly Feb 20, 2026
e0d9c62
Merge origin/main into docs-v2 (resolve conflicts using ours)
DeveloperAlly Feb 20, 2026
5401320
Unblock CI: use npm install and make broken-links informational
DeveloperAlly Feb 20, 2026
3123516
Fix CI dev server command to use npx mintlify
DeveloperAlly Feb 20, 2026
3d31e4b
Rename .whitelist to .allowlist and propagate references
DeveloperAlly Feb 20, 2026
cf9ef4c
Install tests dependencies in CI test-suite job
DeveloperAlly Feb 20, 2026
7488e58
Normalize allowlist edit trailer name
DeveloperAlly Feb 20, 2026
5085f2d
Use shared NODE_PATH for tests and drop duplicate install
DeveloperAlly Feb 20, 2026
1f23ec5
Reapply HOME link fixes and refresh v2 link audit outputs
DeveloperAlly Feb 20, 2026
a30ccfa
Rename CI checks for clarity and update workflow docs
DeveloperAlly Feb 20, 2026
84bd192
Fix ABOUT and COMMUNITY links; refresh audit report/maps
DeveloperAlly Feb 20, 2026
cd24682
Fix Developers section links and refresh audit report
DeveloperAlly Feb 20, 2026
43a8689
Fix Gateways section links and refresh audit report
DeveloperAlly Feb 20, 2026
e0a3c1b
Fix Orchestrators quickstart AI pipelines link
DeveloperAlly Feb 20, 2026
a85c998
Fix LP token portal link and refresh audit outputs
DeveloperAlly Feb 20, 2026
f79abad
add authoring standard guide
DeveloperAlly Feb 20, 2026
c7e6e1d
Harden PR CI with changed-file checks and docs alignment
DeveloperAlly Feb 20, 2026
92b0064
Fix Resources section links and refresh audit outputs
DeveloperAlly Feb 20, 2026
112870f
Fix Internal section links and refresh audit outputs
DeveloperAlly Feb 20, 2026
461c70f
Fix deprecated overview image link and refresh audit outputs
DeveloperAlly Feb 20, 2026
b9fd4df
Fix remaining v2 link issues to zero missing refs
DeveloperAlly Feb 20, 2026
23cc150
update PR template, governance link, and architecture link fix
DeveloperAlly Feb 20, 2026
beae0df
Allow docs-v2 integration PR to bypass static changed-file gate
DeveloperAlly Feb 20, 2026
7f3841c
feat: add discord issue intake automation
DeveloperAlly Feb 20, 2026
581d3b7
Document PR CI checks and full script run matrix
DeveloperAlly Feb 20, 2026
a2679cf
Fix browser test infra failure reporting and URL resolution
DeveloperAlly Feb 20, 2026
239a039
Merge LPTOKEN context data into v2/pages/06_lptoken section
DeveloperAlly Feb 20, 2026
60d5ade
Merge governance content from LPTOKEN context data
DeveloperAlly Feb 20, 2026
5a8a81b
Fix: Use new/ folder content for mechanics, tokenomics, and delegatio…
DeveloperAlly Feb 20, 2026
cdb40c0
Add treasury content from new/ folder
DeveloperAlly Feb 20, 2026
0fe2854
mintignore
DeveloperAlly Feb 21, 2026
8b2cd67
LPTOKEN folder
DeveloperAlly Feb 21, 2026
0d40986
adding skills files
DeveloperAlly Feb 21, 2026
0d6e9dc
adding ai skills
DeveloperAlly Feb 21, 2026
a74cf89
Fix math syntax and add original files for merge verification
DeveloperAlly Feb 21, 2026
735eaab
Fix lpd script execute permissions in git
DeveloperAlly Feb 21, 2026
3f74b7b
Fix execute permissions on all shell scripts
DeveloperAlly Feb 21, 2026
fa7e4f8
fix(cli): add git worktree support for hooks installation
DeveloperAlly Feb 21, 2026
a9d29e6
fix(hooks): convert JSDoc to bash comments in pre-commit
DeveloperAlly Feb 21, 2026
7e8aaf8
feat(ai-skills): add full 30-item template catalog
DeveloperAlly Feb 21, 2026
4f1b992
Stabilize MDX checks and docs navigation remap flow
DeveloperAlly Feb 21, 2026
6da558a
feat: add script audit generator and docs-guide source-of-truth hub
DeveloperAlly Feb 21, 2026
9e891e0
chore: regenerate v2 page indexes and add deprecated index
DeveloperAlly Feb 21, 2026
b80e1fe
chore: update domain page load reports
DeveloperAlly Feb 21, 2026
3f3cfee
fix(tests): avoid staged audit report churn
DeveloperAlly Feb 21, 2026
4b924bc
feat(tasks): add folder audit/reorg automation and normalize reports
DeveloperAlly Feb 21, 2026
03b3fa8
Apply remaining tasks audit recommendations and path updates
DeveloperAlly Feb 21, 2026
92194ad
Refresh navigation report timestamps after validation
DeveloperAlly Feb 21, 2026
46f83c4
Restore VSCode & prettier settings: add MDX parser override, fix .pre…
DeveloperAlly Feb 21, 2026
82cb900
PRETTIER AND VSCODE SETTINGS
DeveloperAlly Feb 21, 2026
1a0ec33
ALLOWLIST
DeveloperAlly Feb 21, 2026
c1d3185
clean up
DeveloperAlly Feb 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 5 additions & 3 deletions .whitelist → .allowlist
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Allowed root files
docs.json
README.md
SECURITY.md
LICENSE
Dockerfile
Makefile
Expand All @@ -15,14 +16,15 @@ lpd
.lpdignore
.gitignore
.mintignore
.prettierrc.yaml
.prettierrc
.cursorrules
.whitelist
.allowlist

# Allowed root directories
.github
.githooks
.gitattributes
.mintlify
.vscode
.claude
docs-guide
Expand All @@ -34,4 +36,4 @@ tools
tests
tasks
v1
v2
v2
14 changes: 7 additions & 7 deletions .githooks/BYPASS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@ The pre-commit hook can be bypassed using commit trailers and environment variab

## Human-Only Override Flags

### `--trailer "allow-whitelist-edit=true"` ⚠️ HUMANS ONLY
### `--trailer "allowlist-edit=true"` ⚠️ HUMANS ONLY

**CRITICAL:** The `.whitelist` file is **PROTECTED** and cannot be edited by AI agents. The file contains the explicit rule: "IF YOU ARE AN AI YOU ARE ABSOLUTELY NOT ALLOWED TO EDIT THIS FILE."
**CRITICAL:** The `.allowlist` file is **PROTECTED** and cannot be edited by AI agents. The file contains the explicit rule: "IF YOU ARE AN AI YOU ARE ABSOLUTELY NOT ALLOWED TO EDIT THIS FILE."

**This flag is for HUMANS ONLY. AI agents must never use this flag.**

**Usage (HUMANS ONLY):**
```bash
git commit -m "Update .whitelist to add new root file" --trailer "allow-whitelist-edit=true"
git commit -m "Update .allowlist to add new root file" --trailer "allowlist-edit=true"
```

**What it does:**
- Allows editing the `.whitelist` file
- Allows editing the `.allowlist` file
- Shows a warning that the flag should only be used by humans
- Still runs all other pre-commit checks

**Legacy fallback (still supported):**
```bash
ALLOW_WHITELIST_EDIT=1 git commit -m "Update .whitelist to add new root file"
ALLOWLIST_EDIT=1 git commit -m "Update .allowlist to add new root file"
```

**⚠️ WARNING:** AI agents are explicitly forbidden from using this flag. Only human users may edit `.whitelist`.
**⚠️ WARNING:** AI agents are explicitly forbidden from using this flag. Only human users may edit `.allowlist`.

### `--trailer "allow-deletions=true"` ⚠️ HUMANS ONLY

Expand Down Expand Up @@ -54,7 +54,7 @@ ALLOW_DELETIONS=1 git commit -m "Remove obsolete file"

### `SKIP_STRUCTURE_CHECK=1`
Bypasses structure validation checks:
- Root directory whitelist enforcement
- Root directory allowlist enforcement
- Snippets directory structure checks
- v1/ frozen directory protection

Expand Down
12 changes: 6 additions & 6 deletions .githooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Current script index targets:
- `.github/scripts/*` -> `.github/script-index.md`
- `tests/*` -> `tests/script-index.md`
- `tools/scripts/*` -> `tools/script-index.md`
- `tasks/scripts/*` -> `tasks/script-index.md`
- `tasks/scripts/*` -> `tasks/scripts/script-index.md`
- Aggregate -> `docs-guide/scripts-index.md`

Example:
Expand Down Expand Up @@ -141,17 +141,17 @@ git commit --no-verify -m "message"

**Warning:** Only bypass if you have a legitimate reason and understand the style guide violations.

### Human-Only `.whitelist` Override
### Human-Only `.allowlist` Override

The `.whitelist` file is protected by the pre-commit hook.
The `.allowlist` file is protected by the pre-commit hook.

If a human needs to intentionally edit `.whitelist`, use:
If a human needs to intentionally edit `.allowlist`, use:

```bash
git commit -m "Update .whitelist" --trailer "allow-whitelist-edit=true"
git commit -m "Update .allowlist" --trailer "allowlist-edit=true"
```

This allows `.whitelist` edits while still running all other checks.
This allows `.allowlist` edits while still running all other checks.

### Human-Only Deletions Override

Expand Down
9 changes: 7 additions & 2 deletions .githooks/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@
# Keep script behavior deterministic and update script indexes after changes.
# Install git hooks

HOOKS_DIR=".git/hooks"
# Support both regular repos and worktrees
GIT_COMMON_DIR=$(git rev-parse --git-common-dir 2>/dev/null)
if [ -z "$GIT_COMMON_DIR" ] || [ "$GIT_COMMON_DIR" = "--git-common-dir" ]; then
GIT_COMMON_DIR=".git"
fi
HOOKS_DIR="$GIT_COMMON_DIR/hooks"
SOURCE_DIR=".githooks"

if [ ! -d "$HOOKS_DIR" ]; then
echo "Error: .git/hooks directory not found. Are you in the repository root?"
echo "Error: hooks directory not found at $HOOKS_DIR"
exit 1
fi

Expand Down
162 changes: 105 additions & 57 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
#!/bin/bash
/**
* @script pre-commit
* @summary Utility script for .githooks/pre-commit.
* @owner docs
* @scope .githooks
*
* @usage
* node .githooks/pre-commit
*
* @inputs
* No required CLI flags; optional flags are documented inline.
*
* @outputs
* - Console output and/or file updates based on script purpose.
*
* @exit-codes
* 0 = success
* 1 = runtime or validation failure
*
* @examples
* node .githooks/pre-commit
*
* @notes
* Keep script behavior deterministic and update script indexes after changes.
*/
# @script pre-commit
# @summary Pre-commit hook for repository validation
# @owner docs
# @scope .githooks
#
# @usage
# ./.githooks/pre-commit (or invoked automatically by git)
#
# @inputs
# No required CLI flags; optional flags are documented inline.
#
# @outputs
# - Console output and/or file updates based on script purpose.
#
# @exit-codes
# 0 = success
# 1 = runtime or validation failure
#
# @examples
# ./.githooks/pre-commit
#
# @notes
# Keep script behavior deterministic and update script indexes after changes.
# Pre-commit hook to enforce style guide compliance
# Checks for common violations before allowing commits
#
Expand All @@ -39,8 +37,8 @@
# SKIP_ALL=1 - Skip all checks (use with extreme caution)
#
# Human-only override flags:
# --trailer "allow-whitelist-edit=true" - Allow editing .whitelist file (HUMANS ONLY - AIs must never use this)
# ALLOW_WHITELIST_EDIT=1 - Legacy fallback for automation contexts
# --trailer "allowlist-edit=true" - Allow editing .allowlist file (HUMANS ONLY - AIs must never use this)
# ALLOWLIST_EDIT=1 - Legacy fallback for automation contexts
# --trailer "allow-deletions=true" - Allow file deletions (HUMANS ONLY - AIs must never use this)
# ALLOW_DELETIONS=1 - Legacy fallback for automation contexts

Expand Down Expand Up @@ -124,7 +122,7 @@ if [ -n "$DELETED_FILES" ]; then
echo " 1. READ THE FILES to understand their content and purpose"
echo " 2. CHECK THE MIGRATION PLAN: tasks/plan/migration-plan.md"
echo " 3. CHECK THE README: README.md (source of truth for structure)"
echo " 4. CHECK THE WHITELIST: .whitelist (allowed root files)"
echo " 4. CHECK THE ALLOWLIST: .allowlist (allowed root files)"
echo " 5. DETERMINE CORRECT LOCATION based on file content and structure rules"
echo " 6. MOVE files to correct location using 'git mv' (NOT delete+add)"
echo ""
Expand Down Expand Up @@ -158,63 +156,63 @@ if [ -n "$DELETED_FILES" ]; then
fi
fi

# Check for .whitelist file changes (BLOCKED for AIs, requires human override)
WHITELIST_CHANGES=$(git diff --cached --name-only | grep -E '^\.whitelist$|^\.whitelist ' || true)
# Check for .allowlist file changes (BLOCKED for AIs, requires human override)
WHITELIST_CHANGES=$(git diff --cached --name-only | grep -E '^\.allowlist$|^\.allowlist ' || true)
if [ -n "$WHITELIST_CHANGES" ]; then
ALLOW_WHITELIST_EDIT=${ALLOW_WHITELIST_EDIT:-0}
ALLOWLIST_EDIT=${ALLOWLIST_EDIT:-0}

if [ "$ALLOW_WHITELIST_EDIT" != "1" ]; then
if has_human_override_trailer "allow-whitelist-edit"; then
ALLOW_WHITELIST_EDIT=1
if [ "$ALLOWLIST_EDIT" != "1" ]; then
if has_human_override_trailer "allowlist-edit"; then
ALLOWLIST_EDIT=1
fi
fi

if [ "$ALLOW_WHITELIST_EDIT" != "1" ]; then
if [ "$ALLOWLIST_EDIT" != "1" ]; then
VIOLATIONS=$((VIOLATIONS + 1))
echo -e "${RED}╔═══════════════════════════════════════════════════════════════╗${NC}"
echo -e "${RED}║ .whitelist FILE CHANGES BLOCKED ║${NC}"
echo -e "${RED}║ .allowlist FILE CHANGES BLOCKED ║${NC}"
echo -e "${RED}╚═══════════════════════════════════════════════════════════════╝${NC}"
echo ""
echo -e "${RED}Attempted changes to .whitelist:${NC}"
echo -e "${RED} ❌ .whitelist${NC}"
echo -e "${RED}Attempted changes to .allowlist:${NC}"
echo -e "${RED} ❌ .allowlist${NC}"
echo ""
echo -e "${YELLOW}⚠️ CRITICAL: .whitelist file is protected.${NC}"
echo -e "${YELLOW} The .whitelist file contains the rule:${NC}"
echo -e "${YELLOW}⚠️ CRITICAL: .allowlist file is protected.${NC}"
echo -e "${YELLOW} The .allowlist file contains the rule:${NC}"
echo -e "${YELLOW} 'IF YOU ARE AN AI YOU ARE ABSOLUTELY NOT ALLOWED TO EDIT THIS FILE.'${NC}"
echo ""
echo -e "${YELLOW}To allow editing .whitelist (HUMANS ONLY):${NC}"
echo -e "${YELLOW} git commit -m \"your message\" --trailer \"allow-whitelist-edit=true\"${NC}"
echo -e "${YELLOW} (legacy fallback: ALLOW_WHITELIST_EDIT=1 git commit -m \"your message\")${NC}"
echo -e "${YELLOW}To allow editing .allowlist (HUMANS ONLY):${NC}"
echo -e "${YELLOW} git commit -m \"your message\" --trailer \"allowlist-edit=true\"${NC}"
echo -e "${YELLOW} (legacy fallback: ALLOWLIST_EDIT=1 git commit -m \"your message\")${NC}"
echo ""
echo -e "${RED}Commit blocked. Only humans may edit .whitelist with explicit override.${NC}"
echo -e "${RED}Commit blocked. Only humans may edit .allowlist with explicit override.${NC}"
echo ""
exit 1
else
echo -e "${YELLOW}⚠️ WARNING: .whitelist edit allowed (human override detected)${NC}"
echo -e "${YELLOW}⚠️ WARNING: .allowlist edit allowed (human override detected)${NC}"
echo -e "${YELLOW} This flag should ONLY be used by humans, never by AI agents.${NC}"
fi
fi

# Check root directory structure against whitelist
# Check root directory structure against allowlist
if [ "$SKIP_STRUCTURE_CHECK" = "1" ]; then
echo -e "${YELLOW}⚠️ Structure checks bypassed (SKIP_STRUCTURE_CHECK=1)${NC}"
else
echo -e "${YELLOW}🔍 Checking root directory structure...${NC}"

if [ ! -f ".whitelist" ]; then
echo -e "${YELLOW}⚠️ .whitelist file not found, skipping root structure check${NC}"
if [ ! -f ".allowlist" ]; then
echo -e "${YELLOW}⚠️ .allowlist file not found, skipping root structure check${NC}"
else
# Read whitelist (skip comments and empty lines)
WHITELIST=$(grep -v '^#' .whitelist | grep -v '^$' | tr '\n' '|' | sed 's/|$//')
# Read allowlist (skip comments and empty lines)
ALLOWLIST=$(grep -v '^#' .allowlist | grep -v '^$' | tr '\n' '|' | sed 's/|$//')

if [ -z "$WHITELIST" ]; then
echo -e "${YELLOW}⚠️ .whitelist is empty, skipping root structure check${NC}"
if [ -z "$ALLOWLIST" ]; then
echo -e "${YELLOW}⚠️ .allowlist is empty, skipping root structure check${NC}"
else
# Check for new root files (not in whitelist)
NEW_ROOT_FILES=$(git diff --cached --name-only --diff-filter=A | grep -E '^[^/]+$' | grep -vE "^($WHITELIST)$" || true)
# Check for new root files (not in allowlist)
NEW_ROOT_FILES=$(git diff --cached --name-only --diff-filter=A | grep -E '^[^/]+$' | grep -vE "^($ALLOWLIST)$" || true)

# Check for new root directories (not in whitelist)
NEW_ROOT_DIRS=$(git diff --cached --name-only --diff-filter=A | grep -E '^[^/]+/' | cut -d'/' -f1 | sort -u | grep -vE "^($WHITELIST)$" || true)
# Check for new root directories (not in allowlist)
NEW_ROOT_DIRS=$(git diff --cached --name-only --diff-filter=A | grep -E '^[^/]+/' | cut -d'/' -f1 | sort -u | grep -vE "^($ALLOWLIST)$" || true)

if [ -n "$NEW_ROOT_FILES" ] || [ -n "$NEW_ROOT_DIRS" ]; then
VIOLATIONS=$((VIOLATIONS + 1))
Expand Down Expand Up @@ -245,7 +243,7 @@ else
echo ""
fi

echo -e "${YELLOW}Allowed root files/directories are listed in .whitelist${NC}"
echo -e "${YELLOW}Allowed root files/directories are listed in .allowlist${NC}"
echo -e "${YELLOW}See contribute/STRUCTURE.md for repository structure rules${NC}"
echo ""
else
Expand Down Expand Up @@ -503,6 +501,31 @@ else
fi
fi

# Docs-guide source-of-truth checks are advisory during stabilization
if [ -f "tests/unit/docs-guide-sot.test.js" ]; then
echo -e "${YELLOW}Running docs-guide SoT checks (advisory)...${NC}"
if node tests/unit/docs-guide-sot.test.js 2>&1; then
echo -e "${GREEN}✓ Docs-guide SoT checks passed${NC}"
else
WARNINGS+=("⚠️ Docs-guide SoT checks need updates - run node tests/unit/docs-guide-sot.test.js")
echo -e "${YELLOW}⚠️ Docs-guide SoT checks reported advisory issues${NC}"
fi
fi

# Staged link audit (internal links/imports strict, external links classify-only)
if [ -f "tests/integration/v2-link-audit.js" ]; then
echo -e "${YELLOW}Running staged V2 link audit...${NC}"
if node tests/integration/v2-link-audit.js --staged --strict --report /tmp/livepeer-link-audit-precommit.md 2>&1; then
echo -e "${GREEN}✓ Staged V2 link audit passed${NC}"
else
LINK_AUDIT_EXIT=$?
if [ $LINK_AUDIT_EXIT -ne 0 ]; then
VIOLATIONS=$((VIOLATIONS + 1))
WARNINGS+=("❌ Staged V2 link audit failed - see output above")
fi
fi
fi

# Domain page load audit (stable report path in tests/reports)
if [ -f "tests/integration/domain-pages-audit.js" ]; then
echo -e "${YELLOW}Running domain page load audit (staged pages)...${NC}"
Expand Down Expand Up @@ -559,6 +582,31 @@ else
fi
fi

# Docs-guide source-of-truth checks are advisory during stabilization
if [ -f "tests/unit/docs-guide-sot.test.js" ]; then
echo -e "${YELLOW}Running docs-guide SoT checks (advisory)...${NC}"
if node tests/unit/docs-guide-sot.test.js 2>&1; then
echo -e "${GREEN}✓ Docs-guide SoT checks passed${NC}"
else
WARNINGS+=("⚠️ Docs-guide SoT checks need updates - run node tests/unit/docs-guide-sot.test.js")
echo -e "${YELLOW}⚠️ Docs-guide SoT checks reported advisory issues${NC}"
fi
fi

# Staged link audit (internal links/imports strict, external links classify-only)
if [ -f "tests/integration/v2-link-audit.js" ]; then
echo -e "${YELLOW}Running staged V2 link audit...${NC}"
if node tests/integration/v2-link-audit.js --staged --strict --report /tmp/livepeer-link-audit-precommit.md 2>&1; then
echo -e "${GREEN}✓ Staged V2 link audit passed${NC}"
else
LINK_AUDIT_EXIT=$?
if [ $LINK_AUDIT_EXIT -ne 0 ]; then
VIOLATIONS=$((VIOLATIONS + 1))
WARNINGS+=("❌ Staged V2 link audit failed - see output above")
fi
fi
fi

# Domain page load audit (stable report path in tests/reports)
if [ -f "tests/integration/domain-pages-audit.js" ]; then
echo -e "${YELLOW}Running domain page load audit (staged pages)...${NC}"
Expand Down
2 changes: 1 addition & 1 deletion .githooks/script-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Script | Summary | Usage | Owner |
|---|---|---|---|
| `.githooks/install.sh` | Utility script for .githooks/install.sh. | `bash .githooks/install.sh` | docs |
| `.githooks/pre-commit` | Utility script for .githooks/pre-commit. | `node .githooks/pre-commit` | docs |
| `.githooks/pre-commit` | Pre-commit hook for repository validation | `./.githooks/pre-commit (or invoked automatically by git)` | docs |
| `.githooks/pre-commit-no-deletions` | Utility script for .githooks/pre-commit-no-deletions. | `node .githooks/pre-commit-no-deletions` | docs |
| `.githooks/server-manager.js` | Utility script for .githooks/server-manager.js. | `node .githooks/server-manager.js` | docs |
| `.githooks/verify-browser.js` | Utility script for .githooks/verify-browser.js. | `node .githooks/verify-browser.js` | docs |
Expand Down
4 changes: 2 additions & 2 deletions .github/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ destructive or history-altering actions.
### Critical Structure Rules

1. **Root Directory** - Only essential files allowed:
- ✅ Allowed: `docs.json`, `package.json`, `README.md`, `LICENSE`, `Dockerfile`, `Makefile`, `style.css`, `.gitignore`, `.mintignore`, `.whitelist`
- ✅ Allowed: `docs.json`, `package.json`, `README.md`, `LICENSE`, `Dockerfile`, `Makefile`, `style.css`, `.gitignore`, `.mintignore`, `.allowlist`
- ❌ Forbidden: Scripts, config files, documentation files, temporary files, OpenAPI specs
- **CRITICAL:** Mintlify only allows ONE CSS file (`style.css`) at root - NO `styles/` folder

Expand All @@ -58,7 +58,7 @@ destructive or history-altering actions.
- ❌ Components cannot import other components

4. **Enforcement** - Structure is enforced:
- `.whitelist` file lists allowed root files/directories
- `.allowlist` file lists allowed root files/directories
- Pre-commit hook blocks unauthorized root files/directories
- Always check structure rules before creating new files

Expand Down
Loading
Loading