Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
frontend/
backend/
desktop-overlay/
packages/
services/heady-auth/public/
notebooks/
src/heady-auth-client.js
src/heady-auth-service.mjs
node_modules/
dist/
build/
coverage/
workers/
HeadyAcademy/
32 changes: 20 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"env": {
"node": true,
"es2022": true,
"jest": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "script"
},
"rules": {
"no-restricted-syntax": ["error", {
"selector": "Literal[value=/api.headysystems.com|127\.0\.0\.1/]",
"message": "Use internal.headyio.com or api.headyio.com instead of api.headysystems.com/api.headysystems.com"
}]
}
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }]
},
"overrides": [
{
"files": ["src/workers/**/*.js"],
"parserOptions": {
"sourceType": "module"
}
}
]
}

17 changes: 3 additions & 14 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
<<<<<<< HEAD
# HEADY_BRAND:BEGIN
# HEADY SYSTEMS :: SACRED GEOMETRY
# FILE: .gitattributes
# LAYER: root
#
# _ _ _____ _ ____ __ __
# | | | || ____| / \ | _ \ \ \ / /
# | |_| || _| / _ \ | | | | \ V /
# | _ || |___ / ___ \| |_| | | |
# |_| |_||_____/_/ \_\____/ |_|
#
# Sacred Geometry :: Organic Systems :: Breathing Interfaces
# HEADY_BRAND:END

# Auto detect text files and perform LF normalization
* text=auto
=======
# Heady .gitattributes - prevent large binaries from bloating the repo
# Auto-detect text files and normalize line endings
* text=auto

# Force LF line endings for scripts and configs
*.ps1 text eol=lf
*.sh text eol=lf
Expand All @@ -27,6 +15,7 @@
*.yaml text eol=lf
*.yml text eol=lf
*.md text eol=lf

# Mark binary files to prevent diff/merge issues
*.exe filter=lfs diff=lfs merge=lfs -text
*.dll filter=lfs diff=lfs merge=lfs -text
Expand All @@ -45,10 +34,10 @@
*.pem filter=lfs diff=lfs merge=lfs -text
*.crt filter=lfs diff=lfs merge=lfs -text
*.key binary

# Exclude large files from archive/export
AndroidSDK/ export-ignore
ventoy/ export-ignore
*.img export-ignore
deploy-package-*/ export-ignore
offline-packages/ export-ignore
>>>>>>> origin/main
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"

- run: npm ci

- name: Lint
run: npm run lint

- name: Test
run: npm test
117 changes: 26 additions & 91 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
<<<<<<< HEAD
# HEADY_BRAND:BEGIN
# HEADY SYSTEMS :: SACRED GEOMETRY
# FILE: .gitignore
# LAYER: root
#
# _ _ _____ _ ____ __ __
# | | | || ____| / \ | _ \ \ \ / /
# | |_| || _| / _ \ | | | | \ V /
# | _ || |___ / ___ \| |_| | | |
# |_| |_||_____/_/ \_\____/ |_|
#
# Sacred Geometry :: Organic Systems :: Breathing Interfaces
# HEADY_BRAND:END

# === Dependencies ===
node_modules/
venv/
.venv/
env/
__pycache__/
*.pyc
*.py[cod]
*.pyo
*.pyd
*.egg-info/
.ipynb_checkpoints/

# === Build Output ===
dist/
build/
**/build/
**/out/
.next/
*.js.map
*.css.map

Expand All @@ -33,6 +31,7 @@ build/
.env.local
.env.production
.env.staging
.env.hybrid
.heady_secrets
*.pem
*.key
Expand All @@ -42,6 +41,9 @@ build/
# === Logs ===
*.log
logs/
audit_logs.jsonl
.heady_deploy_log.jsonl
*.jsonl

# === Testing & Cache ===
.pytest_cache/
Expand All @@ -61,106 +63,39 @@ desktop.ini
# === Heady Artifacts ===
heady-manifest.json
HeadyAcademy/Content_Forge/Visualizations/
pipeline-output/
.heady_cache/

# === Data (raw and external) ===
data/raw/
data/external/

# === Large Binaries (use GitHub Releases) ===
*.zip
*.tar.gz
*.exe
*.msi
*.dmg
=======
# Dependencies
node_modules/
__pycache__/
*.pyc
venv/
.venv/

# Build output
dist/
build/
.next/

# Environment
.env
.env.local
.env.production
.heady_secrets

# Logs
*.log
logs/

# IDE
.idea/
.vscode/
*.swp
*.swo

# OS
.DS_Store
Thumbs.db

# Python
<<<<<<< HEAD
__pycache__/
*.py[cod]
*.pyo
*.pyd
*.pyc
.venv/
env/
venv/
.pytest_cache/
*.egg-info/
.ipynb_checkpoints/

# Data (raw and external, to avoid huge files in git)
data/raw/
data/external/
=======
.pytest_cache/
*.egg-info/
>>>>>>> a3d7d06c432bf92df85e53f8d0cf1e6c8622ccea

# Generated
heady-manifest.json
HeadyAcademy/Content_Forge/Visualizations/
pipeline-output/
.heady_cache/
<<<<<<< HEAD

# Standalone repos (separate git projects)
# === Standalone repos ===
windsurf-next/


# Personal notebooks (experimental, not tracked)
# === Personal notebooks ===
notebooks/personal/*
!notebooks/personal/.gitkeep

# Secrets
.heady/memory.db
.heady/*.db
# === Database & Secrets ===
.heady/
*.db
.heady/.heady/
*.pid
*.bak

# Files exceeding GitHub LFS 2GB per-file limit
# === LFS oversize files ===
AndroidSDK/system-images/**/*.img

# Deploy packages (temp build artifacts)
# === Deploy packages (temp build artifacts) ===
deploy-package-*/
offline-packages/

# Local Netlify folder
# === Local Netlify folder ===
.netlify

# Security — sensitive files (added by deep scan remediation)
.env.hybrid
*.pid
*.bak
audit_logs.jsonl
.heady_deploy_log.jsonl
*.jsonl
=======
>>>>>>> a3d7d06c432bf92df85e53f8d0cf1e6c8622ccea
>>>>>>> origin/main
16 changes: 0 additions & 16 deletions .windsurf/workflows/autobuild.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<!-- HEADY_BRAND:BEGIN -->
<<<<<<< HEAD
<!-- HEADY SYSTEMS :: SACRED GEOMETRY -->
<!-- FILE: .windsurf/workflows/autobuild.md -->
<!-- LAYER: root -->
Expand All @@ -11,21 +10,6 @@
<!-- |_| |_||_____/_/ \_\____/ |_| -->
<!-- -->
<!-- Sacred Geometry :: Organic Systems :: Breathing Interfaces -->
=======
<!-- ╔══════════════════════════════════════════════════════════════════╗ -->
<!-- ║ █╗ █╗███████╗ █████╗ ██████╗ █╗ █╗ ║ -->
<!-- ║ █║ █║█╔════╝█╔══█╗█╔══█╗╚█╗ █╔╝ ║ -->
<!-- ║ ███████║█████╗ ███████║█║ █║ ╚████╔╝ ║ -->
<!-- ║ █╔══█║█╔══╝ █╔══█║█║ █║ ╚█╔╝ ║ -->
<!-- ║ █║ █║███████╗█║ █║██████╔╝ █║ ║ -->
<!-- ║ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ║ -->
<!-- ║ ║ -->
<!-- ║ ∞ SACRED GEOMETRY ∞ Organic Systems · Breathing Interfaces ║ -->
<!-- ║ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ║ -->
<!-- ║ FILE: .windsurf/workflows/autobuild.md ║ -->
<!-- ║ LAYER: root ║ -->
<!-- ╚══════════════════════════════════════════════════════════════════╝ -->
>>>>>>> origin/main
<!-- HEADY_BRAND:END -->

---
Expand Down
Loading