diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index 41e8529..22626fa 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -16,6 +16,15 @@ workflows: '.github/workflows/hypatia-scan.yml': [] '.github/workflows/instant-sync.yml': - 'peter-evans/repository-dispatch@v4.0.1' + '.github/workflows/journal-theme-php-standards.yml': + - 'actions/cache@5a3ec84eff668545956fd18022155c47e93e2684' + - 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' + - 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' + - 'shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240' + '.github/workflows/journal-theme-rust-ci.yml': + - 'Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5' + - 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' + - 'dtolnay/rust-toolchain@6bed0761d98439e5a578e2877258200ad565ba87' '.github/workflows/label-triage.yml': [] '.github/workflows/labels.yml': [] '.github/workflows/mirror.yml': [] @@ -23,6 +32,13 @@ workflows: - 'actions/checkout@v7.0.1' - 'actions/deploy-pages@v5.0.1' - 'actions/upload-pages-artifact@v5.0.0' + '.github/workflows/plugin-conflict-mapper-php.yml': + - 'actions/cache@5a3ec84eff668545956fd18022155c47e93e2684' + - 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' + '.github/workflows/project-wharf-rust-ci.yml': + - 'Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6' + - 'actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11' + - 'dtolnay/rust-toolchain@d0592fe69e35bc8f12e3dbaf9ad2694d976cb8e3' '.github/workflows/push-email-notify.yml': - 'hyperpolymath/smtp-notify-action@v0.3.0' '.github/workflows/scorecard.yml': [] @@ -120,3 +136,48 @@ dependencies: commit: 'sha1-e83874834305fe9a4a2997156cb26c5de65a8555' owner_id: 135788 repo_id: 208510314 + 'actions/cache@5a3ec84eff668545956fd18022155c47e93e2684': + ref: 'v4' + commit: 'sha1-5a3ec84eff668545956fd18022155c47e93e2684' + owner_id: 44036562 + repo_id: 215566462 + 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683': + ref: 'v4' + commit: 'sha1-11bd71901bbe5b1630ceea73d27597364c9af683' + owner_id: 44036562 + repo_id: 197814629 + 'actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11': + ref: 'v4' + commit: 'sha1-b4ffde65f46336ab88eb53be808477a3936bae11' + owner_id: 44036562 + repo_id: 197814629 + 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd': + ref: 'v6' + commit: 'sha1-de0fac2e4500dabe0009e67214ff5f5447ce83dd' + owner_id: 44036562 + repo_id: 197814629 + 'dtolnay/rust-toolchain@6bed0761d98439e5a578e2877258200ad565ba87': + ref: 'stable' + commit: 'sha1-6bed0761d98439e5a578e2877258200ad565ba87' + owner_id: 1940490 + repo_id: 260749683 + 'dtolnay/rust-toolchain@d0592fe69e35bc8f12e3dbaf9ad2694d976cb8e3': + ref: 'stable' + commit: 'sha1-d0592fe69e35bc8f12e3dbaf9ad2694d976cb8e3' + owner_id: 1940490 + repo_id: 260749683 + 'Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5': + ref: 'v2' + commit: 'sha1-779680da715d629ac1d338a641029a2f4372abb5' + owner_id: 580492 + repo_id: 298565987 + 'Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6': + ref: 'v2' + commit: 'sha1-9d47c6ad4b02e050fd481d890b2ea34778fd09d6' + owner_id: 580492 + repo_id: 298565987 + 'shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240': + ref: 'v2' + commit: 'sha1-f3e473d116dcccaddc5834248c87452386958240' + owner_id: 1571086 + repo_id: 206578964 diff --git a/journal-theme/.github/workflows/php-standards.yml b/.github/workflows/journal-theme-php-standards.yml similarity index 94% rename from journal-theme/.github/workflows/php-standards.yml rename to .github/workflows/journal-theme-php-standards.yml index 5775d8a..e5f70e3 100644 --- a/journal-theme/.github/workflows/php-standards.yml +++ b/.github/workflows/journal-theme-php-standards.yml @@ -1,26 +1,28 @@ # SPDX-License-Identifier: MPL-2.0 -name: PHP/WordPress Standards +# +# Promoted from journal-theme/.github/workflows/php-standards.yml (only root +# workflows run in this repo; the vendored copy is upstream history). +name: Journal Theme PHP/WordPress Standards + on: push: branches: [main, develop] paths: - - '**.php' - - 'phpcs.xml.dist' - - 'phpstan.neon' - - 'composer.json' - - 'composer.lock' - - '.github/workflows/php-standards.yml' + - 'journal-theme/**' + - '.github/workflows/journal-theme-php-standards.yml' pull_request: branches: [main, develop] paths: - - '**.php' - - 'phpcs.xml.dist' - - 'phpstan.neon' - - 'composer.json' - - 'composer.lock' - - '.github/workflows/php-standards.yml' + - 'journal-theme/**' + - '.github/workflows/journal-theme-php-standards.yml' + permissions: contents: read + +defaults: + run: + working-directory: journal-theme + jobs: phpcs: name: WordPress Coding Standards @@ -53,10 +55,10 @@ jobs: run: cs2pr ./phpcs-report.xml - name: Upload PHPCS report if: failure() - uses: actions/upload-artifact@ea165f8d65b6db9a8b71b5c2d1a090c0daf9c8bb # v4 + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 (repinned: vendored ea165f8d does not resolve) with: name: phpcs-report - path: phpcs-report.xml + path: journal-theme/phpcs-report.xml phpstan: name: PHPStan Static Analysis runs-on: ubuntu-latest diff --git a/journal-theme/.github/workflows/rust-ci.yml b/.github/workflows/journal-theme-rust-ci.yml similarity index 77% rename from journal-theme/.github/workflows/rust-ci.yml rename to .github/workflows/journal-theme-rust-ci.yml index 1f54e9c..aaf4a2c 100644 --- a/journal-theme/.github/workflows/rust-ci.yml +++ b/.github/workflows/journal-theme-rust-ci.yml @@ -1,9 +1,30 @@ # SPDX-License-Identifier: MPL-2.0 -name: Rust CI -on: [push, pull_request] +# +# Promoted from journal-theme/.github/workflows/rust-ci.yml (only root +# workflows run in this repo; the vendored copy is upstream history). +name: Journal Theme Rust CI + +on: + push: + paths: + - 'journal-theme/**' + - '.github/workflows/journal-theme-rust-ci.yml' + pull_request: + paths: + - 'journal-theme/**' + - '.github/workflows/journal-theme-rust-ci.yml' + +permissions: + contents: read + env: CARGO_TERM_COLOR: always RUSTFLAGS: -Dwarnings + +defaults: + run: + working-directory: journal-theme + jobs: test: runs-on: ubuntu-latest diff --git a/plugin-conflict-mapper/.github/workflows/php.yml b/.github/workflows/plugin-conflict-mapper-php.yml similarity index 65% rename from plugin-conflict-mapper/.github/workflows/php.yml rename to .github/workflows/plugin-conflict-mapper-php.yml index 3188c2b..83a238e 100644 --- a/plugin-conflict-mapper/.github/workflows/php.yml +++ b/.github/workflows/plugin-conflict-mapper-php.yml @@ -1,12 +1,28 @@ # SPDX-License-Identifier: MPL-2.0 -name: PHP Composer +# +# Promoted from plugin-conflict-mapper/.github/workflows/php.yml (only root +# workflows run in this repo; the vendored copy is upstream history). +name: Plugin Conflict Mapper PHP Composer + on: push: branches: ["main"] + paths: + - 'plugin-conflict-mapper/**' + - '.github/workflows/plugin-conflict-mapper-php.yml' pull_request: branches: ["main"] + paths: + - 'plugin-conflict-mapper/**' + - '.github/workflows/plugin-conflict-mapper-php.yml' + permissions: contents: read + +defaults: + run: + working-directory: plugin-conflict-mapper + jobs: build: runs-on: ubuntu-latest @@ -19,7 +35,7 @@ jobs: id: composer-cache uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 with: - path: vendor + path: plugin-conflict-mapper/vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- diff --git a/project-wharf/.github/workflows/rust-ci.yml b/.github/workflows/project-wharf-rust-ci.yml similarity index 79% rename from project-wharf/.github/workflows/rust-ci.yml rename to .github/workflows/project-wharf-rust-ci.yml index 0b6018c..86a5061 100644 --- a/project-wharf/.github/workflows/rust-ci.yml +++ b/.github/workflows/project-wharf-rust-ci.yml @@ -1,11 +1,30 @@ # SPDX-License-Identifier: MPL-2.0 # SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell -name: Rust CI -on: [push, pull_request] +# +# Promoted from project-wharf/.github/workflows/rust-ci.yml (only root +# workflows run in this repo; the vendored copy is upstream history). +name: Project Wharf Rust CI + +on: + push: + paths: + - 'project-wharf/**' + - '.github/workflows/project-wharf-rust-ci.yml' + pull_request: + paths: + - 'project-wharf/**' + - '.github/workflows/project-wharf-rust-ci.yml' + permissions: read-all + env: CARGO_TERM_COLOR: always RUSTFLAGS: -Dwarnings + +defaults: + run: + working-directory: project-wharf + jobs: test: runs-on: ubuntu-latest diff --git a/praxis/SymbolicEngine/dashboard/package.json b/praxis/SymbolicEngine/dashboard/package.json index 36be36f..6c1b6f2 100644 --- a/praxis/SymbolicEngine/dashboard/package.json +++ b/praxis/SymbolicEngine/dashboard/package.json @@ -3,16 +3,8 @@ "version": "0.1.0", "description": "WP Praxis Symbolic Engine Dashboard - Real-time monitoring and control interface", "type": "module", - "main": "src/api-server.ts", "scripts": { - "dev": "bun run --watch src/api-server.ts", - "start": "bun run src/api-server.ts", - "build": "bun build src/api-server.ts --outdir=dist --target=bun", - "build:frontend": "bun build js/dashboard.ts js/workflow-visualizer.ts js/symbol-inspector.ts --outdir=dist/public/js --target=browser", - "build:injector": "bun build injector/js/injector.ts --outdir=dist/public/injector/js --target=browser", - "build:all": "bun run build && bun run build:frontend && bun run build:injector", "test": "bun test", - "lint": "eslint src/**/*.ts js/**/*.ts injector/**/*.ts", "format": "prettier --write \"**/*.{ts,js,json,css,html}\"" }, "dependencies": { diff --git a/praxis/SymbolicEngine/swarm/package.json b/praxis/SymbolicEngine/swarm/package.json index 4d0d784..d89c63c 100644 --- a/praxis/SymbolicEngine/swarm/package.json +++ b/praxis/SymbolicEngine/swarm/package.json @@ -3,20 +3,8 @@ "version": "0.1.0", "description": "Distributed symbolic execution swarm coordinator for WP Praxis", "type": "module", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "bin": { - "swarm": "./bin/swarm-cli.ts" - }, "scripts": { - "build": "bun build src/index.ts --outdir dist --target bun", - "dev": "bun run --watch src/index.ts", - "test": "bun test", - "lint": "tsc --noEmit", - "start:dispatcher": "bun run src/dispatch.ts", - "start:worker": "bun run src/worker.ts", - "start:websocket": "bun run src/websocket-server.ts", - "cli": "bun run bin/swarm-cli.ts" + "test": "bun test" }, "dependencies": { "yaml": "^2.3.4",